1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | <?php # Copyright by Manuel Staechele # Support www.ilch.de defined ( 'main' ) or die ( 'no direct access' ); $abf = 'SELECT * FROM prefix_news WHERE news_recht >= '.$_SESSION[' authright '].' ORDER BY news_time DESC LIMIT 0,5'; $erg = db_query( $abf ); echo '<table>' ; while ( $row = db_fetch_object( $erg )) { echo '<tr><td valign="top"><b> » </b></td><td><b><a class="box" href="index.php?news-' . $row ->news_id. '">' . $row ->news_title. '"><img src="index.php?news-' . $row ->news_id. '">' . $row ->news_kat. '"/></a></b></td></tr>' ; } echo '</table>' ; ?> |
so habe ich es bis jetzt probiert ...