/[LeafOK_CVS]/fenglin/bbs/common_lib.inc.php
ViewVC logotype

Diff of /fenglin/bbs/common_lib.inc.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 by sysadm, Fri Sep 17 14:57:29 2004 UTC Revision 1.3 by sysadm, Sat Mar 29 03:49:17 2025 UTC
# Line 21  function article_op_log($aid,$uid,$op_ty Line 21  function article_op_log($aid,$uid,$op_ty
21                  N               Unrecommend article                  N               Unrecommend article
22                  Z               Set article as trnasship                  Z               Set article as trnasship
23          */          */
24          $ret = mysql_query("insert delayed into bbs_article_op(AID,UID,type,op_dt,op_ip)".          $ret = mysql_query("insert into bbs_article_op(AID,UID,type,op_dt,op_ip)".
25                  " values($aid,$uid,'$op_type',now(),'$ip_addr')",$db_conn);                  " values($aid,$uid,'$op_type',now(),'$ip_addr')",$db_conn);
26                    
27          return $ret;          return $ret;
# Line 44  function user_exp_change($uid,$exp_chang Line 44  function user_exp_change($uid,$exp_chang
44  function error_msg($msg,$back=false,$close=false)  function error_msg($msg,$back=false,$close=false)
45  {  {
46          $ret = "<script language=\"JavaScript\">\n".          $ret = "<script language=\"JavaScript\">\n".
47                  "       alert(\"".$msg."\");\n".                  "       alert(\"".str_replace("\n","\\\n",$msg)."\");\n".
48                  ($back?"        history.go(-1);\n":"").                  ($back?"        history.go(-1);\n":"").
49                  ($close?"       self.close();\n":"").                  ($close?"       self.close();\n":"").
50                  "</script>";                  "</script>";


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1