You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
shopping/daima/WebRoot/ManagerLoginError.jsp

193 lines
4.8 KiB

<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<script type="text/javascript">
function changecode(){
var my=document.getElementById("code");
Date da=new Date();
my="Qvalidate.jsp?code="+da.getTime();
}
</script>
<SCRIPT language=javascript>
//检验表单的合法性
function SuperLogin() {
if (document.SuperLoginForm.name.value == "") {
alert("\请输入您的管理账号!");
document.SuperLoginForm.name.focus();
}
else if (document.SuperLoginForm.password.value == "") {
alert("\请输入您的管理密码!");
document.SuperLoginForm.password.focus();
}
else if (document.SuperLoginForm.verifycode.value == "") {
alert("\请输入右侧显示验证码!");
document.SuperLoginForm.verifycode.focus();
}
else {
return true;
}
return false;
}
// End of validation form script -->
</SCRIPT>
<base href="<%=basePath%>">
<title>My JSP 'ManagerLogin.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<BODY bgColor=#006599 leftMargin=0 topMargin=0 marginwidth="0" marginheight="0" >
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD background="images/indexbg.gif"
height=600><BR><BR><BR><BR><BR><BR><BR>
<TABLE class=tableborder cellSpacing=0 cellPadding=0 width=427
align=center border=0>
<TBODY>
<TR>
<TD background="images/index_hz01.gif" colSpan=3
height=64>&nbsp;</TD></TR>
<TR>
<TD style="FONT-SIZE: 1px; LINE-HEIGHT: 1px" width=3
background="images/index_hz02.gif"></TD>
<TD style="BORDER-TOP: #666666 1px double" vAlign=top
background="images/index_hz03.gif" height=162><BR><BR>
<TABLE cellSpacing=0 cellPadding=0 width=320 align=right border=0>
<FORM name=SuperLoginForm onSubmit="return SuperLogin()"
action="servlet/ShopManagerServlet?op=Logincheck" method=post>
<TBODY>
<TR>
<TD width=82 height=30>
<DIV style="FONT-SIZE: 12px" align=center>用户名:</DIV></TD>
<TD colSpan=2><INPUT name="name" type="text"
style="BORDER-RIGHT: #000000 1px double; BORDER-TOP: #000000 1px double; FONT-WEIGHT: bold; FONT-SIZE: 13px; BORDER-LEFT: #000000 1px double; BORDER-BOTTOM: #000000 1px double; HEIGHT: 22px"
maxLength=16> </TD></TR>
<TR>
<TD height=30>
<DIV style="FONT-SIZE: 12px"
align=center>密&nbsp;&nbsp;码:</DIV></TD>
<TD><INPUT
style="BORDER-RIGHT: #000000 1px double; BORDER-TOP: #000000 1px double; FONT-WEIGHT: bold; FONT-SIZE: 13px; BORDER-LEFT: #000000 1px double; BORDER-BOTTOM: #000000 1px double; HEIGHT: 22px"
type=password maxLength=16 name="password"> </TD>
<TD width=70>
<DIV align=center></DIV></TD></TR>
<TR>
<TD height=30>
<DIV style="FONT-SIZE: 12px" align=center>验证码:</DIV></TD>
<TD><INPUT name="verifycode" id="verifycode"
style="BORDER-RIGHT: #000000 1px double; BORDER-TOP: #000000 1px double; FONT-WEIGHT: bold; FONT-SIZE: 13px; BORDER-LEFT: #000000 1px double; BORDER-BOTTOM: #000000 1px double; HEIGHT: 22px" size=4
maxLength=4> <img id="code" name="codef" onclick="javascript:changecode()" src="Qvalidate.jsp">
<TD width=70>
<DIV align=center></DIV></TD></TR>
<TR>
<TD height=40>&nbsp;</TD>
<TD><INPUT type=image height=33 width=83
src="images/index_hz04.gif" border=0
name=imageField></TD>
<TD width=70>&nbsp; </TD></TR></FORM></TBODY></TABLE></TD>
<TD style="FONT-SIZE: 1px; LINE-HEIGHT: 1px" width=3
background="images/index_hz02.gif"></TD></TR>
<TR>
<TD background="images/index_hz05.gif" colSpan=3
height=127></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<script>
alert('账户,密码或验证码错误');
history.back()
</script>
</BODY></HTML>
</html>