LOGOUT_CPN.jsp 2.4 KB
Newer Older
Thitichaipun Wutthisak committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
<%@page contentType="text/html; charset=UTF-8"%>
<%@page import="com.csc.library.entry.HelpEntry,com.csc.library.system.*,com.csc.library.utilities.*"%>
<%@ page import="com.csc.library.entry.*,com.csc.library.database.*,com.csc.library.session.*"  %>
<jsp:useBean id="logout" class="com.csc.library.system.Task" scope="page"/>
<%
	logout.setChannel(request,response);
	logout.checkProfile();
	UProfile uf=(UProfile)session.getAttribute("userprofile");
	if( uf != null ){		
		String userID=uf.getUserId();
		//logout.saveLogoutLog(uf);			
	}
	session.invalidate();	
%>
<script language="javascript">
function  logout(){
	location="INDEX.jsp";
}

function setTimer(){
	setTimeout("logout()",2000);
}

</script>
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
<!--
body {
	margin: 0px;
}
-->
</style>
<head>
<title>Logout.jsp</title>
</head>
<body  onload="setTimer();">
<form name="cscform" method="post" target="_top">
  <!----------BEGIN CSC INITIAL ZONE ------------------------>
  <%//=screen.InitialVariable()%>
  <!----------END CSC INITIAL ZONE -------------------------->
  <table id="Table_01" width="800" height="600" border="0" cellpadding="0" cellspacing="0" align="center">
	<tr>
		<td rowspan="3">
			<img src="IMAGES/login-cpn_01.jpg" width="55" height="600" alt=""></td>
		<td>
			<img src="IMAGES/login_02.jpg" width="405" height="217" alt=""></td>
		<td rowspan="3">
			<img src="IMAGES/login-cpn_03.jpg" width="120" height="600" alt=""></td>
		<td rowspan="3">
			<img src="IMAGES/login-cpn_04.jpg" width="124" height="600" alt=""></td>
		<td rowspan="3">
			<img src="IMAGES/login-cpn_05.jpg" width="96" height="600" alt=""></td>
	</tr>
	<tr>
		<td>
			
            <table width="405" height="270" border="0" cellspacing="3" cellpadding="3">
                      <tr>
                        <td bgcolor="#FFFFFF"><p align="center"><font color="#FF0000" size="5" face="MS Sans Serif, Tahoma, sans-serif">ออกจากระบบ</font><br>
                            <b><font color="#999999" size="5" face="MS Sans Serif, Tahoma, sans-serif">กรุณารอสักครู่................</font></b><font color="#999999" size="5"></font></p></td>
                      </tr>
                    </table>
            
            </td>
	</tr>
	<tr>
		<td>
			<img src="IMAGES/login_07.jpg" width="405" height="113" alt=""></td>
	</tr>
</table>
</form>
</body>
</html>