'王级BOSS', 2=>'普通怪', 3=>'BOSS', 4=>'精英怪', 5=>'任务怪' ); $c=postget('c','int'); if($c)$where2='itfbddid='.$c; $c?$where2=$where2:$where2=''; $b=postget('b','int'); $b?$b:0; //$c=postget('c'); //$c?$c:0; $i_=postget('i','int'); $i_?$i_:0; $i2_=postget('i2','int'); $i2_?$i2_:0; $n_=postget('name'); $n_?$n_:0; $perpage = 20; $page = postget('page','int'); ($page<1)?$page=1:''; $start = ($page-1)*$perpage; $name='怪物'; $title='怪物'; include("header.php"); include("left.php"); ?>

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

"; ?>

query("select distinct(itcmdd),itfbddid from zx_item"); while($row=$db->getarray($result)){ echo "".$row['itcmdd']." "; } echo "

"; //取地图 $result = $db->query("select distinct(itcmdd),itfbddid from zx_item"); while($row=$db->getarray($result)){ //echo "".$row['itcmdd']." "; //$s_itfbddid[]=$row['itfbddid']; $s_[$row['itfbddid']]=$row['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_.'%\''; } $count=$db->getcount("select * from zx_item".$where1); //取表的数据 //$plussql=' LIMIT '.$start.','.$perpage; //$listarr = selecttable('50_eq', array(), $where, $plussql); $plussql='order by itid desc LIMIT '.$start.','.$perpage.''; $listarr = selecttable2('zx_item', array(), $where, $plussql); $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; //.$_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, '?') ? '&' : '?'; */ if($b==0){ $bbb='只显示Boss'; $bburl=$burl.'b=1'; }else{ $bbb='显示所有'; $bburl=$burl.'b=0'; } ?>
300){ $count2=300; }else{ $count2=$count; } echo multi($count2, $perpage, $page, $burl); ?>
"; } ?>
名称 等级 分类 出没地图 怪物血量 怪物经验
 ".$listvalue['itname']."  ".$listvalue['itlevel']."  ".$listvalue['itfl']."  ".$listvalue['itcmdd']."  ".$listvalue['itxl']."  ".$listvalue['itjy']."