jingguan-footer.jsp 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <%@ page pageEncoding="UTF-8"%>
  2. <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
  3. <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
  4. <c:set var="xgFooterLogo" value="${empty website.whiteLogoFile ? website.logo : website.whiteLogoFile}"/>
  5. <c:set var="xgFooterLogoIsWhite" value="${not empty website.whiteLogoFile}"/>
  6. <c:if test="${empty xgFooterLogo and not empty deptFooterLogoNmv.articleList[0].thumbnail}"><c:set var="xgFooterLogo" value="${deptFooterLogoNmv.articleList[0].thumbnail}"/></c:if>
  7. <c:set var="xgFooterWeijian" value="${website.idCode eq 'hxcs_ffkjweijian_2026_site' or website.idCode eq 'local_ffkjweijian_2026_site'}"/>
  8. <c:set var="xgShowFooterName" value="${website.idCode ne 'hxcs_xingong_2026_site' and website.idCode ne 'local_ffkj_xingong_dept_site' and not xgFooterWeijian}"/>
  9. <c:set var="xgFooterAlignClass" value="${(website.idCode eq 'hxcs_xingong_2026_site' or website.idCode eq 'local_ffkj_xingong_dept_site') ? ' footer-info-bottom' : ''}"/>
  10. <c:set var="xgCopyright" value=""/>
  11. <c:forEach items="${deptFooterAddressNmv.articleList}" var="item">
  12. <c:if test="${fn:startsWith(item.title, '版权所有')}"><c:set var="xgCopyright" value="${item.title}"/></c:if>
  13. </c:forEach>
  14. <footer class="footer${xgFooterAlignClass}">
  15. <div class="wrap">
  16. <div class="info">
  17. <c:if test="${xgFooterWeijian}"><h4 class="footer-name-placeholder" aria-hidden="true">&#160;</h4></c:if>
  18. <c:if test="${xgShowFooterName}"><h4>${website.name}</h4></c:if>
  19. <c:if test="${not empty xgFooterLogo}"><img class="footer-logo-image${xgFooterLogoIsWhite ? ' footer-logo-image--white' : ''}" src="${xgFooterLogo}" alt="${website.name}"></c:if>
  20. <p>
  21. <c:choose>
  22. <c:when test="${xgFooterWeijian}">
  23. <c:set var="xgAddressRendered" value="${false}"/>
  24. <c:forEach items="${deptFooterAddressNmv.articleList}" var="item">
  25. <c:if test="${not xgAddressRendered and fn:startsWith(item.title, '地址')}">
  26. ${item.title}<br>
  27. <c:set var="xgAddressRendered" value="${true}"/>
  28. </c:if>
  29. </c:forEach>
  30. </c:when>
  31. <c:otherwise>
  32. <c:forEach items="${deptFooterAddressNmv.articleList}" var="item">
  33. <c:if test="${fn:startsWith(item.title, '地址')}">
  34. ${item.title}<br>
  35. <c:if test="${not empty item.desc and item.desc ne item.title}">${item.desc}<br></c:if>
  36. </c:if>
  37. </c:forEach>
  38. </c:otherwise>
  39. </c:choose>
  40. </p>
  41. </div>
  42. <div>
  43. <h4>快捷入口</h4>
  44. <div class="links">
  45. <c:forEach items="${deptTopLinksNmv.articleList}" var="item"><a href="${item.url}" target="${item.target}">${item.title}</a></c:forEach>
  46. <c:if test="${empty deptTopLinksNmv.articleList}"><a href="/">返回首页</a></c:if>
  47. </div>
  48. </div>
  49. <div>
  50. <h4>关注我们</h4>
  51. <div class="qr">
  52. <c:forEach items="${deptFooterImageNmv.articleList}" var="item" varStatus="vs">
  53. <c:if test="${vs.count le 2 and not empty item.thumbnail}">
  54. <div class="it">
  55. <div class="box"><img src="${item.thumbnail}" alt="${vs.first ? '学院公众号' : '招生咨询'}"></div>
  56. <span>${vs.first ? '学院公众号' : '招生咨询'}</span>
  57. </div>
  58. </c:if>
  59. </c:forEach>
  60. </div>
  61. </div>
  62. </div>
  63. <div class="cr"><div class="wrap">${empty xgCopyright ? '版权所有 © 广州华夏职业学院' : xgCopyright}</div></div>
  64. </footer>