<?php require_once ('../system/core.php'); if($user['lvl'] < $AdmLvlDeleteChat){ header('Location: /'); exit(); } mysql_query("DELETE FROM `guest`"); header('Location: /chat/'); exit(); require_once ('../system/foot.php'); # Подключаем ноги сайта ?>