You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
883 B
PHTML

<?php
14 years ago
require_once ('../bootstrap.php');
14 years ago
$title = "Himmel";
$header = "Engelbesprechung";
include "includes/header.php";
14 years ago
$SQL = "SELECT * FROM `News` ORDER BY 'Datum' DESC";
$Erg = mysql_query($SQL, $con);
14 years ago
// anzahl zeilen
$Zeilen = mysql_num_rows($Erg);
14 years ago
for ($n = 0; $n < $Zeilen; $n++) {
if (mysql_result($Erg, $n, "Treffen") == "1") {
echo "<p class='question'><u>" . mysql_result($Erg, $n, "Betreff") . "</u>";
14 years ago
// 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>";
14 years ago
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");
?>