index.php 483 B

12345678910111213141516171819
  1. <?php
  2. if (cfr('EVENTVIEW')) {
  3. $eventView = new EventView();
  4. //primary module controls here
  5. show_window('', $eventView->renderControls());
  6. if (ubRouting::checkGet($eventView::ROUTE_ZEN)) {
  7. $eventZen = new ZenFlow('ajeventlog', $eventView->renderEventsReport());
  8. show_window(__('Zen'), $eventZen->render());
  9. } else {
  10. show_window(__('Last events'), $eventView->renderEventsReport());
  11. }
  12. } else {
  13. show_error(__('Access denied'));
  14. }