[phpwebapp-commits] CVS: top10/templates/preference_list preference_list.php,1.4,1.5 preference_list
Brought to you by:
dashohoxha
From: Dashamir H. <das...@us...> - 2004-01-05 14:42:03
|
Update of /cvsroot/phpwebapp/top10/templates/preference_list In directory sc8-pr-cvs1:/tmp/cvs-serv31213/templates/preference_list Modified Files: preference_list.php preference_list.db Log Message: Index: preference_list.php =================================================================== RCS file: /cvsroot/phpwebapp/top10/templates/preference_list/preference_list.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** preference_list.php 29 Dec 2003 14:14:50 -0000 1.4 --- preference_list.php 5 Jan 2004 14:42:00 -0000 1.5 *************** *** 77,83 **** //insert in DB a request with the same id as above - $time = time(); $ip = $_SERVER["REMOTE_ADDR"]; ! $params = compact("request_id", "time", "ip"); WebApp::execDBCmd("insert_request", $params); --- 77,82 ---- //insert in DB a request with the same id as above $ip = $_SERVER["REMOTE_ADDR"]; ! $params = compact("request_id", "ip"); WebApp::execDBCmd("insert_request", $params); Index: preference_list.db =================================================================== RCS file: /cvsroot/phpwebapp/top10/templates/preference_list/preference_list.db,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** preference_list.db 23 Sep 2003 14:04:14 -0000 1.1.1.1 --- preference_list.db 5 Jan 2004 14:42:00 -0000 1.2 *************** *** 29,33 **** SET request_id = '{{request_id}}', ! time = '{{time}}', username = '{{username}}', ip = '{{ip}}', --- 29,33 ---- SET request_id = '{{request_id}}', ! time = NOW(), username = '{{username}}', ip = '{{ip}}', |