<?php session_start();
include('dbconnection.php');
$log1 = $_SESSION['log'];
$selectquery = "SELECT * FROM tbl_admin WHERE admin_username='".$log1."'";
			$result = mysql_query($selectquery);
			$row1	= mysql_fetch_array($result);
			$status = $row1['status'];
?>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="">
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td class="heading-nml">Admin Menu</td>
  </tr>
  <tr>
    <td height="5"></td>
  </tr>
  <tr>
    <td height="20"><a href="welcome.php" class="<?php if(basename($_SERVER['PHP_SELF']) == 'welcome.php') echo 'left-nav2'; else echo 'left-nav'; ?>">Home</a></td>
  </tr>
  <?php //if($status == "admin"){ ?>
  <!--<tr>
    <td height="20"><a href="users.php" class="<?php //if(basename($_SERVER['PHP_SELF']) == 'users.php') echo 'left-nav2'; else echo 'left-nav'; ?>">Manage Admin Users</a></td>
  </tr>
  <?php //} ?>
   <tr>-->
    <td height="20"><a href="catogery.php" class="<?php if(basename($_SERVER['PHP_SELF']) == 'catogery.php') echo 'left-nav2'; else echo 'left-nav'; ?>">Manage Catogery</a></td>
  </tr>
    <tr>
    <td height="20"><a href="platform.php" class="<?php if(basename($_SERVER['PHP_SELF']) == 'platform.php') echo 'left-nav2'; else echo 'left-nav'; ?>">Manage Platforms</a></td>
  </tr>
    <tr>
    <td height="20"><a href="products.php" class="<?php if(basename($_SERVER['PHP_SELF']) == 'products.php') echo 'left-nav2'; else echo 'left-nav'; ?>">Manage Products</a></td>
  </tr>
  <tr>
    <td height="20"><a href="cmspage.php" class="<?php if(basename($_SERVER['PHP_SELF']) == 'cmspage.php') echo 'left-nav2'; else echo 'left-nav'; ?>">Manage Contents</a></td>
  </tr>
  <tr>
    <td height="20"><a href="fallow_us.php" class="<?php if(basename($_SERVER['PHP_SELF']) == 'fallow_us.php') echo 'left-nav2'; else echo 'left-nav'; ?>">Follow Us On</a></td>
  </tr>
 <tr>
    <td height="20"><a href="banner.php" class="<?php if(basename($_SERVER['PHP_SELF']) == 'banner.php') echo 'left-nav2'; else echo 'left-nav'; ?>">Manage Banner</a></td>
  </tr>
  <tr>
    <td height="20"><a href="advertise.php" class="<?php if(basename($_SERVER['PHP_SELF']) == 'advertise.php') echo 'left-nav2'; else echo 'left-nav'; ?>">Manage Advertise</a></td>
  </tr>
  <!--<tr>
    <td height="20"><a href="newsletter.php" class="<?php if(basename($_SERVER['PHP_SELF']) == 'newsletter.php') echo 'left-nav2'; else echo 'left-nav'; ?>">Newsletter Management</a></td>
  </tr>
	<tr>
    <td height="20"><a href="membership.php" class="<?php if(basename($_SERVER['PHP_SELF']) == 'membership.php') echo 'left-nav2'; else echo 'left-nav'; ?>">Membership & Certifications (Right Bar)</a></td>
  </tr>
  <tr>
    <td height="20"><a href="recent_project.php" class="<?php if(basename($_SERVER['PHP_SELF']) == 'recent_project.php') echo 'left-nav2'; else echo 'left-nav'; ?>">Recent Project (Right Bar)</a></td>
  </tr>
  <tr>
    <td height="20"><a href="advertisement.php" class="<?php if(basename($_SERVER['PHP_SELF']) == 'advertisement.php') echo 'left-nav2'; else echo 'left-nav'; ?>">Advertisement (left Bar)</a></td>
  </tr>
   <tr>
    <td height="20"><a href="flash.php" class="<?php if(basename($_SERVER['PHP_SELF']) == 'flash.php') echo 'left-nav2'; else echo 'left-nav'; ?>">Manage Flash (Top Banner)</a></td>
  </tr>-->
  <tr>
    <td height="20"><a href="home_slogan.php" class="<?php if(basename($_SERVER['PHP_SELF']) == 'home_slogan.php') echo 'left-nav2'; else echo 'left-nav'; ?>">Vertigo Venture Slogan</a></td>
  </tr>
  <tr>
    <td height="20"><a href="contactus.php" class="<?php if(basename($_SERVER['PHP_SELF']) == 'contactus.php') echo 'left-nav2'; else echo 'left-nav'; ?>">Contact Email</a></td>
  </tr>
  <tr>
    <td height="20"><a href="../index.php" class="left-nav" target="_blank">Go
        To Website</a></td>
  </tr>
  <tr>
    <td height="20"><a href="signout.php" class="left-nav">Logout</a></td>
  </tr>
  
 <!-- <tr>
    <td class="heading-nml">Content Management</td>
  </tr>
  <tr>
    <td height="5"></td>
  </tr>-->
  <!--<tr>
    <td height="20" ><a href="contentmanagement.php?id=7" class="<?php if($_GET['id'] == 7) echo 'left-nav2'; else echo 'left-nav'; ?>">Home
        Page </a></td>
  </tr>-->
  <!-- <tr> 
    <td height="20" style="padding-left: 20px;"><a href="cmst.php?id=3" class="<?php //if($_GET['id']==3) echo 'left-nav2'; else echo 'left-nav'; ?>">Taylored & consultancy Text</a></td>
  </tr>
  <tr> 
    <td height="20" style="padding-left: 20px;"><a href="cmst.php?id=4" class="<?php //if($_GET['id']==4) echo 'left-nav2'; else echo 'left-nav'; ?>">Silverstar Text</a></td>
  </tr>
    <tr> 
    <td height="20" style="padding-left: 20px;"><a href="cmst.php?id=5" class="<?php //if($_GET['id']==5) echo 'left-nav2'; else echo 'left-nav'; ?>">Somerset care text</a></td>
  </tr>
  <tr>
    <td height="20"><a href="contentmanagement.php?id=10" class="<?php if($_GET['id']==10) echo 'left-nav2'; else echo 'left-nav'; ?>">Stockists</a></td>
  </tr>
  <tr>
    <td height="20" ><a href="contentmanagement.php?id=11" class="<?php if($_GET['id']==11) echo 'left-nav2'; else echo 'left-nav'; ?>">Sizing</a></td>
  </tr>
 <!-- <tr>
    <td height="20" ><a href="contentmanagement.php?id=12" class="<?php //if($_GET['id']==12) echo 'left-nav2'; else echo 'left-nav'; ?>">Online
        Collection</a></td>
  </tr>
  <tr>
    <td height="20" ><a href="contentmanagement.php?id=13" class="<?php if($_GET['id']==13) echo 'left-nav2'; else echo 'left-nav'; ?>">Delivery</a></td>
  </tr>
  <tr>
    <td height="20" ><a href="contentmanagement.php?id=8" class="<?php if($_GET['id']==8) echo 'left-nav2'; else echo 'left-nav'; ?>">About
        Us</a></td>
  </tr>
  <tr>
    <td height="20" ><a href="contentmanagement.php?id=9" class="<?php if($_GET['id']==9) echo 'left-nav2'; else echo 'left-nav'; ?>">Contact
        Us</a></td>
  </tr>
   <tr>
    <td  class="heading-nml">Category Management</td>
  </tr>
  <tr>
    <td height="20" ><a href="maincategories.php" class="<?php if($_GET['id']==1) 
	echo 'left-nav2';
	 else
	 echo 'left-nav'; ?>">Main Category</a></td>
  </tr>
  <!--<tr>
    <td height="20" ><a href="subcategories.php" class="<?php // if($_GET['id']==1) 
	//echo //'left-nav2';
	 //else
	 //echo //'left-nav'; ?>">Sub Category</a></td>
  </tr>-->
  <!--<tr>
    <td height="20" ><a href="addproduct.php" class="<?php// //if($_GET['id']==1) 
	//echo 'left-nav2';
	// else
	 //echo 'left-nav'; ?>">Add New Product</a></td>
  </tr>-->
  <tr>
    <td height="20" >&nbsp;</td>
  </tr>
  <tr>
    <td height="20" class="welcome-text"></td>
  </tr>
  <!--<tr>
    <td height="20" ><a href="addproduct.php" class="<?php if($_GET['id']==1) 
	echo 'left-nav2';
	 else
	 echo 'left-nav'; ?>">Add New Product</a></td>
  </tr>-->
  <tr>
    <td height="20" ><a href="view_product.php" class="<?php if($_GET['id']==1) 
	echo 'left-nav2';
	 else
	 echo 'left-nav'; ?>"></a></td>
  </tr>
   <tr>
    <td height="20" ><a href="view_product.php" class="<?php if($_GET['id']==1) 
	echo 'left-nav2';
	 else
	 echo 'left-nav'; ?>"></a></td>
  </tr>
   <tr>
     <td height="20" >&nbsp;</td>
   </tr>
   <tr> 
    <!--<td  class="heading-nml">Orders Management </td>-->
  </tr>
  <tr> 
    <td height="20" style="padding-left: 5px;"><a href="order.php" class="<?php if($_GET['id']==1) 
	echo 'left-nav2';
	 else
	 echo 'left-nav'; ?>"><!--View Orders--></a></td>
  </tr>
  <tr>
    <td height="20" ><a href="view_product.php" class="<?php if($_GET['id']==1) 
	echo 'left-nav2';
	 else
	 echo 'left-nav'; ?>"></a></td>
  </tr>
  
</table>
