diff options
Diffstat (limited to 'www-ssl/nonpublic/engelbesprechung.php')
-rwxr-xr-x | www-ssl/nonpublic/engelbesprechung.php | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/www-ssl/nonpublic/engelbesprechung.php b/www-ssl/nonpublic/engelbesprechung.php new file mode 100755 index 00000000..436a5271 --- /dev/null +++ b/www-ssl/nonpublic/engelbesprechung.php @@ -0,0 +1,29 @@ +<?php +$title = "Himmel"; +$header = "Engelbesprechung"; +include ("./inc/header.php"); +include ("./inc/funktion_user.php"); +?> + +<br> + +<?php + +$SQL = "SELECT * FROM `News` ORDER BY 'Datum' DESC"; +$Erg = mysql_query($SQL, $con); + +// 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><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 ("./inc/footer.php"); +?> |