diff options
Diffstat (limited to 'www-ssl/nonpublic/news_output.php')
-rwxr-xr-x | www-ssl/nonpublic/news_output.php | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/www-ssl/nonpublic/news_output.php b/www-ssl/nonpublic/news_output.php index 1e4a349d..6c6fb8ff 100755 --- a/www-ssl/nonpublic/news_output.php +++ b/www-ssl/nonpublic/news_output.php @@ -27,17 +27,21 @@ $Erg = mysql_query($SQL, $con); // anzahl zeilen $news_rows = mysql_num_rows($Erg); -for ($n = 0 ; $n < $news_rows ; $n++) { +for ($n = 0 ; $n < $news_rows ; $n++) +{ - if (mysql_result($Erg, $n, "Treffen") == 0) { + if (mysql_result($Erg, $n, "Treffen") == 0) echo "<p class='question'>"; - } else { + else echo "<p class='engeltreffen'>"; - } - echo "<u>".mysql_result($Erg, $n, "Betreff")."</u><br>\n"; + + echo "<u>".mysql_result($Erg, $n, "Betreff")."</u>\n"; + // Schow Admin Page + if( $_SESSION['CVS'][ "admin/news.php" ] == "Y" ) + echo " <a href=\"./../admin/news.php?action=change&date=". mysql_result($Erg, $n, "Datum"). "\">[edit]</a><br>\n\t\t"; - echo " <font size=1>".mysql_result($Erg, $n, "Datum").", "; + echo "<br> <font size=1>".mysql_result($Erg, $n, "Datum").", "; echo UID2Nick(mysql_result($Erg, $n, "UID"))."</font>"; // avatar anzeigen? echo DisplayAvatar (mysql_result($Erg, $n, "UID")); |