changeset 658:987f8307ce4f

Cleanups, cosmetics.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 05 Nov 2014 15:16:22 +0200
parents abfbacdff90a
children 1702a5e0b9c3
files pages/visitors.inc.php
diffstat 1 files changed, 15 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/pages/visitors.inc.php	Wed Nov 05 15:15:50 2014 +0200
+++ b/pages/visitors.inc.php	Wed Nov 05 15:16:22 2014 +0200
@@ -13,23 +13,24 @@
 <?
 }
 
-echo "<p>Total of <b>".$numAttendees.
- "</b> people registered to attend";
+echo
+  "\n".
+  "<div class=\"visitorInfo\">Total of <b>".$numAttendees.
+  "</b> people registered to attend";
 
 if ($maxAttendeesHard > 0)
  echo " (<b>".$maxAttendeesHard."</b> max)";
 
-echo ".</p>\n";
+echo
+  ".</div>\n".
+  " <table class=\"attendees\">\n".
+  "  <tr>\n".
+  "   <th class=\"name\">Name</th>\n".
+  "   <th class=\"groups\">Group(s)</th>\n".
+  "   <th class=\"regtime\">Registered</th>\n".
+  "   <th class=\"oneliner\">Oneliner</th>\n".
+  "  </tr>\n";
 
-?>
-<table class="attendees">
- <tr>
-  <th class="name">Name</th>
-  <th class="groups">Group(s)</th>
-  <th class="regtime">Registered</th>
-  <th class="oneliner">Oneliner</th>
- </tr>
-<?
 if (($res = stExecSQL("SELECT * FROM attendees ORDER BY regtime DESC")) !== FALSE)
 {
   $index = $numAttendees;
@@ -48,5 +49,6 @@
     $index--;
   }
 }
+
+echo " </table>\n";
 ?>
-</table>