// 帖子买卖-start
global $credit, $tid, $discuz_uid, $discuz_user, $codehtml, $post_codecount, $thisbg, $highlight, $table_posts,$thread, $mtime, $dateformat, $timeformat, $timeoffset, $db, $searcharray, $replacearray, $sellmessage,$ismoderator,$post_sellcount,$phpcodehtml,$post_phpcodecount;
$post_sellcount=0;
$post_codecount = -1;
$post_phpcodecount = -1;
$message = preg_replace("/\[sell=(\d+)\]\s*(.+?)\s*\[\/sell\]/ies", "postsell(\\1,'\\2')", $message);
// 帖子买卖-end
//贴子买卖funciton ========start
function postsell($price, $message) {
global $thisbg, $post_sellcount,$db,$post, $sellmessage,$tid,$table_posts,$hacktable_postpay,$discuz_user,$issupermod,$ismoderator,$isadmin,$usermoney,$page,$thread, $mtime, $dateformat, $timeformat, $timeoffset,$issellfree;
//$message=stripslashes($message);
$message = str_replace("\\\"", "\"", preg_replace("/^[\n\r]*(.+?)[\n\r]*$/is", "\\1",
$message)); 。。。。。。。。。。。。。。。
上面粗体字是我找到的。下划的是我添加的~ |