Update of /cvsroot/phpwebapp/top10/templates/proj_details/comments
In directory sc8-pr-cvs1:/tmp/cvs-serv31213/templates/proj_details/comments
Modified Files:
comments.php comments.db
Log Message:
Index: comments.php
===================================================================
RCS file: /cvsroot/phpwebapp/top10/templates/proj_details/comments/comments.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** comments.php 29 Dec 2003 15:56:37 -0000 1.5
--- comments.php 5 Jan 2004 14:41:59 -0000 1.6
***************
*** 50,56 ****
//insert in DB a request with the same id as above
- $time = time();
$ip = $_SERVER["REMOTE_ADDR"];
! $params = compact("request_id", "time", "ip", "username", "comment_id");
WebApp::execDBCmd("insert_request", $params);
--- 50,55 ----
//insert in DB a request with the same id as above
$ip = $_SERVER["REMOTE_ADDR"];
! $params = compact("request_id", "ip", "username", "comment_id");
WebApp::execDBCmd("insert_request", $params);
Index: comments.db
===================================================================
RCS file: /cvsroot/phpwebapp/top10/templates/proj_details/comments/comments.db,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** comments.db 29 Dec 2003 15:56:37 -0000 1.5
--- comments.db 5 Jan 2004 14:41:59 -0000 1.6
***************
*** 49,53 ****
SET
request_id = '{{request_id}}',
! time = '{{time}}',
username = '{{username}}',
ip = '{{ip}}',
--- 49,53 ----
SET
request_id = '{{request_id}}',
! time = NOW(),
username = '{{username}}',
ip = '{{ip}}',
|