<?php
include("connection.php");
include("user.php");
$user_id=$_SESSION['user'];
$username=$_SESSION['user_name'];
$branch_id=$_SESSION['branch_id'];
$ho_access=$_SESSION['ha'];
$location=$_SESSION['location'];
$branch=$_SESSION['division_name'];
?> 
<!doctype html>
<html class="no-js" lang=""> <!--<![endif]-->
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title><?php echo TITLE;?></title>
    <meta name="description" content="Ela Admin - HTML5 Admin Template">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="apple-touch-icon" href="images/bluebase_logo.png">
    <link rel="shortcut icon" href="images/bluebase.png">
    <link rel="stylesheet" href="css/normalize.min.css">
    <link rel="stylesheet" href="css/bootstrap.min.css">
    <link rel="stylesheet" href="css/font-awesome.min.css">
    <link rel="stylesheet" href="css/themify-icons.css">
    <link rel="stylesheet" href="css/pe-icon-7-stroke.min.css">
    <link rel="stylesheet" href="css/flag-icon.min.css">
    <link rel="stylesheet" href="assets/css/cs-skin-elastic.css">
    <link rel="stylesheet" href="assets/css/style.css">
    <link href="css/chartist.min.css" rel="stylesheet">
    <link href="css/jqvmap.min.css" rel="stylesheet">
    <link href="css/weather-icons.css" rel="stylesheet" />
    <link href="css/fullcalendar.min.css" rel="stylesheet" />
	<script src="js/jquery-1.12.4.min.js"></script>
	<script src="js/jquery-3.3.1.js"></script>
	<script src="js/jquery.dataTables.min.js"></script>
    <script src="js/popper.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="js/jquery.matchHeight.min.js"></script>
    <script src="assets/js/main.js"></script>
    <script src="js/jquery-3.3.1.min.js"></script>
	
   <style>
    #weatherWidget .currentDesc 
	{
        color: #ffffff!important;
    }
        .traffic-chart {
            min-height: 335px;
        }
        #flotPie1  {
            height: 150px;
        }
        #flotPie1 td {
            padding:3px;
        }
        #flotPie1 table {
            top: 20px!important;
            right: -10px!important;
        }
        .chart-container {
            display: table;
            min-width: 270px ;
            text-align: left;
            padding-top: 10px;
            padding-bottom: 10px;
        }
        #flotLine5  {
             height: 105px;
        }

        #flotBarChart {
            height: 150px;
        }
        #cellPaiChart{
            height: 160px;
        }
        img{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    z-index: -1;
}

.navbar {
    background: white;
    opacity: 0.7; 
    border-radius: 0;
    border: none;
    display: inline-block;
    margin: 0;
    padding: 0;
    vertical-align: top;
}

aside.left-panel {
    background: white;
    opacity: 0.9;
    height: 100vh;
    padding: 0;
    vertical-align: top;
    width: 280px;
    -webkit-box-shadow: 1px 0 20px rgba(0, 0, 0, 0.08);
    box-shadow: 1px 0 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    left: 0;
    bottom: 0;
    top: 55px;
    z-index: 999;
}

.navbar .navbar-nav > li.active {
    background: white;
    opacity: 0.9;
}
.navbar .navbar-nav li > a {
    background: none !important;
    color: black;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    line-height: 26px;
    padding: 10px 0;
    position: relative;
    width: 100%;
}
.navbar .navbar-nav > .active > a, .navbar .navbar-nav > .active > a:focus, .navbar .navbar-nav > .active > a:hover {
    color: black;
}
.right-panel header.header {
    /* background: #fff; */
    border-bottom: 1px solid #e8e9ed;
    -webkit-box-shadow: none;
    box-shadow: none;
    clear: both;
    padding: 0 30px;
    height: 55px;
    position: fixed;
    left: 280px;
    background: maroon;
    left: 0;
    right: 0;
    top: 0;
    z-index: 999;
}
.right-panel .navbar-header {
    width: 100%;
    background-color:transparent;
    padding: 0 1.25em 0 0;
}
.menutoggle {
    background-color: transparent;
    color: white !important;
    cursor: pointer;
    font-size: 1em;
    height: 40px;
    line-height: 40px;
    width: 40px;
    display: block;
    text-align: right;
}
.user-area .user-avatar {
    /* float: right; */
    width: 33px;
    height: 39px;
    margin-top: 7px;
    margin-left: -53px;
}
    </style>
     <!-- <img src="/asset_temp/images/bbbbb.jpg" alt=""> -->
</head>

<body>
    <!-- Left Panel -->
		<?php require('sidemenu.php');?>
    <!-- /#left-panel -->
    <!-- Right Panel -->
    <div id="right-panel" class="right-panel">
			<!-- Header-->
        <?php require('header.php');?>
			<!-- /#header -->
			<!-- Content -->
       <?php require('content.php'); ?>
			<!-- /.content -->
        <div class="clearfix"></div>
			<!-- Footer -->

			<!-- /.site-footer -->
    </div>
		<!-- /#right-panel -->

			<!-- Scripts -->
       <?php require("mainjavascript.js");?>
</body>
</html>
