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:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | <?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