summaryrefslogtreecommitdiff
path: root/www-ssl/nonpublic/waeckliste.php
blob: d98dd455a25fb09394b372f1bf5b2d7eab84cd86 (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
38
39
40
41
42
43
44
45
46
<?php
require_once ('../bootstrap.php');

$title = "Himmel";
$header = "Weckdienst - Liste der zu weckenden Engel";

include "includes/header.php";
?>

<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">
  <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


$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"><?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


}
?>
</table>

<?php


include "includes/footer.php";
?>