From b91450e558455d704cd0d09504b503be9eacd590 Mon Sep 17 00:00:00 2001 From: cookie Date: Thu, 30 Nov 2006 10:49:24 +0000 Subject: newsverwaltung erweitert, add edit bouten und parameter check git-svn-id: svn://svn.cccv.de/engel-system@187 29ba0400-6e00-0410-a75a-ca02368028f8 --- www-ssl/nonpublic/engelbesprechung.php | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'www-ssl/nonpublic/engelbesprechung.php') diff --git a/www-ssl/nonpublic/engelbesprechung.php b/www-ssl/nonpublic/engelbesprechung.php index 436a5271..84bd92b5 100755 --- a/www-ssl/nonpublic/engelbesprechung.php +++ b/www-ssl/nonpublic/engelbesprechung.php @@ -15,12 +15,21 @@ $Erg = mysql_query($SQL, $con); // anzahl zeilen $Zeilen = mysql_num_rows($Erg); -for ($n = 0 ; $n < $Zeilen ; $n++) { - if (mysql_result($Erg, $n, "Treffen")=="1") { - echo "

".mysql_result($Erg, $n, "Betreff")."
". - "   ".mysql_result($Erg, $n, "Datum").", "; +for ($n = 0 ; $n < $Zeilen ; $n++) +{ + if (mysql_result($Erg, $n, "Treffen")=="1") + { + echo "

".mysql_result($Erg, $n, "Betreff").""; + + // Schow Admin Page + if( $_SESSION['CVS'][ "admin/news.php" ] == "Y" ) + echo " [edit]"; + + echo "
   ".mysql_result($Erg, $n, "Datum").", "; echo UID2Nick(mysql_result($Erg, $n, "UID"))."

\n"; - echo "

".nl2br(mysql_result($Erg, $n, "Text"))."

\n"; + + + echo "

".nl2br(mysql_result($Erg, $n, "Text"))."

\n"; } } -- cgit v1.2.3-54-g00ecf