Advertisement
Guest User

topics_list_box

a guest
Mar 16th, 2015
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.44 KB | None | 0 0
  1. <!-- BEGIN topics_list_box -->
  2. <!-- BEGIN row -->
  3. <!-- BEGIN header_table -->
  4. <!-- BEGIN multi_selection -->
  5. <script type="text/javascript">
  6. function check_uncheck_main_{topics_list_box.row.header_table.BOX_ID}() {
  7. var all_checked = true;
  8. for (i = 0; (i < document.{topics_list_box.FORMNAME}.elements.length) && all_checked; i++) {
  9. if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
  10. all_checked = document.{topics_list_box.FORMNAME}.elements[i].checked;
  11. }
  12. }
  13. document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked = all_checked;
  14. }
  15. function check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}() {
  16. for (i = 0; i < document.{topics_list_box.FORMNAME}.length; i++) {
  17. if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
  18. document.{topics_list_box.FORMNAME}.elements[i].checked = document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked;
  19. }
  20. }
  21. }
  22. </script>
  23. <!-- END multi_selection -->
  24.  
  25. <div class="main-head">
  26. <!-- BEGIN multi_selection -->
  27. <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" />
  28. <!-- END multi_selection -->
  29. <h1 class="page-title">{topics_list_box.row.L_TITLE} [{topics_list_box.row.COUNT_TOTAL_TOPICS}]</h1>
  30. </div>
  31. <div class="main-content" id="nesa_api">
  32. <table cellspacing="0" class="table">
  33.  
  34. <tbody class="statused">
  35. <!-- END header_table -->
  36.  
  37. <!-- BEGIN header_row -->
  38. <strong>{topics_list_box.row.L_TITLE}</strong>
  39. <!-- END header_row -->
  40.  
  41. <!-- BEGIN topic -->
  42. <!-- BEGIN table_sticky -->
  43. </tbody>
  44. </table>
  45. </div>
  46.  
  47. <div class="main-head">
  48. <!-- BEGIN multi_selection -->
  49. <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" / >
  50. <!-- END multi_selection -->
  51. <h2>{topics_list_box.row.topic.table_sticky.L_TITLE} [{topics_list_box.row.topic.table_sticky.COUNT_TOTAL_TOPICS}]</h2>
  52. </div>
  53. <div class="main-content">
  54. <table cellspacing="0" class="table">
  55. <thead>
  56. <tr>
  57. <th class="tcl">{L_TOPICS}</th>
  58. <th class="tc2">{topics_list_box.row.topic.table_sticky.L_REPLIES}</th>
  59. <th class="tc3">{topics_list_box.row.topic.table_sticky.L_VIEWS}</th>
  60. <th class="tcr">{topics_list_box.row.topic.table_sticky.L_LASTPOST}</th>
  61. </tr>
  62. </thead>
  63. <tbody class="statused">
  64. <!-- END table_sticky -->
  65. <tr>
  66. <td class="tcl tdtopics <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">
  67. <span class="status">
  68. <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}" />
  69. </span>
  70. <!-- BEGIN single_selection -->
  71. <input type="radio" name="{topics_list_box.FIELDNAME}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} />&nbsp;
  72. <!-- END single_selection -->
  73. {topics_list_box.row.ICON}&nbsp;
  74. {topics_list_box.row.NEWEST_POST_IMG}
  75. {topics_list_box.row.PARTICIPATE_POST_IMG}&nbsp;
  76. {topics_list_box.row.TOPIC_TYPE}&nbsp;
  77. <h2 class="topic-title"><a class="topictitle" href="{topics_list_box.row.U_VIEW_TOPIC}">{topics_list_box.row.TOPIC_TITLE}</a></h2>&nbsp;
  78. {topics_list_box.row.GOTO_OPEN} {topics_list_box.row.GOTO_PAGE_NEW} {topics_list_box.row.GOTO_CLOSE}&nbsp;
  79. {topics_list_box.row.L_BY} {topics_list_box.row.TOPIC_AUTHOR}
  80. <!-- BEGIN switch_description -->
  81. <br />
  82. &nbsp;{topics_list_box.row.topic.switch_description.TOPIC_DESCRIPTION}
  83. <!-- END switch_description -->
  84. </td>
  85. <td class="tc2 <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">{topics_list_box.row.REPLIES}</td>
  86. <td class="tc3 <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">{topics_list_box.row.VIEWS}</td>
  87. <td class="tcr <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">{topics_list_box.row.LAST_POST_TIME} {topics_list_box.row.L_BY} {topics_list_box.row.LAST_POST_AUTHOR} {topics_list_box.row.LAST_POST_IMG}</td>
  88. <!-- BEGIN multi_selection -->
  89. <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>
  90. <!-- END multi_selection -->
  91. </tr>
  92. <!-- END topic -->
  93. <!-- BEGIN no_topics -->
  94. <tr>
  95. <td class="tcl" colspan="4"><strong>{topics_list_box.row.L_NO_TOPICS}</strong></td>
  96. </tr>
  97. <!-- END no_topics -->
  98.  
  99. <!-- BEGIN bottom -->
  100. </tbody>
  101. </table>
  102. </div>
  103. <div class="main-foot clearfix">
  104. <!-- BEGIN multi_selection -->
  105. <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" />
  106. <!-- END multi_selection -->
  107. <p class="h2">{L_TOPICS} [{topics_list_box.row.bottom.COUNT_TOTAL_TOPICS}]</p>
  108. <p class="options">
  109. <a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a>&nbsp;{S_WATCH_FORUM}&nbsp;<a href="#top">{L_BACK_TO_TOP}</a>
  110. </p>
  111. </div>
  112. <!-- END bottom -->
  113. <!-- BEGIN spacer --><br /><!-- END spacer -->
  114. <!-- END row -->
  115. <!-- END topics_list_box -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement