-
Notifications
You must be signed in to change notification settings - Fork 0
/
top.jsp
113 lines (109 loc) · 5.52 KB
/
top.jsp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<div id="top">
<div id="top_left" onclick="window.location.href='page_index.action'"></div>
<div id="top_middle">
<form id="info" name="info" action="page_index.action" method="post" style="width:100%;height:100%">
<input type="hidden" id="pageNo" name="pageNo" value="${paperUtil.pageNo}"/>
<input type="hidden" id="paramsGoods.goods_type1" name="goods_type1" value="${paramsGoods.goods_type1}"/>
<input type="hidden" id="paramsGoods.goods_type2" name="goods_type2" value="${paramsGoods.goods_type2}"/>
<input type="hidden" id="paramsGoods.goods_flag" name="goods_flag" value="${paramsGoods==null?'1':paramsGoods.goods_flag}"/>
<div id="top_search1">
<input type="text" name="goods_name" id="big_searchText" value="${paramsGoods.goods_name}" class="inputstyle"/>
<input type="button" id="big_searchBtn" value="搜 索" class="btnstyle"/>
</div>
<div id="top_search2">
<span id="modelFlag" style="color:#858e8f;">
涉外学院校园二手交易网站 > 文艺复习${paramsGoods.goods_flagDesc}
<c:if test="${paramsGoods.goods_type1!=null && paramsGoods.goods_type1!=''}">
> ${paramsGoods.goods_type1}
</c:if>
<c:if test="${paramsGoods.goods_type2!=null && paramsGoods.goods_type2!=''}">
> ${paramsGoods.goods_type2}
</c:if>
</span>
</div>
</form>
</div>
<div id="top_right">
<c:if test="${userFront==null}">
<input type="button" id="loginInBtnShow" value="登 录" class="btnstyle2"/>
<input type="button" id="regBtnShow" value="注 册" class="btnstyle2"/>
</c:if>
<c:if test="${userFront!=null}">
<img src="images/avatar1.png" width="55px" style="vertical-align:middle"/>
<input type="button" id="selfCenterBtn" class="btnstyle" value="${userFront.nick_name}"/>
<input type="button" id="loginOutBtn" class="btnstyle" value="退出"/>
</c:if>
</div>
</div>
<div id="loginField" style="display:none;">
<div style="float:right;margin-right:0px;line-height:30px"><input id="closeloginField" type="button" value="X" class="btnstyle"/></div>
<br/>
<table class="regTable">
<tr>
<td colspan="2"><input type="button" value="用户登录>>" class="btnstyle"/></td>
</tr>
<tr>
<td align="right" width="20%"><span style="color:red">*</span> 用户名:</td>
<td align="left" width="80%"><input type="text" id="user_name" class="inputstyle" name="user_name" style="width:200px"/></td>
</tr>
<tr>
<td align="right" width="20%"><span style="color:red">*</span> 密 码:</td>
<td align="left" width="80%"><input type="password" id="user_pass" class="inputstyle" name="user_pass" style="width:200px"/></td>
</tr>
<tr>
<td align="center" colspan="2">
<input type="button" id="loginInBtn" class="btnstyle" value="登录"/>
</td>
</tr>
</table>
</div>
<div id="regField" style="display:none;">
<div style="float:right;margin-right:0px;line-height:30px"><input id="closeregField" type="button" value="X" class="btnstyle"/></div>
<form name="infoReg" id="infoReg" style="width:100%;height:450px" action="LoginRegSystem.action" method="post">
<input type="hidden" name="params.user_type" id="params.user_type" value="1"/>
<table class="regTable">
<tr>
<td colspan="2"><input type="button" value="新用户注册>>" class="btnstyle"/></td>
</tr>
<tr>
<td align="right" width="20%"><span style="color:red">*</span> 用户名:</td>
<td align="left" width="80%"><input type="text" name="user_name" id="params.user_name" style="width:200px;" class="inputstyle"/></td>
</tr>
<tr>
<td align="right" width="20%"><span style="color:red">*</span> 密 码:</td>
<td align="left" width="80%"><input type="password" name="user_pass" id="params.user_pass" style="width:200px;" class="inputstyle"/></td>
</tr>
<tr>
<td align="right" width="20%"><span style="color:red">*</span> 确认密码:</td>
<td align="left" width="80%"><input type="password" name="user_rpass" id="user_rpass" style="width:200px;" class="inputstyle"/></td>
</tr>
<tr>
<td align="right" width="20%"><span style="color:red">*</span> 姓 名:</td>
<td align="left" width="80%"><input type="text" name="real_name" id="params.real_name" style="width:200px;" class="inputstyle"/></td>
</tr>
<tr>
<td align="right" width="20%"><span style="color:red">*</span> 昵 称:</td>
<td align="left" width="80%"><input type="text" name="nick_name" id="params.nick_name" style="width:200px;" class="inputstyle"/></td>
</tr>
<tr>
<td align="right" width="20%">邮 箱:</td>
<td align="left" width="80%"><input type="text" name="user_mail" id="params.user_mail" style="width:200px;" class="inputstyle"/></td>
</tr>
<tr>
<td align="right" width="20%">电 话:</td>
<td align="left" width="80%"><input type="text" name="user_phone" id="params.user_phone" style="width:200px;" class="inputstyle"/></td>
</tr>
<tr>
<td align="center" colspan="2">
<input type="button" id="regBtn" class="btnstyle" value="提交"/>
<input type="reset" class="btnstyle" value="清空"/>
</td>
</tr>
</table>
</form>
</div>
<script type="text/javascript" src="js/login.js"></script>