diff --git a/ag/gm/include/npc.inc.php b/ag/gm/include/npc.inc.php index ce6b618..e4acbd5 100644 --- a/ag/gm/include/npc.inc.php +++ b/ag/gm/include/npc.inc.php @@ -282,8 +282,9 @@ function displayNPCOverview() { $desc_array = array('id', 'Name', 'Level'); $sql = 'SELECT '.join($d_array,',').' from chars where rasse = \'NPC\' ORDER BY level'; - $qry = mysql_query($sql.' LIMIT '.($page*20).', 20'); - $anzahlSeiten = ceil(mysql_num_rows(mysql_query($sql))/20); + //$qry = mysql_query($sql.' LIMIT '.($page*20).', 20'); + $qry = mysql_query($sql); + //$anzahlSeiten = ceil(mysql_num_rows(mysql_query($sql))/20); $colspan = count($d_array); echo "\t".'

Übersicht

'."\n";; echo "\t".''."\n";