summaryrefslogtreecommitdiff
path: root/www-ssl/nonpublic/engelbesprechung.php
blob: 45194451b8f2bd98eac5a58744dd402e3308c1f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
$title = "Himmel";
$header = "Engelbesprechung";
include ("./inc/header.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>";
   
    // 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>";

    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 ("./inc/footer.php");
?>