From 5daddcb63f4c505b6cea2aace9aa3cd7cfbc96e6 Mon Sep 17 00:00:00 2001 From: Sean Burke Date: Fri, 22 Feb 2013 11:23:49 -0800 Subject: [PATCH] added event info to scanning page --- scan.php | 48 ++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 44 insertions(+), 4 deletions(-) diff --git a/scan.php b/scan.php index c7230cc..a5bc89c 100644 --- a/scan.php +++ b/scan.php @@ -121,12 +121,12 @@ '; } } - +$total_count = $page->DB->countOf('scans', 'eid = "'.$_GET['eid'].'"'); $bottom .= '
- ' + ' .$event_menu->display().'
@@ -134,8 +134,48 @@ $("#eid").change(function () { $("#select_event").submit(); }); - -
+ '; + if($scan['eid'] != 0) + { + + $bottom .= '
+ +
+ '.date('l, M d, Y',strtotime($event->date)).' +
+
+
+ +
+ '.date('g:i a',strtotime($event->time)).' +
+
+
+ +
+ '.$event->host.' +
+
+
+ +
+ '.$event->prize.' +
+
+
+ +
+ '.$event->description.' +
+
+
+ +
+ '.$total_count.' +
+
'; + } + $bottom .= '