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: 35
Tên thành viên Posts
ncaothach 2
hai_uyen_ngok 2
cattuongms 2
Tomatic 1
newnew 1
tourism-mag 1
tuaninex 1
hoang tu hoa 1
minh2620000 1
ktxmember 1
ngoquanghieu 1
Molti 1
ultima_86 1
NguyenHaoNam 1
bồ công anh 1
Mr_cloud 1
chemist_br 1
mis_ju_anh_nhiu9x 1
nguyenquocbao1994 1
Firemonter_199X 1
Hoàng Dương 1
bx_ngox 1
trannguyen 1
hoangtuchem 1
OnlyC 1
baby_sir0_dang_yeu 1
nguyencyberchem 1
khang_chemvn 1
Axit tinh yeu 1
nguyen_lan 1
untilyou 1
cool_elf_9x 1