绿色榕树
忆江南
业余无线电
UID:2 管理员
图片:会员排行榜.jpg
$query = $this->db->query("SELECT * FROM pw_elements WHERE TYPE = 'usersort' and mark in('todaypost','monthpost','postnum','digests','onlinetime','monoltime','money','rvrc','currency','credit','f_num','postMostUser') order by instr('todaypost,monthpost,postnum,digests,onlinetime,monoltime,money,rvrc,currency,credit,f_num,postMostUser',mark),value desc");
图片:会员排行榜.gif
图片:pw_elements.jpg
$array = array('todaypost','monthpost','monoltime','postnum','digests','onlinetime','rvrc','money','currency','credit','f_num','postMostUser');
'sort_rvrc' => '$GLOBALS[db_rvrcname]', 'sort_money' => '$GLOBALS[db_moneyname]', 'sort_credit' => '$GLOBALS[db_creditname]', 'sort_digest' => '精华帖', 'sort_onlinetime' => '在线时间', 'sort_postnum' => '发帖', 'sort_todaypost' => '今日发帖', 'sort_monthpost' => '本月发帖', 'sort_monoltime' => '本月在线', 'sort_postMostUser' => '活跃图客', 'sort_digests' => '精华帖', 'sort_currency' => '$GLOBALS[db_currencyname]', 'sort_f_num' => '朋友数',
$type=!is_numeric($key) ? getLangInfo('other','sort_'.$key) : $_CREDITDB[$key][0];
$cachetime = pwFilemtime(D_P."data/bbscache/member_sort.php");if (!$per || !file_exists(D_P."data/bbscache/member_sort.php") || ($timestamp-$cachetime>$per*3600)) {