<?php 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);
$querydis = "select * from customer_invoice_details where username = '". $_SESSION["LOGIN_NAME"]."' AND password = '".$_SESSION["EMPLOYEE_PASSWORD"]."'";
//echo $querydis;
$resultdis = mysql_query($querydis,$conn);
while($row=mysql_fetch_array($resultdis))
{
$customer_name = $row['customer_name'];

}
?>
<header class="main-header">
    <!-- Logo -->
   <a href="index2.html" class="logo">
      <!-- mini logo for sidebar mini 50x50 pixels -->
      <span class="logo-mini"><img src="http://renercon.co.in/threestar_software/logo_small.jpg"></span>
      <!-- logo for regular state and mobile devices -->
      <span class="logo-lg"><img src="http://renercon.co.in/threestar_software/logo.jpg"></span>
    </a>
    <!-- Header Navbar: style can be found in header.less -->
    <nav class="navbar navbar-static-top">
      <!-- Sidebar toggle button-->
      <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
        <span class="sr-only">Toggle navigation</span>
      </a>

      <div class="navbar-custom-menu">
        <ul class="nav navbar-nav">
        
          <li class="dropdown user user-menu">
            <a href="logout.php" class="dropdown-toggle" data-toggle="dropdown">
              <i class="fa fa-user"></i>
			   <span class="hidden-xs"> Logout</span>
            </a>
            
          </li>
          <!-- Control Sidebar Toggle Button -->
        
        </ul>
      </div>
    </nav>
  </header>
  <!-- Left side column. contains the logo and sidebar -->
  <aside class="main-sidebar">
  
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">
      <!-- Sidebar user panel -->
      <div class="user-panel">
        <div class="pull-left image">
          <i class="fa fa-user" style="font-size:35px;"></i>
        </div>
        <div class="pull-left info">
          <p><?php echo $customer_name; ?></p>
          <a href="#"><i class="fa fa-circle text-success"></i> Online</a>
        </div>
      </div>
      <!-- search form -->
    
      <!-- /.search form -->
      <!-- sidebar menu: : style can be found in sidebar.less -->
      <ul class="sidebar-menu">
        <li class="header">MAIN NAVIGATION</li>
        <li class="treeview">
          <a href="index.php"><i class="fa fa-dashboard"></i> <span>Dashboard</span></a></li>
      
		<li class="treeview">
          <a href="#">
            <i class="fa fa-users"></i>
            <span>Report</span></a>
       
        </li>
		
	       <li class="treeview">
          <a href="#">
            <i class="fa fa-users"></i>
            <span>About THREESTAR Services</span></a>
       
        </li>
        
    
		   
          </ul>
       </li>
      </ul>
    </section>
    <!-- /.sidebar -->
  </aside>