View file admin/index.php

File size: 686B
<?php
include '../inc/db.php';
include '../inc/1.php';
if ($user['admin']!=1){header("Location: /index.php");
exit;}
echo "<div class='t2'>Админ-панель</div>";
echo "<div class='p0'>";
echo "- <a href='news.php'>Новости</a>";
echo "</div>";
echo "<div class='p1'>";
echo "- <a href='rekl.php'>Реклама</a>";
echo "</div>";
echo "<div class='p0'>";
echo "- <a href='admins.php'>Команда</a>";
echo "</div>";
echo "<div class='p1'>";
echo "- <a href='ban.php'>Бан-лист</a>";
echo "</div>";
echo "<div class='p0'>";
echo "- <a href='reg_bot.php'>Бот в беседке</a>";
echo "</div>";
include_once '../inc/foot.php';
?>