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 .= '