[Openfirst-cvscommit] messenger newmsg.php,1.8,1.9 messenger.php,1.7,1.8
Brought to you by:
xtimg
From: <dav...@us...> - 2003-09-13 15:38:30
|
Update of /cvsroot/openfirst/messenger In directory sc8-pr-cvs1:/tmp/cvs-serv20924/messenger Modified Files: newmsg.php messenger.php Log Message: Minor bug and design changes. Index: newmsg.php =================================================================== RCS file: /cvsroot/openfirst/messenger/newmsg.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** newmsg.php 23 Aug 2003 20:31:57 -0000 1.8 --- newmsg.php 13 Sep 2003 15:38:25 -0000 1.9 *************** *** 68,72 **** <th></th><th>Send New Messege</th> <tr> ! <td width="34%"><?php emoticon_preview(); ?></td> <td width="66%"> <table> --- 68,72 ---- <th></th><th>Send New Messege</th> <tr> ! <td width="34%"><?php emoticon_preview("14"); ?></td> <td width="66%"> <table> *************** *** 84,101 **** echo "<input type='hidden' name='recip' value='".$recipient->Member."'>"; }else{ ! echo "<select name='recip' id='recip'>"; ! $query = ofirst_dbquery("SELECT * FROM ofirst_messenger_usersonline"); ! echo $recipient->Member; ! ! while($recipient = ofirst_dbfetch_object($query)){ ! if($recipient->Member != "none"){ ! echo "<option>".$recipient->Member."<option>"; ! } ! } ! echo "</select>"; } ?> --- 84,99 ---- echo "<input type='hidden' name='recip' value='".$recipient->Member."'>"; + echo $recipient->Member; }else{ ! echo "<select name='recip' id='recip'>"; ! ! $query = ofirst_dbquery("SELECT * FROM ofirst_members"); ! while($recipient = ofirst_dbfetch_object($query)){ ! echo "<option>".$recipient->user."<option>"; ! } ! echo "</select>"; } ?> Index: messenger.php =================================================================== RCS file: /cvsroot/openfirst/messenger/messenger.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** messenger.php 25 Aug 2003 16:50:02 -0000 1.7 --- messenger.php 13 Sep 2003 15:38:25 -0000 1.8 *************** *** 61,65 **** $query = ofirst_dbquery("SELECT * FROM ofirst_messenger_usersonline"); ! $usersonline = "There are currently <b>".ofirst_dbnum_rows($query)."</b> persons on this website! [ <a href='./'>View List</a> ]"; // Check how many people are previewing the same exact script location and put in user usable variable --- 61,65 ---- $query = ofirst_dbquery("SELECT * FROM ofirst_messenger_usersonline"); ! $usersonline = "There are currently <b>".ofirst_dbnum_rows($query)."</b> persons on this website! [ <a href='$basepath/messenger/'>View List</a> ]"; // Check how many people are previewing the same exact script location and put in user usable variable |