

<?php
session_start();
include_once('../db_connect/db.php');
if(isset($_SESSION['admin_user_id']) AND isset($_SESSION['admin_group_id'])){

	$admin_user_id=$_SESSION['admin_user_id'];
	$admin_group_id=$_SESSION['admin_group_id'];
	$admin_role_id=$_SESSION['admin_role_id'];
	include_once('hub/php/site_info.php');
	include_once('hub/php/get_users_details.php');
	include_once('hub/php/functions.php');

}else{
	header('Location: index');
}


if((time() - $_SESSION['last_time']) > 500){
	header('Location:index');
}else{
	$_SESSION['last_time'] = time();
}

?>
<!DOCTYPE html>
<html>



<head>
    <meta charset="UTF-8">
    <title>Dashboard [
		<?php if(empty($site_name)){

							}else{
								echo $site_name;
							} ?>

	]</title>
    <meta content='width=device-width, initial-scale=1, maximum-scale=1' name='viewport'>
     <link rel="icon" href="images/<?php if(empty($site_fav)){

							}else{
								echo $site_fav;
							} ?>" sizes="32x32" />

	<link rel="icon" href="images/<?php if(empty($site_fav)){

							}else{
								echo $site_fav;
							} ?>" sizes="192x192" />


	<link rel="apple-touch-icon-precomposed" href="images/<?php if(empty($site_fav)){

							}else{
								echo $site_fav;
							} ?>" />

	<meta name="msapplication-TileImage" content="images/<?php if(empty($site_fav)){

							}else{
								echo $site_fav;
							} ?>" />

    <!-- global css -->
    <link type="text/css" href="css/app.css" rel="stylesheet"/>
    <!-- end of global css -->
    <!--page level css -->
    <link rel="stylesheet" type="text/css" href="css/custom.css">
    <link rel="stylesheet" href="css/layouts.css">
    <!--end page level css-->

	<link href="vendors/jasny-bootstrap/css/jasny-bootstrap.css" type="text/css" rel="stylesheet">
    <link href="vendors/select2/css/select2.min.css" type="text/css" rel="stylesheet">
    <link href="vendors/select2/css/select2-bootstrap.css" type="text/css" rel="stylesheet">
    <link href="vendors/bootstrapvalidator/css/bootstrapValidator.min.css" type="text/css" rel="stylesheet">
    <link href="vendors/datetimepicker/css/bootstrap-datetimepicker.min.css" rel="stylesheet">
    <link href="vendors/iCheck/css/all.css" rel="stylesheet" type="text/css"/>

	<link href="css/custom_css/wizard.css" type="text/css" rel="stylesheet">

	<script src="js/jquery.min.js" type="text/javascript"></script>

	<link href="vendors/hover/css/hover-min.css" rel="stylesheet">
    <link href="css/buttons_sass.css" rel="stylesheet">
    <link href="css/advbuttons.css" rel="stylesheet">

	<link href="vendors/bootstrap3-wysihtml5-bower/css/bootstrap3-wysihtml5.min.css" rel="stylesheet" type="text/css"/>
    <link rel="stylesheet" media="screen" type="text/css" href="vendors/summernote/summernote-bs4.css">
    <link href="vendors/trumbowyg/css/trumbowyg.min.css" rel="stylesheet" type="text/css">

	<link href="vendors/iCheck/css/all.css" rel="stylesheet"/>
    <link rel="stylesheet" type="text/css" href="vendors/bootstrap-fileinput/css/fileinput.css" media="all" />

	<link rel="stylesheet" type="text/css" href="css/formelements.css">

    <link rel="stylesheet" type="text/css" href="css/form_editors.css">
	<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.form.min.js"></script>
<script type="text/javascript" src="scripts/my_scripts.js"></script>


	<link rel="stylesheet" type="text/css" href="vendors/sweetalert2/css/sweetalert2.min.css"/>
    <link rel="stylesheet" type="text/css" href="css/custom_css/sweet_alert2.css">

	<link type="text/css" rel="stylesheet" href="vendors/hover/css/hover-min.css">
    <link rel="stylesheet" type="text/css" href="vendors/animate/animate.min.css">
    <link rel="stylesheet" type="text/css" href="css/custom_css/advanced_modals.css">
    <!--end of page level css-->

	<link rel="stylesheet" type="text/css" href="vendors/bootstrap-multiselect/css/bootstrap-multiselect.css" >
    <link rel="stylesheet" type="text/css" href="vendors/select2/css/select2.min.css">
    <link rel="stylesheet" type="text/css" href="vendors/select2/css/select2-bootstrap.css">

	<link href="css/custom_css/dashboard1.css" rel="stylesheet" type="text/css"/>


	<style>

.multiselect-item .input-group-addon {
	padding: 9px 12px;

}
.form-control.multiselect-search
{
	border:1px  solid #ced4da !important;
}

.multiselect-container > li > a
{
	padding: 3px !important;
}
.multiselect-item .form-control:focus {
	border-color: #66afe9;
	outline: 0;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}
.multiselect-container .input-group
{
	margin: 0;
}
.input-group > .form-control, .input-group > .custom-select, .input-group > .custom-file{
	-webkit-box-flex:1;
}
</style>

<script>
$(function() {
	 $('#modal_summernote').summernote({
		height: 100,
		codemirror: {
		  mode: 'text/html',
		  htmlMode: true,
		  lineNumbers: true,
		  theme: 'monokai'
		},
		callbacks: {
		  onInit: function() {
			$placeholder.show();
		  },
		  onFocus: function() {
			$placeholder.hide();
		  },
		  onBlur: function() {
			var $self = $(this);
			setTimeout(function() {
			  if ($self.summernote('isEmpty') && !$self.summernote('codeview.isActivated')) {
				$placeholder.show();
			  }
			}, 300);
		  }
		}
	  });
  });
</script>

</head>
<body class="skin-coreplus nav-fixed">
<div class="preloader">
    <div class="loader_img"><img src="img/loader.gif" alt="loading..." height="64" width="64"></div>
</div>
<!-- header logo: style can be found in header-->
<header class="header">
	<?php include_once('hub/pages/header.php')?>
</header>
<div class="wrapper row-offcanvas row-offcanvas-left">
    <!-- Left side column. contains the logo and sidebar -->
    <aside class="left-side sidebar-offcanvas">
        <!-- sidebar: style can be found in sidebar-->
        <section class="sidebar">

				<div id="menu" role="navigation">

					<?php include_once('hub/pages/nav.php'); ?>
				</div>
			<
            <!-- menu -->


        </section>
        <!-- /.sidebar -->
    </aside>
    <aside class="right-side">


			<?php

					if(isset($_GET['hub'])){

						$hub=$_GET['hub'];
						include_once('hub/pages/'.$hub.'.php');
					}else{
						include_once('hub/pages/dashboard.php');

					}

				?>
        <!-- /.content -->
    </aside>
    <!-- /.right-side -->


			<div class="modal fade" id="myModal_loading" tabindex="-1" role="dialog" aria-labelledby="Heading"
                     aria-hidden="true">
                    <div class="modal-dialog">
                        <div class="modal-content">
                            <div class="modal-header">
                                <h2 class="modal-title custom_align" id="Heading"> <span class="badge badge-pill badge-danger"> Editing </span> </h2>
                                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                            </div>
                            <div class="modal-body" id="modal_body">

                            </div>
                            <div class="modal-footer" id="edit_footer">

                            </div>
                        </div>
                        <!-- /.modal-content -->
                    </div>
                </div>
</div>
<!-- ./wrapper -->
<!-- global js -->
<script src="js/app.js" type="text/javascript"></script>
<!-- end of global js -->
<script>
        $('.slim').slimscroll({
            height: '100vh',
            size: '3px',
            opacity: 0.5,
            color: '#82c2e0'
        });
</script>


<script src="js/custom_js/sparkline/jquery.flot.spline.js"></script>
<!--c3 and d3 chart-->
<script type="text/javascript" src="vendors/c3/c3.min.js"></script>
<script type="text/javascript" src="vendors/d3/d3.min.js"></script>
<!--nvd3 charts-->
<script type="text/javascript" src="vendors/nvd3/js/nv.d3.min.js"></script>
<!--advanced news ticker-->
<script type="text/javascript" src="vendors/advanced_newsTicker/js/jquery.newsTicker.js"></script>


<!-- begining of page level js -->
<script src="vendors/moment/js/moment.min.js"></script>
<script src="vendors/jasny-bootstrap/js/jasny-bootstrap.js" type="text/javascript"></script>
<script src="vendors/select2/js/select2.js" type="text/javascript"></script>
<script src="vendors/bootstrapwizard/js/jquery.bootstrap.wizard.js" type="text/javascript"></script>
<script src="vendors/bootstrapvalidator/js/bootstrapValidator.min.js" type="text/javascript"></script>
<script src="vendors/datetimepicker/js/bootstrap-datetimepicker.min.js" type="text/javascript"></script>
<script src="vendors/iCheck/js/icheck.js"></script>
<script src="js/custom_js/adduser.js" type="text/javascript"></script>




<script type="text/javascript" src="vendors/datatables/js/jquery.dataTables.js"></script>
<script type="text/javascript" src="vendors/datatables/js/dataTables.bootstrap4.js"></script>
<script type="text/javascript" src="js/custom_js/users_custom.js"></script>

<script src="vendors/bootstrap3-wysihtml5-bower/js/bootstrap3-wysihtml5.all.min.js" type="text/javascript"></script>
<script src="vendors/trumbowyg/js/trumbowyg.js" type="text/javascript"></script>
<script type="text/javascript" src="vendors/bootstrap3-wysihtml5-bower/js/bootstrap3-wysihtml5.min.js"></script>
<script type="text/javascript" src="vendors/summernote/summernote-bs4.js"></script>
<script src="js/custom_js/form_editors.js" type="text/javascript"></script>

<script src="vendors/iCheck/js/icheck.js"></script>
<script type="text/javascript" src="vendors/bootstrap-fileinput/js/fileinput.js"></script>
<script type="text/javascript" src="vendors/bootstrap-fileinput/js/theme.js">  </script>
<script src="js/custom_js/form_elements.js"></script>



<!-- begining of page level js -->
<script type="text/javascript" src="vendors/sweetalert2/js/sweetalert2.min.js"></script>
<script type="text/javascript" src="js/custom_js/sweetalert.js"></script>
<!-- end of page level js -->

<!-- begining of page level js -->
<script type="text/javascript" src="vendors/bootstrap-multiselect/js/bootstrap-multiselect.js"></script>
<script type="text/javascript" src="vendors/select2/js/select2.js"></script>
<script type="text/javascript" src="vendors/select2/js/select2.full.js"></script>

<script type="text/javascript" src="vendors/selectize/js/standalone/selectize.min.js"></script>
<script type="text/javascript" src="vendors/iCheck/js/icheck.js"></script>
<script type="text/javascript" src="vendors/selectric/js/jquery.selectric.min.js"></script>
<script type="text/javascript" src="js/custom_js/custom_elements.js"></script>
<!-- end of page level js -->
<!-- begining of page level js -->
<script type="text/javascript" src="js/custom_js/advanced_modals.js"></script>
</body>


<!-- Mirrored from coreplusdemo.lorvent.com/layout_fixed.html by HTTrack Website Copier/3.x [XR&CO'2014], Tue, 24 Dec 2019 11:17:16 GMT -->
</html>
