<!-- Left side column. contains the logo and sidebar -->
<?php if(!isset($_SESSION['user_name'])){
  echo '<script type="text/javascript">window.location.href="../index.php";</script>';
} ?>
   <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">
              <img src="../images/users/<?php echo $_SESSION['user_photo']; ?>" class="img-circle" alt="User Image">
            </div>
            <div class="pull-left info">
              <p><?php echo $_SESSION['user_name']; ?></p>
            </div>
          </div>
        
          <ul class="sidebar-menu" style=" margin-top: 20px;">
            <li class="active treeview">
              <a href="index.php">
                <i class="glyphicon glyphicon-home"></i><span>Home</span> <i ></i>
              </a>
            </li>
       <li class="treeview">
              <a href="#">
                <i class="fa fa-tasks"></i>
                <span>Master</span>
                <i class="fa fa-angle-left pull-right"></i>
              </a>
              <ul class="treeview-menu">
                <li><a href="company.php"><i class="fa fa-university"></i> Company</a></li>
                <!--<li><a href="branch.php"><i class="fa fa-building-o"></i> Branch</a></li>                -->
                <li><a href="account_head.php"><i class="fa fa-book"></i> Account Head</a></li>
                <!--<li><a href="business.php"><i class="fa fa-briefcase"></i> Business Category</a></li>-->
                <!--<li><a href="vender.php"><i class="fa fa-street-view"></i> Vendor Registration</a></li>-->
                <!--<li><a href="customer.php"><i class="fa fa-users"></i> Customer Registration</a></li>-->
                <li><a href="tax-master.php"><i class="glyphicon glyphicon-usd"></i> Tax master</a></li>
              </ul>
            </li>
           
            
            
             
            
            <li>
              <a href="orders.php">
                <i class="fa fa-file-pdf-o"></i> <span>Order Management</span>
              </a>
           </li>
           
           <li class="treeview">
              <a href="#">
                <i class="fa fa-desktop"></i>
                <span>Project Management</span>
                <i class="fa fa-angle-left pull-right"></i>
              </a>
              <ul class="treeview-menu">
                <li><a href="assignment.php"><i class="fa fa-pencil"></i> Assignment</a></li>
                <li><a href="scheduling.php"><i class="fa fa-pencil-square-o"></i> Scheduling</a></li>
                <li><a href="man_hours.php"><i class="fa fa-user"></i> Daily Man Hours</a></li>
                

                
                
                
              </ul>
          </li>
           
           
           <li class="treeview">
              <a href="#">
                <i class="fa fa-money"></i>
                <span>Accounts</span>
                <i class="fa fa-angle-left pull-right"></i>
              </a>
              <ul class="treeview-menu">
                                  <li class="treeview">
                <a href="#">
                <i class="fa fa-wordpress"></i>
                <span>Web Master</span>
                <i class="fa fa-angle-left pull-right"></i>
                </a>
              <ul class="treeview-menu">
                <li><a href="domain_register.php"><i class="fa fa-file-text"></i> Domain Register</a></li>
                <li><a href="domain_expiry.php"><i class="fa fa-file-text"></i> Domain Expiry Report</a></li>
                <li><a href="domain_renewal.php"><i class="fa fa-file-text"></i> Domain Renewal Letter</a></li>
                <li><a href="sms_renewal.php"><i class="fa fa-file-text"></i> SMS Renewal Letter</a></li>
                <li><a href="email_renewal.php"><i class="fa fa-file-text"></i> Email Renewal Letter</a></li>
                <li><a href="#"><i class="fa fa-file-text"></i> Domain Index Register</a></li>
              </ul>
            </li>
                
                <li><a href="sales.php"><i class="fa fa-archive"></i> Sales & Billing</a></li>
                <li><a href="purchase.php"><i class="fa fa-shopping-cart"></i> Purchase</a></li>
                <li><a href="receipts.php"><i class="fa fa-credit-card"></i> Receipts</a></li>
                <li><a href="voucher.php"><i class="fa fa-files-o"></i> Vouchers</a></li>
                
                <!--<li><a href="asset_register.php"><i class="fa fa-book"></i> Asset Register</a></li>-->
                <!--<li><a href="domain_register.php"><i class="fa fa-book"></i> Domain Register</a></li>-->
                <!--<li><a href="task_register.php"><i class="fa fa-book"></i> Task Register</a></li> -->
     
              </ul>
          </li>
          
            
             <li class="treeview">
              <a href="#">
                <i class="fa fa-database"></i>
                <span>Reports</span>
                <i class="fa fa-angle-left pull-right"></i>
              </a>
              <ul class="treeview-menu">
                <li><a href="sales_register.php"><i class="fa fa-file-text"></i> Sales Register</a></li>
                <li><a href="purchase_register.php"><i class="fa fa-file-word-o"></i> Purchase Register</a></li>
                <li><a href="bank_book.php"><i class="fa fa-book"></i> Bank Book</a></li>
                <li><a href="cash_book.php"><i class="fa fa-money"></i> Cash Book</a></li>
                <li><a href="journal.php"><i class="fa fa-file-audio-o"></i> Journal</a></li>
                 <li><a href="ledger.php"><i class="fa fa-file-powerpoint-o"></i> Ledger</a></li>
     
              </ul>
            </li>
            
            <li class="treeview">
              <a href="#">
                <i class="fa fa-cogs"></i>
                <span>Settings</span>
                <i class="fa fa-angle-left pull-right"></i>
              </a>
              <ul class="treeview-menu">
                <li><a href="sms_settings.php"><i class="fa fa-mobile fa-lg"></i> SMS Settings</a></li>
                <li><a href="sms_history.php"><i class="fa fa-history"></i> SMS History</a></li>
                     
              </ul>
            </li>
            <li class="treeview">
              <a href="#">
                <i class="fa fa-cogs"></i>
                <span>Quality Control</span>
                <i class="fa fa-angle-left pull-right"></i>
              </a>
              <ul class="treeview-menu">
                <li><a href="quality_control.php"><i class="fa fa-thumbs-o-up"></i> Quality Control</a></li>
                     
              </ul>
            </li>

            
            
             
          </ul>
        </section>
        
      </aside>
