|
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?会员注册
x
 | |  | | source/include/post/post_editpost.php& ~/ n' g) a+ V* p/ o
找到: - $anonymousadd ".($_G['forum_auditstatuson'] && $audit == 1 ? ",invisible='0'" : ", invisible='$pinvisible'").", tags='".implode(',', $tagarray)."' WHERE pid='$pid'");
复制代码下一行加上:
2 ^$ q/ X& s7 y o8 q3 U1.任何人编辑都可以提升:- DB::query("UPDATE ".DB::table('forum_thread')." SET lastpost='$_G[timestamp]' WHERE tid='$_G[tid]'");
复制代码
9 g: u- V, _/ ]% n. j A. F# P2.只有版主,超版,管理员编辑才可以提升:- if(in_array($_G['adminid'],array('1','2','3')))DB::query("UPDATE ".DB::table('forum_thread')." SET lastpost='$_G[timestamp]' WHERE tid='$_G[tid]'");
复制代码
+ V* e; A9 c6 h- q+ t
| |  |  |  | CooL.泪猪说: |
|