Вход Регистрация
Файл: exit.php
Строк: 15
<?php
require_once 'core/system.php';
$header 'EXIT';
echo 
only_reg();

require_once 
'core/head.php';
if (isset(
$_GET['go']) && $_GET['go']=='yes'){ 

    foreach(
$_SESSION as $ind=>$val)
        @
setcookie($ind,'',time()-999"/"".".$_SERVER['SERVER_NAME'] );
        
        
    unset(
$_SESSION['id']);
    unset(
$_SESSION['hash']);

    
setcookie("id"""time()-999);
    
setcookie("hash"""time()-999);
    
header('Location: /index.php');
exit();
}
#
echo '
<div class="listing-information-two">
<div class="mt5 small">
Вы действительно хотите покинуть сайт?<br /><a href="?go=yes">Да</a>/<a href="/index.php">Нет</a></div></div>'
;
require_once 
'core/foot.php';
?>
Онлайн: 0
Реклама