
<div class="ch-container">
    <div class="row">
       

        <!-- left menu starts -->
        <div class="col-sm-2 col-lg-2">
       

            <div class="sidebar-nav"> 
                <div class="nav-canvas">
                    <div class="nav-sm nav nav-stacked">

                    </div>
                    
                    <ul class="nav nav-pills nav-stacked main-menu">
                        
                        <li><a class="ajax-link" href="index.php"><i class="glyphicon glyphicon-home"></i><span> home</span></a>
                        </li>
                        
                        <?php  if(priv($_SESSION['role'],'view','Settings',$connect)==1){?>
                        <li class="accordion"> <a class="ajax-link" href="index.php?page=settings"><i class="glyphicon glyphicon-pencil"></i><span> Settings  </span></a>
                           
                           
                           <ul class="nav nav-pills nav-stacked">
                           
                              
                          <li><a class="ajax-link" href="index.php?page=Users"><i class="glyphicon glyphicon-user black"></i><span> Users</span></a></li>
                           <li><a class="ajax-link" href="index.php?page=privilages"><i
                                    class="glyphicon glyphicon-edit"></i><span> Privilags</span></a></li>
                           
                          
                        <li><a class="ajax-link" href="index.php?page=Company"><i class="glyphicon glyphicon-pencil"></i><span> Company</span></a>
                       
                        <li><a class="ajax-link" href="index.php?page=Services"><i class="glyphicon glyphicon-pencil"></i><span> Services</span></a>
                        
                        </li>
                        
                        
                   
                        
                        
                     
                                 
                            <li><a class="ajax-link" href="index.php?page=operatorServices"><i class="glyphicon glyphicon-pencil"></i><span> Operators Services </span></a>
                       
                        
                        </li>           
                           
                           </ul></li>
                        <?php   } ?>
                              <?php  if(priv($_SESSION['role'],'view','LandingPages',$connect)==1){?>
                        <li class="accordion"> <a class="ajax-link" href="index.php?page=land"><i class="glyphicon glyphicon-pencil"></i><span> Landing Pages  </span></a>
                           
                           
                           <ul class="nav nav-pills nav-stacked">
                           
                        <li><a class="ajax-link" href="index.php?page=affiliates"><i class="glyphicon glyphicon-pencil"></i><span> af</span></a>
                       
                        
                        </li>           
                           
                         <li><a class="ajax-link" href="index.php?page=LandingPage"><i class="glyphicon glyphicon-star"></i><span> Create Landing Page </span></a></li> 
                        
                                    
                                    
                        <li><a class="ajax-link" href="index.php?page=reportsStatistic"><i class="glyphicon glyphicon-th"></i><span> Reports </span></a>
                        </li>
                        
                        
                        
                  
                        
                        <li><a class="ajax-link" href="index.php?page=reports"><i class="glyphicon glyphicon-user black"></i><span>Subscribers </span></a>
                        </li>
                         <li><a class="ajax-link" href="index.php?page=subscriberCharts"><i class="glyphicon glyphicon-user black"></i><span>Subscribers per aff </span></a>
                        </li>
                        
                        <li><a class="ajax-link" href="index.php?page=reportsViews"><i class="glyphicon glyphicon-user black"></i><span> Views Report</span></a>
                        </li>
                          <li><a class="ajax-link" href="index.php?page=publisher"><i class="glyphicon glyphicon-user black"></i><span> publisher Report</span></a>
                        </li>
                        
                           <li><a class="ajax-link" href="index.php?page=getDataForchart"><i class="glyphicon glyphicon-user black"></i><span> Subscribers per views </span></a>
                        </li>
                        
                        
                         
                        
                           
                          </ul></li>
                         
                        <?php   } ?>
                        <?php  if(priv($_SESSION['role'],'view','SubscribersMenu',$connect)==1){?>       
                        
                            <li class="accordion"> <a class="ajax-link" href="index.php?page=Subs"><i class="glyphicon glyphicon-pencil"></i><span> Subscribers </span></a>
                           
                           
                           <ul class="nav nav-pills nav-stacked">
                            
                            <?php  if(priv($_SESSION['role'],'view','Subscribers',$connect)==1){?> 
                        <li><a class="ajax-link" href="index.php?page=Subscribers"><i class="glyphicon glyphicon-user black"></i><span>Subscribers  </span></a>
                        </li>
                        <?php  } ?>
                            <?php  if(priv($_SESSION['role'],'view','Messages',$connect)==1){?> 
                         <li><a class="ajax-link" href="index.php?page=MessagesHistory"><i class="glyphicon glyphicon-user black"></i><span>Messages   </span></a>
                        </li>
                        <?php   } ?>
                        <?php  if(priv($_SESSION['role'],'view','Phantom',$connect)==1){?> 
                         <li><a class="ajax-link" href="index.php?page=PhantomHistory"><i class="glyphicon glyphicon-user black"></i><span>Phantom   </span></a>
                        </li>
                        <?php   } ?>
                       
                       
                       
                           </ul></li>
                        
                        <?php  } ?>
                        
                        
                        
                        <?php  if(priv($_SESSION['role'],'view','contentBank',$connect)==1){?>        
                        
                            <li class="accordion"> <a class="ajax-link" href="index.php?page=settings"><i class="glyphicon glyphicon-pencil"></i><span> Content Bank </span></a>
                           
                           
                           <ul class="nav nav-pills nav-stacked">
                           <?php /*?>
                             <li><a class="ajax-link" href="index.php?page=ContentCategory"><i class="glyphicon glyphicon-user black"></i><span>Categories    </span></a>
                        </li><?php */?>
                        <?php  if(priv($_SESSION['role'],'view','posts',$connect)==1){?>        <li><a class="ajax-link" href="index.php?page=servicesForCompany"><i class="glyphicon glyphicon-user black"></i><span>Posts  </span></a>
                        </li><?php   } ?>
                           <?php /*?>  <li><a class="ajax-link" href="index.php?page=ContentFiles"><i class="glyphicon glyphicon-user black"></i><span>Files  </span></a>
                        </li>
                              <li><a class="ajax-link" href="index.php?page=ContentImages"><i class="glyphicon glyphicon-user black"></i><span>Images  </span></a>
                        </li><?php */?>
                           
                           
                           </ul></li>
                        
                        <?php  } ?>
                        
                        
                        
                        
                        
                        
                        
                           <?php  if(priv($_SESSION['role'],'view','Accounting',$connect)==1){?>        
                        
                            <li class="accordion"> <a class="ajax-link" href="index.php?page=settings"><i class="glyphicon glyphicon-pencil"></i><span> Accounting </span></a>
                           
                           
                           <ul class="nav nav-pills nav-stacked">
                           <?php /*?>
                             <li><a class="ajax-link" href="index.php?page=ContentCategory"><i class="glyphicon glyphicon-user black"></i><span>Categories    </span></a>
                        </li><?php */?>
                        <?php  if(priv($_SESSION['role'],'view','Accounting',$connect)==1){?>        <li><a class="ajax-link" href="index.php?page=acctReport"><i class="glyphicon glyphicon-user black"></i><span>Accounting Report  </span></a>
                        </li><?php   } ?>
                           <?php /*?>  <li><a class="ajax-link" href="index.php?page=ContentFiles"><i class="glyphicon glyphicon-user black"></i><span>Files  </span></a>
                        </li>
                              <li><a class="ajax-link" href="index.php?page=ContentImages"><i class="glyphicon glyphicon-user black"></i><span>Images  </span></a>
                        </li><?php */?>
                           
                           
                           </ul></li>
                        
                        <?php  } ?>
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        <?php /* 
                       <li><a class="ajax-link" href="index.php?page=voluntaryApp"><i class="glyphicon glyphicon-star"></i><span> Voluntary Application</span></a></li>
                        
                        <li><a class="ajax-link" href="index.php?page=seeActivity"><i class="glyphicon glyphicon-th"></i><span> Activity</span></a></li>
                       
                     
                       
                        <li class="accordion"><a href="#"><i class="glyphicon glyphicon-plus icon-white"></i><span> Reports</span></a>
                        <ul class="nav nav-pills nav-stacked">
                                <li><a href="index.php?page=vol_count"><i class="glyphicon glyphicon-user black"></i> volunteer Count</a></li>
                                <li><a href="#"><i class="glyphicon glyphicon-time"></i> Volunteer working time</a></li>
                            </ul>
                        
						
						*/ ?> 
                        </li>
                        <li><a href="logout.php"><i class="glyphicon glyphicon-lock"></i><span> Logout</span></a>
                        </li>
                    </ul>
                   
                </div>
            </div>
        </div>
        <!--/span-->
        <!-- left menu ends -->