GBK版請致第二帖下載免修改 hack !
提供免安裝版, 但僅適用於剛升級完及新安裝之論壇使用 !
case 'newtopic':
$table = 'threads t, '.$tablepre.'forums f';
$cols = "t.tid, t.subject, t.author, t.dateline, t.views, t.replies, t.lastpost, t.lastposter, t.highlight, f.name";
$fids="填上不需要顯示發新帖區域的 fid 編號, 以逗號作分格, 最後一個不用加上逗號";//例如 "1,2,3";
$c;
break;
case 'newreply':
$table = 'threads t, '.$tablepre.'forums f';
$cols = "t.tid, t.subject, t.author, t.dateline, t.views, t.replies, t.lastpost, t.lastposter, t.highlight, f.name";
$fids="填上不需要顯示回帖區域的 fid 編號, 以逗號作分格, 最後一個不用加上逗號";//例如 "1,2,3";
$c;
break;
case 'todaynewmems':
$table = 'members';
$cols = 'COUNT(*)';
$datecut = time() - (3600 * 24);
$c;
break;
case 'todayvisit':
$table = 'members';
$cols = "COUNT(*)";
$datecut = time() - (3600 * 24);
$c;
break;
$today = mktime (0,0,0,date("m") ,date("d"),date("Y"));
$build_date = mktime (0,0,0,9,1,2008);//請修改後面的三個數字,分別代表您論壇運行第一天的日期:月,日,年。
$build_days = (int)(($today-$build_date)/(24*3600));
'forumlinks', 'birthdays'
, 'foruminfo'
'forumlinks', 'birthdays', 'foruminfo'
歡迎光臨 AGAMES 討論區 (http://61.244.113.49/) | Powered by Discuz! X2 |