File size: 1.11Kb
<?
////////////////////
//By Chiksan 2oo9///
//[email protected]//
////////////////////
include '../connect.php';
include_once 'head.php';
////////////////////
session_start();
if (!isset($_SESSION['login']) || !isset($_SESSION['login']))
{exit('Не введен пароль вернуться');}
$act=$_GET['act'];
if (!isset($act)){$act='default';}
switch ($act)
{
case "del" :
include 'del_nomer.php' ;
break;
case "set" :
include 'setting.php' ;
break;
case "edit" :
include 'edit_nomer.php' ;
break;
case "new" :
include 'new_nomer.php' ;
break;
default:
include_once "connect.php";
echo '<div class=niz>Адмика:</div>';
echo '<a href="?act=del&'.session_name().'='.session_id().'">Удалить Номер</a><br>';
echo '<a href="?act=edit&'.session_name().'='.session_id().'">Изменить Номер</a><br>';
echo '<a href="?act=new&'.session_name().'='.session_id().'">Добавить Номер</a><br>';
echo '<a href="?act=set&'.session_name().'='.session_id().'">Настройки Магазина</a><br>';
break;
}
include_once "foot.php";
?>