noaccess.php 554 B

12345678910111213141516171819202122
  1. <?php
  2. if(!DEFINED('EGP'))
  3. exit(header('Refresh: 0; URL=http://'.$_SERVER['SERVER_NAME'].'/404'));
  4. $html->nav('Раздел недоступен');
  5. if($ctrl['time'] < $start_point)
  6. $html->get('overdue');
  7. else{
  8. $status = array(
  9. 'install' => 'установки',
  10. 'reboot' => 'перезагрузки',
  11. 'blocked' => 'блокировки'
  12. );
  13. $html->get('noaccess');
  14. $html->set('status', $status[$ctrl['status']]);
  15. }
  16. $html->pack('main');
  17. ?>