<?php require_once ('system/core.php'); if(!$user['id']){ header('Location: /'); exit(); } echo"<center><br><br><br><font color='red'><b>Страница не доступна</b></font></center><br><br><br>"; require_once ('system/foot.php'); ?>