summaryrefslogtreecommitdiff
path: root/computer-time-limit.php
diff options
context:
space:
mode:
authorStefanie Eckner <stefanie@eckner.net>2023-12-30 15:01:09 +0100
committerStefanie Eckner <stefanie@eckner.net>2023-12-30 15:01:09 +0100
commit216eafc2727ddc6c73c12d6961d2d2b632a582ff (patch)
tree0ab3ac260ba27008eac40b8a6b4427f5115acf55 /computer-time-limit.php
parentd812f760eb6c42f8e380f926901483f9813c09f6 (diff)
downloadcomputer-time-limit-216eafc2727ddc6c73c12d6961d2d2b632a582ff.tar.xz
Einrückung repariert
Diffstat (limited to 'computer-time-limit.php')
-rw-r--r--computer-time-limit.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/computer-time-limit.php b/computer-time-limit.php
index 24a3d4e..6cbdd59 100644
--- a/computer-time-limit.php
+++ b/computer-time-limit.php
@@ -66,7 +66,8 @@ if (array_key_exists('gpg', $_POST)) {
$result = $db->query('select * from `computer_time`');
-?><html><body><table><?php
+?><html><body><table>
+<?php
while ($row = $result->fetchArray()) {
@@ -77,7 +78,7 @@ while ($row = $result->fetchArray()) {
}
$noch = $bis - $von;
- ?><tr><td><?php print($row['name']); ?></td><td><?php
+ ?> <tr><td><?php print($row['name']); ?></td><td><?php
print(date('Y-m-d H:i:s', $bis));
print(' (');
@@ -85,7 +86,7 @@ while ($row = $result->fetchArray()) {
print(')');
?></td></tr>
- <?php
+<?php
}
?></table></body></html>