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.

47 lines
1.2 KiB
PHTML

<?php
14 years ago
require_once ('../bootstrap.php');
14 years ago
$title = "Himmel";
$header = "Weckdienst - Liste der zu weckenden Engel";
include "includes/header.php";
?>
14 years ago
<p><?php echo Get_Text("Hello") . $_SESSION['Nick'] . ",<br />\n" . Get_Text("pub_waeckliste_Text1"); ?></p>
<table border="0" width="100%" class="border" cellpadding="2" cellspacing="1">
14 years ago
<tr class="contenttopic">
<th align="left"><?php echo Get_Text("pub_waeckliste_Nick");?></th>
<th align="left"><?php echo Get_Text("pub_waeckliste_Datum");?></th>
<th align="left"><?php echo Get_Text("pub_waeckliste_Ort");?></th>
<th align="left"><?php echo Get_Text("pub_waeckliste_Comment");?></th>
</tr>
<?php
14 years ago
$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);
?>
14 years ago
<tr class="content">
<td align="left"><?php echo UID2Nick(mysql_result($Erg, $i, "UID")); ?> </td>
<td align="left"><?php echo mysql_result($Erg, $i, "Date"); ?> </td>
<td align="left"><?php echo mysql_result($Erg, $i, "Ort"); ?> </td>
<td align="left"><?php echo mysql_result($Erg, $i, "Bemerkung"); ?> </td>
</tr>
<?php
14 years ago
}
?>
</table>
14 years ago
<?php
14 years ago
include "includes/footer.php";
?>