changeset 589:ae89d6433d97

Rename page.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 17 Oct 2014 13:08:49 +0300
parents e533955fa055
children 94b9bf155fdb
files pages/attendees.inc.php pages/visitors.inc.php
diffstat 2 files changed, 52 insertions(+), 52 deletions(-) [+]
line wrap: on
line diff
--- a/pages/attendees.inc.php	Fri Oct 17 12:46:17 2014 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-<?
-//
-// FAPWeb - Simple Web-based Demoparty Management System
-// Attendee list page
-// (C) Copyright 2012-2014 Tecnic Software productions (TNSP)
-//
-if (stCheckRegistrationAvailable())
-{
-?>
-<div class="reglink">
-To register, use <a href="register">this form</a>.
-</div>
-<?
-}
-
-echo "<p>Total of <b>".$numAttendees.
- "</b> people registered to attend";
-
-if ($maxAttendeesHard > 0)
- echo " (<b>".$maxAttendeesHard."</b> max)";
-
-echo ".</p>\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;
-  $row = 0;
-  foreach ($res as $item)
-  {
-    // Check hard limit first
-    if ($maxAttendeesHard > 0)
-      $over = $index > $maxAttendeesHard;
-    else
-    // Then check soft limit
-    if ($maxAttendeesSoft > 0)
-      $over = $index > $maxAttendeesSoft;
-
-    stPrintAttendee($item, $row++, TRUE, FALSE, FALSE, $over ? " overbooked" : "");
-    $index--;
-  }
-}
-?>
-</table>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pages/visitors.inc.php	Fri Oct 17 13:08:49 2014 +0300
@@ -0,0 +1,52 @@
+<?
+//
+// FAPWeb - Simple Web-based Demoparty Management System
+// Attendee list page
+// (C) Copyright 2012-2014 Tecnic Software productions (TNSP)
+//
+if (stCheckRegistrationAvailable())
+{
+?>
+<div class="reglink">
+To register, use <a href="register">this form</a>.
+</div>
+<?
+}
+
+echo "<p>Total of <b>".$numAttendees.
+ "</b> people registered to attend";
+
+if ($maxAttendeesHard > 0)
+ echo " (<b>".$maxAttendeesHard."</b> max)";
+
+echo ".</p>\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;
+  $row = 0;
+  foreach ($res as $item)
+  {
+    // Check hard limit first
+    if ($maxAttendeesHard > 0)
+      $over = $index > $maxAttendeesHard;
+    else
+    // Then check soft limit
+    if ($maxAttendeesSoft > 0)
+      $over = $index > $maxAttendeesSoft;
+
+    stPrintAttendee($item, $row++, TRUE, FALSE, FALSE, $over ? " overbooked" : "");
+    $index--;
+  }
+}
+?>
+</table>