Просмотр файла include/logout.php
<? if(mysql_result(mysql_query("SELECT COUNT(*) FROM `session` WHERE sid='".$sid."'"), 0)) { mysql_query("DELETE FROM `session` WHERE sid='".$sid."'"); } header("Location: ".$forumdir."p=0&v=".$version); ?>
<? if(mysql_result(mysql_query("SELECT COUNT(*) FROM `session` WHERE sid='".$sid."'"), 0)) { mysql_query("DELETE FROM `session` WHERE sid='".$sid."'"); } header("Location: ".$forumdir."p=0&v=".$version); ?>