2005-09-10 19:25:43 +02:00
|
|
|
<?php
|
2011-06-01 14:48:31 +02:00
|
|
|
require_once ('../bootstrap.php');
|
2005-09-10 19:25:43 +02:00
|
|
|
|
2011-06-01 14:48:31 +02:00
|
|
|
$title = "Himmel";
|
|
|
|
$header = "Engelbesprechung";
|
|
|
|
include "includes/header.php";
|
2005-09-10 19:25:43 +02:00
|
|
|
|
2011-06-01 14:48:31 +02:00
|
|
|
$SQL = "SELECT * FROM `News` ORDER BY 'Datum' DESC";
|
|
|
|
$Erg = mysql_query($SQL, $con);
|
2005-09-10 19:25:43 +02:00
|
|
|
|
2011-06-01 14:48:31 +02:00
|
|
|
// anzahl zeilen
|
|
|
|
$Zeilen = mysql_num_rows($Erg);
|
2006-11-30 11:49:24 +01:00
|
|
|
|
2011-06-01 14:48:31 +02:00
|
|
|
for ($n = 0; $n < $Zeilen; $n++) {
|
|
|
|
if (mysql_result($Erg, $n, "Treffen") == "1") {
|
|
|
|
echo "<p class='question'><u>" . mysql_result($Erg, $n, "Betreff") . "</u>";
|
2006-11-30 11:49:24 +01:00
|
|
|
|
2011-06-01 14:48:31 +02:00
|
|
|
// 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>";
|
2005-09-10 19:25:43 +02:00
|
|
|
|
2011-06-01 14:48:31 +02:00
|
|
|
echo "<br /> <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");
|
2005-09-10 19:25:43 +02:00
|
|
|
?>
|