Kết quả 1 đến 1 của 1
Chủ đề: hỗ trợ tân thủ bản v.5.13.04.30
-
03-05-13, 04:47 PM #1
- Ngày tham gia
- May 2012
- Bài viết
- 2,329
- Thanks
- 870
- Thanked 588 Times in 454 Posts
hỗ trợ tân thủ bản v.5.13.04.30
Mình đang cần - đọc code chút thấy mệt quá
anh em nào xử lý dc ko cần key mình xin hậu tạ vui lòng để lại YM
bản cũ :
Code://Begin hỗ trợ tân thủ $info_hotro = 0; if ($hotrotanthu == 1) { if( ($capsudung >= 1) && ($cap1_reset_min<=$_SESSION['nv_reset'] && $_SESSION['nv_reset']<=$cap1_reset_max) && ($cap1_relife_min<=$_SESSION['nv_relife'] && $_SESSION['nv_relife']<=$cap1_relife_max) ) { $level = $level - $cap1_levelgiam; $info_hotro = 1; $level_giam = $cap1_levelgiam; } elseif( ($capsudung >= 2) && ($cap2_reset_min<=$_SESSION['nv_reset'] && $_SESSION['nv_reset']<=$cap2_reset_max) && ($cap2_relife_min<=$_SESSION['nv_relife'] && $_SESSION['nv_relife']<=$cap2_relife_max) ) { $level = $level - $cap2_levelgiam; $info_hotro = 1; $level_giam = $cap2_levelgiam; } elseif( ($capsudung >= 3) && ($cap3_reset_min<=$_SESSION['nv_reset'] && $_SESSION['nv_reset']<=$cap3_reset_max) && ($cap3_relife_min<=$_SESSION['nv_relife'] && $_SESSION['nv_relife']<=$cap3_relife_max) ) { $level = $level - $cap3_levelgiam; $info_hotro = 1; $level_giam = $cap3_levelgiam; } elseif( ($capsudung >= 4) && ($cap4_reset_min<=$_SESSION['nv_reset'] && $_SESSION['nv_reset']<=$cap4_reset_max) && ($cap4_relife_min<=$_SESSION['nv_relife'] && $_SESSION['nv_relife']<=$cap4_relife_max) ) { $level = $level - $cap4_levelgiam; $info_hotro = 1; $level_giam = $cap4_levelgiam; } elseif( ($capsudung >= 5) && ($cap5_reset_min<=$_SESSION['nv_reset'] && $_SESSION['nv_reset']<=$cap5_reset_max) && ($cap5_relife_min<=$_SESSION['nv_relife'] && $_SESSION['nv_relife']<=$cap5_relife_max) ) { $level = $level - $cap5_levelgiam; $info_hotro = 1; $level_giam = $cap5_levelgiam; } } //End hỗ trợ tân thủ
Mới v5.13.04.30
cái trong modules\char_manager\reset
Code://Begin hỗ trợ tân thủ if ($hotrotanthu == 1) { $info_hotro = 1; if($char_in_top == 1) { $info_hotro = 0; $level_config = $level; $level_reset = $level_config; $level_show = "<strong>{$level}</strong>"; $level_giam = 0; } elseif($char_in_top == 2) { $level_config = $level; $level_reset = $level_config - $top2_rsredure; $level_show = "{$level_reset} <font size=1>(<i><s>$level_config</s></i>)</font>"; $level_giam = $top2_rsredure; } elseif($char_in_top == 3) { $level_config = $level; $level_reset = $level_config - $top3_rsredure; $level_show = "<strong>{$level_reset}</strong> <font size=1>(<i><s>$level_config</s></i>)</font>"; $level_giam = $top3_rsredure; } elseif($char_in_top == 4) { $level_config = $level; $level_reset = $level_config - $top4_rsredure; $level_show = "<strong>{$level_reset}</strong> <font size=1>(<i><s>$level_config</s></i>)</font>"; $level_giam = $top4_rsredure; } elseif($char_in_top >4 && $char_in_top<=10) { $level_config = $level; $level_reset = $level_config - $top10_rsredure; $level_show = "<strong>{$level_reset}</strong> <font size=1>(<i><s>$level_config</s></i>)</font>"; $level_giam = $top10_rsredure; } elseif($char_in_top >10 && $char_in_top<=20) { $level_config = $level; $level_reset = $level_config - $top20_rsredure; $level_show = "<strong>{$level_reset}</strong> <font size=1>(<i><s>$level_config</s></i>)</font>"; $level_giam = $top20_rsredure; } elseif($char_in_top >20 && $char_in_top<=30) { $level_config = $level; $level_reset = $level_config - $top30_rsredure; $level_show = "<strong>{$level_reset}</strong> <font size=1>(<i><s>$level_config</s></i>)</font>"; $level_giam = $top30_rsredure; } elseif($char_in_top >30 && $char_in_top<=40) { $level_config = $level; $level_reset = $level_config - $top40_rsredure; $level_show = "<strong>{$level_reset}</strong> <font size=1>(<i><s>$level_config</s></i>)</font>"; $level_giam = $top40_rsredure; } elseif($char_in_top >40 && $char_in_top<=50) { $level_config = $level; $level_reset = $level_config - $top50_rsredure; $level_show = "<strong>{$level_reset}</strong> <font size=1>(<i><s>$level_config</s></i>)</font>"; $level_giam = $top50_rsredure; } else { $char_in_top = '>50'; $level_config = $level; $level_reset = $level_config - $top50_over_rsredure; $level_show = "<strong>{$level_reset}</strong> <font size=1>(<i><s>$level_config</s></i>)</font>"; $level_giam = $top50_over_rsredure; } } else { $level_config = $level; $level_reset = $level_config; $level_show = "<strong>{$level}</strong>"; $level_giam = 0; $info_hotro = 0; } //End hỗ trợ tân thủ
Khách viếng thăm hãy cùng The Gamer xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!