Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- BEGIN topics_list_box -->
- <!-- BEGIN row -->
- <!-- BEGIN header_table -->
- <!-- BEGIN multi_selection -->
- <script type="text/javascript">
- function check_uncheck_main_{topics_list_box.row.header_table.BOX_ID}()
- {
- alert('MAIN');
- var all_checked = true;
- for (i = 0; (i < document.{topics_list_box.FORMNAME}.elements.length) && all_checked; i++)
- {
- if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}')
- {
- all_checked = document.{topics_list_box.FORMNAME}.elements[i].checked;
- }
- }
- document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked = all_checked;
- }
- function check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}()
- {
- alert('ALL');
- for (i = 0; i < document.{topics_list_box.FORMNAME}.length; i++)
- {
- if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}')
- {
- document.{topics_list_box.FORMNAME}.elements[i].checked = document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked;
- }
- }
- }
- </script>
- <!-- END multi_selection -->
- <div class="forumbg announcement"><div class="inner">
- <ul class="topiclist topics">
- <div class="pcf-forumbg"><!-- BEGIN multi_selection --><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" /><!-- END multi_selection -->
- {topics_list_box.row.L_TITLE}</div>
- </ul>
- <ul class="topiclist topics bg_none">
- <!-- END header_table -->
- <!-- BEGIN header_row --><strong>{topics_list_box.row.L_TITLE}</strong><!-- END header_row -->
- <!-- BEGIN topic -->
- <!-- BEGIN table_sticky -->
- </ul>
- </div></div>
- <div class="forumbg"><div class="inner">
- <ul class="topiclist topics"><div class="pcf-forumbg">{topics_list_box.row.topic.table_sticky.L_TITLE}</div></ul>
- <ul class="topiclist topics bg_none">
- <!-- END table_sticky -->
- <div class="pcf-tp {topics_list_box.row.ROW_ALT_CLASS}" <!-- BEGIN line_sticky --> style="margin-top:5px;"<!-- END line_sticky -->>
- <!-- BEGIN single_selection --><input type="radio" name="{topics_list_box.FIELDNAME}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} /><!-- END single_selection -->
- <div class="pcf-tpicon" style="background-image:url('{topics_list_box.row.TOPIC_FOLDER_IMG}');"></div>
- <div class="pcf-topics">
- <div class="pcf-nontopics">{topics_list_box.row.TOPIC_TYPE} <a href="{topics_list_box.row.U_VIEW_TOPIC}">{topics_list_box.row.TOPIC_TITLE}</a></div>
- <div class="pcf-autor"><strong>{topics_list_box.row.L_BY}</strong> {topics_list_box.row.TOPIC_AUTHOR}</div>
- </div>
- <div class="pcf-rnumber"><div>{topics_list_box.row.REPLIES}<dfn>{L_REPLIES}</dfn></div></div>
- <div class="pcf-rnumber"><div>{topics_list_box.row.VIEWS}<dfn>{L_VIEWS}</dfn></div></div>
- <div class="pcf-lastpost-sts">
- <div class="pcf-lastpost"><b>{L_LASTPOST}</b>: {topics_list_box.row.LAST_POST_AUTHOR} {topics_list_box.row.LAST_POST_IMG} <i class="cp cp-chevron-right"></i> {topics_list_box.row.LAST_POST_TIME}</div>
- <div class="pcf-pagination">{topics_list_box.row.GOTO_PAGE_NEW} <!-- BEGIN nav_tree -->{topics_list_box.row.TOPIC_NAV_TREE_NEW}<!-- END nav_tree --></div>
- </div>
- <!-- BEGIN multi_selection --><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} /><!-- END multi_selection -->
- </div>
- <!-- END topic -->
- <!-- BEGIN no_topics -->
- <div class="pcf-tp"><strong>{topics_list_box.row.L_NO_TOPICS}</strong></div>
- <!-- END no_topics -->
- <!-- BEGIN bottom -->
- </ul></div>
- </div>
- <!-- END bottom -->
- <!-- BEGIN spacer --><br /><!-- END spacer -->
- <!-- END row -->
- <!-- END topics_list_box -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement