Вход Регистрация
Файл: moduls/recovery.php
Строк: 9
<?
require_once'../core/system.php';
echo 
only_reg();
echo 
ban();
$header='Восстановление здоровья';
require_once
'../core/head.php';
if(
$user['gold']<10){
$_SESSION['err'] = ' Недостаточно золота';
header("Location: /"); exit;}
if(
$user['health']<$user['max_health']){
$_SESSION['message'] = 'Персонаж успешно воскрешен';
header('location: /');exit; }else{
$_SESSION['message'] = 'Здоровье полностью восстановлено';
header('location: /');exit; }
require_once
'../core/foot.php';
?>
Онлайн: 6
Реклама