Вход Регистрация
Файл: core/functions/user_redirect.php
Строк: 13
<?

function only_reg() 
{
    global 
$user;
 if (!isset(
$user))header("Location: /");
}
function 
only_unreg() 
{
    global 
$user;
 if (isset(
$user))header("Location: /");
}

function 
access($access 0){
    global 
$user;
 if(
$user['access'] < $accessheader('Location: /');
}
?>
Онлайн: 1
Реклама