<?php
$post		= $_SESSION['post'];
$userid		= $_SESSION['userid'];
 ?>
<div id='cssmenu'>
<ul>
    <li><div><a href='home.php'><img src="img/home.png" alt="Home | <?php echo $MAIN_data['logo_alt'];?>" title="Home | <?php echo $MAIN_data['logo_title'];?>" style="margin-top: 11px;"/></a></div></li>
    <li><a href='#'>Profile</a>
    <ul>
		<li><a href="home.php?page=my_profile"><span class="icon-cog"></span><span class="text">My Profile</span> </a></li>
		<?php if($_SESSION['post']=='Admin'){?>  
        <li><a href="home.php?page=home_setting"><span class="icon-cog"></span><span class="text">Home Setting</span> </a></li>
        <?php } ?>
    </ul>
   </li> 
   <li><a href='#'>Today Report</a>
    <ul>
		<li><a href="home.php?page=today_report"><span class="icon-cog"></span><span class="text">Today Report</span> </a></li>
    </ul>
   </li> 
   <li style="float:right;"><div><a href="home.php?page=logout"><img alt="Logout | <?php echo $MAIN_data['logo_alt'];?>" title="Logout | <?php echo $MAIN_data['logo_title'];?>"  src="img/logout.png" style="margin-top: 11px;"/></a></div></li>
   <li style="float:right;color:#fff;"><div><?php echo str_replace('&',', ',$_SESSION['post']);?></li>

</ul>
</div>