e(date("Y-m-d", $time))-1; $todayEnd = strtotime('+1 day', $todayBegin)+1; $n = db_count('fox_sign', array('stime'=>array('>'=>$todayBegin,'<'=>$todayEnd))); return $n; } //昨日签到人数 function fox_sign_yesterday(){ global $time; $yesterdayBegin = strtotime(date("Y-m-d", strtotime('-1 day', $time)))-1; $yesterdayEnd = strtotime('+1 day', $yesterdayBegin)+1; $n = db_count('fox_sign', array('stime'=>array('>'=>$yesterdayBegin,'<'=>$yesterdayEnd))); return $n; } //今日下级签到 function fox_sign_son_today($type = 0){ global $time; $todayBegin = strtotime(date("Y-m-d", $time))-1; $todayEnd = strtotime('+1 day', $todayBegin)+1; $cond = array('type'=>22, 'time'=>array('>'=>$todayBegin,'<'=>$todayEnd)); $n = fox_sign_son_find($cond, $type); return $n; } //昨日下级签到 function fox_sign_son_yesterday($type = 0){ global $time; $yesterdayBegin = strtotime(date("Y-m-d", strtotime('-1 day', $time)))-1; $yesterdayEnd = strtotime('+1 day', $yesterdayBegin)+1; $cond = array('type'=>22, 'time'=>array('>'=>$yesterdayBegin,'<'=>$yesterdayEnd)); $n = fox_sign_son_find($cond, $type); return $n; } //全部下级签到 function fox_sign_son_all($type = 0){ $cond = array('type'=>22); $n = fox_sign_son_find($cond, $type); return $n; } //下级签到查询 function fox_sign_son_find($cond, $type = 0){ $n = 0; if(function_exists("credits_get_content_type_by_name")){ $total = db_count('user_pay', $cond); $query = db_find('user_pay', $cond, array(), $page = 1, $total); if($type == 0){ //人数 $n = count(arrlist_key_values($query, 'uid', 'num')); }else{ //金币 $n = arrlist_sum($query, 'num'); } } return $n; }?>
Error[2]: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time, File: /www/wwwroot/pgbbs21.com/tmp/model_session.func.php, Line: 189
File: /www/wwwroot/pgbbs21.com/tmp/model_session.func.php, Line: 189, ini_set(session.name , bbs_sid)
File: /www/wwwroot/pgbbs21.com/tmp/index.inc.php, Line: 33, sess_start()
File: /www/wwwroot/pgbbs21.com/index.php, Line: 52, include(/www/wwwroot/pgbbs21.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/pgbbs21.com/tmp/model_session.func.php, Line: 191
File: /www/wwwroot/pgbbs21.com/tmp/model_session.func.php, Line: 191, ini_set(session.use_cookies , On)
File: /www/wwwroot/pgbbs21.com/tmp/index.inc.php, Line: 33, sess_start()
File: /www/wwwroot/pgbbs21.com/index.php, Line: 52, include(/www/wwwroot/pgbbs21.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/pgbbs21.com/tmp/model_session.func.php, Line: 192
File: /www/wwwroot/pgbbs21.com/tmp/model_session.func.php, Line: 192, ini_set(session.use_only_cookies , On)
File: /www/wwwroot/pgbbs21.com/tmp/index.inc.php, Line: 33, sess_start()
File: /www/wwwroot/pgbbs21.com/index.php, Line: 52, include(/www/wwwroot/pgbbs21.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/pgbbs21.com/tmp/model_session.func.php, Line: 193
File: /www/wwwroot/pgbbs21.com/tmp/model_session.func.php, Line: 193, ini_set(session.cookie_domain , )
File: /www/wwwroot/pgbbs21.com/tmp/index.inc.php, Line: 33, sess_start()
File: /www/wwwroot/pgbbs21.com/index.php, Line: 52, include(/www/wwwroot/pgbbs21.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/pgbbs21.com/tmp/model_session.func.php, Line: 194
File: /www/wwwroot/pgbbs21.com/tmp/model_session.func.php, Line: 194, ini_set(session.cookie_path , )
File: /www/wwwroot/pgbbs21.com/tmp/index.inc.php, Line: 33, sess_start()
File: /www/wwwroot/pgbbs21.com/index.php, Line: 52, include(/www/wwwroot/pgbbs21.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/pgbbs21.com/tmp/model_session.func.php, Line: 195
File: /www/wwwroot/pgbbs21.com/tmp/model_session.func.php, Line: 195, ini_set(session.cookie_secure , Off)
File: /www/wwwroot/pgbbs21.com/tmp/index.inc.php, Line: 33, sess_start()
File: /www/wwwroot/pgbbs21.com/index.php, Line: 52, include(/www/wwwroot/pgbbs21.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/pgbbs21.com/tmp/model_session.func.php, Line: 196
File: /www/wwwroot/pgbbs21.com/tmp/model_session.func.php, Line: 196, ini_set(session.cookie_lifetime , 8640000)
File: /www/wwwroot/pgbbs21.com/tmp/index.inc.php, Line: 33, sess_start()
File: /www/wwwroot/pgbbs21.com/index.php, Line: 52, include(/www/wwwroot/pgbbs21.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/pgbbs21.com/tmp/model_session.func.php, Line: 197
File: /www/wwwroot/pgbbs21.com/tmp/model_session.func.php, Line: 197, ini_set(session.cookie_httponly , On)
File: /www/wwwroot/pgbbs21.com/tmp/index.inc.php, Line: 33, sess_start()
File: /www/wwwroot/pgbbs21.com/index.php, Line: 52, include(/www/wwwroot/pgbbs21.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/pgbbs21.com/tmp/model_session.func.php, Line: 199
File: /www/wwwroot/pgbbs21.com/tmp/model_session.func.php, Line: 199, ini_set(session.gc_maxlifetime , 3600)
File: /www/wwwroot/pgbbs21.com/tmp/index.inc.php, Line: 33, sess_start()
File: /www/wwwroot/pgbbs21.com/index.php, Line: 52, include(/www/wwwroot/pgbbs21.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/pgbbs21.com/tmp/model_session.func.php, Line: 200
File: /www/wwwroot/pgbbs21.com/tmp/model_session.func.php, Line: 200, ini_set(session.gc_probability , 1)
File: /www/wwwroot/pgbbs21.com/tmp/index.inc.php, Line: 33, sess_start()
File: /www/wwwroot/pgbbs21.com/index.php, Line: 52, include(/www/wwwroot/pgbbs21.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/pgbbs21.com/tmp/model_session.func.php, Line: 201
File: /www/wwwroot/pgbbs21.com/tmp/model_session.func.php, Line: 201, ini_set(session.gc_divisor , 500)
File: /www/wwwroot/pgbbs21.com/tmp/index.inc.php, Line: 33, sess_start()
File: /www/wwwroot/pgbbs21.com/index.php, Line: 52, include(/www/wwwroot/pgbbs21.com/tmp/index.inc.php)
Error[2]: session_set_save_handler(): Cannot change save handler when headers already sent, File: /www/wwwroot/pgbbs21.com/tmp/model_session.func.php, Line: 203
File: /www/wwwroot/pgbbs21.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/pgbbs21.com/tmp/index.inc.php, Line: 33, sess_start()
File: /www/wwwroot/pgbbs21.com/index.php, Line: 52, include(/www/wwwroot/pgbbs21.com/tmp/index.inc.php)
Error[2]: session_start(): Cannot start session when headers already sent, File: /www/wwwroot/pgbbs21.com/tmp/model_session.func.php, Line: 210
File: /www/wwwroot/pgbbs21.com/tmp/model_session.func.php, Line: 210, session_start()
File: /www/wwwroot/pgbbs21.com/tmp/index.inc.php, Line: 33, sess_start()
File: /www/wwwroot/pgbbs21.com/index.php, Line: 52, include(/www/wwwroot/pgbbs21.com/tmp/index.inc.php)

Fatal error: Uncaught Error: Call to undefined function forum_list_cache() in /www/wwwroot/pgbbs21.com/tmp/index.inc.php:52 Stack trace: #0 /www/wwwroot/pgbbs21.com/index.php(52): include() #1 {main} thrown in /www/wwwroot/pgbbs21.com/tmp/index.inc.php on line 52