24 lines
570 B
PHP
24 lines
570 B
PHP
<?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');
|
|
?>
|