='$learnd_level_min'"; if($learnd_level_max) $cond .= " and learnd_level<='$learnd_level_min'"; } $sql = "select count(*) from ".DB_PREFIX."skills_new where skill_level=1 $cond"; $total_num = $db->fetch_val($sql); $show_num = $total_num; if($total_num>$SHOW_TOTAL_NUM) $total_num = $SHOW_TOTAL_NUM; //分页 //$param = preg_replace("/&page=[0-9]*/is","",$_SERVER["QUERY_STRING"]); $para_str ="?"; $paras = array(); if($skill_name){ $paras[] ="skill_name={$skill_name}"; } if($menpai){ $paras[]="menpai={$menpai}"; } if($paixi){ $paras[]="paixi={$paixi}"; } if($learnd_level_min){ $paras[]="learnd_level_min={$learnd_level_min}"; } if($learnd_level_max){ $paras[]="learnd_level_max={$learnd_level_max}"; } if($id){ $paras[]="id={$id}"; } if($t){ $paras[]="t={$t}"; } if($search){ $paras[]="search={$search}"; } $param = implode("&",$paras);; $page_num = ceil($total_num/$PAGE_VIEW_NPC); if($page<1||$page>$page_num) $page = 1; //页数修正 if($page<$page_num) { $pgnext = "下一页"; }else { $pgnext = "下一页"; } if($page>1) { $pgprev = "上一页"; }else { $pgprev = "上一页"; } $start = ($page-1)*$PAGE_VIEW_NPC+1; if($page<$page_num) { $end = $start+$PAGE_VIEW_NPC-1; }else { $end =$total_num; } //门派列表 foreach($menpai_short as $key=>$val) { $menpai_list .="$val | "; $menpai_option .= ""; } $menpai_list .="元魂珠被动技能 | 元魂珠主动技能"; //导航 $navigation = ""; if($id>0) { $navigation = $menpai_ary[$id]; }elseif($t=='b') { $navigation = "元魂珠被动技能"; }elseif($t=='z') { $navigation = "元魂珠主动技能"; }elseif($_GET["search"]) { $navigation = "搜索结果"; }else { $navigation = "全部"; } ?>

《天下贰》游戏主题站

关于多玩 | 多玩招聘 | 联系多玩 | 商务合作:020-85521516 | 24小时客服热线:13728076034
Copyright © 2005-2008 DuoWan.com [多玩游戏] ICP证编号:粤B2-20050785