<aside class="main-sidebar">
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">
      <!-- Sidebar user panel -->
      <?php
	  $sel_staff="select * from site_setting where admin_id='".$_SESSION['admin_id']."'";
	  $ptr_staff=mysql_query( $sel_staff);
	  $data_staff=mysql_fetch_array($ptr_staff);
	  ?>
      <div class="user-panel">
        <div class="pull-left image">
          <img src="../faculty_login/staff_photo/<?php echo $data_staff['photo']; ?>" class="img-circle" alt="User Image">
        </div>
        <div class="pull-left info">
          <p><?php echo $data_staff['name']; ?></p>
          <a href="#"><i class="fa fa-circle text-success"></i> <?php echo ucwords($data_staff['status']); ?></a>
        </div>
      </div>
      <!-- search form -->
      <!--<form action="#" method="get" class="sidebar-form">
        <div class="input-group">
          <input type="text" name="q" class="form-control" placeholder="Search...">
          <span class="input-group-btn">
                <button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i>
                </button>
              </span>
        </div>
      </form>-->
      <!-- /.search form -->
      <!-- sidebar menu: : style can be found in sidebar.less -->
      <ul class="sidebar-menu" data-widget="tree">
        <!--<li class="header">MAIN NAVIGATION</li>-->
        <li class="active "> <!--treeview-->
          <a href="index_home.php">
            <i class="fa fa-dashboard"></i> <span>Home</span>
            <!--<span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>-->
          </a>
          
        </li>
        
        <li class="active treeview">
          <a href="#">
            <i class="fa fa-user"></i> <span>Me</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">
          	<!--<li><a href="#"><i class="fa fa-bar-chart-o"></i> Summary</a></li>-->
            <li class="treeview">
              <a href="#"><i class="fa fa-circle-o"></i> Leaves
                <span class="pull-right-container">
                  <i class="fa fa-angle-left pull-right"></i>
                </span>
              </a>
              <ul class="treeview-menu">
                <li><a href="lv_my_leave.php"><i class="fa fa-circle-o"></i>My Leaves</a></li>
                <li><a href="lv_apply_leave.php"><i class="fa fa-pencil"></i>Apply For Leave</a></li>
                <li><a href="lv_apply_leave.php"><i class="fa fa-pencil-square-o"></i>Request for Compensatory Off</a></li>
                <li><a href="lv_request_approval.php"><i class="fa fa-spinner"></i>Request & Approvals</a></li>
                
                <!--<li class="treeview">
                  <a href="#"><i class="fa fa-circle-o"></i> Level Two
                    <span class="pull-right-container">
                      <i class="fa fa-angle-left pull-right"></i>
                    </span>
                  </a>
                  <ul class="treeview-menu">
                    <li><a href="#"><i class="fa fa-circle-o"></i> Level Three</a></li>
                    <li><a href="#"><i class="fa fa-circle-o"></i> Level Three</a></li>
                  </ul>
                </li>-->
              </ul>
            </li>
			<li class="treeview">
              <a href="#"><i class="fa fa-calendar"></i> Attendance
                <span class="pull-right-container">
                  <i class="fa fa-angle-left pull-right"></i>
                </span>
              </a>
              <ul class="treeview-menu">
                <li><a href="lv_attendance_summary.php"><i class="fa fa-bar-chart-o"></i>Summary</a></li>
                <li><a href="lv_staff_attendance.php"><i class="fa fa-calendar-check-o"></i>Daily Attendance</a></li>
              </ul><!--lv_attendance_calendar.php-->
            </li>
            <li class="treeview">
              <a href="lv_staff_performance_report.php"><i class="fa fa-line-chart"></i> Performance
                <span class="pull-right-container">
                  <i class="fa fa-angle-left pull-right"></i>
                </span>
              </a>
              <ul class="treeview-menu">
              	<!--<li><a href="#"><i class="fa fa-bar-chart-o"></i>Summary Report</a></li>-->
                <li><a href="lv_staff_performance_report.php"><i class="fa fa-file-text-o"></i>Daily Report</a></li>
              </ul>
            </li>
            <li class="treeview">
              <a href="#"><i class="fa fa-plane"></i> Holidays
                <span class="pull-right-container">
                  <i class="fa fa-angle-left pull-right"></i>
                </span>
              </a>
              <ul class="treeview-menu">
                <li><a href="lv_all_holidays.php"><i class="fa fa-bed"></i> All Holiday</a></li>
              </ul>
            </li>
            
            <!--<li class="treeview">
              <a href="#"><i class="fa fa-clock-o"></i> Timesheet
                <span class="pull-right-container">
                  <i class="fa fa-angle-left pull-right"></i>
                </span>
              </a>
              <ul class="treeview-menu">
                <li><a href="#"><i class="fa fa-calendar"></i>All Timesheet</a></li>
                <li><a href="#"><i class="fa fa-undo"></i>Past Due</a></li>
                <li><a href="#"><i class="fa fa-tasks"></i>My Task</a></li>
              </ul>
            </li>-->
          </ul>
        </li>
        <!--============================MY FINANCE=====================================-->
        <li class=" treeview">
          <a href="#">
            <i class="fa fa-money"></i> <span>My Finance</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">
          	<li><a href="lv_finance_summary.php"><i class="fa fa-bar-chart-o"></i> Summary</a></li>
            <li class="treeview">
              <a href="#"><i class="fa  fa-gg-circle"></i> My Pay
                <span class="pull-right-container">
                  <i class="fa fa-angle-left pull-right"></i>
                </span>
              </a>
              <ul class="treeview-menu">
                <li><a href="lv_my_salary.php"><i class="fa fa-inr"></i>My Salary</a></li>
                <li><a href="lv_my_salary_slip.php"><i class="fa fa-calendar-o"></i>Pay Slip</a></li>
                <li><a href="lv_salary_appraisals.php"><i class="fa fa-send-o"></i>Apprisals</a></li>
              </ul>
            </li>
            <li class=" treeview">
              <a href="#"><i class="fa fa-cut"></i> Expenses
                <span class="pull-right-container">
                  <i class="fa fa-angle-left pull-right"></i>
                </span>
              </a>
              <ul class="treeview-menu">
                <li><a href="lv_expenses.php"><i class="fa fa-cut"></i> Expenses & Claim</a></li>
                <!--<li><a href="#"><i class="fa fa-file-text-o"></i> Past Claim</a></li>
                <li><a href="#"><i class="fa fa-mail-forward "></i> Advance Request</a></li>-->
              </ul>
            </li>
            <li class="treeview">
              <a href="#"><i class="fa fa-dollar"></i> Loans & Advance
                <span class="pull-right-container">
                  <i class="fa fa-angle-left pull-right"></i>
                </span>
              </a>
              <ul class="treeview-menu">
                <li><a href="lv_loan_request.php"><i class="fa fa-gg-circle"></i>Request & Outstandings</a></li>
                <!--<li><a href="#"><i class="fa fa-circle-o"></i>Cleared</a></li>
                <li><a href="#"><i class="fa fa-pencil"></i>Request</a></li>-->
              </ul>
            </li>
            <!--<li class="treeview">
              <a href="#"><i class="fa fa-circle-o"></i> Manage Tax
                <span class="pull-right-container">
                  <i class="fa fa-angle-left pull-right"></i>
                </span>
              </a>
              <ul class="treeview-menu">
                <li><a href="#"><i class="fa fa-bullhorn"></i>Declaration</a></li>
                <li><a href="#"><i class="fa fa-file-excel-o"></i>Form 16</a></li>
              </ul>
            </li>-->
          </ul>
        </li>
        <!--============================School=====================================-->
        <li class=" treeview">
          <a href="#">
            <i class="fa fa-university"></i> <span>School</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">
          	<li><a href="batch_summary.php" target="_blank"><i class="fa fa-bar-chart-o"></i> Summary</a></li>
            <li><a href="lv_order_list.php"><i class="fa fa-shopping-cart"></i><span>Order List</span></a></li>
            <li class="treeview">
              <a href="#" target="_blank"><i class="fa fa-exchange"></i> My Batches
                <span class="pull-right-container">
                  <i class="fa fa-angle-left pull-right"></i>
                </span>
              </a>
              <ul class="treeview-menu">
                <li><a href="batch_summary.php"><i class="fa fa-users"></i>Ongoing Batches</a></li>
                <!--<li><a href="#"><i class="fa fa-tags"></i>Completed Batches</a></li>
                <li><a href="#"><i class="fa fa-share-square"></i>Upcoming Batches</a></li>-->
                
              </ul>
            </li>
			<li><a href="profile1.php"><i class="fa fa-circle-o text-aqua"></i> <span>Staff Profile</span></a></li>
            <!--<li class="treeview">
              <a href="#"><i class="fa fa-slack"></i> Events
                <span class="pull-right-container">
                  <i class="fa fa-angle-left pull-right"></i>
                </span>
              </a>
              <ul class="treeview-menu">
                <li><a href="#"><i class="fa fa-eject"></i> Upcoming Events</a></li>
                <li><a href="#"><i class="fa fa-archive"></i> Past Events</a></li>
              </ul>
            </li>-->
            
          </ul>
        </li>
        <!--==============================================================-->
        <!--============================org=====================================-->
        <!--<li class="treeview">
          <a href="#">
            <i class="fa fa-map"></i> <span>Org</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">
          	<li><a href="#"><i class="fa fa-hourglass-2 "></i>Notice</a></li>
            <li class="treeview">
              <a href="#"><i class="fa fa-book"></i> Documents
                <span class="pull-right-container">
                  <i class="fa fa-angle-left pull-right"></i>
                </span>
              </a>
              <ul class="treeview-menu">
                <li><a href="#"><i class="fa fa-share-square-o"></i>Documents \Shared</a></li>
              </ul>
            </li>
            <li class="treeview">
              <a href="#"><i class="fa fa-users"></i> Employee
                <span class="pull-right-container">
                  <i class="fa fa-angle-left pull-right"></i>
                </span>
              </a>
              <ul class="treeview-menu">
                <li><a href="#"><i class="fa fa-users"></i> Employee Directory</a></li>
                <li><a href="#"><i class="fa fa-sitemap"></i> Organisation Tree</a></li>
              </ul>
            </li>
            <li><a href="#"><i class="fa fa-headphones"></i>Helpdesk</a></li>
          </ul>
        </li>-->
        <!--==============================================================-->
        <li><a href="my_account.php"><i class="fa fa-circle-o text-aqua"></i> <span>Profile</span></a></li>
        <!--<li><a href="https://adminlte.io/docs"><i class="fa fa-book"></i> <span>Documentation</span></a></li>
        <li class="header">LABELS</li>
        <li><a href="#"><i class="fa fa-circle-o text-red"></i> <span>Important</span></a></li>
        <li><a href="#"><i class="fa fa-circle-o text-yellow"></i> <span>Warning</span></a></li>
        <li><a href="#"><i class="fa fa-circle-o text-aqua"></i> <span>Information</span></a></li>-->
      </ul>
    </section>
    <!-- /.sidebar -->
  </aside>
<?php
$sel_attts="select * from pr_staff_announcement";
$ptr_atts=mysql_query($sel_attts);
while($data=mysql_fetch_array($ptr_atts)){
  echo $data['title'];
}
 $t=1;
?>