Your IP : 18.191.67.90


Current Path : /home/lentoinv/churchmr.com/user/
Upload File :
Current File : //home/lentoinv/churchmr.com/user/sidebar.php

  <?php if($_SESSION['user']=='user'){}elseif($_SESSION['user']=='admin'){}else{ header('location: ../'); exit;}   ?>      
    <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="upload/user.jpg" class="img-circle" alt="User Image">
            </div>
            <div class="pull-left info">
              <p><?php  echo ucwords(strtolower($ro['dc']))  ; ?></p>
              <a href="#"><i class="fa fa-circle text-success"></i> Online</a>
            </div>
          </div>
          <!-- search form -->
          <form action="searchm.php" 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" value="true" 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">
            <li class="header">MAIN NAVIGATION</li>
            
             <li <?php  if($page == 10){ ?> class="active" <?php } ?> >
              <a href="dashboard.php">
                <i class="fa fa-calendar-check-o"></i> <span>Dashboard</span> 
              </a>
            </li>
            <li <?php  if($page == 1){ ?> class="active" <?php } ?> >
              <a href="submitreports.php">
                <i class="fa fa-calendar-check-o"></i> <span>Submit Weekly Reports</span> 
              </a>
            </li>
            <li <?php  if($page == 67){ ?> class="active" <?php } ?> >
              <a href="generalattendance.php">
                <i class="fa fa-calendar-check-o"></i> <span>Leaders/Workers Attendance</span> 
              </a>
            </li>
           
                        <li <?php  if($page == 2){ ?> class="active" <?php } ?> >
              <a href="weeks.php">
                <i class="fa fa-calendar-check-o"></i> <span>View Weekly Reports</span> 
              </a>
            </li>
          <!--  <li <?php  if($page == 3){ ?> class="active" <?php } ?> >
              <a href="analysis.php">
                <i class="fa fa-calendar-check-o"></i> <span>Basic Report Analysis</span> 
              </a>
            </li>
            <li <?php  if($page == 4){ ?> class="active" <?php } ?> >
              <a href="analysis2.php">
                <i class="fa fa-calendar-check-o"></i> <span>Advance Report Analysis</span> 
              </a>
            </li>
            
                        <li <?php  if($page == 14){ ?> class="active" <?php } ?> >
              <a href="chartt.php">
                <i class="fa fa-calendar-check-o"></i> <span>Track Report Submission</span> 
              </a>
            </li> --->
            
             <li <?php  if($page == 5){ ?> class="active" <?php } ?> >
              <a href="group.php">
                <i class="fa fa-calendar-check-o"></i> <span>Manage Groups & Disricts</span> 
              </a>
            </li>
            
            
                 <!--        <li <?php  if($page == 11){ ?> class="active" <?php } ?> >
              <a href="reset.php">
                <i class="fa fa-calendar-check-o"></i> <span>Reset Entries</span> 
              </a>
            </li> -->

 <li <?php  if($page == 'stats'){ ?> class="active" <?php } ?> >
              <a href="stats.php">
                <i class="fa fa-calendar-check-o"></i> <span>Church Members Statistics</span> 
              </a>
            </li>

          <!--  <li <?php  if($page == '87'){ ?> class="active" <?php } ?> >
              <a href="graph3.php">
                <i class="fa fa-calendar-check-o"></i> <span>Church Growth Rate</span> 
              </a>
            </li>-->
            
             <li <?php  if($page == 20){ ?> class="active" <?php } ?> >
              <a href="registeredmembers.php">
                <i class="fa fa-calendar-check-o"></i> <span>Registered Church Members</span> 
              </a>
            </li>
            
            <li <?php  if($page == 'wl'){ ?> class="active" <?php } ?> >
              <a href="workers.php">
                <i class="fa fa-calendar-check-o"></i> <span>Workers and Leaders</span> 
              </a>
            </li>

            <li <?php  if($page == 'wl'){ ?> class="active" <?php } ?> >
              <a href="workarea.php">
                <i class="fa fa-calendar-check-o"></i> <span>Workers Areas of Work</span> 
              </a>
            </li>

            <li <?php  if($page == 'wl'){ ?> class="active" <?php } ?> >
              <a href="workarea3.php">
                <i class="fa fa-calendar-check-o"></i> <span>Workers Areas Statistics</span> 
              </a>
            </li>
            
            <li <?php  if($page == 21){ ?> class="active" <?php } ?> >
              <a href="designation.php">
                <i class="fa fa-calendar-check-o"></i> <span>Workers Designations</span> 
              </a>
            </li>  
            
             <li <?php  if($page == 't4t'){ ?> class="active" <?php } ?> >
              <a href="regiont4t.php">
                <i class="fa fa-calendar-check-o"></i> <span>T4T Reports</span> 
              </a>
            </li>
                    
 <!--<li <?php  if($page == 'mig'){ ?> class="active" <?php } ?> >
              <a href="migrationreg.php">
                <i class="fa fa-calendar-check-o"></i> <span>Members Migration</span> 
              </a>
            </li>   
              </li>  -->
          
<li <?php  if($page == 7){ ?> class="active" <?php } ?> >
              <a href="setup.php">
                <i class="fa fa-calendar-check-o"></i> <span>Program Setup</span> 
              </a>
            </li>
            <li <?php  if($page == 77){ ?> class="active" <?php } ?> >
              <a href="training.php">
                <i class="fa fa-calendar-check-o"></i> <span>Convert Training Series</span> 
              </a>
            </li>
            
                 <!--       <li <?php  if($page == 77){ ?> class="active" <?php } ?> >
              <a href="../crusade/summary.php">
                <i class="fa fa-calendar-check-o"></i> <span>Crusade Converts</span> 
              </a>
            </li>-->
            
            
            
<?php if($_SESSION['user']=='admin'){ ?>
<li <?php  if($page == 6){ ?> class="active" <?php } ?> >
              <a href="users.php">
                <i class="fa fa-calendar-check-o"></i> <span>Manage Users</span> 
              </a>
            </li>

<?php  }  ?>
          </ul>
        </section>
        <!-- /.sidebar -->
      </aside>

?>