options['tEnable']){ if ($_REQUEST['do'] == 'showinfo' && $_REQUEST['act'] == '') { eval('$navbar = "' . fetch_template('navbar') . '";'); $q = $db->query_read("SELECT * FROM " . TABLE_PREFIX . "user WHERE userid <> 0 ORDER BY current_sp DESC LIMIT 0,10"); while ($get = $db->fetch_array($q)) { $got = $get['current_sp'] - 5; $total = $get['plus_times'] + $get['except_times']; $template_sp .= " $get[username] $get[current_sp] $got $total "; } $q = $db->query_read("SELECT * FROM " . TABLE_PREFIX . "user WHERE userid <> 0 ORDER BY t_level DESC LIMIT 0,10"); while ($get = $db->fetch_array($q)) { $maxEXP = $get['t_level']*10; $template_level .= " $get[username] $get[t_level] $get[current_exp] $maxEXP "; } eval('print_output("' . fetch_template('level_showinfo') . '");'); } if ($_REQUEST['do'] == 'showinfo' && $_REQUEST['act'] == 'next') { eval('$navbar = "' . fetch_template('navbar') . '";'); $vbulletin->input->clean_array_gpc('p', array( 'lvsp_from' => TYPE_INT, 'lvsp_to' => TYPE_INT, 'mucluc' => TYPE_INT, )); $z = $db->query_first("SELECT COUNT(*) AS count FROM " . TABLE_PREFIX . "user WHERE username<>'';"); $from = $vbulletin->GPC['lvsp_from']; $from = ($from<$z['count']) ? $from : $z['count']; $from = ($from>0) ? $from - 1 : 0; $to = $vbulletin->GPC['lvsp_to']; $to = ($to>0) ? $to - 1 : 0; $type = $vbulletin->GPC['mucluc']; $order = ($type==0) ? "t_level" : "current_sp"; $q = $db->query_read("SELECT * FROM " . TABLE_PREFIX . "user WHERE userid <> 0 ORDER BY $order DESC LIMIT $from,$to"); while ($get = $db->fetch_array($q)) { if($type) { $got = $get['current_sp'] - 5; $total = $get['plus_times'] + $get['except_times']; $template_sp .= " $get[username] $get[current_sp] $got $total "; $display_lv = "display:none"; } else { $maxEXP = $get['t_level']*10; $template_level .= " $get[username] $get[t_level] $get[current_exp] $maxEXP "; $display_sp = "display:none"; } } eval('print_output("' . fetch_template('level_showinfo') . '");'); }} ?> Who Posted? - Diễn đàn Thế Giới Hoá Học
Who Posted?
Tổng số bài: 37
Tên thành viên Posts
nguyenquocbao1994 3
DeepSpace 2
daicong 2
chocolatenoir 1
_aRin_ 1
Firemonter_199X 1
vuduchuan 1
hoang.pham29 1
Molti 1
cậu2singum 1
vuduc0166 1
nhimcute1996 1
new_sky_tk 1
phanhoj 1
hungchat 1
tocxu.cute 1
giangcoikx 1
hg_hl 1
ngonnenchay 1
ngo van tuan 1
manminhtiep 1
huyenden68 1
hoang long nu 1
SushjNhatBan[BBno.1] 1
saovang 1
chieclavang 1
diepgl 1
camvan1989 1
vinhquang 1
Boron_uranium 1
pulo 1
nnes 1
boo 1