index.php 638 B

1234567891011121314151617181920
  1. <?php
  2. if (cfr('TASKBAR')) {
  3. if ($ubillingConfig->getAlterParam('AERIAL_ALERTS_ENABLED')) {
  4. $aerialAlerts = new AerialAlerts();
  5. show_window('', $aerialAlerts->renderControls());
  6. if (ubRouting::checkGet($aerialAlerts::ROUTE_MAP)) {
  7. //alerts map
  8. show_window(__('Alerts map'), $aerialAlerts->renderMap());
  9. } else {
  10. //just report here
  11. show_window(__('Aerial alerts'), $aerialAlerts->renderReport());
  12. }
  13. zb_BillingStats(true);
  14. } else {
  15. show_error(__('This module is disabled'));
  16. }
  17. } else {
  18. show_error(__('Access denied'));
  19. }