wollte fragen was ich ändern muss das nur die ban details angezeigt werden.
also menü -> button banliste -> liste der details wird angezeigt.
hier mal der code:
<?php # Copyright by: Tobias Schwarz # Support: www.dastiac.de.gg defined ('main') or die ( 'no direct access' ); $title = $allgAr['title'].' :: Banlist'; $hmenu = 'Banlist'; $design = new design ( $title , $hmenu ); $design->header(); echo ' <a href="?bans&action=details">Ban Details</a> | <a href="?bans&action=banlist">Banlist for banned.cfg</a>'; if($_GET['action'] == "details") { $abf31 = "SELECT * FROM ".DBPREF."bans ORDER BY id DESC"; $erg31 = mysql_query($abf31); while($row = db_fetch_assoc($erg31)) { echo '<center><table class="Cnorm" width="90%" cellpadding="1" border="1" cellspacing="1">'; echo '<tr>'; echo '<td width="35%" align="left">'; echo '<table class="Cmite" width="90%" cellpadding="1" border="0" cellspacing="1">'; echo '<tr>'; echo '<td class="Cmite"><fieldset><legend><b>Nickname:</b></legend>',$row['nickname'],'</fieldset></td>'; echo '</tr>'; echo '<tr>'; echo '<td class="Cmite"><fieldset><legend><b>SteamID:</b></legend>',$row['steamid'],'</fieldset></td>'; echo '</tr>'; echo '<tr>'; echo '<td class="Cmite"><fieldset><legend><b>Admin:</b></legend>',$row['admin'],'</fieldset></td>'; echo '</tr>'; echo '</table>'; echo '</td>'; echo '<td valign="top" class="Cmite">'; echo '<table class="Cnorm" cellpadding="1" border="0" cellspacing="1">'; echo '<tr>'; echo '<td class="Cmite" valign="top" width="65%">'; echo '<fieldset><legend><b>Vergehen:</b></legend>',$row['vergehen'],'</fieldset></td>'; echo '</tr>'; echo '<tr>'; echo '<td class="Cmite" valign="top">'; echo '<fieldset><legend><b>Banlist:</b></legend>banid 0.0 STEAM_',$row['steamid'],'</fieldset></td>'; echo '</tr>'; echo '</table>'; echo '</td>'; echo '</tr>'; echo '</table></center><hr>'; } } if ($_GET['action'] == "banlist") { $abf11 = "SELECT * FROM ".DBPREF."bans ORDER BY id DESC"; $erg11 = mysql_query($abf11); echo '<center><table width="90%" border="0" cellpadding="1" cellspacing="1">'; while($row = db_fetch_assoc($erg11)) { echo '<tr>'; echo '<td class="Cmite">'; echo 'banid 0.0 STEAM_',$row['steamid'],'</td>'; echo '</tr>'; } echo '</table></center><br>'; } echo '<div align="center"><span style="color:#ff0000;">[./</span>banlist.Script by <a href="http://www.dastiac.de.gg">dastiac.de.gg</a><span style="color:#ff0000;">\.]</span>'; $design->footer(); ?>
vielen dank schon mal im vorraus.
mfg littlecrow
verwendete ilchClan Version: 1.1
betroffene Homepage: externer Link