View file admin/index.php
<? $page_name="Админ-меню"; $dir="../"; include("../include/1.php"); require "../include/avto.php"; if(!isset($_SESSION['user_id']) or @$me['admin']!=2)exit("Нет доступа"); echo "Управление:<br/> <a href='new.php'>Новости</a><br/> <a href='gobook.php'>Гостевая</a><br/> <a href='chat.php'>Чат</a><br/> <a href='forum.php'>Форум</a><br/> <a href='com.php'>Коментарии</a><br/>"; include("../include/2.php"); ?>