diff --git a/event.php b/event.php index d96e2ba..7316aa7 100644 --- a/event.php +++ b/event.php @@ -199,11 +199,8 @@ $bottom_stats = $majors_stat->display(); - if($scan['eid'] != 0) - { $box_stat = new Box('Statistics', $bottom_stats); $stat_display = '
'.$box_stat->display("full"); - } $content = $box->display().$stat_display; $page->setContent($content); 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 .= '