function showheader ($title, $type, $standarhead) {
global $pagetitle, $id, $module_name;
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Expires: Mon, 1 Jan 1990 05:00:00 GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
$pagetitle = $title;
include ("header.php");
echo "
<script type=text/javascript src=\"modules/$module_name/webmail.js\"></script>
<link rel=\"stylesheet\" href=\"modules.php?name=$module_name&file=style\" type=\"text/css\">
";
OpenTable();
if ($type == 0)
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">
<tr>
<td COLSPAN=\"21\" height=\"25\" nowrap background=\"images/DHTML/MAILnaviBG.gif\" align=\"left\" Valign=\"top\">
<script type=\"text/javascript\" language=\"JavaScript1.2\" src=\"includes/DHTML/EmailNavi.php\"></script><noscript></noscript>
</td>
<td nowrap height=\"25\" width=\"100%\" background=\"images/DHTML/MAILnaviBG.gif\" align=\"right\" valign=\"top\">
<img src=\"images/DHTML/end.gif\" border=\"0\" height=\"25\" width=\"10\" hspace=\"5\">
</td>
</tr>
</table>";
if ($type == 1)
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">
<tr>
<td COLSPAN=\"21\" height=\"25\" nowrap background=\"images/DHTML/MAILnaviBG.gif\" align=\"left\" Valign=\"top\">
<script type=\"text/javascript\" language=\"JavaScript1.2\" src=\"includes/DHTML/EmailNavi.php\"></script><noscript></noscript>
</td>
<td nowrap height=\"25\" width=\"100%\" background=\"images/DHTML/MAILnaviBG.gif\" align=\"right\" valign=\"top\">
<img src=\"images/DHTML/end.gif\" border=\"0\" height=\"25\" width=\"10\" hspace=\"5\">
</td>
</tr>
</table>";
if ($type == 2)
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">
<tr>
<td COLSPAN=\"21\" height=\"25\" nowrap background=\"images/DHTML/MAILnaviBG.gif\" align=\"left\" Valign=\"top\">
<script type=\"text/javascript\" language=\"JavaScript1.2\" src=\"includes/DHTML/EmailNavi.php\"></script><noscript></noscript>
</td>
<td nowrap height=\"25\" width=\"100%\" background=\"images/DHTML/MAILnaviBG.gif\" align=\"right\" valign=\"top\">
<img src=\"images/DHTML/end.gif\" border=\"0\" height=\"25\" width=\"10\" hspace=\"5\">
</td>
</tr>
</table>";
if ($type == 3)
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">
<tr>
<td COLSPAN=\"21\" height=\"25\" nowrap background=\"images/DHTML/MAILnaviBG.gif\" align=\"left\" Valign=\"top\">
<script type=\"text/javascript\" language=\"JavaScript1.2\" src=\"includes/DHTML/EmailNavi.php\"></script><noscript></noscript>
</td>
<td nowrap height=\"25\" width=\"100%\" background=\"images/DHTML/MAILnaviBG.gif\" align=\"right\" valign=\"top\">
<img src=\"images/DHTML/end.gif\" border=\"0\" height=\"25\" width=\"10\" hspace=\"5\">
</td>
</tr>
</table>";
if ($type == 4)
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">
<tr>
<td COLSPAN=\"21\" height=\"25\" nowrap background=\"images/DHTML/MAILnaviBG.gif\" align=\"left\" Valign=\"top\">
<script type=\"text/javascript\" language=\"JavaScript1.2\" src=\"includes/DHTML/EmailNavi.php\"></script><noscript></noscript>
</td>
<td nowrap height=\"25\" width=\"100%\" background=\"images/DHTML/MAILnaviBG.gif\" align=\"right\" valign=\"top\">
<img src=\"images/DHTML/end.gif\" border=\"0\" height=\"25\" width=\"10\" hspace=\"5\">
</td>
</tr>
</table>";
CloseTable();
}
?>