<?php 
include ('connection.php') ;
session_start();

if (!isset($_SESSION['is_logged_in'])) {
    header("Location:login.php");
    die();
    }

date_default_timezone_set('Asia/Calcutta');
$today = date("d/m/Y");
$today_dash = date("d-m-Y");

$today2 = date("Y-m-d");

//$today3 = strtotime(date("Y-m-d", strtotime("-5 day")));
$today1 = date("d/m");
$currentmonth = date(m);


?>
<?php 
$queryhead = "select * from users where username = '". $_SESSION["LOGIN_NAME"]."' AND password = '".$_SESSION["EMPLOYEE_PASSWORD"]."' AND department_name ='".$_SESSION["LOGIN_TYPE"]."'";
$resulthead = mysql_query($queryhead,$conn);
while($row=mysql_fetch_array($resulthead))
	                                              	{
													
													 $staff_name = $row['full_name'];
													  $full_name = $row['full_name'];
													   $full_name11 = $row['full_name'];
													  $avatar = $row['avatar'];
													  $department_name = $row['department_name'];
													  $staff_id  = $row['id'];
													  $username = $row['username'];
													  $our_company = $row['our_company'];
													  $designation = $row['designation'];
													  $sales_group = $row['sales_group'];
													  $head = $row['head'];
													  $region = $row['region'];
													  $district = $row['district'];
													  $email = $row['email'];
													  $mobile_no = $row['mobile_no'];
													  $staff_id_self  = $row['id'];
													  //echo $Branch;
													  }	
													   ?>	<!DOCTYPE html>
<html>
<!-- Mirrored from themesdesign.in/xadmino/index.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 03 Feb 2021 12:04:34 GMT -->
<head>
<meta charset="utf-8" />
<title>Shigmoda Carriers and Lifters Pvt Ltd:: CRM</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta content="Admin Dashboard" name="description" />
<meta content="ThemeDesign" name="author" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link rel="shortcut icon" href="assets/images/favicon.png">
<link href="assets/plugins/datatables/jquery.dataTables.min.css" rel="stylesheet" type="text/css" />
<link href="assets/plugins/datatables/responsive.bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="assets/plugins/datatables/dataTables.bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="assets/css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="assets/css/icons.css" rel="stylesheet" type="text/css">
<link href="assets/css/style.css" rel="stylesheet" type="text/css">
<link href="vendors/bower_components/select2/dist/css/select2.min.css" rel="stylesheet" type="text/css">
<link href="vendors/bower_components/bootstrap-select/dist/css/bootstrap-select.min.css" rel="stylesheet" type="text/css">
<link href="vendors/bower_components/multiselect/css/multi-select.css" rel="stylesheet" type="text/css">


 <script type="text/javascript" >
   function preventBack(){window.history.forward();}
    setTimeout("preventBack()", 0);
    window.onunload=function(){null};
</script>
</head>
<body class="fixed-left">
<div id="wrapper">
  <div class="topbar">
    <div class="topbar-left">
      <div class="text-center"> <a href="index.php" class="logo"><img src="logo.jpg"></a> <a href="index.html" class="logo-sm"><img src="assets/images/logo_sm.png" height="36"></a></div>
    </div>
    <div class="navbar navbar-default" role="navigation">
      <div class="container">
        <div class="">
          <div class="pull-left">
            <button type="button" class="button-menu-mobile open-left waves-effect waves-light"> <i class="ion-navicon"></i> </button>
            <span class="clearfix"></span></div>
        
          <ul class="nav navbar-nav navbar-right pull-right">
            
            <li class="hidden-xs"> <a href="#" id="btn-fullscreen" class="waves-effect waves-light"><i class="fa fa-crosshairs"></i></a></li>
            <li class="dropdown"> <a href="#" class="dropdown-toggle profile waves-effect waves-light" data-toggle="dropdown" aria-expanded="true"><img src="assets/images/users/avatar-1.jpg" alt="user-img" class="img-circle"> </a>
              <ul class="dropdown-menu">
                <!--<li><a href="javascript:void(0)"> Profile</a></li>
                <li><a href="javascript:void(0)"><span class="badge badge-success pull-right">5</span> Settings </a></li>-->
               <!-- <li class="divider"></li>-->
                <li><a href="logout.php"> Logout</a></li>
              </ul>
            </li>
          </ul>
        </div>
      </div>
    </div>
  </div>
  <div class="left side-menu">
    <div class="sidebar-inner slimscrollleft">
      <div class="user-details">
        <div class="text-center"> <img src="assets/images/users/avatar-1.jpg" alt="" class="img-circle"></div>
        <div class="user-info">
          <div class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false"><?php echo $first_name?></a>
            
          </div>
          <p class="text-muted m-0"><i class="fa fa-dot-circle-o text-success"></i> Online</p>
        </div>
      </div>
      <div id="sidebar-menu"><ul style="text-transform:uppercase;">
															
															<li><a href="index.php"><i class="ti-agenda"></i><span>Dashboard</span></a></li>
		 <li class="has_sub"> <a href="javascript:void(0);" class="waves-effect"><i class="ti-agenda"></i><span>Customer Master </span>
		  <span class="pull-right"><i class="mdi mdi-plus"></i></span></a>
            <ul class="list-unstyled">
                <li><a href="http://shigmoda.com/PWS_LLP/accounts.php"><i class="fa fa-circle-o"></i>New Accounts</a></li>
				<li><a href="http://shigmoda.com/PWS_LLP/view_all_accounts.php"><i class="fa fa-circle-o"></i>View All Accounts</a></li>
				<li><a href="http://shigmoda.com/PWS_LLP/view_all_contacts.php"><i class="fa fa-circle-o"></i>View All Contacts</a></li>
            </ul>
          </li> 
		  <li class="has_sub"> <a href="javascript:void(0);" class="waves-effect"><i class="ti-agenda"></i><span>Transport</span>
		  <span class="pull-right"><i class="mdi mdi-plus"></i></span></a>
            <ul class="list-unstyled">
                 <li><a href="http://shigmoda.com/PWS_LLP/vendor_transport_master.php"><i class="fa fa-dashboard"></i> <span>Master</span></a></li>
		   <li><a href="http://shigmoda.com/PWS_LLP/view_all_dircttransinv.php"><i class="fa fa-dashboard"></i> <span>View all Invoice</span></a></li>
            </ul>
          </li>
		  
		 
		  <li><a href="http://shigmoda.com/PWS_LLP/make_job.php"><i class="fa fa-dashboard"></i> <span>JOB Entry </span></a></li>
		  <li><a href="http://shigmoda.com/PWS_LLP/view_all_jobs.php"><i class="fa fa-dashboard"></i> <span>View all Jobs</span></a></li>
		  <li><a href="http://shigmoda.com/PWS_LLP/view_all_challan_master.php"><i class="fa fa-dashboard"></i> <span>View all Challan</span></a></li>
		  
		  <li>
          <a href="http://shigmoda.com/PWS_LLP/view_all_credit_note.php">
            <i class="fa fa-dashboard"></i> <span>View all Credit Note</span>
            
          </a></li>
		
		  
		  
		  </ul>

     
      </div>
      <div class="clearfix"></div>
    </div>
  </div>