[Openfirst-cvscommit] news newcomment.php,1.1,1.2
Brought to you by:
xtimg
From: <xt...@us...> - 2003-11-23 15:43:02
|
Update of /cvsroot/openfirst/news In directory sc8-pr-cvs1:/tmp/cvs-serv25706 Modified Files: newcomment.php Log Message: Style changes for the sake of uniformity. Index: newcomment.php =================================================================== RCS file: /cvsroot/openfirst/news/newcomment.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** newcomment.php 23 Oct 2003 22:31:12 -0000 1.1 --- newcomment.php 23 Nov 2003 15:42:59 -0000 1.2 *************** *** 44,49 **** ofirst_dbquery("INSERT INTO ofirst_news_comments (StoryID,Author,EMail,Website,Comment,Date) values ('".$_POST["id"]."','".$_POST["uname"]."','".$mail."','".$web."','".strip_tags($_POST["comment"],"<b><i><em><strong>")."','".date("Y-m-d H:i:s")."');"); echo("<h4>Comment Added</h4>"); ! } ! else{ echo("<h4>Could not add comment</h4>"); } --- 44,48 ---- ofirst_dbquery("INSERT INTO ofirst_news_comments (StoryID,Author,EMail,Website,Comment,Date) values ('".$_POST["id"]."','".$_POST["uname"]."','".$mail."','".$web."','".strip_tags($_POST["comment"],"<b><i><em><strong>")."','".date("Y-m-d H:i:s")."');"); echo("<h4>Comment Added</h4>"); ! } else{ echo("<h4>Could not add comment</h4>"); } |