'warrior', 2=>'fighter', 3=>'knight', 4=>'mage', 5=>'wizard', 6=>'elementallist', 7=>'scout', 8=>'assassin', 9=>'ranger', 10=>'cleric', 11=>'priest', 12=>'chanter' ); $czyn=array( '1'=>'战士', '2'=>'侦查者', '3'=>'法师', '4'=>'祭师', '5'=>'剑星', '6'=>'守护星', '7'=>'杀星', '8'=>'弓星', '9'=>'魔道星', '10'=>'精灵星', '11'=>'护法星', '12'=>'治愈星', '13'=>'全部' ); $zzn=array(1=>'天族',2=>'魔族',3=>'全部'); $aa=array( 'Passive'=>'被动', 'Active'=>'主动', 'Toggle'=>'触发', 'Maintain'=>'持续', 'Provoked'=>'激发' ); $z=(int)postget('z'); $c=(int)postget('c'); $n=postget('n'); $l=(int)postget('l'); $l2=(int)postget('l2'); $t=(int)postget('t'); if($z)$where=' zy_id="'.$z.'"'; if(isset($where)){ if($c)$where.=' and zz="'.$c.'"'; }else{ if($c)$where.=' zz="'.$c.'"'; } if(isset($where)){ if($n)$where.=' and desc_1 like "%'.$n.'%"'; }else{ if($n)$where.=' desc_1 like "%'.$n.'%"'; } if(isset($where)){ if($l)$where.=' and level >= '.$l.''; }else{ if($l)$where.=' level >= '.$l.''; } if(isset($where)){ if($l2)$where.=' and level <= '.$l2.''; }else{ if($l2)$where.=' level <= '.$l2.''; } if(isset($where)){ if($t)$where.=' and fl2 = '.$t.''; }else{ if($t)$where.=' fl2 = '.$t.''; } if(isset($where)){ $where.=' and flag = 0'; }else{ $where.=' flag = 0'; } $perpage = 20; $page = intval(postget('page')); if($page>15)$page=15; ($page<1)?$page=1:''; $start = ($page-1)*$perpage; $url="http://".$_SERVER ['HTTP_HOST'].$_SERVER['REskill_URI']; $parse_url=parse_url($url); $url_query=$parse_url["query"]; if($url_query)$curl=ereg_replace('[&?]c=[0-9]','',$url); $curl=str_replace('php&','php?',$curl); $curl .= strpos($curl, '?') ? '&' : '?'; //取统计数值 if($where){$where1=' where '.$where;}else{$where1='';} $count=$db->getcount("select id from skill".$where1); //取哪一些字段 $zd=array('id','pid','skillicon_name','desc_1','zz','level','xxfs','activation_attribute','zy_id'); //取表的数据 $plussql=' order by level desc LIMIT '.$start.','.$perpage; $listarr = selecttable('skill', $zd, $where, $plussql); ?>
'.$czyn[$z].''; ?>
技能
职业: $zy_v){ echo ''.$zy_v.''; } ?>
种族:天族魔族全部
类型:烙印DP技能被动一般
名称: 等级: 类型: 职业:  
-
一共有条记录
'; } ?>
名称 等级 职业 种族 学习方式 类型
'.$listvalue['desc_1'].' '.$listvalue['level'].' '.$czyn[$listvalue['zy_id']].' '.$zzn[$listvalue['zz']].' '.$listvalue['xxfs'].' '.$aa[$listvalue['activation_attribute']].'
一共有条记录