summaryrefslogtreecommitdiff
path: root/www-ssl/nonpublic/engelbesprechung.php
diff options
context:
space:
mode:
Diffstat (limited to 'www-ssl/nonpublic/engelbesprechung.php')
-rw-r--r--www-ssl/nonpublic/engelbesprechung.php40
1 files changed, 21 insertions, 19 deletions
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 @@
<?php
- $title = "Himmel";
- $header = "Engelbesprechung";
- include "../../../camp2011/includes/header.php";
+require_once ('../bootstrap.php');
- $SQL = "SELECT * FROM `News` ORDER BY 'Datum' DESC";
- $Erg = mysql_query($SQL, $con);
+$title = "Himmel";
+$header = "Engelbesprechung";
+include "includes/header.php";
- // anzahl zeilen
- $Zeilen = mysql_num_rows($Erg);
+$SQL = "SELECT * FROM `News` ORDER BY 'Datum' DESC";
+$Erg = mysql_query($SQL, $con);
- for ($n = 0 ; $n < $Zeilen ; $n++) {
- if (mysql_result($Erg, $n, "Treffen") == "1") {
- echo "<p class='question'><u>" . mysql_result($Erg, $n, "Betreff") . "</u>";
+// anzahl zeilen
+$Zeilen = mysql_num_rows($Erg);
- // 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>";
+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";
- echo "<p class='answetion'>".nl2br(mysql_result($Erg, $n, "Text"))."</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>";
- include ("../../../camp2011/includes/footer.php");
+ 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 ("includes/footer.php");
?>