TopicsListPage.html 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <%var cssParam = {%>
  2. <%};%>
  3. <%var jsParam = {%>
  4. <script type="text/javascript">
  5. <%if(msg!"" != ""){%>
  6. alert('${msg}');
  7. <%}%>
  8. </script>
  9. <%};%>
  10. <%layout("/topicsForDiscussion/commonPage/_layout.html", {nav: "", meunsel:"", jsParam:jsParam, cssParam:cssParam}) {%>
  11. <div class="ds-tp">
  12. <div class="ds-tp-header">
  13. <h4><span class="icon-comments" style="color: #990033; margin-right: 5px;"></span>正在讨论的专题</h4>
  14. </div>
  15. <div class="ds-tp-body">
  16. <ul>
  17. <%for(tempData in dataList){%>
  18. <li>
  19. <div class="ds-tp-body-list">
  20. <a href="${contextPath}/TFDPublic/getTopicsAndThemeList?topicsId=${tempData.id }" target="_blank">
  21. <%if(tempData.imgPatch!'' == ''){%>
  22. <img src="${contextPath}/img/discuss/httx.jpg" class="left">
  23. <%}else{%>
  24. <img src="${contextPath}/imageFile/getImage?imagePath=${tempData.imgPatch}" class="left">
  25. <%}%>
  26. </a>
  27. <div class="ds-tp-body-list-info left">
  28. <h5><a href="${contextPath}/TFDPublic/getTopicsAndThemeList?topicsId=${tempData.id }">${tempData.name}</a></h5>
  29. <p>${tempData.detailed}</p>
  30. <p style="color: #99cfff;">题主:<a href="${contextPath}/TFDPublic/toUserPage?userId=${tempData.userId}" target="_blank">${tempData.userName}</a>日期:<span>${tempData.createDate}</span></p>
  31. </div>
  32. </div>
  33. </li>
  34. <%}%>
  35. </ul>
  36. </div>
  37. <div class="ds-tp-page">
  38. <%include("/topicsForDiscussion/commonPage/_paginate.html", {"currentPage": pageNumber!1, "totalPage": totalPage!1, "totalRow": totalRow!0, "actionUrl": contextPath+"/TFDPublic/getTopicsList?pageNumber=", "urlParas": urlParas!''}){}%>
  39. </div>
  40. </div>
  41. <%include("/topicsForDiscussion/commonPage/_left.html", {"newTopicsList": newTopicsList,"themeTopicsList": themeTopicsList}){}%>
  42. <%}%>