-function view_header($header, $mailbox, $color) {
- sqgetGlobalVar('QUERY_STRING', $queryStr, SQ_SERVER);
- $ret_addr = SM_PATH . 'src/read_body.php?'.$queryStr;
-
- displayPageHeader($color, $mailbox);
-
- echo '<br />' .
- '<table width="100%" cellpadding="2" cellspacing="0" border="0" '.
- 'align="center">' . "\n" .
- '<tr><td bgcolor="'.$color[9].'" width="100%" align="center"><b>'.
- _("Viewing Full Header") . '</b> - '.
- '<a href="';
- echo_template_var($ret_addr);
- echo '">' ._("View message") . "</a></b></td></tr></table>\n";
-
- echo_template_var($header,
- array(
- '<table width="99%" cellpadding="2" cellspacing="0" border="0" '.
- "align=center>\n".'<tr><td>',
- '<nobr><tt><b>',
- '</b>',
- '</tt></nobr>',
- '</td></tr></table>'."\n"
- )
- );
- echo '</body></html>';
-}
-