kann mir jemand weiter helfen
die allianz box ist auf meine seite falls jemand wissen will welche ich meine
<?php # Copyright by Manuel # Support www.ilch.de defined ('main') or die ( 'no direct access' ); $i = 0; $z = 2; $allyAnzahl = $allgAr['Aanz']; if ( $allgAr['Aart'] == 1 ) { $sqlORDER = 'pos'; } else { $sqlORDER = 'RAND()'; } $allyNameAr = array(); $allyLinkAr = array(); $allyBanaAr = array(); $allyAktAnz = 0; $allyAbf = 'SELECT * FROM `prefix_partners` ORDER BY '.$sqlORDER.' LIMIT 0,'.$allyAnzahl; $allyErg = db_query($allyAbf); if ( db_num_rows($allyErg) > 0) { echo '<table border="0" cellspacing="0" cellpadding="0" align="center">'; while($allyRow = db_fetch_object($allyErg)) { $count = @db_result(db_query("SELECT count(id) FROM prefix_partners")); if($i%$z == 0) { if (($allyRow->id == $count) AND ($i%$z != $z-1)) { echo '<tr>'; echo '<td height="2"><a class="box" href="'.$allyRow->link.'" target="_blank">'; if ( empty ($allyRow->banner) OR $allyRow->banner == 'http://' ) { echo $allyRow->name; } else { echo '<img src="'.$allyRow->banner.'" alt="'.$allyRow->name.'" border="0">'; } echo '</a></td><td width="11"></td><td></td></tr>'; } else { echo '<tr>'; echo '<td><a class="box" href="'.$allyRow->link.'" target="_blank">'; if ( empty ($allyRow->banner) OR $allyRow->banner == 'http://' ) { echo $allyRow->name; } else { echo '<img src="'.$allyRow->banner.'" alt="'.$allyRow->name.'" border="0">'; } echo '</a></td><td width="11"></td>'; } } if($i%$z == $z-1) { echo '<td><a class="box" href="'.$allyRow->link.'" target="_blank">'; if ( empty ($allyRow->banner) OR $allyRow->banner == 'http://' ) { echo $allyRow->name; } else { echo '<img src="'.$allyRow->banner.'" alt="'.$allyRow->name.'" border="0">'; } echo '</a></td></tr><tr><td colspan="3" height="2"></td></tr>'; } $i++; } echo '</table>'; } ?>
verwendete ilchClan Version: 1.1
betroffene Homepage: externer Link
Zuletzt modifiziert von h-man am 06.07.2008 - 01:55:55