$Log$
+ Revision 1.20 2003/11/22 04:33:22 ajc
+ * fleshed out the message headers a bit
+
Revision 1.19 2003/11/21 18:22:19 ajc
* Replaced the two-second sleep (and associated race condition) for the
session proxy to start, with a loop that attempts connection ten times
Revision 1.1 2003/10/31 03:47:13 ajc
* Initial CVS import
-
}
// Begin header
- echo "<B><I>" .
- strftime("%b %d %Y %I:%M%p ", $fields["time"]) .
- " from " . htmlspecialchars($fields["from"]) .
- "</I></B><BR>\n" ;
+ echo "<B><I>" ;
+ echo strftime("%b %d %Y %I:%M%p ", $fields["time"]) ;
+ echo " from " . htmlspecialchars($fields["from"]) ;
+
+ if (strlen($fields["rfca"]) > 0) {
+ echo " <" . htmlspecialchars($fields["rfca"]) . ">" ;
+ }
+ else if ( (strlen($fields["node"]) > 0)
+ && (strcasecmp($fields["node"], $_SESSION["serv_nodename"])) ) {
+ echo " @" . htmlspecialchars($fields["node"]) ;
+ if (strlen($fields["hnod"]) > 0) {
+ echo " (" . htmlspecialchars($fields["hnod"]) . ")" ;
+ }
+ }
+
+ if (strlen($fields["rcpt"]) > 0) {
+ echo " to " . htmlspecialchars($fields["rcpt"]) ;
+ }
+ echo "</I></B><BR>\n" ;
// Do message text
echo $fields["text"] . "<BR>";
alink="#DD0000"
>
-<div align=right>
-<A HREF="logout.php">Log out</A>
-</div>
-<HR>
LITERAL;
+
+ echo '<TABLE BORDER=0 WIDTH=100%>';
+ echo '<TR>';
+ echo '<TD>' . $_SESSION["serv_humannode"] . '</TD>' ;
+ echo '<TD>' . $_SESSION["username"] . '</TD>' ;
+ echo '<TD>' . $_SESSION["room"] . '</TD>' ;
+ echo '<TD ALIGN=RIGHT><A HREF="logout.php">Log out</A></TD>' ;
+ echo '</TR></TABLE><HR>';
}