From a537f4bf73101c467af3b01db32fcdb9fd0a91ce Mon Sep 17 00:00:00 2001
From: Philip Häusler
Date: Wed, 1 Jun 2011 14:48:31 +0200
Subject: bootstrapping
---
www-ssl/nonpublic/engelbesprechung.php | 40 ++++++++++++++++++----------------
1 file changed, 21 insertions(+), 19 deletions(-)
(limited to 'www-ssl/nonpublic/engelbesprechung.php')
diff --git a/www-ssl/nonpublic/engelbesprechung.php b/www-ssl/nonpublic/engelbesprechung.php
index 0f2892b7..7ff684d4 100644
--- a/www-ssl/nonpublic/engelbesprechung.php
+++ b/www-ssl/nonpublic/engelbesprechung.php
@@ -1,27 +1,29 @@
" . mysql_result($Erg, $n, "Betreff") . "";
+// anzahl zeilen
+$Zeilen = mysql_num_rows($Erg);
- // Show Admin Page
- if($_SESSION['CVS']["admin/news.php"] == "Y")
- echo " [edit]";
+for ($n = 0; $n < $Zeilen; $n++) {
+ if (mysql_result($Erg, $n, "Treffen") == "1") {
+ echo "" . mysql_result($Erg, $n, "Betreff") . "";
- echo "
".mysql_result($Erg, $n, "Datum").", ";
- echo UID2Nick(mysql_result($Erg, $n, "UID"))."
\n";
- echo "".nl2br(mysql_result($Erg, $n, "Text"))."
\n";
- }
- }
+ // Show Admin Page
+ if ($_SESSION['CVS']["admin/news.php"] == "Y")
+ echo " [edit]";
- include ("../../../camp2011/includes/footer.php");
+ echo "
" . mysql_result($Erg, $n, "Datum") . ", ";
+ echo UID2Nick(mysql_result($Erg, $n, "UID")) . "
\n";
+ echo "" . nl2br(mysql_result($Erg, $n, "Text")) . "
\n";
+ }
+}
+
+include ("includes/footer.php");
?>
--
cgit v1.2.3-70-g09d2