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: 111
Tên thành viên Posts
Molti 10
nhật thập 7
heohoang 6
lemaiquan 6
pinocchiohg 5
quyvuongtrolai 3
hoang tu hoa 2
tolaminh_09 2
rong_boy_95 2
khang_chemvn 2
vânpro^`95 2
zuzu 2
daoyen_a1 2
dangtrinhlvl 2
nguyen quynh nhung 2
melodyconan 2
tran tranh cong 2
nnes 1
Kitty_tdn 1
vanadi 1
minhnguyet_moon 1
valentino_102a4 1
9thwonderoftheworld 1
vinhke001 1
baby 1
EunAe_94 1
hoangtuchem 1
cattuongms 1
matroilh 1
Nguyễn thị thanh tâm 1
pamnie 1
cao quy 1
MinMax5994 1
nameless9495 1
tranthithuhau 1
Đỗ Thiên Anh 1
chemistrybook 1
+_pikah_+ 1
conan193 1
lopads1994 1
Tomatic 1
LenPompOm 1
hung94a1 1
luthanhxuan 1
sut137 1
nhen 1
ohoangthotinh 1
boy99 1
hieucrazy 1
zeldery 1
addniim 1
minhha_sh 1
x.dk 1
sbs 1
nhanyy 1
geek 1
cop5Q 1
kimthuy919 1
Herb_hhorg 1
jaracel_33 1
the_men 1
samurai_king 1
dst 1
silvery_mc2 1
hoangan108 1
Nấm Puchimon 1
orukasakura 1
Boyhoa-16 1
pham minh chieu 1