summaryrefslogtreecommitdiff
path: root/www-ssl/nonpublic/engelbesprechung.php
diff options
context:
space:
mode:
authorMoritz helios Rudert <helios@planetcyborg.de>2011-06-01 12:13:39 +0200
committerMoritz helios Rudert <helios@planetcyborg.de>2011-06-01 12:13:39 +0200
commit75448045cfe70054c8f4bae1bcfaf9bb0f70d330 (patch)
tree6a4d3d35019cdf933c1816e8522dc5d2557f5238 /www-ssl/nonpublic/engelbesprechung.php
parent12e0b0d809c29d435a247798d7318cc9835980ea (diff)
fixes
Diffstat (limited to 'www-ssl/nonpublic/engelbesprechung.php')
-rw-r--r--[-rwxr-xr-x]www-ssl/nonpublic/engelbesprechung.php46
1 files changed, 18 insertions, 28 deletions
diff --git a/www-ssl/nonpublic/engelbesprechung.php b/www-ssl/nonpublic/engelbesprechung.php
index ea5c6e3c..0f2892b7 100755..100644
--- a/www-ssl/nonpublic/engelbesprechung.php
+++ b/www-ssl/nonpublic/engelbesprechung.php
@@ -1,37 +1,27 @@
<?php
-$title = "Himmel";
-$header = "Engelbesprechung";
-include ("../../../camp2011/includes/header.php");
-?>
-
-<br>
-
-<?php
+ $title = "Himmel";
+ $header = "Engelbesprechung";
+ include "../../../camp2011/includes/header.php";
-$SQL = "SELECT * FROM `News` ORDER BY 'Datum' DESC";
-$Erg = mysql_query($SQL, $con);
+ $SQL = "SELECT * FROM `News` ORDER BY 'Datum' DESC";
+ $Erg = mysql_query($SQL, $con);
-// anzahl zeilen
-$Zeilen = mysql_num_rows($Erg);
+ // 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>";
-
- // 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>";
+ for ($n = 0 ; $n < $Zeilen ; $n++) {
+ if (mysql_result($Erg, $n, "Treffen") == "1") {
+ echo "<p class='question'><u>" . mysql_result($Erg, $n, "Betreff") . "</u>";
- echo "<br>&nbsp; &nbsp;<font size=1>".mysql_result($Erg, $n, "Datum").", ";
- echo UID2Nick(mysql_result($Erg, $n, "UID"))."</font></p>\n";
+ // Show 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 "<p class='answetion'>".nl2br(mysql_result($Erg, $n, "Text"))."</p>\n";
+ 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";
+ }
}
-}
-
-include ("../../../camp2011/includes/footer.php");
+ include ("../../../camp2011/includes/footer.php");
?>