⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 welcome.jsp

📁 网上考试系统文件版
💻 JSP
字号:

<%@ page contentType="text/html;charset=gb2312"%>
<%@ page session="true" %>
<%
if (session.getAttribute("student")==null || session.getAttribute("student")==""){
	response.sendRedirect("stu_logon.jsp");
} 
%>

<html>
<head>
<style type="text/css">
<!--
body {
	background-image: url(../images/bg2.jpg);
}
body,td,th {
	font-family: 宋体;
}
-->
</style>

<script>
function onKeyDown()
{
if ((event.keyCode==116)||(window.event.ctrlKey)||(window.event.shiftKey)||(event.keyCode==122))
{
event.keyCode=0;
event.returnValue=false;
}
}
</script>
<script>
function yxl() {
if(window.event.altKey)
{
window.event.returnValue=false;
}
}
document.onkeydown=yxl
</script>
<title>无标题文档</title>
</head>

<body onkeydown="onKeyDown()" oncontextmenu="return false" onselectstart="return false" ondragstart="return false" onLoad="setInterval('clipboardData.setData(\'Text\',\'\')',100)">
<script>
function   openfullwin(){
window.open   ("examlist.jsp","_blank","fullscreen=yes,scrollbars=yes,resizable=no")
window.opener   =   null;
self.close();
}</script>

<script>
function   reopenfullwin(){
window.open   ("reexamlist.jsp","_blank","fullscreen=yes,scrollbars=yes,resizable=no")
window.opener   =   null;
self.close();
}</script>


<table width="790" height="390" border="0" align="center" cellpadding="0" cellspacing="0">
   <tr>
     <td><p align="center"><%=session.getAttribute("student")%>&nbsp;&nbsp;&nbsp; 欢迎登陆计算机科学系网上考试系统!</p>
<%
if(session.getAttribute("retest")=="T"){
out.println("<div align=\"center\">");
out.println("<input type=\"button\" onclick=\"reopenfullwin()\" value=\"意外退出考试重新登陆\" name=\"button\">");
}
else{
out.println("<div align=\"center\">");
out.println("<input type=\"button\" onclick=\"openfullwin()\" value=\"开始考试\" name=\"button\">");
}
%>

<!--
<a href="examlist.jsp" target="_blank" onclick="javascript:window.opener=null;window.close()">?aê???ê?£?</a>
<form>
<div align="center">
<a href="javascript:window.close()"><input type="button" Value="′ò?aD?′°?ú" ONCLICK="window.open('examlist.jsp','Sample','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width=780,height=600,left=10,top=10')"></a>
</form>
-->
     </div></td>
   </tr>
 </table>
 <p>&nbsp;</p>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -