[Openfirst-cvscommit] emoticon emoticonf.php,1.6,1.7
Brought to you by:
xtimg
From: <xt...@us...> - 2003-07-23 21:20:46
|
Update of /cvsroot/openfirst/emoticon In directory sc8-pr-cvs1:/tmp/cvs-serv31681 Modified Files: emoticonf.php Log Message: Allow changing of number of emoticons per page, and start of emoticons in emoticonf.php Index: emoticonf.php =================================================================== RCS file: /cvsroot/openfirst/emoticon/emoticonf.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** emoticonf.php 28 Jun 2003 18:52:21 -0000 1.6 --- emoticonf.php 23 Jul 2003 21:20:40 -0000 1.7 *************** *** 48,53 **** // or have as reference page. ! function emoticon_preview () { ! $query = mysql_query("SELECT * FROM ofirst_emoticon LIMIT 0,5"); echo "<table>"; while ($emot = mysql_fetch_object($query)) { --- 48,53 ---- // or have as reference page. ! function emoticon_preview ($limit = 5, $start = 0) { ! $query = mysql_query("SELECT * FROM ofirst_emoticon LIMIT $start,$limit"); echo "<table>"; while ($emot = mysql_fetch_object($query)) { *************** *** 73,75 **** } ! ?> \ No newline at end of file --- 73,75 ---- } ! ?> |