Advertisement
Guest User

topic_list_box

a guest
Feb 4th, 2016
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.60 KB | None | 0 0
  1. <style>.table thead tr:first-of-type {
  2. display: none;
  3. }
  4. .tc1, .tcr, .pun table.table td {
  5. background: none !important;
  6. border: none !important;
  7. }
  8. .tc2, .tc3 {
  9. background: none !important;
  10. border: none !important;
  11. color: #737C8D;
  12. font-family: Arial, Helvetica, sans-serif;
  13. font-size: 16px;
  14. font-weight: 700;
  15. overflow: hidden;
  16. position: relative;
  17. text-align: center;
  18. }
  19. .tc2:after {
  20. display: block;
  21. content: "Tópicos";
  22. color: #737C8D;
  23. display: block;
  24. font-family: Arial, Helvetica, sans-serif;
  25. font-size: 10px;
  26. font-weight: normal !important;
  27. text-align: center;
  28. text-transform: uppercase;
  29. }
  30. .tc3:after {
  31. display: block;
  32. content: "Visualizações";
  33. color: #737C8D;
  34. display: block;
  35. font-family: Arial, Helvetica, sans-serif;
  36. font-size: 10px;
  37. font-weight: normal !important;
  38. text-align: center;
  39. text-transform: uppercase;
  40. }
  41.  
  42. .pun .statused tr {
  43. background: #f7f7f7;
  44. border: 1px solid #ddd;
  45. }
  46.  
  47. .main .main-content {
  48. background: #FFF;
  49. border: 1px solid #ddd;
  50. box-shadow: 0 0 4px rgba(0,0,0,0.1);
  51. margin: 0;
  52. padding: 6px;
  53. }
  54. a.forumtitle {color: #666;font-weight: bold;text-decoration: none !important}</style>
  55. <!-- BEGIN topics_list_box -->
  56. <!-- BEGIN row -->
  57. <!-- BEGIN header_table -->
  58. <!-- BEGIN multi_selection -->
  59. <script type="text/javascript">
  60. function check_uncheck_main_{topics_list_box.row.header_table.BOX_ID}() {
  61. var all_checked = true;
  62. for (i = 0; (i < document.{topics_list_box.FORMNAME}.elements.length) && all_checked; i++) {
  63. if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
  64. all_checked = document.{topics_list_box.FORMNAME}.elements[i].checked;
  65. }
  66. }
  67. document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked = all_checked;
  68. }
  69. function check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}() {
  70. for (i = 0; i < document.{topics_list_box.FORMNAME}.length; i++) {
  71. if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
  72. document.{topics_list_box.FORMNAME}.elements[i].checked = document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked;
  73. }
  74. }
  75. }
  76. </script>
  77. <!-- END multi_selection -->
  78.  
  79. <div class="main-head">
  80. <!-- BEGIN multi_selection -->
  81. <input onclick="check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}();" type="checkbox" name="all_mark_{topics_list_box.row.header_table.BOX_ID}" value="0" />
  82. <!-- END multi_selection -->
  83. <h1 class="page-title">{topics_list_box.row.L_TITLE} [{topics_list_box.row.COUNT_TOTAL_TOPICS}]</h1>
  84. </div>
  85. <div class="main-content">
  86. <table cellspacing="0" class="table">
  87. <thead>
  88. <tr>
  89. <th class="tcl">{L_TOPICS}</th>
  90. <th class="tc2">{topics_list_box.row.L_REPLIES}</th>
  91. <th class="tc3">{topics_list_box.row.L_VIEWS}</th>
  92. <th class="tcr">{topics_list_box.row.L_LASTPOST}</th>
  93. </tr>
  94. </thead>
  95. <tbody class="statused">
  96. <!-- END header_table -->
  97.  
  98. <!-- BEGIN header_row -->
  99. <strong>{topics_list_box.row.L_TITLE}</strong>
  100. <!-- END header_row -->
  101.  
  102. <!-- BEGIN topic -->
  103. <!-- BEGIN table_sticky -->
  104. </tbody>
  105. </table>
  106. </div>
  107.  
  108. <div class="main-head">
  109. <!-- BEGIN multi_selection -->
  110. <input onclick="check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}();" type="checkbox" name="all_mark_{topics_list_box.row.header_table.BOX_ID}" value="0" / >
  111. <!-- END multi_selection -->
  112. <h2>{topics_list_box.row.topic.table_sticky.L_TITLE} [{topics_list_box.row.topic.table_sticky.COUNT_TOTAL_TOPICS}]</h2>
  113. </div>
  114. <div class="main-content">
  115. <table cellspacing="0" class="table">
  116. <thead>
  117. <tr>
  118. <th class="tcl">{L_TOPICS}</th>
  119. <th class="tc2">{topics_list_box.row.topic.table_sticky.L_REPLIES}</th>
  120. <th class="tc3">{topics_list_box.row.topic.table_sticky.L_VIEWS}</th>
  121. <th class="tcr">{topics_list_box.row.topic.table_sticky.L_LASTPOST}</th>
  122. </tr>
  123. </thead>
  124. <tbody class="statused">
  125. <!-- END table_sticky -->
  126. <tr>
  127. <td class="tcl tdtopics <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">
  128. <span class="status">
  129. <img title="{topics_list_box.row.L_TOPIC_FOLDER_ALT}" src="{topics_list_box.row.TOPIC_FOLDER_IMG}" alt="{topics_list_box.row.L_TOPIC_FOLDER_ALT}" />
  130. </span>
  131. <!-- BEGIN single_selection -->
  132. <input type="radio" name="{topics_list_box.FIELDNAME}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} />&nbsp;
  133. <!-- END single_selection -->
  134. {topics_list_box.row.ICON}&nbsp;
  135. {topics_list_box.row.NEWEST_POST_IMG}
  136. {topics_list_box.row.PARTICIPATE_POST_IMG}&nbsp;
  137. {topics_list_box.row.TOPIC_TYPE}&nbsp;
  138. <h2 class="topic-title"><a class="topictitle" href="{topics_list_box.row.U_VIEW_TOPIC}">{topics_list_box.row.TOPIC_TITLE}</a></h2>&nbsp;
  139. {topics_list_box.row.GOTO_OPEN} {topics_list_box.row.GOTO_PAGE_NEW} {topics_list_box.row.GOTO_CLOSE}&nbsp;
  140. <br/>{topics_list_box.row.L_BY} {topics_list_box.row.TOPIC_AUTHOR}
  141. <!-- BEGIN switch_description -->
  142. <br />
  143. &nbsp;{topics_list_box.row.topic.switch_description.TOPIC_DESCRIPTION}
  144. <!-- END switch_description -->
  145. </td>
  146. <td class="tc2 <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">{topics_list_box.row.REPLIES}</td>
  147. <td class="tc3 <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">{topics_list_box.row.VIEWS}</td>
  148. <td class="tcr <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">
  149. <!-- BEGIN avatar -->
  150. <span class="lastpost-avatar">{topics_list_box.row.topic.avatar.LAST_POST_AVATAR}</span>
  151. <!-- END avatar -->
  152.  
  153. {topics_list_box.row.LAST_POST_TIME}<br/> {topics_list_box.row.L_BY} {topics_list_box.row.LAST_POST_AUTHOR} {topics_list_box.row.LAST_POST_IMG}
  154. </td>
  155. <!-- BEGIN multi_selection -->
  156. <td><input onclick="javascript:check_uncheck_main_{topics_list_box.row.BOX_ID}();" type="checkbox" name="{topics_list_box.FIELDNAME}[]{topics_list_box.row.BOX_ID}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} /></td>
  157. <!-- END multi_selection -->
  158. </tr>
  159. <!-- END topic -->
  160. <!-- BEGIN no_topics -->
  161. <tr>
  162. <td class="tcl" colspan="4"><strong>{topics_list_box.row.L_NO_TOPICS}</strong></td>
  163. </tr>
  164. <!-- END no_topics -->
  165.  
  166. <!-- BEGIN bottom -->
  167. </tbody>
  168. </table>
  169. </div>
  170. <div class="main-foot clearfix">
  171. <!-- BEGIN multi_selection -->
  172. <input onclick="check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}();" type="checkbox" name="all_mark_{topics_list_box.row.header_table.BOX_ID}" value="0" />
  173. <!-- END multi_selection -->
  174. <p class="h2">{L_TOPICS} [{topics_list_box.row.bottom.COUNT_TOTAL_TOPICS}]</p>
  175. <p class="options">
  176. <a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a>&nbsp;{S_WATCH_FORUM}&nbsp;<a href="#top">{L_BACK_TO_TOP}</a>
  177. </p>
  178. </div>
  179. <!-- END bottom -->
  180. <!-- BEGIN spacer --><br /><!-- END spacer -->
  181. <!-- END row -->
  182. <!-- END topics_list_box -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement