<?php 
$sess_level=$this->session->userdata('level');
?>

<ul class="nav nav-list">
					
					
					<li class="active">
						<a href="<?php echo site_url();?>dashboard">
							<i class="menu-icon fa fa-home" style="color:green"></i>
							<span class="menu-text"> Beranda </span>
						</a>

						<b class="arrow"></b>
					</li>
					
					<?php if($sess_level==3||$sess_level==7||$sess_level==2||$sess_level==4){?>
					<li class="">
						<a href="<?php echo site_url();?>c_acara">
								<i class="menu-icon glyphicon glyphicon-file" aria-hidden="true" style="color:green"></i>
							<span class="menu-text"> Kegiatan </span>
						</a>

						<b class="arrow"></b>
					</li>
					<?php };?>
					
					<li class="">
						<a href="<?php echo base_url();?>login/user/logout">
							<i class="menu-icon glyphicon glyphicon-off" style="color:green"></i>

							<span class="menu-text">Keluar Aplikasi
								<span class="badge badge-transparent tooltip-error" title="2 Important Events">
									
								</span>
							</span>
						</a>

						<b class="arrow"></b>
					</li>
</ul>