Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.70 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.  
  7. function check_uncheck_main_{topics_list_box.row.header_table.BOX_ID}()
  8. {
  9. alert('MAIN');
  10.  
  11. var all_checked = true;
  12.  
  13. for (i = 0; (i < document.{topics_list_box.FORMNAME}.elements.length) && all_checked; i++)
  14. {
  15. if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}')
  16. {
  17. all_checked = document.{topics_list_box.FORMNAME}.elements[i].checked;
  18. }
  19. }
  20.  
  21. document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked = all_checked;
  22. }
  23.  
  24. function check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}()
  25. {
  26. alert('ALL');
  27.  
  28. for (i = 0; i < document.{topics_list_box.FORMNAME}.length; i++)
  29. {
  30. if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}')
  31. {
  32. document.{topics_list_box.FORMNAME}.elements[i].checked = document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked;
  33. }
  34. }
  35. }
  36.  
  37. </script>
  38. <!-- END multi_selection -->
  39.  
  40. <div class="forumbg announcement">
  41. <div class="inner"><span class="corners-top"><span></span></span>
  42. <ul class="topiclist topics">
  43. <li class="header">
  44. <dl class="icon">
  45. <dt>
  46. <!-- BEGIN multi_selection -->
  47. <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" />
  48. <!-- END multi_selection -->
  49. {topics_list_box.row.L_TITLE}
  50. </dt>
  51. <dd class="posts">{topics_list_box.row.L_REPLIES}</dd>
  52. <dd class="views">{topics_list_box.row.L_VIEWS}</dd>
  53. <dd class="lastpost"><span>{topics_list_box.row.L_LASTPOST}</span></dd>
  54. </dl>
  55. </li>
  56. </ul>
  57. <ul class="topiclist topics bg_none">
  58. <!-- END header_table -->
  59.  
  60. <!-- BEGIN header_row -->
  61. <strong>{topics_list_box.row.L_TITLE}</strong>
  62. <!-- END header_row -->
  63.  
  64. <!-- BEGIN topic -->
  65.  
  66. <!-- BEGIN table_sticky -->
  67. </ul>
  68. <span class="corners-bottom"><span></span></span></div>
  69. </div>
  70. <div class="forumbg">
  71. <div class="inner"><span class="corners-top"><span></span></span>
  72. <ul class="topiclist topics">
  73. <li class="header">
  74. <dl class="icon">
  75. <!--<dd class="dterm">-->
  76. <dd class="dterm">
  77. <!-- BEGIN multi_selection -->
  78. <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" />
  79. <!-- END multi_selection -->
  80. {topics_list_box.row.topic.table_sticky.L_TITLE} ({topics_list_box.row.topic.table_sticky.COUNT_TOTAL_TOPICS})
  81. </dd>
  82. <dd class="posts">{topics_list_box.row.topic.table_sticky.L_REPLIES}</dd>
  83. <!-- <dd class="authors">{topics_list_box.row.L_AUTHOR}</dd> -->
  84. <dd class="views">{topics_list_box.row.topic.table_sticky.L_VIEWS}</dd>
  85. <dd class="lastpost"><span>{topics_list_box.row.topic.table_sticky.L_LASTPOST}</span></dd>
  86. </dl>
  87. </li>
  88. </ul>
  89. <ul class="topiclist topics bg_none">
  90. <!-- END table_sticky -->
  91.  
  92. <li class="row {topics_list_box.row.ROW_ALT_CLASS}"<!-- BEGIN line_sticky --> style="margin-top:5px;"<!-- END line_sticky --> >
  93. <dd class="dterm">
  94. <div class="status">
  95. <i class="fa fa-{topics_list_box.row.TOPIC_FOLDER_IMG}"></i>
  96. </div>
  97. <!-- BEGIN single_selection -->
  98. <input type="radio" name="{topics_list_box.FIELDNAME}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} />
  99. <!-- END single_selection -->
  100. {topics_list_box.row.NEWEST_POST_IMG}
  101. {topics_list_box.row.PARTICIPATE_POST_IMG}
  102. {topics_list_box.row.TOPIC_TYPE}
  103. <div class="topic-title-container"><h2 class="topic-title hierarchy"><a class="topictitle" href="{topics_list_box.row.U_VIEW_TOPIC}">{topics_list_box.row.TOPIC_TITLE}</a></h2></div>
  104. <!-- BEGIN switch_description -->
  105. <br />
  106. {topics_list_box.row.topic.switch_description.TOPIC_DESCRIPTION}
  107. <!-- END switch_description -->
  108. <br />
  109. {topics_list_box.row.GOTO_PAGE_NEW}
  110. <br /><div class="span-tab">{topics_list_box.row.L_BY} <strong>{topics_list_box.row.TOPIC_AUTHOR}</strong></div>
  111. <!-- BEGIN nav_tree -->{topics_list_box.row.TOPIC_NAV_TREE_NEW}<!-- END nav_tree -->
  112. </dd>
  113. <dd class="posts"><span class="standen3"><em><strong>{topics_list_box.row.REPLIES} <dfn>{L_REPLIES}</dfn></strong></em></span></dd>
  114. <dd class="views"><span class="standen3"><em><strong>{topics_list_box.row.VIEWS} <dfn>{L_VIEWS}</dfn></strong></em></span></dd>
  115. <dd class="lastpost">
  116.  
  117. <!-- BEGIN avatar -->
  118. <span class="lastpost-avatar">{topics_list_box.row.topic.avatar.LAST_POST_AVATAR}</span>
  119. <div style="float:right;">
  120. <!-- END avatar -->
  121.  
  122. <span>{topics_list_box.row.LAST_POST_AUTHOR}&nbsp;<dfn>{L_LASTPOST}</dfn>
  123. {topics_list_box.row.LAST_POST_IMG}<br style="clear:left;" />{topics_list_box.row.LAST_POST_TIME}</span>
  124.  
  125. <!-- BEGIN avatar -->
  126. </div>
  127. <!-- END avatar -->
  128. </dd>
  129. <!-- BEGIN multi_selection -->
  130. <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} />
  131. <!-- END multi_selection -->
  132. </dl>
  133. </li>
  134. <!-- END topic -->
  135. <!-- BEGIN no_topics -->
  136. <li class="row row1">
  137. <dl>
  138. <dt><strong>{topics_list_box.row.L_NO_TOPICS}</strong></dt>
  139. </dl>
  140. </li>
  141. <!-- END no_topics -->
  142.  
  143. <!-- BEGIN bottom -->
  144. </ul>
  145. <span class="corners-bottom"><span></span></span></div>
  146. </div>
  147. <!-- END bottom -->
  148. <!-- BEGIN spacer --><br /><!-- END spacer -->
  149. <!-- END row -->
  150. <!-- END topics_list_box -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement