EngineGP/system/sections/servers/noaccess.php

24 lines
570 B
PHP
Raw Normal View History

2023-03-04 23:45:46 +00:00
<?php
if(!DEFINED('EGP'))
exit(header('Refresh: 0; URL=http://'.$_SERVER['SERVER_NAME'].'/404'));
$html->nav('Раздел недоступен');
if($server['time'] < $start_point)
$html->get('overdue');
else{
$status = array(
'install' => 'установки',
'reinstall' => 'переустановки',
'update' => 'обновления',
'recovery' => 'восстановления',
'blocked' => 'блокировки'
);
$html->get('noaccess');
$html->set('status', $status[$server['status']]);
}
$html->pack('main');
?>