<?php
require 'sys/sid.php';
require 'sys/config.php';
include 'sys/user.php';
include 'sys/head.php';
if (isset($_SESSION['us']) && isset($_SESSION['ps']))
{
session_destroy();
setcookie('us', '');
setcookie('ps', '');
header('Location: /?');
}
include 'sys/foot.php';
?>