 <?php if($_SESSION['type']==0){ ?>
<aside id="menu">
    <div id="navigation">
        <?php include("logo.php") ?>
       
        <ul class="nav" id="side-menu">
            <li class="active">
                <a href="index.php"> <span class="nav-label">Dashboard</span> <span class="label label-success pull-right">v.1</span> </a>
            </li>
            
            
			<li><a href="<?php print $baseurl1; ?>standard/index.php"><span class="nav-label">Standard</span></a></li>
			<li>
                <a href="javascript:void(0)"><span class="nav-label">Certificate Bodies</span><span class="fa arrow"></span> </a>
                <ul class="nav nav-second-level">
					
					<li><a href="<?php print $baseurl1; ?>bodies/addEdit.php"><span class="nav-label">Add Bodies</span></a></li>
					<li><a href="<?php print $baseurl1; ?>bodies/index.php">Bodies List</a></li>
                </ul>
            </li>
           <!--  <li>
                <a href="javascript:void(0)"><span class="nav-label"> User</span><span class="fa arrow"></span> </a>
                <ul class="nav nav-second-level">
                    <li><a href="<?php print $baseurl1; ?>user/addEdit.php">Add usrr</a></li>
					<li><a href="<?php print $baseurl1; ?>user/index.php">User List</a></li>
                </ul>
            </li> -->
			<li>
                <a href="javascript:void(0)"><span class="nav-label">Employee </span><span class="fa arrow"></span> </a>
                <ul class="nav nav-second-level">
                    <li><a href="<?php print $baseurl1; ?>master/employEdit.php">Add Employee</a></li>
					<li><a href="<?php print $baseurl1; ?>master/employ-list.php">Employee List</a></li>
                </ul>
            </li>
            
			
            <li>
                <a href="javascript:void(0)"><span class="nav-label">Certificate</span><span class="fa arrow"></span> </a>
                <ul class="nav nav-second-level">
                    <li><a href="<?php print $baseurl1; ?>draft/index.php">Draft Certificate</a></li>
					<li><a href="<?php print $baseurl1; ?>live/index.php">Live Certificate</a></li>
                </ul>
            </li>
            <li>
                <a href="javascript:void(0)"><span class="nav-label">Master User</span><span class="fa arrow"></span> </a>
                <ul class="nav nav-second-level">
                    <li><a href="<?php print $baseurl1; ?>master_user/addEdit.php">Add master</a></li>
					<li><a href="<?php print $baseurl1; ?>master_user/index.php">Master List</a></li>
                </ul>
            </li>
        </ul>
    </div>
</aside>
<?php }elseif($_SESSION['type']==1){ ?>
<aside id="menu">
    <div id="navigation">
        <?php include("logo.php") ?>

        <ul class="nav" id="side-menu">
            <li class="active">
                <a href="index.php"> <span class="nav-label">Dashboard</span> <span class="label label-success pull-right">v.1</span> </a>
            </li>
            
            
			<li><a href="<?php print $baseurl1; ?>master/employEdit.php"><span class="nav-label">Add Employee</span></a></li>
			<li><a href="<?php print $baseurl1; ?>master/employ-list.php"><span class="nav-label">Employee List</span></a></li>
			<li><a href="<?php print $baseurl1; ?>master/addEdit.php"><span class="nav-label">Add Customer</span></a></li>
			
            <li><a href="<?php print $baseurl1; ?>master/customer.php">Customer List</a></li>
        </ul>
    </div>
</aside>
<?php }elseif($_SESSION['type']==2){ ?>
 <aside id="menu">
    <div id="navigation">
        <?php include("logo.php") ?>

        <ul class="nav" id="side-menu">
            <li class="active">
                <a href="index.php"> <span class="nav-label">Dashboard</span> <span class="label label-success pull-right">v.1</span> </a>
            </li>
            
            
			<li><a href="<?php print $baseurl1; ?>employee/addEdit.php"><span class="nav-label">Add Customer</span></a></li>
			
            <li><a href="<?php print $baseurl1; ?>employee/list.php">Customer List</a></li>
        </ul>
    </div>
</aside>
 <?php }else{
    print '<script> window.location.replace("'.$baseurl1.'"); </script>';
} ?>