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: 177
Tên thành viên Posts
Hồ Sỹ Phúc 30
giotnuoctrongbienca 22
dunghitman 10
tieulytamhoan 9
hoacamtu24 8
rubykhtn 6
New_P 5
solomen2812 5
sakura1234 4
Trần Văn Quyết 4
cherub_myd 4
tronganhmn 3
lanrom_chem 3
amour de chimie 3
thelucky1 3
missile 3
lesau 2
quanss 2
Ngài Bin (Mr.Bean) 2
Temple 2
huy_hpt 2
minhduc14888 2
socute_no1 2
Teppi 2
hankiner215 2
Công Hưng 2
bakero 1
KhoaiLang90 1
ThanhViet 1
indios_kt172 1
trannguyen 1
pinky136 1
Trăng Khuyết 1
suoinguonyeuthuong 1
hocmai14 1
badboy 1
Thanh Khuyen 1
taothuanph 1
tanthuyhoang_nct 1
tepcon 1
ngocnghiak20 1
bicycle2007 1
Lê Duy Thanh 1
damagacpt 1
lethithien0210 1
bachlam 1
lanh29 1
nkq_55 1
AQ! 1
hthailong 1
nguoidien 1
tungphuong 1
Hoàng Dương 1
downnload6888 1
sol7979 1
Gau con 1
Bo_2Q 1
Lâm Hoàng Hưng 1
Ngoaidao 1
bety 1
ductrungnt 1