Current Path : /home/c247essa/public_html/

Linux c22487.sgvps.net 3.12.18-clouder0 #1 SMP Tue Oct 9 18:14:47 EEST 2018 x86_64

Upload File :
Current File : /home/c247essa/public_html/menu-hm.php
<div id="bg_black">		
	<div id="logo">
			<div id="logoarea">
			<a href="./"><div id="logo-img"></div></a>
			</div>
<div id="signuparea">			
		<?php
if (!isset($_SESSION['id']) && !isset($_SESSION['username']) ) 
{
 include 'insert_login.php'; 
}
else{
		 echo '<p> <span class="welcome_u"> Welcome &nbsp; <a href="orders/mysettings.php" class="icon_account">'.ucfirst(strtolower( $_SESSION['username'])). ' </a> </span>   <a href="orders/" class="icon_stock_m"> My WorkDesk </a><a href="logout.php" class="icon_exit">Sign Out</a></p>';
 }	?>
</div>
		<div id="menu">
					<ul>
						<li><a href="/" class="active">Home</a></li>
<?php if (!isset($_SESSION['id']) ) {?>
						<li><a href="register/">Register</a></li>
<?php } ?>						
					</ul>
<div class="nxtmsg"> <?php if (isset($_SESSION['id']) ) {
$total_msg_unread= mysql_query("select count(*) as total_unread from messages where to_id ='$_SESSION[id]' and is_read ='0' ") or die(mysql_error());
list($unread_msg) = mysql_fetch_row($total_msg_unread); ?> 
<?php include 'orders/msg_count.php' ?>
<?php  }?>	
   </div>
  </div>
 </div>
</div>