JAVAEE-based-parking-manage.../tingchechang/WebContent/reg.jsp

98 lines
2.7 KiB
Plaintext
Raw Normal View History

2023-04-26 13:50:08 +00:00
<%@ page language="java" contentType="text/html; charset=GB18030"
pageEncoding="GB18030"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB18030">
<title>Insert title here</title>
<script language="javascript">
function check(){
if(form1.username.value==""){
alert("<22><><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><C3BB>˺ţ<CBBA>");form1.username.focus();return false;
}
if(form1.password.value==""){
alert("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>룡");form1.password.focus();return false;
}
if(form1.chepaihao.value==""){
alert("<22><><EFBFBD><EFBFBD>ƺ<EFBFBD>");form1.chepaihao.focus();return false;
}
if(form1.truename.value==""){
alert("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");form1.truename.focus();return false;
}
if(form1.tel.value==""){
alert("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵ<EFBFBD><CFB5>ʽ<EFBFBD><CABD>");form1.tel.focus();return false;
}
}
</script>
<link href="css/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="1002" height="600" border="0" align="center"
cellpadding="0" cellspacing="0">
<tr>
<td valign="top" background="image/reg.jpg"><form id="form1"
name="form1" method="post" action="reg_do.jsp"
onSubmit="return check()">
<table width="1002" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="334" height="200">&nbsp;</td>
<td width="668">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td height="20"><3E>û<EFBFBD><C3BB>˺ţ<CBBA> <input name="username" type="text"
id="username" /></td>
</tr>
<tr>
<td>&nbsp;</td>
<td height="19"><3E>û<EFBFBD><C3BB><EFBFBD><EFBFBD>룺 <input name="password" type="password"
id="password" /></td>
</tr>
<tr>
<td>&nbsp;</td>
<td height="20"><3E><><EFBFBD>ƺ<EFBFBD><C6BA>룺 <input name="chepaihao" type="text"
id="chepaihao" />
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td height="20"><3E><><EFBFBD>ڽ<EFBFBD><DABD> <input name="jine" type="text"
id="jine" value="200" /></td>
</tr>
<tr>
<td>&nbsp;</td>
<td height="20"><3E><>ʵ<EFBFBD><CAB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <input name="truename" type="text"
id="truename" /></td>
</tr>
<tr>
<td>&nbsp;</td>
<td height="20"><3E><>ϵ<EFBFBD><CFB5>ʽ<EFBFBD><CABD> <input name="tel" type="text" id="tel" /></td>
</tr>
<tr>
<td>&nbsp;</td>
<td height="20"><3E>û<EFBFBD><C3BB><EFBFBD><EFBFBD>飺 <textarea name="jianjie" cols="40"
rows="3" id="jianjie"></textarea></td>
</tr>
<tr>
<td>&nbsp;</td>
<td height="40"><input type="submit" name="Submit"
value="ע<><D7A2>" /> &nbsp; <input type="button" name="Submit2"
value="<22><><EFBFBD><EFBFBD>" onclick="location.href='denglu.jsp'" /></td>
</tr>
</table>
</form></td>
</tr>
</table>
</body>
</html>