/[LeafOK_CVS]/innwebd/base.cpp
ViewVC logotype

Diff of /innwebd/base.cpp

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

Revision 1.9 by sysadm, Sat Aug 28 15:38:42 2004 UTC Revision 1.10 by sysadm, Fri Sep 17 02:34:27 2004 UTC
# Line 236  int base::bbs_post(const CString& head, Line 236  int base::bbs_post(const CString& head,
236                          this->Db.ExecuteSQL(sql); //7671                          this->Db.ExecuteSQL(sql); //7671
237    
238                          //Add logfile                          //Add logfile
239                          sql.Format("insert delayed into bbs_article_op(AID,UID,type,op_dt,op_ip,complete)"                          sql.Format("insert delayed into bbs_article_op(AID,UID,type,op_dt,op_ip)"
240                                          " values(%ld,%ld,'I',now(),'%s',1)",                                          " values(%ld,%ld,'I',now(),'%s')",
241                                          aid,this->innd_uid,this->hostaddr);                                          aid,this->innd_uid,this->hostaddr);
242                          this->Db.ExecuteSQL(sql);                          this->Db.ExecuteSQL(sql);
243                    
# Line 379  int base::bbs_delete(long id) Line 379  int base::bbs_delete(long id)
379                          this->Db.ExecuteSQL(sql);                          this->Db.ExecuteSQL(sql);
380    
381                          //Add logfile                          //Add logfile
382                          sql.Format("insert delayed into bbs_article_op(AID,UID,type,op_dt,"                          sql.Format("insert delayed into bbs_article_op(AID,UID,type,op_dt,op_ip)"
383                                  "op_ip,complete) values(%ld,%ld,'C',now(),'%s',1)",                                  " values(%ld,%ld,'C',now(),'%s')",
384                                  id,innd_uid,this->hostaddr);                                  id,innd_uid,this->hostaddr);
385                          this->Db.ExecuteSQL(sql);                          this->Db.ExecuteSQL(sql);
386    


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

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