forked from maxliaops/Java_Web_Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault.jsp
More file actions
65 lines (64 loc) · 4 KB
/
default.jsp
File metadata and controls
65 lines (64 loc) · 4 KB
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
<%@ page language="java" contentType="text/html; charset=GBK"%>
<%@ taglib uri="/struts-tags" prefix="s2"%>
<html>
<head><title>首页</title></head>
<body>
<center>
<!-- 缴费专区 -->
<s2:set name="payforlist" value="#request.payforlist"/>
<table border="0" width="670" cellspacing="0" cellpadding="5">
<tr height="35"><td style="text-indent:5" valign="bottom"><font color="#004790"><b>■推荐信息</b>『缴费专区』</font></td></tr>
<tr bgcolor="#FAFCF5">
<td style="border:1 solid">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<s2:if test="#payforlist==null||#payforlist.size()==0">
<tr height="30"><td align="center" style="border:1 solid">★★★ 缴费后,您发布信息就可在这里显示!★★★</td></tr>
</s2:if>
<s2:else>
<s2:iterator status="payforStatus" value="payforlist">
<s2:if test="#payforStatus.odd"><tr height="23"></s2:if>
<td width="50%">『<b><s2:property value="#session.typeMap[infoType]"/></b>』<a href="info_SingleShow.action?id=<s2:property value='id'/>"><s2:property value="getSubInfoTitle(20)"/></a></td>
<s2:if test="#payforStatus.even"></tr></s2:if>
</s2:iterator>
</s2:else>
</table>
</td>
</tr>
</table>
<!-- 广告 -->
<table border="0" width="670"cellspacing="0" cellpadding="0" style="margin-top:1">
<tr><td align="center"><img src="images/pcard2.jpg"></td></tr>
</table>
<!-- 免费专区 -->
<s2:set name="allsublist" value="#request.allsublist"/>
<table border="0" width="670" cellspacing="2" cellpadding="0">
<tr height="35"><td colspan="2" style="text-indent:5" valign="bottom"><font color="#004790"><b>■最新信息</b>『免费专区』</font></td></tr>
<s2:if test="#allsublist==null||#allsublist.size()==0">
<tr height="30"><td align="center" style="border:1 solid">★★★ 在这里显示免费发布的信息!★★★</td></tr>
</s2:if>
<s2:else>
<s2:iterator status="allStatus" value="allsublist">
<s2:if test="#allStatus.odd"><tr></s2:if>
<td align="center">
<table border="1" cellspacing="0" cellpadding="0" width="332" height="160" rules="none" bordercolor="lightgrey" bordercolorlight="lightgrey" bordercolordark="white">
<s2:iterator status="oneStatus">
<s2:if test="#oneStatus.index==0">
<tr bgcolor="#00B48F" height="30">
<td style="text-indent:10"><b><font color="white">▲<s2:property value="#session.typeMap[infoType]"/></font></b></td>
</tr>
</s2:if>
<tr bgcolor="#FAFCF5"><td style="text-indent:3">★ <a href="info_SingleShow.action?id=<s2:property value='id'/>"><s2:property value="getSubInfoTitle(20)"/></a></td></tr>
<s2:if test="#oneStatus.last">
<tr height="20" bgcolor="#FAFCF5"><td align="right"><a href="info_ListShow.action?infoType=<s2:property value='infoType'/>">更多...</a> </td></tr>
</s2:if>
</s2:iterator>
</table>
</td>
<s2:if test="#allStatus.even"></tr></s2:if>
</s2:iterator>
</s2:else>
</table>
<br>
</center>
</body>
</html>