noaccess.php 500 B

1234567891011121314151617
  1. <?php
  2. if(!DEFINED('EGP'))
  3. exit(header('Refresh: 0; URL=http://'.$_SERVER['SERVER_NAME'].'/404'));
  4. $html->nav('Раздел недоступен');
  5. $status = array(
  6. 'install' => 'установки',
  7. 'reinstall' => 'переустановки',
  8. 'update' => 'обновления',
  9. 'recovery' => 'восстановления'
  10. );
  11. $html->get('noaccess');
  12. $html->set('status', $status[$server['status']]);
  13. $html->pack('main');
  14. ?>