summaryrefslogtreecommitdiff
path: root/www-ssl/nonpublic/engelbesprechung.php
diff options
context:
space:
mode:
authorcookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2006-11-30 10:49:24 +0000
committercookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2006-11-30 10:49:24 +0000
commitb91450e558455d704cd0d09504b503be9eacd590 (patch)
tree056ee0a7c2e99443b63e0bac5c69ea35aa11708d /www-ssl/nonpublic/engelbesprechung.php
parent02a7b492a8f3102e8cbba4607bde906b565b1aee (diff)
newsverwaltung erweitert, add edit bouten und parameter check
git-svn-id: svn://svn.cccv.de/engel-system@187 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'www-ssl/nonpublic/engelbesprechung.php')
-rwxr-xr-xwww-ssl/nonpublic/engelbesprechung.php19
1 files changed, 14 insertions, 5 deletions
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 "<p class='question'><u>".mysql_result($Erg, $n, "Betreff")."</u><br>".
- "&nbsp; &nbsp;<font size=1>".mysql_result($Erg, $n, "Datum").", ";
+for ($n = 0 ; $n < $Zeilen ; $n++)
+{
+ if (mysql_result($Erg, $n, "Treffen")=="1")
+ {
+ echo "<p class='question'><u>".mysql_result($Erg, $n, "Betreff")."</u>";
+
+ // 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>";
+
+ echo "<br>&nbsp; &nbsp;<font size=1>".mysql_result($Erg, $n, "Datum").", ";
echo UID2Nick(mysql_result($Erg, $n, "UID"))."</font></p>\n";
- echo "<p class='answetion'>".nl2br(mysql_result($Erg, $n, "Text"))."</p>\n";
+
+
+ echo "<p class='answetion'>".nl2br(mysql_result($Erg, $n, "Text"))."</p>\n";
}
}