<?php
/*
Appointment: Временное отключение сайта
File: offline.php
Author: likan
Engine: LIKAN
*/
if(!defined('MOZG'))
die("Hacking attempt!");
if($user_info['user_group'] != '1'){
$tpl->load_template('offline.tpl');
$config['offline_msg'] = str_replace('"', '"', stripslashes($config['offline_msg']));
$tpl->set('{reason}', nl2br($config['offline_msg']));
$tpl->compile('main');
echo $tpl->result['main'];
die();
}
?>