<?php

$sql = "SELECT  fld_admin_name FROM  tbl_admin WHERE  fld_admin_idPK='".$_SESSION['ADMIN_SESS']."'";

$db->exec($sql);

$userrow = $db->single();

?>

<div class="headertop">

<div class="grid_8" id="logo" style="float: right;margin-left: 0px;margin-right: 0px;width: 100%;">

<h1 style=" margin-top: 0;"> 

			<img src ="images/st_top.png" width="100%" height="100%">

			<img src ="images/sapien_logo.png" style=" float: left;margin-top: -12%;padding-left: 5%;">

		</h1>

</div>

<div class="grid_8" style="float: right;margin-top: -206px;padding-right: 5%;">

    <div id="user_tools"><span><!--<a href="#" class="mail">(1)</a>--> Welcome <a href="#"><?php echo $userrow['fld_admin_name']; ?></a> |  <a href="logout.php">Logout</a></span></div>

</div>

</div>