summaryrefslogtreecommitdiff
path: root/pool.php
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-06-08 15:45:58 +0200
committerPatrick Simianer <p@simianer.de>2016-06-08 15:45:58 +0200
commitec76c2c915ab02cbb06934c7dfeb109f00dcea3c (patch)
tree9b0bcfb4f304c4991fa000c34a2742aab9a3240c /pool.php
parent457ab6312a19281e1c33b54411cb13878913e774 (diff)
over-engineering
Diffstat (limited to 'pool.php')
-rw-r--r--pool.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/pool.php b/pool.php
index ad8de29..bce819c 100644
--- a/pool.php
+++ b/pool.php
@@ -11,7 +11,7 @@
</head>
<body>
- <p style='margin:2em;color:#000'><strong>Click on a table cell, enter your name, and click 'Begin' to begin your session. Reload the page if you clicked on the wrong cell.</strong></p>
+ <p style='margin:2em;color:#000'><strong>Click on a table cell, enter your name, and click 'Begin' to begin your session. Reload the page if you clicked on the wrong cell or if the session is already used by someone else.</strong></p>
<table border=1 style="margin-left:10%">
<tr><td>#0</td></tr>
</table>
@@ -41,8 +41,8 @@
$max = $j;
}
}
- fclose($f);
-
+ fclose($f);
+
for ($i=1; $i<=$max; $i++) {
echo "<td class='item' session='".$b[$i]."' id='item".$i."'>#".$i."<br /><span style='font-size:.5em'>".$b[$i]."</span></td>\n";
if ($i%5 == 0) {