Location: PHPKode > projects > WH Community > wh_community/moderator/signout.php
<?php

    session_start();

    define('CONFIG_CHECK', 1);
    define('MYSQL_CHECK', 1);
    define('VERSION', 'WH Community v5.0');
    define('FRAMEWORK', 'WH Framework v3.3');
    define('POWERED_URL', 'http://www.webmasterhelp.net');
    define('POWERED_BY', 'WebmasterHelp.net - WH Community');

    include_once('../framework/config.php');
	include_once('../framework/mysql.php');
	include_once('../framework/cache.php'); no_cache();
	include_once('files/language.php');

	if($_SESSION['moderator'] == TRUE) {
	
		$_SESSION['moderator'] = NULL;
		
		session_unset();
		
		$_SESSION = array();
		
		session_destroy();
		}

	mysql_close($connect);

?>
<!DOCTYPE html>
<html>

<head>
	<title><?php echo $lang_moderator['mod_area']; ?></title>

    <meta http-equiv="refresh" content="3; URL=signin.php" />
    <meta charset="ISO-8859-1" />
    <meta name="robots" content="index,follow" />

    <link href="../css/admin.css" rel="stylesheet" />
    <link href="../images/favicon.ico" rel="shortcut icon" />

    <!--[if IE]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
</head>

<body id="login-bg">
 
<div id="login-holder">

	<div id="logo-login">
		<a href="signin.php"><img src="../images/logo.png" alt="Logo"></a>
	</div>
	
	<div class="clear"></div>
	<div id="loginbox">
	
	<div id="login-inner">
		<p>&nbsp;</p>
		<p>&nbsp;</p>
		<p>&nbsp;</p>
		<p>&nbsp;</p>
		<p>&nbsp;</p>
		<p align="center"><span class="login_text"><?php echo $lang_moderator['success_signout']; ?></span><br>
		<span class="login_text"><em>(<?php echo $lang_moderator['redirection']; ?>)</em></span></p>
	</div>
	<div class="clear"></div>

	</div>
</div>
	
</body>
</html>
Return current item: WH Community