f763b95a80c9dad80a9d2837c3820b8ff41064e5.svn-base
1.8 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
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/modules/cms/front/include/taglib.jsp"%>
<!DOCTYPE html>
<html>
<head>
<title>${category.name}</title>
<meta name="decorator" content="cms_default_${site.theme}"/>
<meta name="description" content="${category.description}" />
<meta name="keywords" content="${category.keywords}" />
<link href="${ctxStaticTheme}/wz/css/wz.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="ui-header_xiao">
<div class="ui-btn-left" onclick="dourl('${ctx}/index-${site.id}${fns:getUrlSuffix()}')"></div>
<a class="ui-btn-right" href="javascript:window.location.reload();"></a>
</div>
<div class="Listpage">
<div class="top46"></div>
<div class="focus">
<ul>
<li><div style="max-height:250px;"><img src="${category.image}" ></div>
<div class="opacity"></div>
<h2>${category.name}</h2>
</li>
</ul>
</div>
<div id="todayList">
<ul class="todayList">
<c:if test="${category.module eq 'article'}">
<c:forEach items="${page.list}" var="article">
<li class="only1_xiao" onclick="dourl('${article.url}')">
<h2>${fns:abbr(article.title,96)}</h2>
<div class="img">
<img style="width:72px;height:auto;max-height:55px;" src="${article.image}" >
</div>
<p class="onlyheight_60">${article.description} <fmt:formatDate value="${article.updateDate}" pattern="yyyy.MM.dd"/></p>
<div class="commentNum"></div>
</li>
</c:forEach>
</c:if>
</ul>
<div class="page pagination pagination-mini">${page}</div>
<script type="text/javascript">
function page(n,s){
location="${ctx}/list-${category.id}${urlSuffix}?pageNo="+n+"&pageSize="+s;
}
</script>
</div>
</div>
<script>
function dourl(url){
location.href= url;
}
</script>
</body>
</html>