View file exit.php
<? Error_Reporting(E_ALL & ~E_NOTICE); Error_Reporting(E_ALL & Warning); include $DOCUMENT_ROOT."/config.php"; echo"<html><head><title>$title</title><LINK REL=STYLESHEET TYPE=text/css HREF=skin/$wthemes></head><body>"; session_start('main'); unset($_SESSION['user_login']); unset($_SESSION['user_pass']); session_destroy('main'); session_start(adm); unset($_SESSION['login']); unset($_SESSION['pass']); session_destroy(adm); echo"<div class=b><a href=index.php>Главная</a></div>"; ?>