<?php 
$getUserDetailsa = $database->getRecord("manage_users", "num='".$session->get('userAdminID')."'");?>
<div class="left-sidebar bg-primary box-shadow">
    <div class="sidebar-content">
        <div class="user-info closed">
            <img src="https://placehold.it/90/c2c2c2?text=User" alt="John Doe" class="img-circle profile-img">
            <h6 class="title"><?php echo $getUserDetailsa['first_name']." ".$getUserDetailsa['last_name'];?></h6>
            <small class="info"><?php echo $getUserDetailsa['job_title'];?></small>
        </div>
        <!-- /.user-info -->

        <div class="sidebar-nav">
            <ul class="side-nav color-gray">
                <?php if($getUserDetailsa['role']=="3") {?>
                <li class="dropdown">
    					<a href="<?php echo CMS_ROOT;?>organiser.php" role="button"><i class="fa fa-users"></i> Organiser</a>
    					
    				</li>
    			<?php } ?>
    			<li class="dropdown">
    					<a href="<?php echo CMS_ROOT;?>events.php" role="button"><i class="fa fa-users"></i> Events</a>
    					
    				</li>
                <?php if(!empty($session->get('cmsEventId'))) {
    			?>
    			<li class="dropdown">
    					<a href="<?php echo CMS_ROOT;?>matchmaking_form.php" role="button"><i class="fa fa-file"></i> Matchmaking Form</a>
    					
    				</li>
                <li class="dropdown">
    					<a href="<?php echo CMS_ROOT;?>view_attendees.php" role="button"><i class="fa fa-users"></i> Attendees</a>
    					
    				</li>
    				<li class="dropdown">
    					<a href="<?php echo CMS_ROOT;?>view_exhibitors.php" role="button"><i class="fa fa-users"></i> Exhibitors</a>
    					
    				</li>
    				<li class="dropdown">
    					<a href="<?php echo CMS_ROOT;?>category.php"><i class="fa fa-file"></i> Category</a>
    					
    				</li>
    				<li class="dropdown">
    					<a href="<?php echo CMS_ROOT;?>segment.php"><i class="fa fa-file"></i> Segments</a>
    					
    				</li>
    				<li class="dropdown">
    					<a href="<?php echo CMS_ROOT;?>videos.php"><i class="fa fa-youtube"></i> Videos</a>
    					
    				</li>
    				<li class="dropdown">
    					<a href="<?php echo CMS_ROOT;?>documents.php"><i class="fa fa-file"></i> Documents</a>
    					
    				</li>
    				<?php } if($getUserDetailsa['role']=="3") {?>
    				<li class="dropdown">
    					<a href="<?php echo CMS_ROOT;?>lobby.php"><i class="fa fa-file"></i> Lobby</a>
    					
    				</li>
    				<li class="dropdown">
    					<a href="<?php echo CMS_ROOT;?>auditorium.php"><i class="fa fa-file"></i> Auditorium</a>
    					
    				</li>
    				<li class="dropdown">
    					<a href="<?php echo CMS_ROOT;?>lounge.php"><i class="fa fa-file"></i> Lounge</a>
    					
    				</li>
    				<li class="dropdown">
    					<a href="<?php echo CMS_ROOT;?>stands.php"><i class="fa fa-file"></i> Stands</a>
    					
    				</li>
    				<?php }
    				if(!empty($session->get('cmsEventId'))) {
    				?>
    				<li class="dropdown">
    					<a href="<?php echo CMS_ROOT;?>speakers.php"><i class="fa fa-file"></i> Speakers</a>
    					
    				</li>
    				<li class="dropdown">
    					<a href="<?php echo CMS_ROOT;?>speaker_videos.php"><i class="fa fa-file"></i> Speaker Videos</a>
    					
    				</li>
    				<?php } ?>
            </ul>
            <!-- /.side-nav -->
            
        </div>
        <!-- /.sidebar-nav -->
    </div>
    <!-- /.sidebar-content -->
</div>