📄 security.jsp
字号:
<%@page language="java" session="true" import="fr.ier.cuss.globaldemo.*" %>
<%@ include file = "include/util.jsp" %>
<html>
<head>
<%@ include file = "include/header.jsp" %>
<script language="JavaScript">
//------------------------------------------------------------------------
/*
* Event management
*/
function processEventBis(event) {
// Nothing to do
}
var response1 = false;
var response2 = false;
//--------------------------------------------------------------------------
/**
* Validate response 1
*/
function validateResponse1() {
response1 = true;
checkValidate();
}
//--------------------------------------------------------------------------
/**
* Validate response 2
*/
function validateResponse2() {
response2 = true;
checkValidate();
}
//--------------------------------------------------------------------------
/**
* Check if the 2 responses are validated
*/
function checkValidate() {
if ((response1) && (response2)) {
displayPrintPage();
}
}
</script>
</head>
<body unselectable="on" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" onLoad="javascript:init();" background="<%= backgroundImageName%>">
<table border="0" width="100%" height="100%" >
<thead>
<%@ include file = "include/companylogo.jsp" %>
</thead>
<!-- =============================================================== -->
<!-- Body of the table for message -->
<!-- =============================================================== -->
<tbody>
<tr>
<td colspan="4" align="center" height="70%" width="100%" valign="top">
<table border="0" width="100%" cellpadding="30">
<tr>
<td width="80%"><h1 class="subtitle">Did you leave your luggage unattended at any time?</h1></td>
<td align="center">
<img border="0" src="img/bt_no.gif" OnClick="javascript:validateResponse1();" OnMouseOver="this.src='img/bt_no_2.gif'" OnMouseOut="this.src='img/bt_no.gif'"></td>
<td width="10%" align="center"><img border="0" src="img/bt_yes.gif" onClick="javascript:displayInvalidPage();"OnMouseOver="this.src='img/bt_yes_2.gif'" OnMouseOut="this.src='img/bt_yes.gif'"></td>
</tr>
<tr class="title">
<td width="80%"><h1 class="subtitle">Did you receive any package from an unknown person?</h1></td>
<td align="center"><img border="0" src="img/bt_no.gif" OnClick="javascript:validateResponse2();" OnMouseOver="this.src='img/bt_no_2.gif'" OnMouseOut="this.src='img/bt_no.gif'"></td>
<td width="10%" align="center"><img border="0" src="img/bt_yes.gif" OnClick="javascript:displayInvalidPage();" OnMouseOver="this.src='img/bt_yes_2.gif'" OnMouseOut="this.src='img/bt_yes.gif'"></td>
</tr>
</table>
</td>
</tr>
</tbody>
<!-- =============================================================== -->
<!-- Foot of the table for buttons -->
<!-- =============================================================== -->
<tfoot>
<tr>
<td height="15%" width="25%" align="center"> </td>
<td width="25%" align="center"> </td>
<td width="25%" align="center"> </td>
<td width="25%" align="center"><%@ include file = "include/quitbutton.jsp" %></td>
</tr>
</tfoot>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -