<!-- Left side column. contains the logo and sidebar -->
      <aside class="main-sidebar">
        <!-- sidebar: style can be found in sidebar.less -->
        <section class="sidebar">
          
          <!-- sidebar menu: : style can be found in sidebar.less -->
          <ul class="sidebar-menu">
            
            <li class="active treeview">
              <a href="<?php echo base_url('admin/dashboard');?>">
                <i class="fa fa-dashboard"></i> <span>Dashboard</span> <i class="fa fa-angle-left pull-right"></i>
              </a>
            <!--  <ul class="treeview-menu">
                <li class="active"><a href="index.html"><i class="fa fa-circle-o"></i> Dashboard v1</a></li>
                <li><a href="index2.html"><i class="fa fa-circle-o"></i> Dashboard v2</a></li>
              </ul>-->
            </li>
            <?php if(chkReadPermission('All_Members',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
            <li class="treeview">
              <a href="#">
                <i class="fa fa-users"></i> <span>Members</span> <i class="fa fa-angle-left pull-right"></i>
              </a>
              <ul class="treeview-menu">
              <?php if(chkReadPermission('Expired_Members',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
                <li class=""><a href="<?php echo base_url('admin/users/expiredusers');?>"><i class="fa fa-circle-o"></i> Expired Members</a></li>
              <?php } ?>
              <?php if(chkReadPermission('All_Members',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
                <li class=""><a href="<?php echo base_url('admin/users/alllist');?>"><i class="fa fa-circle-o"></i> All Members</a></li>
                <li class=""><a href="<?php echo base_url('admin/dashboard/freeuser');?>"><i class="fa fa-circle-o"></i> Free Lady Images</a></li>
                <li class=""><a href="<?php echo base_url('admin/users/free_users');?>"><i class="fa fa-circle-o"></i> Free Lady Members</a></li>
                <li class=""><a href="<?php echo base_url('admin/best_users');?>"><i class="fa fa-circle-o"></i>Best Customers Overview</a></li>
                <li class=""><a href="<?php echo base_url('admin/users/deletelist');?>"><i class="fa fa-circle-o"></i> Deleted Members</a></li>
                <li class=""><a href="<?php echo base_url('admin/users/blockedusers');?>"><i class="fa fa-circle-o"></i> Blocked Members</a></li>
				        <li class=""><a href="<?php echo base_url('admin/users/having_delete_user');?>"><i class="fa fa-circle-o"></i>Members Having Delete Date</a></li>
                <li class=""><a href="<?php echo base_url('admin/discount_users');?>"><i class="fa fa-circle-o"></i>Members Having Discount</a></li>
                <li class=""><a href="<?php echo base_url('admin/users/activity_to_premium');?>"><i class="fa fa-circle-o"></i>Members activity to be premium</a></li>
                <?php } ?>
                <?php if(chkReadPermission('All_Premium_Members',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
                <li class=""><a href="<?php echo base_url('admin/users/premiums');?>"><i class="fa fa-circle-o"></i> All Premium Members</a></li>
                <?php } ?>
                <?php if(chkReadPermission('Paid_Member',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
                 <li class=""><a href="<?php echo base_url('admin/users/paidlist');?>"><i class="fa fa-circle-o"></i>Paid Members</a></li>
                 <?php } ?>
                <?php if(chkReadPermission('Manage_Profile_Text',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
                <li class=""><a href="<?php echo base_url('admin/users/profile_text');?>"><i class="fa fa-circle-o"></i> Manage Profile Text</a></li>
                <?php } ?>
                <?php if(chkReadPermission('Manage_Pin_Text',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
                <li class=""><a href="<?php echo base_url('admin/users/pin_text');?>"><i class="fa fa-circle-o"></i> Manage Pin Text</a></li>
                <?php } ?>
                <?php if(chkReadPermission('Paid_by_today',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
                <li class=""><a href="<?php echo base_url('admin/users/todayexipry');?>"><i class="fa fa-circle-o"></i> Paid by today</a></li>
                <?php } ?>
                <?php if(chkReadPermission('Newsletter_sent_users',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
                <li class=""><a href="<?php echo base_url('admin/newsletterlog/alllists');?>"><i class="fa fa-circle-o"></i> Newsletter sent users</a></li>
                <?php } ?>
                <?php if(chkReadPermission('Newslettter_activity_users',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
                 <li class=""><a href="<?php echo base_url('admin/activity');?>"><i class="fa fa-circle-o"></i> Newsletter activity users</a></li>
                 <?php } ?>
                 <?php if(chkReadPermission('Manage_Blacklist',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
                 <li class=""><a href="<?php echo base_url('admin/blacklist');?>"><i class="fa fa-circle-o"></i>Manage Blacklist</a></li>
                 <?php } ?>
                 <?php if(chkReadPermission('Members_contact',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
                 <li class=""><a href="<?php echo base_url('admin/users/contactlist');?>"><i class="fa fa-circle-o"></i>Members contacts</a></li>
                 <?php } ?>
                 
              </ul>
            </li>
            <?php } ?>
            <?php if(chkReadPermission('Manage_Articles',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
            <li class="treeview">
              <a href="#">
                <i class="fa fa-rss-square"></i> <span>Blogs & Articles</span> <i class="fa fa-angle-left pull-right"></i>
              </a>
              <ul class="treeview-menu">
                <!--<li class=""><a href="<?php echo base_url('admin/blog');?>"><i class="fa fa-circle-o"></i> Manage Archieve</a></li>-->
                <?php if(chkReadPermission('Manage_Category',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
                <li class=""><a href="<?php echo base_url('admin/blog_article/category_list');?>"><i class="fa fa-circle-o"></i> Manage Category</a></li>
                <?php } ?>
                <?php if(chkReadPermission('Manage_Articles',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
                <li class=""><a href="<?php echo base_url('admin/blog_article');?>"><i class="fa fa-circle-o"></i>Manage Articles</a></li>
                <?php } ?>
                <?php if(chkReadPermission('Manage_Testimonials',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
				        <li class=""><a href="<?php echo base_url('admin/testimonial');?>"><i class="fa fa-circle-o"></i>Manage Testimonials</a></li>
                <?php } ?>
                
                
              </ul>
            </li>
            <?php } ?>
            <?php if(chkReadPermission('Manage_Event',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
            <li class="treeview">
              <a href="#">
                <i class="fa fa-calendar"></i> <span>Event</span> <i class="fa fa-angle-left pull-right"></i>
              </a>
              <ul class="treeview-menu">
                <li class=""><a href="<?php echo base_url('admin/event');?>"><i class="fa fa-circle-o"></i> Manage Event</a></li>
                <li class=""><a href="<?php echo base_url('admin/side_event');?>"><i class="fa fa-circle-o"></i> Manage Side Event</a></li> 
                <li class=""><a href="<?php echo base_url('admin/checkin');?>"><i class="fa fa-circle-o"></i> Manage Checkin Steps</a></li> 
                <!-- <li class=""><a href="<?php echo base_url('admin/party_comments');?>"><i class="fa fa-circle-o"></i> Event Comments</a></li> -->
              </ul>
            </li>
            <?php } ?>
            <?php if(chkReadPermission('Manage_Location',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
            <li class="treeview">
              <a href="#">
                <i class="fa fa-map-marker"></i> <span>Party Location</span> <i class="fa fa-angle-left pull-right"></i>
              </a>
              <ul class="treeview-menu">
                <li class=""><a href="<?php echo base_url('admin/event/locationlist');?>"><i class="fa fa-circle-o"></i> Manage Party Location</a></li>
                
              </ul>
            </li>
            <?php } ?>
            <?php if(chkReadPermission('Manage_CMS',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
            <li class="treeview">
              <a href="#">
                <i class="fa fa-file"></i> <span>CMS</span> <i class="fa fa-angle-left pull-right"></i>
              </a>
              <ul class="treeview-menu">
               <li class=""><a href="<?php echo base_url('admin/cms');?>"><i class="fa fa-circle-o"></i> Manage CMS</a></li>
                <?php if(chkReadPermission('Manage_Meta_Data',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
                <li class=""><a href="<?php echo base_url('admin/page_meta');?>"><i class="fa fa-circle-o"></i>Manage Meta Data</a></li>
                <?php } ?>
                <?php if(chkReadPermission('Manage_Terms',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
                <li class=""><a href="<?php echo base_url('admin/blog_article/terms');?>"><i class="fa fa-circle-o"></i>Manage Terms</a></li>
                <?php } ?>
                <?php if(chkReadPermission('Manage_Terms',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
                <li class=""><a href="<?php echo base_url('admin/cms/privacy');?>"><i class="fa fa-circle-o"></i>Manage Privacy</a></li>
                <?php } ?>
              </ul>
            </li>
            <?php } ?>
            <?php if(chkReadPermission('Manage_Orders',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
			       <li class="treeview">
              <a href="#">
                <i class="fa fa-shopping-bag"></i> <span>Orders</span> <i class="fa fa-angle-left pull-right"></i>
              </a>
              <ul class="treeview-menu">
              <?php if(chkReadPermission('Manage_Orders',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
                <li class=""><a href="<?php echo base_url('admin/order');?>"><i class="fa fa-circle-o"></i> Manage Orders</a></li>
                <?php } ?>
                <?php if(chkReadPermission('Manage_Shop_Articles',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
                <li class=""><a href="<?php echo base_url('admin/order/shop_articles');?>"><i class="fa fa-circle-o"></i> Manage Shop Articles</a></li>
                <?php } ?>
                <?php if(chkReadPermission('Upcoming_Membership',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
                <li class=""><a href="<?php echo base_url('admin/order/upcoming_membership');?>"><i class="fa fa-circle-o"></i> Upcoming Membership</a></li>
                <?php } ?>
                <?php if(chkReadPermission('Upcoming_Membership',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
                <li class=""><a href="<?php echo base_url('admin/order/unpaid_invoices');?>"><i class="fa fa-circle-o"></i>Unpaid Invoices</a></li>
                <li class=""><a href="<?php echo base_url('admin/latest_order');?>"><i class="fa fa-circle-o"></i>Last 3 Month Invoices</a></li>
                <li class=""><a href="<?php echo base_url('admin/export');?>"><i class="fa fa-circle-o"></i>Download All Invoices</a></li>
                <?php } ?>
              </ul>
            </li>
            <?php } ?>
            <?php if(chkReadPermission('All_Pictures',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
            <li class="treeview">
              <a href="#">
                <i class="fa fa-picture-o"></i> <span>Pictures</span> <i class="fa fa-angle-left pull-right"></i>
              </a>
              <ul class="treeview-menu">
                <li class=""><a href="<?php echo base_url('admin/dashboard/allPicture');?>"><i class="fa fa-circle-o"></i>All Pictures</a></li>
              </ul>
            </li>
            <?php } ?>
            <?php if(chkReadPermission('Manage_Language',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
            <li class="treeview">
              <a href="#">
                <i class="fa fa-globe"></i> <span>Language</span> <i class="fa fa-angle-left pull-right"></i>
              </a>
              <ul class="treeview-menu">
              <?php if(chkReadPermission('Manage_Language',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
                <li class=""><a href="<?php echo base_url('admin/language');?>"><i class="fa fa-circle-o"></i> Manage Language</a></li>
                <?php } ?>
                <?php if(chkReadPermission('Translation_required_sections',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
                <li class=""><a href="<?php echo base_url('admin/language/required');?>"><i class="fa fa-circle-o"></i> Translation required sections</a></li>
                <?php } ?>
                <li class=""><a href="<?php echo base_url('admin/email_content');?>"><i class="fa fa-circle-o"></i>Email Contents</a></li>
              </ul>
            </li>
            <?php } ?>
            <?php if(chkReadPermission('Manage_Shop',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
            <li class="treeview">
              <a href="#">
                <i class="fa fa-cart-plus"></i> <span>Shop</span> <i class="fa fa-angle-left pull-right"></i>
              </a>
              <ul class="treeview-menu">
              <?php if(chkReadPermission('Manage_Shop',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
                <li class=""><a href="<?php echo base_url('admin/shop');?>"><i class="fa fa-circle-o"></i> Manage Shop</a></li>
                <?php } ?>
              </ul>
            </li>
            <?php } ?>
            <?php if(chkReadPermission('Manage_Advertise',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
            <li class="treeview">
              <a href="#">
                <i class="fa fa-glass"></i> <span>Advertisement</span> <i class="fa fa-angle-left pull-right"></i>
              </a>
              <ul class="treeview-menu">
                <li class=""><a href="<?php echo base_url('admin/advertisement');?>"><i class="fa fa-circle-o"></i> Manage Advertise</a></li>
              </ul>
            </li>
            <?php } ?>
            <?php if($this->session->userdata('admin_id')=='19624' || $this->session->userdata('admin_id')=='25267'){ ?>
            <li class="treeview">
              <a href="#">
                <i class="fa fa-cogs"></i> <span>Administrator</span> <i class="fa fa-angle-left pull-right"></i>
              </a>
              <ul class="treeview-menu">
                <li class=""><a href="<?php echo base_url('admin/administrator');?>"><i class="fa fa-circle-o"></i>Manage Administrator</a></li>
              </ul>
              <ul class="treeview-menu">
                <li class=""><a href="<?php echo base_url('admin/settings');?>"><i class="fa fa-circle-o"></i>Manage Site Settings</a></li>
              </ul>
            </li>
            <?php } ?>
            <li class="treeview">
              <a href="#">
                <i class="fa fa-envelope"></i> <span>Message</span> <i class="fa fa-angle-left pull-right"></i>
              </a>
              <ul class="treeview-menu">
              <?php if(chkReadPermission('All_Message',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
                <li class=""><a href="<?php echo base_url('admin/message/alllist');?>"><i class="fa fa-circle-o"></i> All Message</a></li>
              <?php } ?> 
              <?php if(chkReadPermission('Manage_Comunicator',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?> 
                <li class=""><a href="<?php echo base_url('admin/message/communicator');?>"><i class="fa fa-circle-o"></i> Communicator</a></li>
              <?php } ?>   
              </ul>
            </li>
            <?php if(chkReadPermission('Log',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
            <li class="treeview">
              <a href="#">
                <i class="fa fa-bar-chart-o"></i> <span>Log</span> <i class="fa fa-angle-left pull-right"></i>
              </a>
              <ul class="treeview-menu">
                <li class=""><a href="<?php echo base_url('admin/log/alllist');?>"><i class="fa fa-circle-o"></i> All Log</a></li>
                <li class=""><a href="<?php echo base_url('admin/log/activity');?>"><i class="fa fa-circle-o"></i> Activity Log</a></li>                
                <?php if($this->session->userdata('admin_id')=='19624' || $this->session->userdata('admin_id')=='25267'){ ?>
                <li class=""><a href="<?php echo base_url('admin/log/userlog');?>"><i class="fa fa-circle-o"></i> User Login Log</a></li>                
                <li class=""><a href="<?php echo base_url('admin/email_activity');?>"><i class="fa fa-circle-o"></i> Email Activity Log</a></li>                
                <li class=""><a href="<?php echo base_url('admin/log/vat_users');?>"><i class="fa fa-circle-o"></i> Swiss(VAT) Card Users </a></li>                
                <?php } ?>
              </ul>
            </li>
            <?php } ?>
            <?php if(chkReadPermission('Hotshot',$this->session->userdata('admin_id'))!=0 || $this->session->userdata('admin_id')=='19624' ){ ?>
            <li class="treeview">
              <a href="#">
                <i class="fa fa-star-half-empty"></i> <span>Hotshot</span> <i class="fa fa-angle-left pull-right"></i>
              </a>
              <ul class="treeview-menu">
                 <li class=""><a href="<?php echo base_url('admin/hotshot');?>"><i class="fa fa-circle-o"></i>Profile Hotshot</a></li>
                 <li class=""><a href="<?php echo base_url('admin/hotshot/picture');?>"><i class="fa fa-circle-o"></i>Picture Hotshot</a></li>
              </ul>
            </li>
            <?php } ?>
          </ul>
        </section>
        <!-- /.sidebar -->
      </aside>
