|
|
@ -282,8 +282,9 @@ function displayNPCOverview() {
|
|
|
|
$desc_array = array('id', 'Name', 'Level');
|
|
|
|
$desc_array = array('id', 'Name', 'Level');
|
|
|
|
|
|
|
|
|
|
|
|
$sql = 'SELECT '.join($d_array,',').' from chars where rasse = \'NPC\' ORDER BY level';
|
|
|
|
$sql = 'SELECT '.join($d_array,',').' from chars where rasse = \'NPC\' ORDER BY level';
|
|
|
|
$qry = mysql_query($sql.' LIMIT '.($page*20).', 20');
|
|
|
|
//$qry = mysql_query($sql.' LIMIT '.($page*20).', 20');
|
|
|
|
$anzahlSeiten = ceil(mysql_num_rows(mysql_query($sql))/20);
|
|
|
|
$qry = mysql_query($sql);
|
|
|
|
|
|
|
|
//$anzahlSeiten = ceil(mysql_num_rows(mysql_query($sql))/20);
|
|
|
|
$colspan = count($d_array);
|
|
|
|
$colspan = count($d_array);
|
|
|
|
echo "\t".'<tr><td colspan="'.$colspan.'"><h1 style="text-align:center">Übersicht</h1></td></tr>'."\n";;
|
|
|
|
echo "\t".'<tr><td colspan="'.$colspan.'"><h1 style="text-align:center">Übersicht</h1></td></tr>'."\n";;
|
|
|
|
echo "\t".'<tr>'."\n";
|
|
|
|
echo "\t".'<tr>'."\n";
|
|
|
|