xingong-footer.jsp 3.3 KB

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