Просмотр исходного кода

新增非繁新闻资讯模板-红色并对齐 hxcs 版式

新增独立的 ffkjnewsred1 网站模板、栏目种子、前台 JSP/CSS、服务与静态资源,不与其他红色二级模板串用栏目和页面。\n\n本次按 hxcs 与本地 ffkj-screen-red 的基线统一为 1200px 内容宽度:基础字体调整为 16px/24px,栏目列表使用 270px 左栏和 36px 间距,列表标题调整为 26px/31.2px、正文标题及内容分别对齐 30px/42.6px 与 17px/34.85px;正文页保持无右侧导航,列表页保留上级栏目名称和同级栏目导航。模板资源缓存版本同步更新。\n\nValidation:\n- 本地 start-full-local.sh 启动及 Java 编译通过\n- Playwright 回归首页、列表页、正文页和搜索页,均返回 200;1200px 主容器、列表布局和正文无侧栏检查通过\n- 1440/1280/900 三种视口均无横向溢出
非繁 2 месяцев назад
Родитель
Сommit
ad39120efa

+ 9 - 0
WebRoot/WEB-INF/apps/website/config/services/ffkjnewsred1.service.xml

@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<services>
+	<service name="ffkjnewsred1" desc="非繁新闻资讯模板-红色服务" title="非繁新闻资讯模板-红色服务" authorization="false" login="false" public="true" >
+		<service name="ffkjnewsred1_index" desc="首页" title="首页" class="space.apps.moudules.website.template.ffkjnewsred1.WebSiteArticleService" method="index" />
+		<service name="ffkjnewsred1_controller" desc="栏目控制器" title="栏目控制器" class="space.apps.moudules.website.template.ffkjnewsred1.WebSiteArticleService" method="controller" />
+		<service name="ffkjnewsred1_details" desc="正文页" title="正文页" class="space.apps.moudules.website.template.ffkjnewsred1.WebSiteArticleService" method="details" />
+		<service name="ffkjnewsred1_search" desc="站内搜索" title="站内搜索" class="space.apps.moudules.website.template.ffkjnewsred1.WebSiteArticleService" method="search" />
+	</service>
+</services>

+ 27 - 0
WebRoot/WEB-INF/website/ffkjnewsred1/url.config.xml

@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<urls>
+
+	<base webApp="website" destinationPage="website.ffkjnewsred1" />
+
+	<resources>
+		<mapping val=".htm" />
+	</resources>
+
+	<keys>
+		<url key="/" desc="首页" service="ffkjnewsred1_index" destination="index" />
+		<url key="/search" desc="站内搜索" service="ffkjnewsred1_search" destination="search" />
+	</keys>
+
+	<patterns>
+		<url pattern="/(\w)*/([a-z]|[A-Z]|[0-9]){12}\.htm" desc="正文页" service="ffkjnewsred1_details" destination="details" />
+		<url pattern="(/?(\w)*/)+" desc="栏目页控制器" service="ffkjnewsred1_controller" />
+	</patterns>
+
+	<forwards>
+		<forward key="toHome" destination="index" desc="首页" />
+		<forward key="toList" destination="list" desc="列表页" />
+		<forward key="toCatalog" destination="catalog" desc="目录页" />
+		<forward key="toDetails" destination="details" desc="正文页" />
+	</forwards>
+
+</urls>

Разница между файлами не показана из-за своего большого размера
+ 79 - 0
WebRoot/main/ffkj-portal/news-red.css


BIN
WebRoot/main/ffkj-portal/news-red/campus-building.jpg


BIN
WebRoot/main/ffkj-portal/news-red/campus-life.jpg


BIN
WebRoot/main/ffkj-portal/news-red/campus-tree.jpg


BIN
WebRoot/main/ffkj-portal/news-red/header-bg.jpg


BIN
WebRoot/main/ffkj-portal/news-red/hero-building.jpg


+ 30 - 0
WebRoot/web/upload/ffkj-template/news-red-catalog.jsp

@@ -0,0 +1,30 @@
+<%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
+<c:set var="sidebarTitle" value="${empty parNavigation.name ? website.name : parNavigation.name}"/>
+<c:set var="sidebarImage" value="${empty navigation.backgroundImage ? '/main/ffkj-portal/news-red/campus-life.jpg' : navigation.backgroundImage}"/>
+<!doctype html>
+<html lang="zh-CN">
+<head>
+	<meta charset="UTF-8">
+	<meta name="viewport" content="width=device-width, initial-scale=1">
+	<title>${navigation.name}_${website.seoTitle}</title>
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-1200">
+</head>
+<body class="screen-red-theme">
+	<%@ include file="news-red-header.jsp"%>
+	<main>
+		<div class="news-breadcrumb"><div class="wrap"><a href="/">首页</a><c:forEach items="${crumbsNavList}" var="item"><span> / </span><a href="${item.url}">${item.name}</a></c:forEach></div></div>
+		<section class="section"><div class="wrap news-list-layout">
+			<aside class="news-sidebar">
+				<div class="news-sidebar-media"><img src="${sidebarImage}" alt="${sidebarTitle}"><strong class="news-sidebar-title">${sidebarTitle}</strong></div>
+				<nav class="news-sidebar-links"><c:choose><c:when test="${not empty brotherNavList}"><c:forEach items="${brotherNavList}" var="item"><a class="${item.navigationid eq navigation.navigationid ? 'active' : ''}" href="${item.href}" target="${item.target}">${item.name}</a></c:forEach></c:when><c:otherwise><c:forEach items="${navList}" var="item"><c:if test="${item.name ne '首页' and item.name ne '首页子栏目'}"><a class="${item.navigationid eq navigation.navigationid ? 'active' : ''}" href="${item.href}" target="${item.target}">${item.name}</a></c:if></c:forEach></c:otherwise></c:choose></nav>
+			</aside>
+			<article class="news-list-panel">
+				<div class="news-list-head"><h1>${navigation.name}</h1><span>${empty navigation.nameAssistant ? 'Columns' : navigation.nameAssistant}</span></div>
+				<div class="catalog-grid"><c:forEach items="${childrenNavList}" var="item"><a class="catalog-card" href="${item.href}" target="${item.target}"><strong>${item.name}</strong><p>${empty item.desc ? '进入该栏目查看更多内容。' : item.desc}</p></a></c:forEach></div>
+			</article>
+		</div></section>
+	</main>
+	<%@ include file="news-red-footer.jsp"%>
+</body>
+</html>

+ 29 - 0
WebRoot/web/upload/ffkj-template/news-red-details.jsp

@@ -0,0 +1,29 @@
+<%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
+<!doctype html>
+<html lang="zh-CN">
+<head>
+	<meta charset="UTF-8">
+	<meta name="viewport" content="width=device-width, initial-scale=1">
+	<meta name="description" content="${articleDescription}">
+	<title>${articleTitle}_${navigation.name}_${website.seoTitle}</title>
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-1200">
+</head>
+<body class="screen-red-theme">
+	<%@ include file="news-red-header.jsp"%>
+	<main>
+		<div class="news-breadcrumb"><div class="wrap"><a href="/">首页</a><c:forEach items="${crumbsNavList}" var="item"><span> / </span><a href="${item.url}">${item.name}</a></c:forEach></div></div>
+		<section class="section"><div class="article-detail-wrap">
+			<article class="article-detail">
+				<header class="article-detail-header">
+					<h1 class="article-detail-title">${articleTitle}</h1>
+					<div class="article-detail-meta"><span>${navigation.name}</span><time>${articleReleaseTime}</time><span>来源:${articleSource}</span></div>
+				</header>
+				<div class="article-detail-body">${articleContent}</div>
+			</article>
+		</div></section>
+	</main>
+	<%@ include file="news-red-footer.jsp"%>
+	<script src="/apps/space/js/secure-pdf.js?v=20260709-pdf-secure9"></script>
+</body>
+</html>

+ 15 - 0
WebRoot/web/upload/ffkj-template/news-red-footer.jsp

@@ -0,0 +1,15 @@
+<%@ page pageEncoding="UTF-8"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
+<footer class="news-footer">
+	<div class="news-footer-inner">
+		<div>
+			<p>${footerAddressText}</p>
+			<p>${footerOfficePhoneText} ${footerAdmissionPhoneText}</p>
+			<p>${footerCopyrightText}</p>
+		</div>
+		<div>
+			<c:forEach items="${footerLinksNmv.articleList}" var="item"><p><a href="${item.url}" target="${item.target}">${item.title}</a></p></c:forEach>
+			<p><a href="${footerBeianUrl}" target="_blank" rel="noopener">${footerBeianText}</a></p>
+		</div>
+	</div>
+</footer>

+ 28 - 0
WebRoot/web/upload/ffkj-template/news-red-header.jsp

@@ -0,0 +1,28 @@
+<%@ page pageEncoding="UTF-8"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
+<header class="hero-head">
+	<div class="head-inner">
+		<div class="top-links">
+			<c:choose>
+				<c:when test="${not empty utilityLinksNmv.articleList}">
+					<c:forEach items="${utilityLinksNmv.articleList}" var="item" varStatus="vs">
+						<c:if test="${not vs.first}"><b>|</b></c:if>
+						<a href="${item.url}" target="${item.target}">${item.title}</a>
+					</c:forEach>
+				</c:when>
+				<c:otherwise><a href="/">学校首页</a><b>|</b><a href="/">新闻首页</a></c:otherwise>
+			</c:choose>
+		</div>
+		<a class="brand" href="/">${website.name}</a>
+		<div class="motto"><span>修德</span><span>强能</span><span>笃行</span><span>致远</span></div>
+		<form class="search" action="/search" method="get"><input name="str" value="${str}" placeholder="搜索新闻" aria-label="搜索新闻"><button type="submit">搜索</button></form>
+		<div class="slogan">立德树人<br>服务社会</div>
+	</div>
+</header>
+<nav class="main-nav" aria-label="主导航"><ul>
+	<c:forEach items="${navList}" var="item">
+		<c:if test="${item.name ne '首页' and item.name ne '首页子栏目'}">
+			<li><a class="${item.navigationid eq navigation.navigationid ? 'active' : ''}" href="${item.href}" target="${item.target}">${item.name}</a></li>
+		</c:if>
+	</c:forEach>
+</ul></nav>

+ 100 - 0
WebRoot/web/upload/ffkj-template/news-red-index.jsp

@@ -0,0 +1,100 @@
+<%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
+<c:set var="assetBase" value="/main/ffkj-portal/news-red"/>
+<c:set var="defaultFeatureImage" value="${assetBase}/hero-building.jpg"/>
+<c:set var="defaultMediaImage" value="${assetBase}/campus-life.jpg"/>
+<c:set var="newsRedConvergedMoreUrl" value="${empty newsRedConvergedNav.url ? '/' : newsRedConvergedNav.url}"/>
+<!doctype html>
+<html lang="zh-CN">
+<head>
+	<meta charset="UTF-8">
+	<meta name="viewport" content="width=device-width, initial-scale=1">
+	<title>${website.seoTitle}</title>
+	<meta name="description" content="${website.seoDescription}">
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-1200">
+</head>
+<body class="screen-red-theme">
+	<%@ include file="news-red-header.jsp"%>
+
+	<main id="home">
+		<section class="section" id="campus">
+			<div class="section-title"><h2>${empty newsRedCampusNmv.navigationMap.name ? '校园新闻' : newsRedCampusNmv.navigationMap.name}</h2><em>CAMPUS NEWS</em><a class="more" href="${newsRedCampusNmv.navigationMap.url}">更多 →</a></div>
+			<div class="feature">
+				<c:forEach items="${newsRedCampusNmv.articleList}" var="item" varStatus="vs">
+					<c:if test="${vs.first}">
+						<a class="feature-image-link" href="${item.url}" target="${item.target}">
+							<img class="feature-image" src="${empty item.thumbnail ? defaultFeatureImage : item.thumbnail}" alt="${item.title}">
+							<div class="feature-caption">
+								<div class="tag">焦点新闻 · ${fn:substring(item.release_time, 0, 10)}</div>
+								<h3>${item.title}</h3>
+								<p>${item.desc}</p>
+							</div>
+						</a>
+					</c:if>
+				</c:forEach>
+				<ul class="news-list">
+					<c:forEach items="${newsRedCampusNmv.articleList}" var="item" varStatus="vs">
+						<c:if test="${not vs.first}"><li><a href="${item.url}" target="${item.target}">${item.title}<time>${fn:substring(item.release_time, 5, 10)}</time></a></li></c:if>
+					</c:forEach>
+					<c:if test="${empty newsRedCampusNmv.articleList}"><li class="empty-line">暂无校园新闻</li></c:if>
+				</ul>
+			</div>
+		</section>
+
+		<section class="section two-col" id="campus-life">
+			<div>
+				<div class="section-title"><h2>${empty newsRedFrontlineNmv.navigationMap.name ? '一线动态' : newsRedFrontlineNmv.navigationMap.name}</h2><em>FROM THE CAMPUS</em><a class="more" href="${newsRedFrontlineNmv.navigationMap.url}">更多 →</a></div>
+				<ul class="plain-list sub-list">
+					<c:forEach items="${newsRedFrontlineNmv.articleList}" var="item">
+						<li><a href="${item.url}" target="${item.target}"><strong>${item.title}</strong><span>${empty item.source ? item.desc : item.source}</span><time>${fn:substring(item.release_time, 5, 10)}</time></a></li>
+					</c:forEach>
+					<c:if test="${empty newsRedFrontlineNmv.articleList}"><li class="empty-line">暂无一线动态</li></c:if>
+				</ul>
+			</div>
+			<div id="media">
+				<div class="section-title"><h2>${empty newsRedMediaNmv.navigationMap.name ? '媒体华夏' : newsRedMediaNmv.navigationMap.name}</h2><em>IN THE MEDIA</em><a class="more" href="${newsRedMediaNmv.navigationMap.url}">更多 →</a></div>
+				<ul class="plain-list sub-list">
+					<c:forEach items="${newsRedMediaNmv.articleList}" var="item">
+						<li><a href="${item.url}" target="${item.target}"><strong><c:if test="${not empty item.source}">【${item.source}】</c:if>${item.title}</strong><time>${fn:substring(item.release_time, 5, 10)}</time></a></li>
+					</c:forEach>
+					<c:if test="${empty newsRedMediaNmv.articleList}"><li class="empty-line">暂无媒体华夏内容</li></c:if>
+				</ul>
+			</div>
+		</section>
+
+		<section class="section" id="multimedia">
+			<div class="section-title"><h2>融媒头条</h2><em>MULTIMEDIA</em><a class="more" href="${newsRedConvergedMoreUrl}">更多 →</a></div>
+			<div class="media-grid">
+				<c:forEach items="${newsRedConvergedCards}" var="card">
+					<a class="media-card" href="${card.article.url}" target="${card.article.target}">
+						<img src="${empty card.article.thumbnail ? defaultMediaImage : card.article.thumbnail}" alt="${card.article.title}">
+						<div class="meta"><small>${card.typeName}</small><h3>${card.article.title}</h3><time>${fn:substring(card.article.release_time, 0, 10)}</time></div>
+					</a>
+				</c:forEach>
+				<c:if test="${empty newsRedConvergedCards}"><div class="empty-line">暂无融媒内容</div></c:if>
+			</div>
+		</section>
+
+		<section class="section bottom-grid" id="notice">
+			<div>
+				<div class="section-title"><h2>${empty newsRedNoticeNmv.navigationMap.name ? '通知公告' : newsRedNoticeNmv.navigationMap.name}</h2><em>NOTICES</em><a class="more" href="${newsRedNoticeNmv.navigationMap.url}">更多 →</a></div>
+				<ul class="plain-list">
+					<c:forEach items="${newsRedNoticeNmv.articleList}" var="item">
+						<li><a href="${item.url}" target="${item.target}">${item.title}<time>${fn:substring(item.release_time, 5, 10)}</time></a></li>
+					</c:forEach>
+					<c:if test="${empty newsRedNoticeNmv.articleList}"><li class="empty-line">暂无通知公告</li></c:if>
+				</ul>
+			</div>
+			<div class="download-box" id="downloads">
+				<div class="section-title"><h2>${empty newsRedDownloadNmv.navigationMap.name ? '下载专栏' : newsRedDownloadNmv.navigationMap.name}</h2><em>DOWNLOADS</em><a class="more" href="${newsRedDownloadNmv.navigationMap.url}">更多 →</a></div>
+				<c:forEach items="${newsRedDownloadNmv.articleList}" var="item">
+					<a class="download-row" href="${item.url}" target="${item.target}"><div><strong>${item.title}</strong><small>${item.desc}</small></div><span>预览 →</span></a>
+				</c:forEach>
+				<c:if test="${empty newsRedDownloadNmv.articleList}"><div class="empty-line">暂无下载内容</div></c:if>
+			</div>
+		</section>
+	</main>
+	<%@ include file="news-red-footer.jsp"%>
+</body>
+</html>

+ 67 - 0
WebRoot/web/upload/ffkj-template/news-red-list.jsp

@@ -0,0 +1,67 @@
+<%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
+<c:set var="assetBase" value="/main/ffkj-portal/news-red"/>
+<c:set var="defaultListImage" value="/main/ffkj-portal/news-red/campus-life.jpg"/>
+<c:set var="sidebarTitle" value="${empty parNavigation.name ? website.name : parNavigation.name}"/>
+<c:set var="sidebarImage" value="${empty navigation.backgroundImage ? defaultListImage : navigation.backgroundImage}"/>
+<c:set var="listStyleCode" value="${empty navigation.wnlscode ? 10000 : navigation.wnlscode}"/>
+<c:set var="isGraphicList" value="${listStyleCode == 10010}"/>
+<c:set var="isMediaGrid" value="${listStyleCode == 10030 or listStyleCode == 10050}"/>
+<!doctype html>
+<html lang="zh-CN">
+<head>
+	<meta charset="UTF-8">
+	<meta name="viewport" content="width=device-width, initial-scale=1">
+	<title>${navigation.name}_${website.seoTitle}</title>
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-1200">
+</head>
+<body class="screen-red-theme">
+	<%@ include file="news-red-header.jsp"%>
+	<main>
+		<div class="news-breadcrumb"><div class="wrap"><a href="/">首页</a><c:forEach items="${crumbsNavList}" var="item"><span> / </span><a href="${item.url}">${item.name}</a></c:forEach></div></div>
+		<section class="section"><div class="wrap news-list-layout">
+			<aside class="news-sidebar">
+				<div class="news-sidebar-media"><img src="${sidebarImage}" alt="${sidebarTitle}"><strong class="news-sidebar-title">${sidebarTitle}</strong></div>
+				<nav class="news-sidebar-links" aria-label="${sidebarTitle}导航">
+					<c:choose>
+						<c:when test="${not empty brotherNavList}">
+							<c:forEach items="${brotherNavList}" var="item"><a class="${item.navigationid eq navigation.navigationid ? 'active' : ''}" href="${item.href}" target="${item.target}">${item.name}</a></c:forEach>
+						</c:when>
+						<c:when test="${not empty childrenNavList}">
+							<c:forEach items="${childrenNavList}" var="item"><a class="${item.navigationid eq navigation.navigationid ? 'active' : ''}" href="${item.href}" target="${item.target}">${item.name}</a></c:forEach>
+						</c:when>
+						<c:otherwise><c:forEach items="${navList}" var="item"><c:if test="${item.name ne '首页' and item.name ne '首页子栏目'}"><a class="${item.navigationid eq navigation.navigationid ? 'active' : ''}" href="${item.href}" target="${item.target}">${item.name}</a></c:if></c:forEach></c:otherwise>
+					</c:choose>
+				</nav>
+			</aside>
+			<article class="news-list-panel">
+				<div class="news-list-head"><h1>${navigation.name}</h1><span>${empty navigation.nameAssistant ? 'News List' : navigation.nameAssistant}</span></div>
+				<c:choose>
+					<c:when test="${empty articleList}"><div class="empty-line">暂无内容</div></c:when>
+					<c:when test="${isMediaGrid}">
+						<ul class="article-list article-list-media">
+							<c:forEach items="${articleList}" var="item"><li><a href="${item.url}" target="${item.target}"><img src="${empty item.thumbnail ? defaultListImage : item.thumbnail}" alt="${item.title}"><div class="article-copy"><strong>${item.title}</strong><p>${item.desc}</p><time><fmt:formatDate value="${item.release_time}" pattern="yyyy-MM-dd"/></time></div></a></li></c:forEach>
+						</ul>
+					</c:when>
+					<c:when test="${isGraphicList}">
+						<ul class="article-list article-list-graphic">
+							<c:forEach items="${articleList}" var="item"><li><a href="${item.url}" target="${item.target}"><img src="${empty item.thumbnail ? defaultListImage : item.thumbnail}" alt="${item.title}"><div class="article-copy"><strong>${item.title}</strong><p>${item.desc}</p><time><fmt:formatDate value="${item.release_time}" pattern="yyyy-MM-dd"/></time></div></a></li></c:forEach>
+						</ul>
+					</c:when>
+					<c:otherwise>
+						<ul class="article-list">
+							<c:forEach items="${articleList}" var="item"><li><a href="${item.url}" target="${item.target}"><time><fmt:formatDate value="${item.release_time}" pattern="yyyy-MM-dd"/></time><div class="article-copy"><strong>${item.title}</strong><p>${item.desc}</p></div></a></li></c:forEach>
+						</ul>
+					</c:otherwise>
+				</c:choose>
+				<c:if test="${pageCount > 1}">
+					<nav class="news-pagination" aria-label="分页"><c:if test="${curPageNo > 1}"><a href="${curHerf}?page=${curPageNo - 1}">上一页</a></c:if><a class="active" href="${curHerf}?page=${curPageNo}">${curPageNo}</a><c:if test="${curPageNo < pageCount}"><a href="${curHerf}?page=${curPageNo + 1}">下一页</a></c:if></nav>
+				</c:if>
+			</article>
+		</div></section>
+	</main>
+	<%@ include file="news-red-footer.jsp"%>
+</body>
+</html>

+ 23 - 0
WebRoot/web/upload/ffkj-template/news-red-search.jsp

@@ -0,0 +1,23 @@
+<%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
+<c:set var="searchLabel" value="${empty str ? '请输入关键词' : '关键词:'}${str}"/>
+<!doctype html>
+<html lang="zh-CN">
+<head>
+	<meta charset="UTF-8">
+	<meta name="viewport" content="width=device-width, initial-scale=1">
+	<title>站内搜索_${website.seoTitle}</title>
+	<link rel="stylesheet" href="/main/ffkj-portal/news-red.css?v=20260918-news-red-1200">
+</head>
+<body class="screen-red-theme">
+	<%@ include file="news-red-header.jsp"%>
+	<main>
+		<section class="section"><div class="wrap news-list-panel">
+			<div class="news-list-head"><h1>站内搜索</h1><span>${searchLabel}</span></div>
+			<c:choose><c:when test="${empty articleList}"><div class="empty-line">没有找到匹配内容</div></c:when><c:otherwise><ul class="article-list"><c:forEach items="${articleList}" var="item"><li><a href="${item.url}" target="${item.target}"><time><fmt:formatDate value="${item.release_time}" pattern="yyyy-MM-dd"/></time><div class="article-copy"><strong>${item.title}</strong><p>${item.desc}</p></div></a></li></c:forEach></ul></c:otherwise></c:choose>
+		</div></section>
+	</main>
+	<%@ include file="news-red-footer.jsp"%>
+</body>
+</html>

+ 219 - 0
local-run/repairs/2026-09-18-ls-news-template.sql

@@ -0,0 +1,219 @@
+SET @news_template_code := 'ffkjnewsred1';
+SET @news_template_id_code := 'local_ffkjnewsred1_tpl';
+SET @news_site_id_code := 'local_ffkj_news_red_site';
+SET @news_site_domain := 'ffkj-news-red.localhost;';
+SET @source_red_template_code := 'ffkjcollegered1';
+SET @school_website_id := (SELECT websiteid FROM website WHERE id_code = 'local_ffkj_school_site' ORDER BY websiteid LIMIT 1);
+SET @source_red_template_id := (SELECT wtid FROM website_template WHERE config = @source_red_template_code ORDER BY wtid LIMIT 1);
+
+INSERT INTO website_template (
+  dcode, unitid, name, `desc`, preview_url, thumbnail, wtccode, wttcode, wtacode,
+  cms, config, create_time, create_pid, id_code
+)
+SELECT
+  61, rt.unitid, '非繁新闻资讯模板-红色',
+  '面向新闻网资讯型首页的红色独立模板,栏目和文章全部由 ZQ 后台维护。',
+  'http://ffkj-news-red.localhost:4188/', rt.thumbnail, 10010, rt.wttcode, rt.wtacode,
+  rt.cms, @news_template_code, NOW(), 10000, @news_template_id_code
+FROM website_template rt
+WHERE rt.wtid = @source_red_template_id
+  AND NOT EXISTS (SELECT 1 FROM website_template WHERE config = @news_template_code);
+
+UPDATE website_template nt
+JOIN website_template rt ON rt.wtid = @source_red_template_id
+SET nt.dcode = 61,
+    nt.unitid = rt.unitid,
+    nt.name = '非繁新闻资讯模板-红色',
+    nt.`desc` = '面向新闻网资讯型首页的红色独立模板,栏目和文章全部由 ZQ 后台维护。',
+    nt.preview_url = 'http://ffkj-news-red.localhost:4188/',
+    nt.thumbnail = rt.thumbnail,
+    nt.wtccode = 10010,
+    nt.wttcode = rt.wttcode,
+    nt.wtacode = rt.wtacode,
+    nt.cms = rt.cms,
+    nt.id_code = @news_template_id_code
+WHERE nt.config = @news_template_code;
+
+SET @news_template_id := (SELECT wtid FROM website_template WHERE config = @news_template_code ORDER BY wtid LIMIT 1);
+
+INSERT INTO website (
+  dcode, unitid, wtcode, wtid, parent_wid, name, `desc`, protocol, port, domains, catalog_uri,
+  logo, white_logo_file, seo_icon, seo_title, seo_keywords, seo_description, create_time, create_pid, id_code
+)
+SELECT
+  61, rw.unitid, rw.wtcode, @news_template_id, @school_website_id,
+  '广州华夏职业学院新闻网', '非繁新闻资讯模板-红色预览站点。', rw.protocol, 4188,
+  @news_site_domain, rw.catalog_uri, rw.logo, NULL, rw.seo_icon,
+  '广州华夏职业学院新闻网', '广州华夏职业学院,新闻网,融媒头条',
+  '广州华夏职业学院新闻网模板预览。', NOW(), 10000, @news_site_id_code
+FROM website rw
+WHERE rw.id_code = 'local_ffkj_dept_red_site'
+  AND NOT EXISTS (SELECT 1 FROM website WHERE id_code = @news_site_id_code);
+
+UPDATE website nw
+JOIN website rw ON rw.id_code = 'local_ffkj_dept_red_site'
+SET nw.dcode = 61,
+    nw.unitid = rw.unitid,
+    nw.wtcode = rw.wtcode,
+    nw.wtid = @news_template_id,
+    nw.parent_wid = @school_website_id,
+    nw.name = '广州华夏职业学院新闻网',
+    nw.`desc` = '非繁新闻资讯模板-红色预览站点。',
+    nw.protocol = rw.protocol,
+    nw.port = 4188,
+    nw.domains = @news_site_domain,
+    nw.catalog_uri = rw.catalog_uri,
+    nw.logo = rw.logo,
+    nw.white_logo_file = NULL,
+    nw.seo_icon = rw.seo_icon,
+    nw.seo_title = '广州华夏职业学院新闻网',
+    nw.seo_keywords = '广州华夏职业学院,新闻网,融媒头条',
+    nw.seo_description = '广州华夏职业学院新闻网模板预览。'
+WHERE nw.id_code = @news_site_id_code;
+
+SET @news_site_id := (SELECT websiteid FROM website WHERE id_code = @news_site_id_code ORDER BY websiteid LIMIT 1);
+
+INSERT INTO website_manage (unitid, websiteid, mtcode, objectid, create_time, create_pid)
+SELECT wm.unitid, @news_site_id, wm.mtcode, wm.objectid, NOW(), wm.create_pid
+FROM website_manage wm
+WHERE wm.websiteid = (SELECT websiteid FROM website WHERE id_code = 'local_ffkj_dept_red_site' LIMIT 1)
+  AND NOT EXISTS (
+    SELECT 1 FROM website_manage x
+    WHERE x.websiteid = @news_site_id AND x.mtcode = wm.mtcode AND x.objectid = wm.objectid
+  );
+
+DROP TEMPORARY TABLE IF EXISTS news_red_nav_seed;
+CREATE TEMPORARY TABLE news_red_nav_seed (
+  idcard VARCHAR(128) NOT NULL,
+  parent_idcard VARCHAR(128) NULL,
+  name VARCHAR(128) NOT NULL,
+  name_assistant VARCHAR(128) NULL,
+  url VARCHAR(512) NULL,
+  uri VARCHAR(256) NULL,
+  wntcode INT NOT NULL,
+  wnscode INT NOT NULL,
+  wnlscode INT NULL,
+  sort_number INT NOT NULL
+);
+
+INSERT INTO news_red_nav_seed VALUES
+('FFKJ_NEWS_RED_HOME', NULL, '首页', 'Home', '/', NULL, 10000, 10000, NULL, 10),
+('FFKJ_NEWS_RED_CAMPUS', NULL, '校园新闻', 'Campus News', '/xiaoyuanxinwen/', 'xiaoyuanxinwen', 10010, 10000, 10000, 20),
+('FFKJ_NEWS_RED_MEDIA', NULL, '媒体华夏', 'Media', '/meiti/', 'meiti', 10010, 10000, 10000, 30),
+('FFKJ_NEWS_RED_NOTICE', NULL, '通知公告', 'Notices', '/gonggao/', 'gonggao', 10010, 10000, 10000, 40),
+('FFKJ_NEWS_RED_CONVERGED', NULL, '融媒头条', 'Multimedia', '/rongmeitoutiao/', 'rongmeitoutiao', 10050, 10000, 10010, 50),
+('FFKJ_NEWS_RED_FRONTLINE', NULL, '一线动态', 'From the Campus', '/yixiandongtai/', 'yixiandongtai', 10010, 10000, 10000, 60),
+('FFKJ_NEWS_RED_DOWNLOAD', NULL, '下载专栏', 'Downloads', '/xiazai/', 'xiazai', 10010, 10000, 10000, 70),
+('FFKJ_COLLEGE_HOME_GROUP', NULL, '首页子栏目', 'Home Sections', NULL, NULL, 10051, 10030, NULL, 9000),
+('FFKJ_COLLEGE_SCHOOL_HOME', 'FFKJ_COLLEGE_HOME_GROUP', '顶部自定义栏目', 'Top Links', '/top-links/', 'top-links', 10010, 10030, 10000, 1),
+('FFKJ_NEWS_RED_VIDEO', 'FFKJ_NEWS_RED_CONVERGED', '视频', 'Video', '/rongmeitoutiao/shipin/', 'shipin', 10010, 10000, 10010, 10),
+('FFKJ_NEWS_RED_WECHAT', 'FFKJ_NEWS_RED_CONVERGED', '微信作品', 'WeChat', '/rongmeitoutiao/weixin/', 'weixin', 10010, 10000, 10010, 20),
+('FFKJ_NEWS_RED_GALLERY', 'FFKJ_NEWS_RED_CONVERGED', '图集', 'Gallery', '/rongmeitoutiao/tuji/', 'tuji', 10010, 10000, 10010, 30);
+
+INSERT INTO website_navigation (
+  dcode, unitid, wnccode, websiteid, wtid, idcard, name, name_assistant, title, `desc`,
+  wntcode, wnscode, wnjtcode, wnlscode, uri, url, jump_url, jump_websiteid, parent_nid,
+  photo_size_width, photo_size_height, background_image, sort_number, create_time, create_pid
+)
+SELECT 61, 10000, 10010, NULL, @news_template_id, s.idcard, s.name, s.name_assistant, s.name,
+       CONCAT(s.name, '栏目'), s.wntcode, s.wnscode, 10010, s.wnlscode, s.uri, s.url, NULL, NULL, NULL,
+       480, 320, NULL, s.sort_number, NOW(), 10000
+FROM news_red_nav_seed s
+WHERE @news_template_id IS NOT NULL
+  AND NOT EXISTS (
+    SELECT 1 FROM website_navigation n
+    WHERE n.wtid = @news_template_id AND n.idcard = s.idcard
+  );
+
+UPDATE website_navigation n
+JOIN news_red_nav_seed s ON s.idcard = n.idcard
+JOIN website_navigation p ON p.wtid = @news_template_id AND p.idcard = s.parent_idcard
+SET n.parent_nid = p.navigationid
+WHERE n.wtid = @news_template_id AND s.parent_idcard IS NOT NULL;
+
+INSERT INTO website_navigation (
+  dcode, unitid, wnccode, websiteid, wtid, idcard, name, name_assistant, title, `desc`,
+  wntcode, wnscode, wnjtcode, wnlscode, uri, url, jump_url, jump_websiteid, parent_nid,
+  photo_size_width, photo_size_height, background_image, sort_number, create_time, create_pid
+)
+SELECT 61, 10000, 10000, @news_site_id, NULL, s.idcard, s.name, s.name_assistant, s.name,
+       CONCAT(s.name, '栏目'), s.wntcode, s.wnscode, 10010, s.wnlscode, s.uri, s.url, NULL, NULL, NULL,
+       480, 320, NULL, s.sort_number, NOW(), 10000
+FROM news_red_nav_seed s
+WHERE @news_site_id IS NOT NULL
+  AND NOT EXISTS (
+    SELECT 1 FROM website_navigation n
+    WHERE n.websiteid = @news_site_id AND n.idcard = s.idcard
+  );
+
+UPDATE website_navigation n
+JOIN news_red_nav_seed s ON s.idcard = n.idcard
+JOIN website_navigation p ON p.websiteid = @news_site_id AND p.idcard = s.parent_idcard
+SET n.parent_nid = p.navigationid
+WHERE n.websiteid = @news_site_id AND s.parent_idcard IS NOT NULL;
+
+DROP TEMPORARY TABLE IF EXISTS news_red_article_seed;
+CREATE TEMPORARY TABLE news_red_article_seed (
+  nav_idcard VARCHAR(128) NOT NULL,
+  title VARCHAR(256) NOT NULL,
+  summary VARCHAR(1024) NULL,
+  source VARCHAR(256) NULL,
+  thumbnail VARCHAR(512) NULL,
+  ajtcode INT NOT NULL,
+  url VARCHAR(512) NOT NULL,
+  sort_number INT NOT NULL,
+  release_time DATETIME NOT NULL
+);
+
+INSERT INTO news_red_article_seed VALUES
+('FFKJ_COLLEGE_SCHOOL_HOME','学校首页','返回学校主站','学校首页',NULL,10020,'https://hxcs.feifan.net/',1,NOW()),
+('FFKJ_COLLEGE_SCHOOL_HOME','新闻首页','返回新闻首页','新闻首页',NULL,10000,'/',2,NOW()),
+('FFKJ_NEWS_RED_CAMPUS','在华夏,遇见成长的更多可能','看见课堂、实训与校园生活中的成长。','党委宣传部','/main/ffkj-portal/news-red/hero-building.jpg',10000,'/xiaoyuanxinwen/FFKJNR000001.htm',1,'2026-09-17 09:00:00'),
+('FFKJ_NEWS_RED_CAMPUS','走进实训课堂,让学习连接真实岗位','实训教学与岗位能力培养持续融合。','教务处','/main/ffkj-portal/news-red/campus-building.jpg',10000,'/xiaoyuanxinwen/FFKJNR000002.htm',2,'2026-09-16 09:00:00'),
+('FFKJ_NEWS_RED_CAMPUS','校企交流:共同探索人才培养新路径','校企双方围绕人才培养开展交流。','校企合作办','/main/ffkj-portal/news-red/campus-life.jpg',10000,'/xiaoyuanxinwen/FFKJNR000003.htm',3,'2026-09-15 09:00:00'),
+('FFKJ_NEWS_RED_CAMPUS','新学期,从一堂生动的开学第一课开始','新学期教学工作平稳有序开展。','教务处','/main/ffkj-portal/news-red/campus-tree.jpg',10000,'/xiaoyuanxinwen/FFKJNR000004.htm',4,'2026-09-14 09:00:00'),
+('FFKJ_NEWS_RED_CAMPUS','校园里的阅读时光,与好书相遇','校园阅读活动营造浓厚学习氛围。','图书馆','/main/ffkj-portal/news-red/hero-building.jpg',10000,'/xiaoyuanxinwen/FFKJNR000005.htm',5,'2026-09-13 09:00:00'),
+('FFKJ_NEWS_RED_CAMPUS','把青春写在实践里:校园活动回顾','学生实践活动丰富校园生活。','校团委','/main/ffkj-portal/news-red/campus-building.jpg',10000,'/xiaoyuanxinwen/FFKJNR000006.htm',6,'2026-09-12 09:00:00'),
+('FFKJ_NEWS_RED_FRONTLINE','课堂现场:从一项操作练起','学院供稿示例','信息工程学院',NULL,10000,'/yixiandongtai/FFKJNR000101.htm',1,'2026-09-17 09:00:00'),
+('FFKJ_NEWS_RED_FRONTLINE','学生服务:让新学期的准备更从容','部门供稿示例','学生处',NULL,10000,'/yixiandongtai/FFKJNR000102.htm',2,'2026-09-16 09:00:00'),
+('FFKJ_NEWS_RED_FRONTLINE','社团活动:在兴趣里找到同行者','团委供稿示例','校团委',NULL,10000,'/yixiandongtai/FFKJNR000103.htm',3,'2026-09-15 09:00:00'),
+('FFKJ_NEWS_RED_FRONTLINE','实训教学:把细节做到位','实训教学动态','实训中心',NULL,10000,'/yixiandongtai/FFKJNR000104.htm',4,'2026-09-14 09:00:00'),
+('FFKJ_NEWS_RED_MEDIA','聚焦职业教育,记录华夏校园故事','媒体关注学校职业教育发展。','中国教育在线',NULL,10000,'/meiti/FFKJNR000201.htm',1,'2026-09-17 09:00:00'),
+('FFKJ_NEWS_RED_MEDIA','走进实训课堂,看见技能成长','媒体报道学校实训教学。','广州日报',NULL,10000,'/meiti/FFKJNR000202.htm',2,'2026-09-16 09:00:00'),
+('FFKJ_NEWS_RED_MEDIA','校企协同,连接学习与岗位','媒体关注校企合作育人。','南方+',NULL,10000,'/meiti/FFKJNR000203.htm',3,'2026-09-15 09:00:00'),
+('FFKJ_NEWS_RED_MEDIA','校园文化活动中的青春风采','校园文化活动获媒体关注。','羊城晚报',NULL,10000,'/meiti/FFKJNR000204.htm',4,'2026-09-14 09:00:00'),
+('FFKJ_NEWS_RED_VIDEO','校园的一天,藏着怎样的成长','视频作品','党委宣传部','/main/ffkj-portal/news-red/campus-life.jpg',10000,'/rongmeitoutiao/shipin/FFKJNR000301.htm',1,'2026-09-17 09:00:00'),
+('FFKJ_NEWS_RED_WECHAT','走进实训室,看见专注的你','微信作品','党委宣传部','/main/ffkj-portal/news-red/campus-building.jpg',10020,'https://mp.weixin.qq.com/',1,'2026-09-16 09:00:00'),
+('FFKJ_NEWS_RED_GALLERY','漫步华夏,收藏校园的绿色','图集作品','党委宣传部','/main/ffkj-portal/news-red/campus-tree.jpg',10000,'/rongmeitoutiao/tuji/FFKJNR000303.htm',1,'2026-09-15 09:00:00'),
+('FFKJ_NEWS_RED_NOTICE','关于校园活动报名安排的通知','请按通知要求完成报名。','党委宣传部',NULL,10000,'/gonggao/FFKJNR000401.htm',1,'2026-09-17 09:00:00'),
+('FFKJ_NEWS_RED_NOTICE','关于图书馆服务安排的通知','图书馆服务时间安排。','图书馆',NULL,10000,'/gonggao/FFKJNR000402.htm',2,'2026-09-16 09:00:00'),
+('FFKJ_NEWS_RED_NOTICE','关于新闻投稿与图片提交要求的说明','新闻投稿和图片提交要求。','党委宣传部',NULL,10000,'/gonggao/FFKJNR000403.htm',3,'2026-09-15 09:00:00'),
+('FFKJ_NEWS_RED_NOTICE','关于校内资料更新与提交的通知','校内资料更新安排。','党委宣传部',NULL,10000,'/gonggao/FFKJNR000404.htm',4,'2026-09-14 09:00:00'),
+('FFKJ_NEWS_RED_DOWNLOAD','新闻投稿模板','DOCX · 版本日期 2026-09-17','党委宣传部',NULL,10020,'/web/upload/ffkj-template/content/portal-demo.html',1,'2026-09-17 09:00:00'),
+('FFKJ_NEWS_RED_DOWNLOAD','新闻图片提交规范','PDF · 版本日期 2026-09-17','党委宣传部',NULL,10020,'/web/upload/ffkj-template/content/portal-demo.html',2,'2026-09-17 09:00:00'),
+('FFKJ_NEWS_RED_DOWNLOAD','宣传素材申请说明','PDF · 版本日期 2026-09-17','党委宣传部',NULL,10020,'/web/upload/ffkj-template/content/portal-demo.html',3,'2026-09-17 09:00:00');
+
+INSERT INTO article (
+  dcode, websiteid, unitid, ascode, navigationid, title, ajtcode, `desc`, source, thumbnail,
+  sticktop, sticktop_end_time, sticktop_schedulesid, `release`, release_time, release_task_schedulesid,
+  content, edit_content, url, read_count, create_time, last_change_time, create_pid, last_change_pid, sort_number
+)
+SELECT 61, @news_site_id, 10000, 10010, n.navigationid, s.title, s.ajtcode, s.summary, s.source, s.thumbnail,
+       0, NULL, NULL, 1, s.release_time, NULL,
+       '/web/upload/ffkj-template/content/portal-demo.html', '/web/upload/ffkj-template/content/portal-demo.html',
+       s.url, 1, NOW(), NOW(), 10000, 10000, s.sort_number
+FROM news_red_article_seed s
+JOIN website_navigation n ON n.websiteid = @news_site_id AND n.idcard = s.nav_idcard AND n.dcode = 61
+WHERE @news_site_id IS NOT NULL
+  AND NOT EXISTS (
+    SELECT 1 FROM article a
+    WHERE a.websiteid = @news_site_id AND a.url = s.url
+  );
+
+DROP TEMPORARY TABLE IF EXISTS news_red_nav_seed;
+DROP TEMPORARY TABLE IF EXISTS news_red_article_seed;
+
+SELECT @news_template_id AS template_id, @news_site_id AS website_id,
+       (SELECT COUNT(*) FROM website_navigation WHERE wtid = @news_template_id) AS template_nav_count,
+       (SELECT COUNT(*) FROM website_navigation WHERE websiteid = @news_site_id) AS site_nav_count,
+       (SELECT COUNT(*) FROM article WHERE websiteid = @news_site_id) AS article_count;

+ 552 - 0
src/space/apps/moudules/website/template/ffkjnewsred1/WebSiteArticleService.java

@@ -0,0 +1,552 @@
+package space.apps.moudules.website.template.ffkjnewsred1;
+
+import apps.pojo.Article;
+import apps.pojo.Website;
+import apps.pojo.WebsiteNavigation;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import space.apps.moudules.basic.util.SortOrderUtil;
+import space.apps.moudules.website.template.common.WebsiteArticleManager;
+import space.apps.moudules.website.template.common.WebsiteCommonService;
+import space.apps.moudules.website.template.common.WebsiteNavManager;
+import space.apps.moudules.website.template.common.WebsiteTmplateConstvars.navigationType;
+import space.apps.moudules.website.template.common.bean.NavigationMiniView;
+import space.apps.moudules.website.template.util.WebsiteTemplateArticleUtil;
+import space.apps.moudules.website.template.util.WebsiteTemplateNavUtil;
+import space.core.apps.common.BaseTransaction;
+import space.core.db.bean.base.PageBean;
+import space.core.db.jdbc.GeneralDBAccess;
+import space.core.db.jdbc.SqlCommandImpl;
+
+/**
+ * 非繁新闻资讯模板-红色服务。
+ */
+public class WebSiteArticleService extends BaseTransaction {
+
+	private static final long serialVersionUID = 1L;
+	private static final String SCREEN_RED_THEME_CLASS = "screen-red-theme";
+	private static final String HOME_GROUP_NAV_IDCARD = "FFKJ_COLLEGE_HOME_GROUP";
+	private static final String NEWS_SECTION_NAV_IDCARD = "FFKJ_COLLEGE_NEWS";
+	private static final String NEWS_RED_CAMPUS_NAV_IDCARD = "FFKJ_NEWS_RED_CAMPUS";
+	private static final String NEWS_RED_FRONTLINE_NAV_IDCARD = "FFKJ_NEWS_RED_FRONTLINE";
+	private static final String NEWS_RED_MEDIA_NAV_IDCARD = "FFKJ_NEWS_RED_MEDIA";
+	private static final String NEWS_RED_CONVERGED_NAV_IDCARD = "FFKJ_NEWS_RED_CONVERGED";
+	private static final String NEWS_RED_NOTICE_NAV_IDCARD = "FFKJ_NEWS_RED_NOTICE";
+	private static final String NEWS_RED_DOWNLOAD_NAV_IDCARD = "FFKJ_NEWS_RED_DOWNLOAD";
+	private static final String UTILITY_LINK_NAV_IDCARD = "FFKJ_COLLEGE_SCHOOL_HOME";
+	private static final String FOOTER_INFO_NAV_IDCARD = "FFKJ_COLLEGE_FOOTER_INFO";
+	private static final String FOOTER_LINK_NAV_IDCARD = "FFKJ_COLLEGE_FOOTER_LINKS";
+	private static final String INITIAL_TITLE_SUFFIX = "【初始】";
+	private static final String DEFAULT_SCHOOL_HOME_NAME = "学校首页";
+	private static final String DEFAULT_SCHOOL_HOME_URL = "https://hxcs.feifan.net/";
+	private static final String DEFAULT_SITE_HOME_NAME = "本站首页";
+	private static final String DEFAULT_SITE_HOME_URL = "/";
+	private static final String DEFAULT_FOOTER_ADDRESS = "广东省广州市从化城鳌大道东772号";
+	private static final String DEFAULT_FOOTER_OFFICE_PHONE = "校办电话:020-87868999";
+	private static final String DEFAULT_FOOTER_ADMISSION_PHONE = "招生电话:020-87865222";
+	private static final String DEFAULT_FOOTER_EMPLOYMENT_PHONE = "就业办:020-87868935";
+	private static final String DEFAULT_FOOTER_COPYRIGHT_ENGLISH =
+			"Copyright © Guangzhou Huaxia Vocational College All Rights Reserved";
+	private static final String DEFAULT_FOOTER_BEIAN_TEXT = "粤ICP备12042111号";
+	private static final String DEFAULT_FOOTER_BEIAN_URL = "https://beian.miit.gov.cn/";
+
+	public String controller() throws Exception {
+		GeneralDBAccess gdba = getGdbaInstance();
+		Website website = getWebsite();
+		setThemeAttributes(gdba, website);
+		WebsiteNavigation nav = WebsiteNavManager.getNavigationByURI(gdba, website, getRequest().getRequestURI());
+		if (nav != null && navigationType.CATALOG.getCode().equals(nav.getWntcode())) {
+			setCatalogAttributes(gdba, website, nav);
+			return "toCatalog";
+		}
+		String forward = WebsiteCommonService.controller(gdba, website, 10, getRequest());
+		WebsiteCommonService.selectFfkjHeadNavigation(gdba, website, getRequest());
+		setCampusNewsSidebarNavList(gdba, website, nav);
+		return forward;
+	}
+
+	public String details() throws Exception {
+		GeneralDBAccess gdba = getGdbaInstance();
+		Website website = getWebsite();
+		setThemeAttributes(gdba, website);
+		String forward = WebsiteCommonService.details(gdba, website, getRequest());
+		WebsiteCommonService.selectFfkjHeadNavigation(gdba, website, getRequest());
+		setArticleExtras(gdba, website);
+		WebsiteNavigation nav = (WebsiteNavigation) getRequest().getAttribute("navigation");
+		setCampusNewsSidebarNavList(gdba, website, nav);
+		return forward;
+	}
+
+	public String index() throws Exception {
+		GeneralDBAccess gdba = getGdbaInstance();
+		Website website = getWebsite();
+
+		WebsiteCommonService.selectFfkjHeadNavigation(gdba, website, getRequest());
+		setRequestAttribute("website", website);
+		setThemeAttributes(gdba, website);
+
+		setNavView(gdba, website, "newsRedCampusNmv", NEWS_RED_CAMPUS_NAV_IDCARD, 6, false);
+		setNavView(gdba, website, "newsRedFrontlineNmv", NEWS_RED_FRONTLINE_NAV_IDCARD, 4, false);
+		setNavView(gdba, website, "newsRedMediaNmv", NEWS_RED_MEDIA_NAV_IDCARD, 4, false);
+		setNavView(gdba, website, "newsRedNoticeNmv", NEWS_RED_NOTICE_NAV_IDCARD, 4, false);
+		setNavView(gdba, website, "newsRedDownloadNmv", NEWS_RED_DOWNLOAD_NAV_IDCARD, 5, false);
+		setNavView(gdba, website, "newsRedHeroNmv", "FFKJ_NEWS_RED_HERO", 1, true);
+		setConvergedMediaCards(gdba, website);
+
+		return DEFAULT_FORWARD;
+	}
+
+	public String search() throws Exception {
+		GeneralDBAccess gdba = getGdbaInstance();
+		Website website = getWebsite();
+		String forward = WebsiteCommonService.search(gdba, website, getRequest(), 10);
+		WebsiteCommonService.selectFfkjHeadNavigation(gdba, website, getRequest());
+		setThemeAttributes(gdba, website);
+		return forward;
+	}
+
+	private void setThemeAttributes(GeneralDBAccess gdba, Website website) {
+		setRequestAttribute("portalThemeClass", SCREEN_RED_THEME_CLASS);
+		setRequestAttribute("portalThemeStyle", buildPortalThemeStyle(website));
+		setUtilityLinks(gdba, website);
+		setFooterInfo(gdba, website);
+		setFooterLinks(gdba, website);
+	}
+
+	private String buildPortalThemeStyle(Website website) {
+		String themeColor = getThemeColor(website);
+		if (themeColor.length() == 0) {
+			return "";
+		}
+		int[] rgb = parseHexColor(themeColor);
+		int[] darkRgb = blendColor(rgb, new int[] { 0, 0, 0 }, 0.2);
+		int[] brightRgb = blendColor(rgb, new int[] { 255, 255, 255 }, 0.14);
+		String darkColor = toHexColor(darkRgb);
+		String brightColor = toHexColor(brightRgb);
+		return "body.screen-red-theme,.screen-red-theme{--hx-red:" + themeColor + ";--hx-red-dark:"
+				+ darkColor + ";--hx-red-bright:" + brightColor + ";--hx-red-rgb:" + toRgbText(rgb)
+				+ ";--hx-red-dark-rgb:" + toRgbText(darkRgb) + ";--hx-red-bright-rgb:"
+				+ toRgbText(brightRgb) + ";}";
+	}
+
+	private String getThemeColor(Website website) {
+		if (website == null || website.getWhiteLogoFile() == null) {
+			return "";
+		}
+		String value = website.getWhiteLogoFile().trim();
+		if (!value.matches("#[0-9a-fA-F]{6}")) {
+			return "";
+		}
+		return value.toLowerCase();
+	}
+
+	private int[] parseHexColor(String hexColor) {
+		return new int[] { Integer.parseInt(hexColor.substring(1, 3), 16),
+				Integer.parseInt(hexColor.substring(3, 5), 16),
+				Integer.parseInt(hexColor.substring(5, 7), 16) };
+	}
+
+	private int[] blendColor(int[] sourceRgb, int[] targetRgb, double ratio) {
+		int[] result = new int[3];
+		for (int index = 0; index < result.length; index++) {
+			result[index] = clampColor((int) Math.round(sourceRgb[index] * (1 - ratio) + targetRgb[index] * ratio));
+		}
+		return result;
+	}
+
+	private int clampColor(int value) {
+		if (value < 0) {
+			return 0;
+		}
+		if (value > 255) {
+			return 255;
+		}
+		return value;
+	}
+
+	private String toHexColor(int[] rgb) {
+		return "#" + toHexPart(rgb[0]) + toHexPart(rgb[1]) + toHexPart(rgb[2]);
+	}
+
+	private String toHexPart(int value) {
+		String hex = Integer.toHexString(clampColor(value));
+		return hex.length() == 1 ? "0" + hex : hex;
+	}
+
+	private String toRgbText(int[] rgb) {
+		return rgb[0] + ", " + rgb[1] + ", " + rgb[2];
+	}
+
+	private void setUtilityLinks(GeneralDBAccess gdba, Website website) {
+		String schoolHomeName = DEFAULT_SCHOOL_HOME_NAME;
+		String schoolHomeUrl = DEFAULT_SCHOOL_HOME_URL;
+		String siteHomeName = DEFAULT_SITE_HOME_NAME;
+		String siteHomeUrl = DEFAULT_SITE_HOME_URL;
+
+		try {
+			setRequestAttribute("utilityLinksNmv",
+					WebsiteNavManager.getArticleListByNavIDCard(gdba, website, UTILITY_LINK_NAV_IDCARD, 8));
+			Map<String, Object> schoolHome = getUtilityLinkArticle(gdba, website, DEFAULT_SCHOOL_HOME_NAME);
+			schoolHomeName = firstNotBlank(schoolHome.get("title"), schoolHomeName);
+			schoolHomeUrl = firstNotBlank(schoolHome.get("url"), schoolHomeUrl);
+
+			Map<String, Object> siteHome = getUtilityLinkArticle(gdba, website, DEFAULT_SITE_HOME_NAME);
+			siteHomeName = firstNotBlank(siteHome.get("title"), siteHomeName);
+			siteHomeUrl = firstNotBlank(siteHome.get("url"), siteHomeUrl);
+		} catch (Exception e) {
+			// 缺少隐藏栏目或文章时保持默认入口,不影响页面打开。
+			setRequestAttribute("utilityLinksNmv", new NavigationMiniView());
+		}
+
+		setRequestAttribute("schoolHomeName", schoolHomeName);
+		setRequestAttribute("schoolHomeUrl", schoolHomeUrl);
+		setRequestAttribute("siteHomeName", siteHomeName);
+		setRequestAttribute("siteHomeUrl", siteHomeUrl);
+	}
+
+	private void setFooterInfo(GeneralDBAccess gdba, Website website) {
+		String websiteName = website == null ? "" : firstNotBlank(website.getName(), "");
+		String footerAddress = DEFAULT_FOOTER_ADDRESS;
+		String footerOfficePhone = DEFAULT_FOOTER_OFFICE_PHONE;
+		String footerAdmissionPhone = DEFAULT_FOOTER_ADMISSION_PHONE;
+		String footerEmploymentPhone = DEFAULT_FOOTER_EMPLOYMENT_PHONE;
+		String footerOwner = "版权所有:" + websiteName;
+		String footerLogo = "";
+		String footerLogoAlt = websiteName;
+		String footerCopyright = DEFAULT_FOOTER_COPYRIGHT_ENGLISH;
+		String footerBeianText = DEFAULT_FOOTER_BEIAN_TEXT;
+		String footerBeianUrl = DEFAULT_FOOTER_BEIAN_URL;
+
+		try {
+			NavigationMiniView footerInfoNmv = WebsiteNavManager.getArticleListByNavIDCard(gdba, website,
+					FOOTER_INFO_NAV_IDCARD, 16);
+			setRequestAttribute("footerInfoNmv", footerInfoNmv);
+			Map<String, Map<String, Object>> footerInfoArticleMap = buildFooterInfoArticleMap(footerInfoNmv);
+			footerAddress = firstNotBlank(getFooterInfoDesc(footerInfoArticleMap, "地址"), footerAddress);
+			footerOfficePhone = firstNotBlank(getFooterInfoDesc(footerInfoArticleMap, "校办电话"), footerOfficePhone);
+			footerAdmissionPhone = firstNotBlank(getFooterInfoDesc(footerInfoArticleMap, "招生电话"),
+					footerAdmissionPhone);
+			footerEmploymentPhone = firstNotBlank(getFooterInfoDesc(footerInfoArticleMap, "就业办"),
+					footerEmploymentPhone);
+			footerOwner = firstNotBlank(getFooterInfoDesc(footerInfoArticleMap, "版权所有"), footerOwner);
+			footerLogo = firstNotBlank(getFooterInfoThumbnail(footerInfoArticleMap, "底部LOGO"), footerLogo);
+			footerLogoAlt = firstNotBlank(getFooterInfoDesc(footerInfoArticleMap, "底部LOGO"), footerLogoAlt);
+			footerCopyright = firstNotBlank(getFooterInfoDesc(footerInfoArticleMap, "版权英文"), footerCopyright);
+			footerBeianText = firstNotBlank(getFooterInfoDesc(footerInfoArticleMap, "备案信息"), footerBeianText);
+			footerBeianUrl = firstNotBlank(getFooterInfoUrl(footerInfoArticleMap, "备案信息"), footerBeianUrl);
+		} catch (Exception e) {
+			setRequestAttribute("footerInfoNmv", new NavigationMiniView());
+		}
+
+		setRequestAttribute("footerAddressText", footerAddress);
+		setRequestAttribute("footerOfficePhoneText", footerOfficePhone);
+		setRequestAttribute("footerAdmissionPhoneText", footerAdmissionPhone);
+		setRequestAttribute("footerEmploymentPhoneText", footerEmploymentPhone);
+		setRequestAttribute("footerOwnerText", footerOwner);
+		setRequestAttribute("footerLogoUrl", footerLogo);
+		setRequestAttribute("footerLogoAlt", footerLogoAlt);
+		setRequestAttribute("footerCopyrightText", footerCopyright);
+		setRequestAttribute("footerBeianText", footerBeianText);
+		setRequestAttribute("footerBeianUrl", footerBeianUrl);
+	}
+
+	private Map<String, Map<String, Object>> buildFooterInfoArticleMap(NavigationMiniView footerInfoNmv) {
+		Map<String, Map<String, Object>> footerInfoArticleMap = new HashMap<String, Map<String, Object>>();
+		if (footerInfoNmv == null || footerInfoNmv.getArticleList() == null) {
+			return footerInfoArticleMap;
+		}
+		for (Map<String, Object> articleMap : footerInfoNmv.getArticleList()) {
+			if (articleMap == null || articleMap.get("title") == null) {
+				continue;
+			}
+			String title = normalizeFooterInfoTitle(articleMap.get("title").toString());
+			if (title.length() > 0 && !footerInfoArticleMap.containsKey(title)) {
+				footerInfoArticleMap.put(title, articleMap);
+			}
+		}
+		return footerInfoArticleMap;
+	}
+
+	private String normalizeFooterInfoTitle(String title) {
+		if (title == null) {
+			return "";
+		}
+		String normalizedTitle = title.trim();
+		while (normalizedTitle.endsWith(INITIAL_TITLE_SUFFIX)) {
+			normalizedTitle = normalizedTitle.substring(0, normalizedTitle.length() - INITIAL_TITLE_SUFFIX.length())
+					.trim();
+		}
+		return normalizedTitle;
+	}
+
+	private Object getFooterInfoDesc(Map<String, Map<String, Object>> footerInfoArticleMap, String title) {
+		return getFooterInfoField(footerInfoArticleMap, title, "desc");
+	}
+
+	private Object getFooterInfoThumbnail(Map<String, Map<String, Object>> footerInfoArticleMap, String title) {
+		return getFooterInfoField(footerInfoArticleMap, title, "thumbnail");
+	}
+
+	private Object getFooterInfoUrl(Map<String, Map<String, Object>> footerInfoArticleMap, String title) {
+		return getFooterInfoField(footerInfoArticleMap, title, "url");
+	}
+
+	private Object getFooterInfoField(Map<String, Map<String, Object>> footerInfoArticleMap, String title, String field) {
+		if (footerInfoArticleMap == null || !footerInfoArticleMap.containsKey(title)) {
+			return null;
+		}
+		return footerInfoArticleMap.get(title).get(field);
+	}
+
+	private void setFooterLinks(GeneralDBAccess gdba, Website website) {
+		try {
+			setRequestAttribute("footerLinksNmv",
+					WebsiteNavManager.getArticleListByNavIDCard(gdba, website, FOOTER_LINK_NAV_IDCARD, 8));
+		} catch (Exception e) {
+			setRequestAttribute("footerLinksNmv", new NavigationMiniView());
+		}
+	}
+
+	private Map<String, Object> getUtilityLinkArticle(GeneralDBAccess gdba, Website website, String title)
+			throws Exception {
+		String sql = "SELECT a.title, a.url FROM article a "
+				+ "JOIN website_navigation wn ON wn.navigationid = a.navigationid "
+				+ "WHERE a.dcode = 61 AND a.ascode = '10010' AND a.`release` = 1 "
+				+ "AND wn.dcode = 61 AND wn.wnccode = 10000 "
+				+ "AND wn.websiteid = :websiteid AND wn.idcard = :idcard "
+				+ "AND a.title = :title "
+				+ "ORDER BY " + SortOrderUtil.articleSort("a") + " LIMIT 1";
+		SqlCommandImpl sqlCmd = new SqlCommandImpl(sql);
+		sqlCmd.setString("websiteid", website.getWebsiteid()).setString("idcard", UTILITY_LINK_NAV_IDCARD)
+				.setString("title", title);
+		Map<String, Object> article = gdba.selectAsMap(sqlCmd);
+		return article == null ? new java.util.HashMap<String, Object>() : article;
+	}
+
+	private String firstNotBlank(Object value, String fallback) {
+		if (value == null) {
+			return fallback;
+		}
+		String text = value.toString().trim();
+		return text.length() == 0 ? fallback : text;
+	}
+
+	private void setNavView(GeneralDBAccess gdba, Website website, String attrName, String idcard, int size,
+			boolean thumbnailOnly) throws Exception {
+		try {
+			NavigationMiniView nmv = thumbnailOnly
+					? WebsiteNavManager.getArticleThumbnailListByNavIDCard(gdba, website, idcard, size)
+					: WebsiteNavManager.getArticleListByNavIDCard(gdba, website, idcard, size);
+			setRequestAttribute(attrName, nmv);
+		} catch (Exception e) {
+			setRequestAttribute(attrName, new NavigationMiniView());
+		}
+	}
+
+	private void setConvergedMediaCards(GeneralDBAccess gdba, Website website) throws Exception {
+		List<Map<String, Object>> cards = new ArrayList<Map<String, Object>>();
+		Map<String, Object> parentNav = null;
+		try {
+			parentNav = WebsiteTemplateNavUtil.getNavigationByIDCardAsMap(gdba, website,
+					NEWS_RED_CONVERGED_NAV_IDCARD);
+			if (parentNav != null && parentNav.get("navigationid") != null) {
+				List<Map<String, Object>> children = WebsiteNavManager.getChildrenNavigation(gdba, website,
+						Long.valueOf(parentNav.get("navigationid").toString()));
+				if (children != null) {
+					for (Map<String, Object> childNav : children) {
+						if (childNav == null || childNav.get("navigationid") == null) {
+							continue;
+						}
+						PageBean page = new PageBean();
+						page.setRowCountPerPage(1);
+						page.setCurrentPageNo(1);
+						List<Map<String, Object>> articles = WebsiteTemplateArticleUtil.getArticleList(gdba,
+								Long.valueOf(childNav.get("navigationid").toString()), page);
+						if (articles == null || articles.isEmpty()) {
+							continue;
+						}
+						Map<String, Object> card = new HashMap<String, Object>();
+						card.put("typeName", childNav.get("name"));
+						card.put("article", articles.get(0));
+						cards.add(card);
+					}
+				}
+			}
+		} catch (Exception e) {
+			// 单类内容异常时保留其余融媒卡片。
+		}
+		setRequestAttribute("newsRedConvergedNav", parentNav);
+		setRequestAttribute("newsRedConvergedCards", cards);
+	}
+
+	private void setHomeSectionRows(GeneralDBAccess gdba, Website website) throws Exception {
+		List<NavigationMiniView> sectionList = new ArrayList<NavigationMiniView>();
+
+		List<Map<String, Object>> homeChildNavList = getHomeChildNavigation(gdba, website);
+		if (homeChildNavList != null) {
+			for (Map<String, Object> navMap : getHomeSectionNavigationList(homeChildNavList)) {
+				if (!isDynamicHomeSection(navMap)) {
+					continue;
+				}
+				try {
+					NavigationMiniView section = buildNavigationMiniView(gdba, navMap, 5);
+					sectionList.add(section);
+				} catch (Exception e) {
+					// 单个自定义栏目数据异常时跳过,避免影响首页其他栏目。
+				}
+			}
+		}
+
+		setRequestAttribute("collegeHomeSectionRows", groupSections(sectionList, 2));
+	}
+
+	private List<Map<String, Object>> getHomeSectionNavigationList(List<Map<String, Object>> homeChildNavList) {
+		List<Map<String, Object>> sectionNavList = new ArrayList<Map<String, Object>>();
+		boolean topBoundaryFound = false;
+
+		for (Map<String, Object> navMap : homeChildNavList) {
+			if (hasIDCard(navMap, UTILITY_LINK_NAV_IDCARD)) {
+				topBoundaryFound = true;
+				continue;
+			}
+			if (hasIDCard(navMap, FOOTER_LINK_NAV_IDCARD)) {
+				if (topBoundaryFound) {
+					break;
+				}
+				continue;
+			}
+			if (topBoundaryFound) {
+				sectionNavList.add(navMap);
+			}
+		}
+
+		if (topBoundaryFound) {
+			return sectionNavList;
+		}
+		return homeChildNavList;
+	}
+
+	private boolean hasIDCard(Map<String, Object> navMap, String idcard) {
+		return navMap != null && navMap.get("idcard") != null && idcard.equals(navMap.get("idcard").toString());
+	}
+
+	private List<Map<String, Object>> getHomeChildNavigation(GeneralDBAccess gdba, Website website) throws Exception {
+		Map<String, Object> homeGroupMap = WebsiteTemplateNavUtil.getNavigationByIDCardAsMap(gdba, website,
+				HOME_GROUP_NAV_IDCARD);
+		if (homeGroupMap == null || homeGroupMap.get("navigationid") == null) {
+			return null;
+		}
+		return WebsiteTemplateNavUtil.getWebsiteALLConcealTerminalNav(gdba, website,
+				Long.valueOf(homeGroupMap.get("navigationid").toString()));
+	}
+
+	private void setCampusNewsSidebarNavList(GeneralDBAccess gdba, Website website,
+			WebsiteNavigation nav) throws Exception {
+		if (nav == null || nav.getNavigationid() == null || nav.getIdcard() == null
+				|| !NEWS_SECTION_NAV_IDCARD.equals(nav.getIdcard())
+				|| nav.getWnscode() == null || !Long.valueOf(10030L).equals(nav.getWnscode())) {
+			return;
+		}
+		List<Map<String, Object>> homeChildNavList = getHomeChildNavigation(gdba, website);
+		if (homeChildNavList == null || homeChildNavList.size() == 0) {
+			return;
+		}
+		String currentNavId = nav.getNavigationid().toString();
+		List<Map<String, Object>> sidebarNavList = new ArrayList<Map<String, Object>>();
+		boolean currentFound = false;
+		for (Map<String, Object> navMap : homeChildNavList) {
+			if (navMap == null || navMap.get("navigationid") == null || navMap.get("wnscode") == null) {
+				continue;
+			}
+			String navId = navMap.get("navigationid").toString();
+			if (currentNavId.equals(navId)) {
+				currentFound = true;
+			}
+			if ("10000".equals(navMap.get("wnscode").toString()) || currentNavId.equals(navId)) {
+				sidebarNavList.add(navMap);
+			}
+		}
+		if (!currentFound) {
+			return;
+		}
+		WebsiteTemplateNavUtil.clearNavOtherField(sidebarNavList);
+		setRequestAttribute("redSidebarNavList", sidebarNavList);
+	}
+
+	private boolean isDynamicHomeSection(Map<String, Object> navMap) {
+		if (navMap == null || navMap.get("idcard") == null || navMap.get("wntcode") == null) {
+			return false;
+		}
+		String idcard = navMap.get("idcard").toString();
+		if ("FFKJ_COLLEGE_HOME_HERO".equals(idcard) || "FFKJ_COLLEGE_NEWS".equals(idcard)
+				|| "FFKJ_COLLEGE_NOTICE".equals(idcard) || "FFKJ_COLLEGE_MAJOR".equals(idcard)
+				|| UTILITY_LINK_NAV_IDCARD.equals(idcard) || FOOTER_INFO_NAV_IDCARD.equals(idcard)
+				|| FOOTER_LINK_NAV_IDCARD.equals(idcard)) {
+			return false;
+		}
+		return navigationType.LIST.getCode().toString().equals(navMap.get("wntcode").toString());
+	}
+
+	private NavigationMiniView buildNavigationMiniView(GeneralDBAccess gdba, Map<String, Object> navMap, int size)
+			throws Exception {
+		normalizeNavigationMap(gdba, navMap);
+		PageBean pb = new PageBean();
+		pb.setRowCountPerPage(size);
+		List<Map<String, Object>> articleList = WebsiteTemplateArticleUtil.getArticleList(gdba,
+				Long.valueOf(navMap.get("navigationid").toString()), pb);
+		return new NavigationMiniView(navMap, articleList);
+	}
+
+	private void normalizeNavigationMap(GeneralDBAccess gdba, Map<String, Object> navMap) throws Exception {
+		if (navMap == null) {
+			return;
+		}
+		if (navMap.get("href") == null) {
+			navMap.put("href", WebsiteTemplateNavUtil.getNavigationHref(gdba, navMap));
+		}
+		if (navMap.get("target") == null && navMap.get("wnjtcode") != null) {
+			navMap.put("target", WebsiteTemplateNavUtil.jumpTypeCodeToTargetValue(navMap.get("wnjtcode").toString()));
+		}
+	}
+
+	private List<List<NavigationMiniView>> groupSections(List<NavigationMiniView> sectionList, int groupSize) {
+		List<List<NavigationMiniView>> rows = new ArrayList<List<NavigationMiniView>>();
+		if (sectionList == null || sectionList.size() == 0) {
+			return rows;
+		}
+		for (int index = 0; index < sectionList.size(); index += groupSize) {
+			List<NavigationMiniView> row = new ArrayList<NavigationMiniView>();
+			for (int offset = 0; offset < groupSize && index + offset < sectionList.size(); offset++) {
+				row.add(sectionList.get(index + offset));
+			}
+			rows.add(row);
+		}
+		return rows;
+	}
+
+	private void setArticleExtras(GeneralDBAccess gdba, Website website) throws Exception {
+		Article article = WebsiteArticleManager.getArticleByRequest(gdba, website, getRequest());
+		if (article != null) {
+			setRequestAttribute("articleThumbnail", article.getThumbnail());
+			setRequestAttribute("articleReadCount", article.getReadCount());
+		}
+	}
+
+	private void setCatalogAttributes(GeneralDBAccess gdba, Website website, WebsiteNavigation nav) throws Exception {
+		WebsiteCommonService.selectFfkjHeadNavigation(gdba, website, getRequest());
+		setRequestAttribute("website", website);
+		setRequestAttribute("navigation", nav);
+		List<WebsiteNavigation> crumbs = WebsiteNavManager.getNavParentList(gdba, website, nav.getNavigationid());
+		setRequestAttribute("crumbsNavList", crumbs);
+		setRequestAttribute("crumbsNavListSize", crumbs == null ? 0 : crumbs.size() - 1);
+		setRequestAttribute("childrenNavList", WebsiteNavManager.getChildrenNavigation(gdba, website, nav.getNavigationid()));
+		setRequestAttribute("navMiniViewList", WebsiteNavManager.getChildrenNavigationMiniView(gdba, website, nav.getNavigationid()));
+		if (nav.getParentNid() != null) {
+			WebsiteNavigation parNav = WebsiteNavManager.getNavigationByID(gdba, website, nav.getParentNid());
+			setRequestAttribute("parNavigation", parNav);
+			setRequestAttribute("brotherNavList", WebsiteNavManager.getChildrenNavigation(gdba, website, nav.getParentNid()));
+		}
+	}
+}

Некоторые файлы не были показаны из-за большого количества измененных файлов