View file NuclearCMS_v.1.0.0/forum/include/logout.php

File size: 212B
<?
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);
?>