summaryrefslogtreecommitdiff
path: root/www-ssl/nonpublic/waeckliste.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2011-06-01 14:48:31 +0200
committerPhilip Häusler <msquare@notrademark.de>2011-06-01 14:48:31 +0200
commita537f4bf73101c467af3b01db32fcdb9fd0a91ce (patch)
tree0bf673d0e206866b470cf137d00a158f5fa76441 /www-ssl/nonpublic/waeckliste.php
parent6ebee2c46ba11ce42e85b830189346b13514d497 (diff)
bootstrapping
Diffstat (limited to 'www-ssl/nonpublic/waeckliste.php')
-rw-r--r--www-ssl/nonpublic/waeckliste.php28
1 files changed, 18 insertions, 10 deletions
diff --git a/www-ssl/nonpublic/waeckliste.php b/www-ssl/nonpublic/waeckliste.php
index bb9a0668..d98dd455 100644
--- a/www-ssl/nonpublic/waeckliste.php
+++ b/www-ssl/nonpublic/waeckliste.php
@@ -1,8 +1,10 @@
<?php
- $title = "Himmel";
- $header = "Weckdienst - Liste der zu weckenden Engel";
+require_once ('../bootstrap.php');
- include "../../../camp2011/includes/header.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>
@@ -15,12 +17,14 @@
</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);
+
+$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>
@@ -29,10 +33,14 @@
<td align="left"><?php echo mysql_result($Erg, $i, "Bemerkung"); ?> </td>
</tr>
<?php
- }
+
+
+}
?>
</table>
<?php
- include "../../../camp2011/includes/footer.php";
+
+
+include "includes/footer.php";
?>