[Openfirst-cvscommit] messenger inbox.php,1.8,1.9 index.php,1.8,1.9 viewmsg.php,1.9,1.10
Brought to you by:
xtimg
From: <dav...@us...> - 2003-11-02 15:46:13
|
Update of /cvsroot/openfirst/messenger In directory sc8-pr-cvs1:/tmp/cvs-serv24653 Modified Files: inbox.php index.php viewmsg.php Log Message: Fixed a viewmsg problem where it checks for a visitor msg. Also edited some other minor design flaws. Index: inbox.php =================================================================== RCS file: /cvsroot/openfirst/messenger/inbox.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** inbox.php 16 Oct 2003 23:52:59 -0000 1.8 --- inbox.php 2 Nov 2003 15:46:10 -0000 1.9 *************** *** 85,89 **** } if(ofirst_dbnum_rows($query) == 0){ ! echo "<tr><td>--</td><td>--</td><td>No new messages!</td><td>--</td><td>--</td></tr>"; } ?> --- 85,89 ---- } if(ofirst_dbnum_rows($query) == 0){ ! echo "<tr><td> </td><td> </td><td>No new messages in inbox!</td><td> </td><td> </td></tr>"; } ?> Index: index.php =================================================================== RCS file: /cvsroot/openfirst/messenger/index.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** index.php 13 Oct 2003 17:58:27 -0000 1.8 --- index.php 2 Nov 2003 15:46:10 -0000 1.9 *************** *** 30,40 **** ?> <h1>Current Online Users</h1> ! <table width="648"> <tr> ! <th width="25"></th> ! <th width="203">User Level</th> ! <th width="110">Name</th> ! <th width="290">Currently Previewing</th> ! <th width="144">Options</th> </tr> <?php --- 30,40 ---- ?> <h1>Current Online Users</h1> ! <table width="737"> <tr> ! <th width="29"></th> ! <th width="126">User Level</th> ! <th width="148">Name</th> ! <th width="312">Currently Previewing</th> ! <th width="98">Options</th> </tr> <?php Index: viewmsg.php =================================================================== RCS file: /cvsroot/openfirst/messenger/viewmsg.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** viewmsg.php 18 Oct 2003 23:31:37 -0000 1.9 --- viewmsg.php 2 Nov 2003 15:46:10 -0000 1.10 *************** *** 48,78 **** the webmaster!</p> <table width="597"> ! <tr> <th width="127"> </th> <th width="458">Current Message</th> </tr> ! <tr> <th>Sender</th> <td><a href='../members/profile.php?ID=<?php echo $msg->Sender ?>'><?php echo("$msg->Sender"); $querymember = ofirst_dbquery("SELECT firstname, lastname FROM ofirst_members WHERE user = '$msg->Sender';"); $member = ofirst_dbfetch_object($querymember); ! echo(" ($member->firstname $member->lastname)"); ?> ! </td> ! </tr> ! <tr> ! <td><img src="visitors.png" alt="Visitor"></td> ! <td><?php ! if ($userinf->Member == "none") { ! echo "Visiting Guest</td><td>N/A"; ! } else { ! echo "Member</td><td>$members->firstname $members->lastname"; ! } ! ?></a></td> </tr> ! <tr> <th>Subject</th> <td><?php echo slur_block(emoticon_translate($msg->Subject)); ?></td> </tr> ! <tr> <th>Body</th> <td><?php echo slur_block(emoticon_translate($msg->Body)); ?></td> --- 48,67 ---- the webmaster!</p> <table width="597"> ! <tr> <th width="127"> </th> <th width="458">Current Message</th> </tr> ! <tr> <th>Sender</th> <td><a href='../members/profile.php?ID=<?php echo $msg->Sender ?>'><?php echo("$msg->Sender"); $querymember = ofirst_dbquery("SELECT firstname, lastname FROM ofirst_members WHERE user = '$msg->Sender';"); $member = ofirst_dbfetch_object($querymember); ! echo(" ($member->firstname $member->lastname)"); ?> </td> </tr> ! <tr> <th>Subject</th> <td><?php echo slur_block(emoticon_translate($msg->Subject)); ?></td> </tr> ! <tr> <th>Body</th> <td><?php echo slur_block(emoticon_translate($msg->Body)); ?></td> |