Deprecated: Function get_magic_quotes_gpc() is deprecated in /www/wwwroot/xy.xinenw.com/xiunophp/xiunophp.php on line 20
: array('name'=>''); $thread['forumname'] = $forum['name']; if($thread['last_date'] == $thread['create_date']) { //$thread['last_date'] = 0; $thread['last_date_fmt'] = ''; $thread['lastuid'] = 0; $thread['lastusername'] = ''; } else { $lastuser = $thread['lastuid'] ? user_read_cache($thread['lastuid']) : array(); $thread['lastusername'] = $thread['lastuid'] ? $lastuser['username'] : lang('guest'); } $thread['url'] = "thread-$thread[tid].htm"; $thread['user_url'] = "user-$thread[uid]".($thread['uid'] ? '' : "-$thread[firstpid]").".htm"; $thread['top_class'] = $thread['top'] ? 'top_'.$thread['top'] : ''; $thread['pages'] = ceil($thread['posts'] / $conf['postlist_pagesize']); } function thread_format_last_date(&$thread) { if($thread['last_date'] != $thread['create_date']) { $thread['last_date_fmt'] = humandate($thread['last_date']); } else { $thread['create_date_fmt'] = humandate($thread['create_date']); } } function thread_count($cond = array()) { $n = db_count('thread', $cond); return $n; } function thread_maxid() { $n = db_maxid('thread', 'tid'); return $n; } function thread_safe_info($thread) { unset($thread['userip']); if(!empty($thread['user'])) { $thread['user'] = user_safe_info($thread['user']); } return $thread; } function thread_get_level($n, $levelarr) { foreach($levelarr as $k=>$level) { if($n <= $level) return $k; } return $k; } // 对 $threadlist 权限过滤 function thread_list_access_filter(&$threadlist, $gid) { global $conf, $forumlist; if(empty($threadlist)) return; foreach($threadlist as $tid=>$thread) { if(empty($forumlist[$thread['fid']]['accesson'])) continue; if($thread['top'] > 0) continue; if(!forum_access_user($thread['fid'], $gid, 'allowread')) { unset($threadlist[$tid]); } } } function thread_find_by_tids($tids, $order = array('lastpid'=>-1)) { //$start = ($page - 1) * $pagesize; //$tids = array_slice($tids, $start, $pagesize); if(!$tids) return array(); $threadlist = db_find('thread', array('tid'=>$tids), $order, 1, 1000, 'tid'); if($threadlist) foreach($threadlist as &$thread) thread_format($thread); return $threadlist; } // 查找 lastpid function thread_find_lastpid($tid) { $arr = db_find_one("post", array('tid'=>$tid), array('pid'=>-1), array('pid')); $lastpid = empty($arr) ? 0 : $arr['pid']; return $lastpid; } // 更新最后的 uid pid function thread_update_last($tid) { $lastpid = thread_find_lastpid($tid); if(empty($lastpid)) return; $lastpost = post__read($lastpid); if(empty($lastpost)) return; $r = thread__update($tid, array('lastpid'=>$lastpid, 'lastuid'=>$lastpost['uid'], 'last_date'=>$lastpost['create_date'])); return $r; } ?>
Error[8192]: Array and string offset access syntax with curly braces is deprecated, File: /www/wwwroot/xy.xinenw.com/xiunophp/xn_html_safe.func.php, Line: 785
File: /www/wwwroot/xy.xinenw.com/tmp/model_misc.func.php, Line: 144, include_once()
File: /www/wwwroot/xy.xinenw.com/tmp/model.inc.php, Line: 41, include(/www/wwwroot/xy.xinenw.com/tmp/model_misc.func.php)
File: /www/wwwroot/xy.xinenw.com/index.php, Line: 51, include(/www/wwwroot/xy.xinenw.com/tmp/model.inc.php)
Error[8192]: Array and string offset access syntax with curly braces is deprecated, File: /www/wwwroot/xy.xinenw.com/xiunophp/xn_html_safe.func.php, Line: 938
File: /www/wwwroot/xy.xinenw.com/tmp/model_misc.func.php, Line: 144, include_once()
File: /www/wwwroot/xy.xinenw.com/tmp/model.inc.php, Line: 41, include(/www/wwwroot/xy.xinenw.com/tmp/model_misc.func.php)
File: /www/wwwroot/xy.xinenw.com/index.php, Line: 51, include(/www/wwwroot/xy.xinenw.com/tmp/model.inc.php)
Error[8192]: Array and string offset access syntax with curly braces is deprecated, File: /www/wwwroot/xy.xinenw.com/xiunophp/xn_html_safe.func.php, Line: 951
File: /www/wwwroot/xy.xinenw.com/tmp/model_misc.func.php, Line: 144, include_once()
File: /www/wwwroot/xy.xinenw.com/tmp/model.inc.php, Line: 41, include(/www/wwwroot/xy.xinenw.com/tmp/model_misc.func.php)
File: /www/wwwroot/xy.xinenw.com/index.php, Line: 51, include(/www/wwwroot/xy.xinenw.com/tmp/model.inc.php)
Error[2]: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time, File: /www/wwwroot/xy.xinenw.com/tmp/model_session.func.php, Line: 189
File: /www/wwwroot/xy.xinenw.com/tmp/model_session.func.php, Line: 189, ini_set(session.name , bbs_sid)
File: /www/wwwroot/xy.xinenw.com/tmp/index.inc.php, Line: 7, sess_start()
File: /www/wwwroot/xy.xinenw.com/index.php, Line: 52, include(/www/wwwroot/xy.xinenw.com/tmp/index.inc.php)
Error[2]: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time, File: /www/wwwroot/xy.xinenw.com/tmp/model_session.func.php, Line: 191
File: /www/wwwroot/xy.xinenw.com/tmp/model_session.func.php, Line: 191, ini_set(session.use_cookies , On)
File: /www/wwwroot/xy.xinenw.com/tmp/index.inc.php, Line: 7, sess_start()
File: /www/wwwroot/xy.xinenw.com/index.php, Line: 52, include(/www/wwwroot/xy.xinenw.com/tmp/index.inc.php)
Error[2]: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time, File: /www/wwwroot/xy.xinenw.com/tmp/model_session.func.php, Line: 192
File: /www/wwwroot/xy.xinenw.com/tmp/model_session.func.php, Line: 192, ini_set(session.use_only_cookies , On)
File: /www/wwwroot/xy.xinenw.com/tmp/index.inc.php, Line: 7, sess_start()
File: /www/wwwroot/xy.xinenw.com/index.php, Line: 52, include(/www/wwwroot/xy.xinenw.com/tmp/index.inc.php)
Error[2]: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time, File: /www/wwwroot/xy.xinenw.com/tmp/model_session.func.php, Line: 193
File: /www/wwwroot/xy.xinenw.com/tmp/model_session.func.php, Line: 193, ini_set(session.cookie_domain , )
File: /www/wwwroot/xy.xinenw.com/tmp/index.inc.php, Line: 7, sess_start()
File: /www/wwwroot/xy.xinenw.com/index.php, Line: 52, include(/www/wwwroot/xy.xinenw.com/tmp/index.inc.php)
Error[2]: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time, File: /www/wwwroot/xy.xinenw.com/tmp/model_session.func.php, Line: 194
File: /www/wwwroot/xy.xinenw.com/tmp/model_session.func.php, Line: 194, ini_set(session.cookie_path , )
File: /www/wwwroot/xy.xinenw.com/tmp/index.inc.php, Line: 7, sess_start()
File: /www/wwwroot/xy.xinenw.com/index.php, Line: 52, include(/www/wwwroot/xy.xinenw.com/tmp/index.inc.php)
Error[2]: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time, File: /www/wwwroot/xy.xinenw.com/tmp/model_session.func.php, Line: 195
File: /www/wwwroot/xy.xinenw.com/tmp/model_session.func.php, Line: 195, ini_set(session.cookie_secure , Off)
File: /www/wwwroot/xy.xinenw.com/tmp/index.inc.php, Line: 7, sess_start()
File: /www/wwwroot/xy.xinenw.com/index.php, Line: 52, include(/www/wwwroot/xy.xinenw.com/tmp/index.inc.php)
Error[2]: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time, File: /www/wwwroot/xy.xinenw.com/tmp/model_session.func.php, Line: 196
File: /www/wwwroot/xy.xinenw.com/tmp/model_session.func.php, Line: 196, ini_set(session.cookie_lifetime , 86400)
File: /www/wwwroot/xy.xinenw.com/tmp/index.inc.php, Line: 7, sess_start()
File: /www/wwwroot/xy.xinenw.com/index.php, Line: 52, include(/www/wwwroot/xy.xinenw.com/tmp/index.inc.php)
Error[2]: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time, File: /www/wwwroot/xy.xinenw.com/tmp/model_session.func.php, Line: 197
File: /www/wwwroot/xy.xinenw.com/tmp/model_session.func.php, Line: 197, ini_set(session.cookie_httponly , On)
File: /www/wwwroot/xy.xinenw.com/tmp/index.inc.php, Line: 7, sess_start()
File: /www/wwwroot/xy.xinenw.com/index.php, Line: 52, include(/www/wwwroot/xy.xinenw.com/tmp/index.inc.php)
Error[2]: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time, File: /www/wwwroot/xy.xinenw.com/tmp/model_session.func.php, Line: 199
File: /www/wwwroot/xy.xinenw.com/tmp/model_session.func.php, Line: 199, ini_set(session.gc_maxlifetime , 3600)
File: /www/wwwroot/xy.xinenw.com/tmp/index.inc.php, Line: 7, sess_start()
File: /www/wwwroot/xy.xinenw.com/index.php, Line: 52, include(/www/wwwroot/xy.xinenw.com/tmp/index.inc.php)
Error[2]: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time, File: /www/wwwroot/xy.xinenw.com/tmp/model_session.func.php, Line: 200
File: /www/wwwroot/xy.xinenw.com/tmp/model_session.func.php, Line: 200, ini_set(session.gc_probability , 1)
File: /www/wwwroot/xy.xinenw.com/tmp/index.inc.php, Line: 7, sess_start()
File: /www/wwwroot/xy.xinenw.com/index.php, Line: 52, include(/www/wwwroot/xy.xinenw.com/tmp/index.inc.php)
Error[2]: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time, File: /www/wwwroot/xy.xinenw.com/tmp/model_session.func.php, Line: 201
File: /www/wwwroot/xy.xinenw.com/tmp/model_session.func.php, Line: 201, ini_set(session.gc_divisor , 500)
File: /www/wwwroot/xy.xinenw.com/tmp/index.inc.php, Line: 7, sess_start()
File: /www/wwwroot/xy.xinenw.com/index.php, Line: 52, include(/www/wwwroot/xy.xinenw.com/tmp/index.inc.php)
Error[2]: session_set_save_handler(): Cannot change save handler when headers already sent, File: /www/wwwroot/xy.xinenw.com/tmp/model_session.func.php, Line: 203
File: /www/wwwroot/xy.xinenw.com/tmp/model_session.func.php, Line: 203, session_set_save_handler(sess_open , sess_close , sess_read , sess_write , sess_destroy , sess_gc)
File: /www/wwwroot/xy.xinenw.com/tmp/index.inc.php, Line: 7, sess_start()
File: /www/wwwroot/xy.xinenw.com/index.php, Line: 52, include(/www/wwwroot/xy.xinenw.com/tmp/index.inc.php)
Error[2]: session_start(): Cannot start session when headers already sent, File: /www/wwwroot/xy.xinenw.com/tmp/model_session.func.php, Line: 210
File: /www/wwwroot/xy.xinenw.com/tmp/model_session.func.php, Line: 210, session_start()
File: /www/wwwroot/xy.xinenw.com/tmp/index.inc.php, Line: 7, sess_start()
File: /www/wwwroot/xy.xinenw.com/index.php, Line: 52, include(/www/wwwroot/xy.xinenw.com/tmp/index.inc.php)
Error[2]: Cannot modify header information - headers already sent by (output started at /www/wwwroot/xy.xinenw.com/tmp/model_thread.func.php:1), File: /www/wwwroot/xy.xinenw.com/tmp/model_user.func.php, Line: 301
File: /www/wwwroot/xy.xinenw.com/tmp/model_user.func.php, Line: 301, setcookie(bbs_token , , 1749695080 , )
File: /www/wwwroot/xy.xinenw.com/tmp/index.inc.php, Line: 18, user_token_get()
File: /www/wwwroot/xy.xinenw.com/index.php, Line: 52, include(/www/wwwroot/xy.xinenw.com/tmp/index.inc.php)

Fatal error: Uncaught Error: Call to undefined function thread_find_by_fids() in /www/wwwroot/xy.xinenw.com/tmp/route_index.php:27 Stack trace: #0 /www/wwwroot/xy.xinenw.com/tmp/index.inc.php(110): include() #1 /www/wwwroot/xy.xinenw.com/index.php(52): include('/www/wwwroot/xy...') #2 {main} thrown in /www/wwwroot/xy.xinenw.com/tmp/route_index.php on line 27