NPC getfirst($eeesql); echo " - ".$xbc['NPCDistribute'].""; } ?>

query("select distinct(NPCDistribute),npcdisid from zx_npc where npcdisid!=''"); while($row=$db->getarray($result)){ echo "".$row['NPCDistribute']." "; } echo "

"; //分页 //echo $where1."+++++++"; if($c){ $where1=' where npcdisid='.$c.''; $where[]='npcdisid='.$c.''; } $count=$db->getcount("select * from zx_npc".$where1); $where[]="npcdisid != ''"; //取表的数据 //$plussql=' LIMIT '.$start.','.$perpage; //$listarr = selecttable('50_eq', array(), $where, $plussql); $plussql='order by npcid desc LIMIT '.$start.','.$perpage.''; $listarr = selecttable2('zx_npc', 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);; $mpurl="http://".$_SERVER ['HTTP_HOST']. $_SERVER['SCRIPT_NAME'].$para_str; ?>
300){ $count2=300; }else{ $count2=$count; } echo multi($count2, $perpage, $page, $mpurl); ?>
"; } ?>
NPC名字 NPC名言 坐标
 ".$listvalue['npcname']."  ".$listvalue['npcsort']."  ".$listvalue['NPCDistribute'].":".$listvalue['mapX'].",".$listvalue['mapY']."