📄 enrol.jsp
字号:
<%@ page contentType="text/html; charset=UTF-8" language="java" import="java.sql.*" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
<style>
<!--
.wr{font-size: 12pt; line-height: 22px}
.wr1 { FONT-SIZE: 12px; LINE-HEIGHT: 200%}
.wr2 { FONT-SIZE: 14px; LINE-HEIGHT: 150%}
.wr3 { FONT-SIZE: 12px}
.wr4 { FONT-SIZE: 12px; LINE-HEIGHT: 150%}
.button
{
border-style: none;
background-image: url('${pageContext.request.contextPath}/proscenium/images/h08.gif');
cursor:pointer;
width: 74px;
height: 22px;
}
// -->
</style>
<script type="text/javascript">
function test()
{
var frm=document.getElementById("frm");
for(var i=0;i<frm.length;i++)
{
if(frm.elements[i].type=="text" )
{
if(frm.elements[i].value=="")
{
alert("文本框内容不能为空!");
return false;
}
}
}
if(isNaN(frm.all.age.value))
{
alert("年龄只能为数字!");
return false;
}
if(isNaN(frm.all.tel.value))
{
alert("电话号码只能为数字!");
return false;
}
return true;
}
</script>
<title>我的空间 - 清韵网上书店</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="770" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td rowspan="2" width="152"><a href="http://www.qybook.com"><img src="images/logo.gif" width="152" height="84" alt="清韵网上书店" border="0"></a></td>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="53" width="62"><img src="images/dd00-h.gif" width="62" height="53"></td>
<td height="53"><img src="images/daodu34.gif" width="281" height="44" alt="广告区"></td>
<td valign="bottom" height="53" width="50">
<div align="center"> <img src="images/daodu03.gif" width="27" height="25" alt="购物车"><br>
<span class="wr1"><a href="${pageContext.request.contextPath }/proscenium/ShopingCarinformation.jsp">购物车</a> </span></div>
</td>
<td valign="bottom" height="53" width="65">
<div align="center"><img src="images/daodu02.gif" width="28" height="25" alt="订单查询"><br>
<c:choose>
<c:when test="${sessionScope.memberInfo==null }"><span class="wr1">订单查询</span></c:when>
<c:otherwise>
<span class="wr1"><a href="${pageContext.request.contextPath }/tp.do?userId=${sessionScope.memberInfo.userId }"> 订单查询</a></span>
</c:otherwise>
</c:choose>
</div>
</td>
<td valign="bottom" height="53" width="65">
<div align="center"><img src="images/daodu04.gif" width="26" height="25" alt="我的书架"><br>
<c:choose>
<c:when test="${sessionScope.memberInfo==null }"><span class="wr1">我的空间</span></c:when>
<c:otherwise>
<span class="wr1"><a href="${pageContext.request.contextPath }/space.do?userId=${sessionScope.memberInfo.userId }"> 我的空间</a></span>
</c:otherwise>
</c:choose>
</div>
</td>
<td valign="bottom" height="53" width="65">
<div align="center"><img src="images/dd-10.gif" width="27" height="25" alt="我的帐户"><br>
<span class="wr1"><a href="${pageContext.request.contextPath }/userLogin.do">主页</a></span></div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="bottom" nowrap><a href="http://www.qybook.com"><img src="images/daodu05.gif" width="116" height="31" alt="首页" border="0"></a><a href="changxiao.htm"><img src="images/daodu06.gif" width="86" height="31" alt="畅销" border="0"></a><a href="wenxue.htm"><img src="images/daodu07.gif" width="63" height="31" alt="文学" border="0"></a><a href="qysx.htm"><img src="images/daodu08.gif" width="95" height="31" alt="清韵书系" border="0"></a><a href="wenhua.htm"><img src="images/daodu09.gif" width="81" height="31" alt="文化" border="0"></a><a href="jingguan.htm"><img src="images/daodu10.gif" width="77" height="31" alt="经管" border="0"></a><a href="child.htm"><img src="images/daodu11.gif" width="76" height="31" alt="少儿" border="0"></a></td>
</tr>
</table>
<table width="770" border="0" cellpadding="0" cellspacing="0" align="center" height="28">
<tr>
<td background="images/wk02.gif" class="wr1" width="147">
<div align="center"><font face="Arial, Helvetica, sans-serif" color="#FFFFFF"><b>www.qybook.com</b></font></div>
</td>
<td background="images/wk02.gif" class="wr1" width="406">
<div align="center"><img src="images/wk01.gif" width="108" height="19" alt="我的空间"></div>
</td>
<td background="images/wk02.gif" valign="bottom" width="162" class="wr1"><font color="#FFFFFF"><b>登录
| 注册 | 退出登录</b></font></td>
</tr>
</table>
<table width="770" border="0" cellpadding="0" align="center" cellspacing="0">
<tr valign="top">
<td bgcolor="#F8FEE8">
<form action="${pageContext.request.contextPath }/addUser.do" method="post" name="frm" onsubmit="return test();">
<table width="500" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td class="wr1" colspan="2">
<div align="center"><b><font color="#F68217">新用户注册</font></b></div>
</td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td class="wr4" width="50%">用户名:<input type="text" maxlength="25" name="user"/><b></b></td>
<td class="wr4" width="50%">密码:<input type="password" maxlength="16" name="pass"/></td>
</tr>
<tr>
<td class="wr4" colspan="2">性 别: <input name="sex" type="radio" value="1" checked="checked"/>男 <input name="sex" type="radio" value="0"/>女 </td>
</tr>
<tr>
<td class="wr4" width="50%">真实姓名:<input type="text" maxlength="15" name="rname"/></td>
<td class="wr4" width="50%">年龄:<input type="text" maxlength="3" name="age"/></td>
</tr>
<tr>
<td class="wr4" width="50%">提示问题:<input type="text" maxlength="50" name="ques"/></td>
<td class="wr4" width="50%">答案:<input type="text" maxlength="50" name="ans"/></td>
</tr>
<tr>
<td class="wr4" colspan="2">用户电话:<input type="text" maxlength="15" name="tel"/></td>
</tr>
<tr>
<td class="wr4" colspan="2">发货地址:<input type="text" maxlength="100" name="add"/></td>
</tr>
<tr>
<td class="wr4" colspan="2">邮政编码:<input type="text" maxlength="6" name="post"/></td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td class="wr4" colspan="2"> </td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="1" align="center" height="21" width="163">
<tr>
<td class="wr4" width="74">
<input type="submit" value="确定" class="button" />
</td>
<td class="wr4" width="15">
</td>
<td class="wr4" width="74">
<input type="reset" value="重置" class="button" />
</td>
</tr>
</table>
</form>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
<tr>
<td>
<div align="right"><img src="images/daodu36.gif" width="593" height="58" alt="广告区"></div>
</td>
</tr>
</table>
<p align="center" class="wr1">淘书秀 | 寻书登记 | 好书快讯 | 文化沙龙 | 书店平台<br>
关于书店 | 意见箱 | 联系我们</p>
</td>
</tr>
</table>
<table width="770" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td height="22" background="images/dd-m09.gif"> </td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td> </td>
<td class="wr1" width="10"> </td>
<td class="wr1"> </td>
</tr>
<tr>
<td><a href="http://www.qybook.com"><img src="images/dd-009.gif" width="36" height="40" alt="logo" border="0"></a></td>
<td class="wr4" width="10"> </td>
<td class="wr4"> 版权所有:<a href="http://www.qingyun.com" target="_blank">西安清韵科技文化图书有限责任公司</a><br>
地址:西安市高新一路25号创新大厦一楼 服务电话:029-8326696</td>
</tr>
</table>
</body>
</html>
<script ></script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -