<div class="sidebar-nav">
    <ul>
    	<li>
            <a href="?page=category" data-target=".legal-menu" class="nav-header collapsed" data-toggle="collapse">
                <i class="fa fa-fw fa-caret-right"></i> 
                    Category
            </a>
        </li>
        <li>
            <a href="?page=addbanner" data-target=".legal-menu" class="nav-header collapsed" data-toggle="collapse">
                <i class="fa fa-fw fa-caret-right"></i> 
                    Banner
            </a>
        </li>
        <li>
            <a href="?page=addads" data-target=".legal-menu" class="nav-header collapsed" data-toggle="collapse">
                <i class="fa fa-fw fa-caret-right"></i> 
                    Advertising
            </a>
        </li> 
        <li>
            <a href="?page=addservices" data-target=".legal-menu" class="nav-header collapsed" data-toggle="collapse">
                <i class="fa fa-fw fa-caret-right"></i> 
                    More Services
            </a>
        </li>
        <li>
            <a href="?page=product" data-target=".legal-menu" class="nav-header collapsed" data-toggle="collapse">
                <i class="fa fa-fw fa-caret-right"></i> 
                    Product
            </a>
        </li>    
        <li>
            <?php
			if($type==1){
				echo "
				<li>
            <a href='?page=user' data-target='.legal-menu' class='nav-header collapsed' data-toggle='collapse'>
                <i class='fa fa-fw fa-caret-right'></i> 
                    User Management
            </a>
        </li><li>
            <a href='?page=addnewuser' data-target='.legal-menu' class='nav-header collapsed' data-toggle='collapse'>
                <i class='fa fa-fw fa-caret-right'></i> 
                    Create User
            </a>
        </li>
		";
			}else{
				echo"
				<li>
            <a href='?page=addnewreport' data-target='.legal-menu' class='nav-header collapsed' data-toggle='collapse'>
                <i class='fa fa-fw fa-caret-right'></i> 
                    Post Report
            </a>
        </li>";	
			}
		?>
        </li>

</div>