'王级BOSS', 2=>'普通怪物', 3=>'异兽类怪物', 4=>'精英怪物', 5=>'特殊怪物' ); //echo $t; //二级分类 $c=postget('c','int'); if($c)$where2='itfbddid="'.$c.'"'; $c?$where2=$where2:$where2=''; if($c){ $t=getvalue("select itcmdd from 50_item where itfbddid='".$c."'","itcmdd"); } $perpage = 20; $page = intval(postget('page')); ($page<1)?$page=1:''; $start = ($page-1)*$perpage; ?>

怪物 getfirst($iisql); echo "---".$xbc['itcmdd']; } ?>

怪物搜索

地图: 怪物类别: 级别: - 名称:

='.$i_; }else{ $where1 = ' where itlevel>='.$i_; } $where[]='itlevel>='.$i_; } if($i2_!=0){ if($where1){ $where1.=' and itlevel<='.$i2_; }else{ $where1 = ' where itlevel<='.$i2_; } $where[]='itlevel<='.$i2_; } if($c!=0){ if($where1){ $where1.=' and itfbddid="'.$c.'"'; }else{ $where1 = ' where itfbddid="'.$c.'"'; } $where[]='itfbddid ="'.$c.'"'; } if($n_!=''){ if($where1){ $where1.=' and itname like \'%'.$n_.'%\''; }else{ $where1 = ' where itname like "%'.$n_.'%"'; } $where[]='itname like \'%'.$n_.'%\''; } //echo $n_.'++'.$where1."
"; $count=$db->getcount("select * from 50_item".$where1); $max_page = ceil($count / $perpage); if($count>0&&($start > $max_page)){ $start = $max_page; } //print_r($where); //取表的数据 $plussql=' order by itid desc LIMIT '.$start.','.$perpage; $listarr = selecttable2('50_item', array(), $where, $plussql); /* $burl="http://".$_SERVER ['HTTP_HOST'].$_SERVER['REQUEST_URI']; $parse_url=parse_url($burl); $url_query=$parse_url["query"]; if($url_query)$burl=ereg_replace('[&?]b=[0-9]','',$burl); $burl .= strpos($burl, '?') ? '&' : '?';*/ $para_str ="?"; $paras = array(); if($m){ $paras[] ="m={$m}"; } if($z){ $paras[]="z={$z}"; } if($c){ $paras[]="c={$c}"; } if($b){ $paras[]="b={$b}"; } if($x){ $paras[]="x={$x}"; } if($i_){ $paras[]="i={$i_}"; } if($i2_){ $paras[] = "i2={$i2_}"; } if($n_){ $paras[] = "name={$n_}"; } if($lc){ $paras[] = "lc={$lc}"; } if($page){ $paras[] = "page={$page}"; } $para_str .= implode("&",$paras);; $burl="http://".$_SERVER ['HTTP_HOST']. $_SERVER['SCRIPT_NAME'].$para_str; //echo $burl; if($b==0){ $bbb='只显示Boss'; $bburl=$burl.'&b=1'; }else{ $bbb='显示所有'; $bburl=$burl.'&b=0'; } //取地址 //echo $b; ?>
      本类共有条记录。
"; } ?>
怪物名字 怪物等级 怪物分类 怪物血量 怪物出没地图
".$listvalue['itname']." ".$listvalue['itlevel']." ".$listvalue['itfl']." ".$listvalue['itxl']." ".$listvalue['itcmdd']."