FakeLove Admin
Messages : 10 Date d'inscription : 31/10/2018
test test: Noter ici votre profil rp (1 rp par semaine, vous répondez tous les soirs,...)
| Sujet: topic list box Ven 9 Nov - 11:37 | |
| - Code:
-
<link href="https://fonts.googleapis.com/css?family=Advent+Pro" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Josefin+Sans:100" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Advent+Pro" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Niconne" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Playfair+Display" rel="stylesheet"> <!-- 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}() { 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}() { 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="topic-wrap"> <table class="topic-wrap-table" width="100%" border="0" cellspacing="0" cellpadding="0">
<!-- BEGIN pagination --> <tr> <td class="row1" colspan="7" align="right"><span class="gensmall">{PAGINATION}</span></td> </tr> <!-- END pagination --> <!-- END header_table --><!-- BEGIN header_row --> <tr> <td class="row3" colspan="{topics_list_box.row.COLSPAN}"><span class="gensmall"> <b>{topics_list_box.row.L_TITLE}</b></span></td> </tr> <!-- END header_row -->
<!-- BEGIN topic --> {topics_list_box.row.END_TABLE_STICKY} <tr> <td colspan="7"> <div class="topic"> <div class="topic-img"> <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}" /> </div> <div class="topic-left">
<div class="topic-titre"> {topics_list_box.row.NEWEST_POST_IMG}{topics_list_box.row.PARTICIPATE_POST_IMG}{topics_list_box.row.TOPIC_TYPE} <h2> <a href="{topics_list_box.row.U_VIEW_TOPIC}">{topics_list_box.row.TOPIC_TITLE}</a> </h2> </div> <div class="topic-auteur">{topics_list_box.row.TOPIC_AUTHOR}<div>{topics_list_box.row.GOTO_PAGE}<!-- BEGIN nav_tree -->{topics_list_box.row.TOPIC_NAV_TREE} <!-- END nav_tree --></div></div> <!-- BEGIN switch_description --> <div class="topic-desc"> {topics_list_box.row.topic.switch_description.TOPIC_DESCRIPTION} </div> <!-- END switch_description --> </div> <div class="topic-stats"><div>{topics_list_box.row.REPLIES} réponses</div><div>{topics_list_box.row.VIEWS} vues</div></div> <div class="topic-last">{topics_list_box.row.LAST_POST_TIME}<div>{topics_list_box.row.LAST_POST_AUTHOR} {topics_list_box.row.LAST_POST_IMG}</div></div> </div> </td> </tr> <!-- END topic --><!-- BEGIN no_topics --> <tr> <td class="row1" colspan="{topics_list_box.row.COLSPAN}" align="center" valign="middle" height="30"><span class="gen">{topics_list_box.row.L_NO_TOPICS}</span></td> </tr> <!-- END no_topics --><!-- BEGIN bottom --> <tr> <td colspan="{topics_list_box.row.COLSPAN}" valign="middle"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <span class="gensmall">{PAGINATION}</span></td> <td align="right"><a href="#top">{L_BACK_TO_TOP}</a> </td> </tr> </table> </td> </tr> <!-- END bottom --><!-- BEGIN footer_table --> </table></div><!-- END footer_table --><!-- BEGIN spacer --><br class="gensmall" /><!-- END spacer --><!-- END row --><!-- END topics_list_box --> <script> $(document).ready(function(){ $('.topic').each(function(){ $('.topic-img img[title="Nouveaux messages"]').closest('.topic').addClass('nouveau'); $('.topic-img img[title="Ce sujet est verrouillé, vous ne pouvez pas éditer les messages ou faire de réponses."]').closest('.topic').addClass('verrouille'); });
$('.topic-wrap').find('th').closest('.topic-wrap-table').addClass('topic-note'); }); </script> | |
|