engelsystem/www-ssl/nonpublic/waeckliste.php
cookie 283d16d543 add counter und fix language entrys
git-svn-id: svn://svn.cccv.de/engel-system@61 29ba0400-6e00-0410-a75a-ca02368028f8
2005-11-17 00:08:10 +00:00

43 lines
1.2 KiB
PHP
Executable file

<?php
include ("./inc/funktion_user.php");
$title = "Himmel";
$header = "Weckdienst - Liste der zu weckenden Engel";
include ("./inc/header.php");
?>
<? echo Get_Text("Hello"). $_SESSION['Nick'].",<br>\n".
Get_Text("pub_waeckliste_Text1")?>
<br><br>
<table border="0" width="100%" class="border" cellpadding="2" cellspacing="1">
<tr class="contenttopic">
<th align="left"><? echo Get_Text("pub_waeckliste_Nick");?></th>
<th align="left"><? echo Get_Text("pub_waeckliste_Datum");?></th>
<th align="left"><? echo Get_Text("pub_waeckliste_Ort");?></th>
<th align="left"><? echo Get_Text("pub_waeckliste_Comment");?></th>
</tr>
<?
$sql = "Select * from Wecken order by Date asc";
$Erg = mysql_query($sql, $con);
$count = mysql_num_rows($Erg);
for ($i=0; $i < $count; $i++) {
$row=mysql_fetch_row($Erg);
?>
<tr class="content">
<td align="left"><? echo UID2Nick(mysql_result($Erg, $i, "UID")); ?> </td>
<td align="left"><? echo mysql_result($Erg, $i, "Date"); ?> </td>
<td align="left"><? echo mysql_result($Erg, $i, "Ort"); ?> </td>
<td align="left"><? echo mysql_result($Erg, $i, "Bemerkung"); ?> </td>
</tr>
<?
}
?>
</table>
<?
include ("./inc/footer.php");
?>