MyXoops Forum

Forum - myXOOPS German Support

3 - 0 = ?  
Geben Sie das Ergebnis der Berechnung ein
Sie haben max. 10 Versuche.
 
* = Erforderlich

Re: poster-name im recent topics block?

Betreff: Re: poster-name im recent topics block?
von dilbert166 am 08.03.2005 16:32:49

hier isses

<table class="outer" cellspacing="1">

  <{if 
$block.disp_mode == 0}>
  <
tr>
    <
th class="head" nowrap><{$block.lang_forum}></th>
    <
th class="head" nowrap><{$block.lang_topic}></th>
    <
th class="head" align="center" nowrap><{$block.lang_replies}></th>
    <
th class="head" align="center" nowrap><{$block.lang_views}></th>
    <
th class="head" align="center" nowrap><{$block.lang_lastpost}></th>
  </
tr>

  <{foreach 
item=topic from=$block.topics}>
  <
tr class="<{cycle values="even,odd"}>">
    <
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}>&amp;forum=<{$topic.forum_id}>&amp;post_id=<{$topic.post_id}>#forumpost<{$topic.post_id}>">

<{if 
$topic.topic_subject eq NONE}>
<{else}>
<{
$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}>[color=FF0000]<br /><{$topic.topic_poster}>[/color]</td>
  </
tr>
  <{/foreach}>

  <{elseif 
$block.disp_mode == 1}>

  <
tr>
    <
td class="head" nowrap><{$block.lang_topic}></td>
    <
td class="head" align="center" nowrap><{$block.lang_replies}></td>
    <
td class="head" align="center" nowrap><{$block.lang_lastpost}></td>
  </
tr>

  <{foreach 
item=topic from=$block.topics}>
  <
tr class="<{cycle values="even,odd"}>">
    <
td><a href="<{$xoops_url}>/modules/newbb/viewtopic.php?topic_id=<{$topic.id}>&amp;forum=<{$topic.forum_id}>&amp;post_id=<{$topic.post_id}>#forumpost<{$topic.post_id}>"><{$topic.title}></a></td>
    <
td align="center"><{$topic.replies}></td>
    <
td align="right"><{$topic.time}>[color=FF0000]<br /><{$topic.topic_poster}>[/color]</td>
  </
tr>
  <{/foreach}>

  <{elseif 
$block.disp_mode == 2}>

  <{foreach 
item=topic from=$block.topics}>
  <
tr class="<{cycle values="even,odd"}>">
    <
td><a href="<{$xoops_url}>/modules/newbb/viewtopic.php?topic_id=<{$topic.id}>&amp;forum=<{$topic.forum_id}>&amp;post_id=<{$topic.post_id}>#forumpost<{$topic.post_id}>"><{$topic.title}></a></td>
  </
tr>
  <{/foreach}>

  <{/if}>

</
table>

<
div style="text-align:right; padding: 5px;">
<
a href="<{$xoops_url}>/modules/newbb/viewall.php"><{$smarty.const._MORE}></a>; <a href="<{$xoops_url}>/modules/newbb/"><{$block.lang_visitforums}></a>
</
div>

Aktuell aus dem Forum

Forum Thema Antworten Views Letzter Beitrag
Modulentwicklung New Xoops Xcreate Module 0 5329 26.11.2025 15:22
efkan Gehe zum letzten Beitrag
Modulentwicklung XOOPS Custom Field Module 1 1816 24.11.2025 11:21
Goffy Gehe zum letzten Beitrag