SHARE
TWEET

Untitled

a guest May 19th, 2017 42 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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"></dd>
  52.                     <dd class="views"></dd>
  53.                     <dd class="lastpost"><span></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" style="padding-left:0;">
  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}
  81.                     </dd>
  82.                     <dd class="posts" style="padding-left:45px;"></dd>
  83.                     <!-- <dd class="authors">{topics_list_box.row.L_AUTHOR}</dd> -->
  84.                     <dd class="views"></dd>
  85.                     <dd class="lastpost"><span></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.             <dl class="icon" style="background-image:url({topics_list_box.row.TOPIC_FOLDER_IMG});">
  94.                 <dd class="dterm" title="{topicrow.TOPIC_FOLDER_IMG_ALT}" {topics_list_box.row.ICON}>
  95.                     <!-- BEGIN single_selection -->
  96.                         <input type="radio" name="{topics_list_box.FIELDNAME}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} />
  97.                     <!-- END single_selection -->
  98.                     {topics_list_box.row.NEWEST_POST_IMG}
  99.                     {topics_list_box.row.PARTICIPATE_POST_IMG}&nbsp;
  100.                     {topics_list_box.row.TOPIC_TYPE}
  101.                     <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>
  102.                     <!-- BEGIN switch_description -->
  103.                     <br />
  104.                     <a href="{topics_list_box.row.U_VIEW_TOPIC}" id="hanckidescpopup"><img class="hanckidesc" src="{topics_list_box.row.topic.switch_description.TOPIC_DESCRIPTION}"/></a>
  105.                     <!-- END switch_description -->
  106.                     <br />
  107.                     {topics_list_box.row.GOTO_PAGE_NEW}
  108.                     <span class="span-tab">{topics_list_box.row.L_BY} <strong>{topics_list_box.row.TOPIC_AUTHOR}</strong></span>
  109.                     <!-- BEGIN nav_tree -->{topics_list_box.row.TOPIC_NAV_TREE_NEW}<!-- END nav_tree -->
  110.                 </dd>
  111.                 <dd class="posts">{topics_list_box.row.REPLIES} <dfn>{L_REPLIES}</dfn><span class="catStats">Replies</span></dd>
  112.                 <dd class="views">{topics_list_box.row.VIEWS} <dfn>{L_VIEWS}</dfn><span class="catStats">Views</span></dd>
  113.                 <dd class="lastpost">
  114.  
  115.                     <!-- BEGIN avatar -->
  116.                     <span class="lastpost-avatar">{topics_list_box.row.topic.avatar.LAST_POST_AVATAR}</span>
  117.                     <div style="float:left;">
  118.                     <!-- END avatar -->
  119.  
  120.                     <span>{topics_list_box.row.LAST_POST_AUTHOR}&nbsp;<dfn>{L_LASTPOST}</dfn>
  121.                     {topics_list_box.row.LAST_POST_IMG}<br style="clear:left;" />{topics_list_box.row.LAST_POST_TIME}</span>
  122.  
  123.                     <!-- BEGIN avatar -->
  124.                     </div>
  125.                     <!-- END avatar -->
  126.                 </dd>
  127.                 <!-- BEGIN multi_selection -->
  128.                     <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} />
  129.                 <!-- END multi_selection -->
  130.             </dl>
  131.         </li>
  132. <!-- END topic -->
  133. <!-- BEGIN no_topics -->
  134. <li class="row row1">
  135.     <dl>
  136.         <dt><strong>{topics_list_box.row.L_NO_TOPICS}</strong></dt>
  137.     </dl>
  138. </li>
  139. <!-- END no_topics -->
  140.  
  141. <!-- BEGIN bottom -->
  142. </ul>
  143.     <span class="corners-bottom"><span></span></span></div>
  144. </div>
  145. <!-- END bottom -->
  146. <!-- BEGIN spacer --><br /><!-- END spacer -->
  147. <!-- END row -->
  148. <!-- END topics_list_box -->
  149. <style>
  150. dl.icon.locked dd.posts:before{background:#777!important}
  151. dl.icon.no-new dd.posts:before,dl.icon.new-new dd.posts:before,dl.icon.locked dd.posts:before{
  152. content:' ';
  153. position:absolute;
  154. left:5px;
  155. width:35px;
  156. top:-2px;
  157. bottom:-2px;
  158. background:#38a
  159. }
  160. dl.icon[style="background-image:url(https://illiweb.com/fa/m/folder_announce_new1.gif);"] dd.views:before,
  161. dl.icon[style="background-image:url(https://illiweb.com/fa/m/folder_announce1.gif);"] dd.views:before{content:''}
  162. dl.icon[style="background-image:url(https://illiweb.com/fa/prosilver/sticky_read.gif);"] dd.views:before,
  163. dl.icon[style="background-image:url(https://illiweb.com/fa/prosilver/sticky_unread.gif);"] dd.views:before{content:''}
  164. dl.icon[style="background-image:url(https://illiweb.com/fa/prosilver/announce_read.gif);"] dd.views:before,
  165. dl.icon[style="background-image:url(https://illiweb.com/fa/prosilver/announce_unread.gif);"] dd.views:before{content:''}
  166. dl.icon[style="background-image:url(https://illiweb.com/fa/prosilver/topic_read.gif);"] dd.views:before,
  167. dl.icon[style="background-image:url(https://illiweb.com/fa/prosilver/topic_unread.gif);"] dd.views:before{content:''}
  168. dl.icon[style="background-image:url(https://illiweb.com/fa/prosilver/topic_read_hot.gif);"] dd.views:before,
  169. dl.icon[style="background-image:url(https://illiweb.com/fa/prosilver/topic_unread_hot.gif);"] dd.views:before{content:''}
  170. dl.icon[style="background-image:url(https://illiweb.com/fa/prosilver/topic_read_locked.gif);"] dd.views:before,
  171. dl.icon[style="background-image:url(https://illiweb.com/fa/prosilver/topic_unread_locked.gif);"] dd.views:before{content:''}
  172.  
  173. dl.icon[style="background-image:url(https://illiweb.com/fa/m/folder_announce_new1.gif);"] dd.views:before,
  174. dl.icon[style="background-image:url(https://illiweb.com/fa/m/folder_announce1.gif);"] dd.views:before,
  175. dl.icon[style="background-image:url(https://illiweb.com/fa/prosilver/sticky_read.gif);"] dd.views:before,
  176. dl.icon[style="background-image:url(https://illiweb.com/fa/prosilver/sticky_unread.gif);"] dd.views:before,
  177. dl.icon[style="background-image:url(https://illiweb.com/fa/prosilver/announce_read.gif);"] dd.views:before,
  178. dl.icon[style="background-image:url(https://illiweb.com/fa/prosilver/announce_unread.gif);"] dd.views:before,
  179. dl.icon[style="background-image:url(https://illiweb.com/fa/prosilver/topic_read.gif);"] dd.views:before,
  180. dl.icon[style="background-image:url(https://illiweb.com/fa/prosilver/topic_unread.gif);"] dd.views:before,
  181. dl.icon[style="background-image:url(https://illiweb.com/fa/prosilver/topic_read_hot.gif);"] dd.views:before,
  182. dl.icon[style="background-image:url(https://illiweb.com/fa/prosilver/topic_unread_hot.gif);"] dd.views:before,
  183. dl.icon[style="background-image:url(https://illiweb.com/fa/prosilver/topic_read_locked.gif);"] dd.views:before,
  184. dl.icon[style="background-image:url(https://illiweb.com/fa/prosilver/topic_unread_locked.gif);"] dd.views:before{
  185. font-family:FontAwesome;
  186. font-size:22px;
  187. position:absolute;
  188. left:5px;
  189. color:#fafafa;
  190. top:28px;
  191. width:35px;
  192. text-align:center;
  193. }
  194. .forumbg dd.lastpost {
  195.     font-size: 1.1em;
  196.     width: 25%;
  197. }
  198. span.innerPap,span.innerPap-new,span.innerPap-locked,span.innerPap-anno,span.innerPap-anno-new,span.innerPap-ganno-nonew,span.innerPap-ganno-new,span.innerPap-sticky-nonew,span.innerPap-sticky-new {
  199.     position: absolute;
  200.     top: 0;
  201.     bottom: 0;
  202.     left: 8px;
  203.     width: 30px;
  204. }
  205. span.innerPap,span.innerPap-new,span.innerPap-anno,span.innerPap-anno-new,span.innerPap-ganno-nonew,span.innerPap-ganno-new,span.innerPap-sticky-nonew,span.innerPap-sticky-new{background: #38a;}
  206. span.innerPap-locked{background: #777;}
  207. span.innerPap:before {
  208.     content: '';
  209.     font-size: 24px;
  210.     font-family: FontAwesome;
  211.     color: #fafafa;
  212.     position: absolute;
  213.     top: 35%;
  214.     left: 5px;
  215. }
  216. span.innerPap-new:before {
  217.     content: '';
  218.     font-size: 24px;
  219.     font-family: FontAwesome;
  220.     color: #fafafa;
  221.     position: absolute;
  222.     top: 35%;
  223.     left: 5px;
  224. }
  225. span.innerPap-locked:before {
  226.     content: '';
  227.     font-size: 24px;
  228.     font-family: FontAwesome;
  229.     color: #fafafa;
  230.     position: absolute;
  231.     top: 35%;
  232.     left: 5px;
  233. }
  234. span.innerPap-anno:before,span.innerPap-anno-new:before{content:''}
  235. span.innerPap-ganno-nonew:before,span.innerPap-ganno-new:before{content:''}
  236. span.innerPap-sticky-nonew:before,span.innerPap-sticky-new:before{content:''}
  237. span.innerPap-anno:before,span.innerPap-anno-new:before,span.innerPap-ganno-nonew:before,span.innerPap-ganno-new:before,span.innerPap-sticky-nonew:before,span.innerPap-sticky-new:before{
  238. width:30px;
  239.     font-size: 24px;
  240.     font-family: FontAwesome;
  241.     color: #fafafa;
  242.     position: absolute;
  243.     top: 35%;
  244.     left: 3px;
  245. }
  246. </style>
RAW Paste Data
Challenge yourself this year...
Learn something new in 2017
Top