e08c9939b6be2f7a2b599f5ff06e6bf262db25aa.svn-base
2.16 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
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/modules/cms/front/include/taglib.jsp"%>
<!DOCTYPE html>
<html>
<head>
<title>首页</title>
<meta name="decorator" content="cms_default_${site.theme}"/>
<meta name="description" content="JeeSite ${site.description}" />
<meta name="keywords" content="JeeSite ${site.keywords}" />
</head>
<body>
<div class="hero-unit" style="padding-bottom:35px;margin:10px 0;">
<c:set var="article" value="${fnc:getArticle('2')}"/>
<h1>${fns:abbr(article.title,28)}</h1><p></p>
<p>${fns:abbr(fns:replaceHtml(article.articleData.content),260)}</p>
<p><a href="${article.url}" class="btn btn-primary btn-large"> 查看详情 » </a></p>
</div>
<div class="row">
<div class="span4">
<h4><small><a href="${ctx}/list-2${urlSuffix}" class="pull-right">更多>></a></small>组织机构</h4>
<ul><c:forEach items="${fnc:getArticleList(site.id, 2, 8, '')}" var="article">
<li><span class="pull-right"><fmt:formatDate value="${article.updateDate}" pattern="yyyy.MM.dd"/></span><a href="${article.url}" style="color:${article.color}">${fns:abbr(article.title,28)}</a></li>
</c:forEach></ul>
</div>
<div class="span4">
<h4> <small><a href="${ctx}/list-6${urlSuffix}" class="pull-right">更多>></a></small>质量监督</h4>
<ul><c:forEach items="${fnc:getArticleList(site.id, 6, 8, '')}" var="article">
<li><span class="pull-right"><fmt:formatDate value="${article.updateDate}" pattern="yyyy.MM.dd"/></span><a href="${article.url}" style="color:${article.color}">${fns:abbr(article.title,28)}</a></li>
</c:forEach></ul>
</div>
<div class="span4">
<h4><small><a href="${ctx}/list-10${urlSuffix}" class="pull-right">更多>></a></small>政策法规</h4>
<ul><c:forEach items="${fnc:getArticleList(site.id, 10, 8, '')}" var="article">
<li><span class="pull-right"><fmt:formatDate value="${article.updateDate}" pattern="yyyy.MM.dd"/></span><a href="${article.url}" style="color:${article.color}">${fns:abbr(article.title,28)}</a></li>
</c:forEach></ul>
</div>
</div>
</body>
</html>