<?php
    session_start
();
    
    
define'_VALID_ACCESS');
    
    
/**  Unset SESSION  */
    
unset( $_SESSION['valid_user'] );
    unset( 
$_SESSION['Priority'] );
    
    
/**  Destroy SESSION  */
    
session_unset();
    
session_destroy();
    
    echo 
"<p style=padding-top:115px><p align=center><br /><span style=\"color:#009900; font-size:14px\"><strong>ออกจากระบบเรียบร้อยแล้ว</strong></span><br /><br /><span style=\"font-size:12px\">กรุณารอส้กครู่ กำลังเปลี่ยนหน้าอัตโนมัติ</span><br />";
    echo 
"</p></p>";
    
    
/** Redirect */
    
echo "<meta http-equiv=\"refresh\" content=\"0; URL=./index.php\" />";
    exit();
    
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874" />
<title>ระบบสารสนเทศเพื่อการบริหาร (MIS)</title>
</head>

<body>
</body>
</html>