<link href="styles.css" rel="stylesheet" type="text/css">
<link href="iamedia.css" rel="stylesheet" type="text/css">
<script language="javascript" src="jquery-1.2.3.min.js"></script>

<div id="header">
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
<td align="center" colspan="2" style="background:#295D9C url(images/abstract.jpg) right no-repeat; height:61px; text-align:left; padding:25px 0 10px 25px; white-space:nowrap;">
    <a href="<?= (!isset($_SESSION['sess_admin_login_id']) || $_SESSION['sess_admin_login_id'] == "") ? "index.php" : "admin_welcome.php"; ?>" 
       style="text-decoration:none">
       <h4 style="color:#F8F8F8; margin:0;"><?= SITE_NAME ?></h4>
    </a>
</td>  </tr>
  <tr>
    <td height="1" colspan="2"></td>
  </tr>
  <tr bgcolor="#92B2D6">
    <td height="6" colspan="2"></td>
  </tr>
  <tr>
    <td height="1" colspan="2"></td>
  </tr>
  <tr>
    <td height="66" background="images/top_bg.gif"><img src="images/control_panel.gif" alt="Control Panel" hspace="20" /></td>
    <td height="66" valign="top" background="images/top_bg.gif"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
      <tr>
<td height="25" align="right">
    <?php if (!empty($_SESSION['sess_admin_id'])) { ?>
        <a href="logout.php"><img src="images/log_out.gif" alt="Administrator Logout!" hspace="10" border="0" /></a>
    <?php } ?>
</td>      </tr>
      <tr>
        <td height="41" align="right">&nbsp; </td>
      </tr>
    </table></td>
  </tr>
</table>
</div>