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: 150
Tên thành viên Posts
Hồ Sỹ Phúc 38
Trần Văn Quyết 18
giotnuoctrongbienca 15
Final_Element 5
minhtruc 4
tranlevanthanh 3
hocmai14 3
socute_no1 3
amiamie 3
analytic 3
Bo_2Q 3
napoleon9 2
neverdead.12 2
meo u 2
diepgl 2
anhtu271991 2
funny_diary 2
dongvan_vn 2
cuavua 2
Ulrich 2
lieu 1
Ngài Bin (Mr.Bean) 1
minhduy2110 1
buon qua 1
Love_chem_lqd 1
anhtuan_a3_92 1
bobo10 1
quang nguyen thanh 1
longraihoney 1
duongqua28 1
meomeogaugau26 1
cherub_myd 1
minhienbk 1
quoccuong 1
kuteboy109 1
quachtinh 1
chuotnung 1
cattuongms 1
Admin 1
maruko206 1
viethoalqd 1
packeunkyo 1
nguyenduyluu14 1
AQ! 1
thoa 1
kidvn3000 1
hieu-manu 1
ngọc hoàng 1
Trunks 1
darks 1
glory 1
meopoka 1
firefly 1
mendeleep 1