summaryrefslogtreecommitdiff
path: root/www-ssl/nonpublic/waeckliste.php
diff options
context:
space:
mode:
Diffstat (limited to 'www-ssl/nonpublic/waeckliste.php')
-rw-r--r--[-rwxr-xr-x]www-ssl/nonpublic/waeckliste.php50
1 files changed, 24 insertions, 26 deletions
diff --git a/www-ssl/nonpublic/waeckliste.php b/www-ssl/nonpublic/waeckliste.php
index c14505ab..bb9a0668 100755..100644
--- a/www-ssl/nonpublic/waeckliste.php
+++ b/www-ssl/nonpublic/waeckliste.php
@@ -1,40 +1,38 @@
<?php
-$title = "Himmel";
-$header = "Weckdienst - Liste der zu weckenden Engel";
-
-include ("../../../camp2011/includes/header.php");
+ $title = "Himmel";
+ $header = "Weckdienst - Liste der zu weckenden Engel";
+ include "../../../camp2011/includes/header.php";
?>
-<?PHP echo Get_Text("Hello"). $_SESSION['Nick'].",<br>\n".
- Get_Text("pub_waeckliste_Text1")?>
-<br><br>
+<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
+ <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);
+ 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
+ <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 ("../../../camp2011/includes/footer.php");
+
+<?php
+ include "../../../camp2011/includes/footer.php";
?>