Re: Bloc forum ! | Titre du sujet : Re: Bloc forum ! par flyingbrei sur 06/10/2008 11:51:28
Bien sur ! J'ai mis le lien du fichier texte avec les codes plus haut!
Mais quelles modifs faire ??
Citation : <table class="outer" cellspacing="1">
<{if $block.disp_mode == 0}> <tr> <th class="head" nowrap="nowrap"><{$smarty.const._MB_NEWBB_FORUM}></th> <th class="head" nowrap="nowrap"><{$smarty.const._MB_NEWBB_TOPIC}></th> <th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_RPLS}></th> <th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_VIEWS}></th> <th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_LPOST}></th> <td></td> </tr>
<{foreach item=topic from=$block.topics}> <tr class="<{cycle values=" even,odd"}> <td>"></td>
<td><a href="<{$xoops_url}>/modules/newbb/viewforum.php?forum=<{$topic.forum_id}>"><{$topic.forum_name}></a></td> <td> <a href="<{$xoops_url}>/modules/newbb/viewtopic.php?topic_id=<{$topic.id}>&forum=<{$topic.forum_id}>&post_id=<{$topic.post_id}>#forumpost<{$topic.post_id}>"><{if $topic.topic_subject}> <{$topic.topic_subject}> <{/if}> <{$topic.title}></a><{$topic.topic_page_jump}></td> <td align="center"><{$topic.replies}></td> <td align="center"><{$topic.views}></td> <td align="right"><{$topic.time}><br /><{$topic.topic_poster}> <{$topic.jump_post}></td> </tr> <{/foreach}>
<{elseif $block.disp_mode == 1}>
<tr> <th class="head" nowrap="nowrap"><{$smarty.const._MB_NEWBB_TOPIC}></th> <th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_RPLS}></th> <th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_LPOST}></th> <td></td> <td></td> <td></td> </tr>
<{foreach item=topic from=$block.topics}> <tr class="<{cycle values=" even,odd"}> <td>"></td>
<td><a href="<{$xoops_url}>/modules/newbb/viewtopic.php?topic_id=<{$topic.id}>&forum=<{$topic.forum_id}>&post_id=<{$topic.post_id}>#forumpost<{$topic.post_id}>"><{$topic.title}></a></td> <td align="center"><{$topic.replies}></td> <td align="right"><{$topic.time}><br /><{$topic.topic_poster}> <{$topic.jump_post}></td> <td></td> <td></td> </tr> <{/foreach}>
<{elseif $block.disp_mode == 2}>
<{foreach item=topic from=$block.topics}> <tr class="<{cycle values=" even,odd"}> <td>"></td>
<td><a href="<{$xoops_url}>/modules/newbb/viewtopic.php?topic_id=<{$topic.id}>&forum=<{$topic.forum_id}>&post_id=<{$topic.post_id}>#forumpost<{$topic.post_id}>"><{$topic.title}></a></td> <td></td> <td></td> <td></td> <td></td> </tr> <{/foreach}>
<{/if}>
</table>
<{if $block.indexNav}> <div style="text-align:right; padding: 5px;"> <a href="<{$xoops_url}>/modules/newbb/viewpost.php"><{$smarty.const._MB_NEWBB_ALLPOSTS}></a> | <a href="<{$xoops_url}>/modules/newbb/viewall.php"><{$smarty.const._MB_NEWBB_ALLTOPICS}></a> | <a href="<{$xoops_url}>/modules/newbb/"><{$smarty.const._MB_NEWBB_VSTFRMS}></a> </div> <{/if}>
|
|