fronti
"myXOOPs"-Könner
Gepostet am:17.08.2007 22:10
#12
<div class="item">
<div class="itemHead"><span class="itemTitle"><{$block.newstitle}></span></div>
<div class="itemInfo">
<span class="itemPoster"><{$block.postedby}> <{$block.poster}></span> <span class="itemPostDate"><{$block.on}> <{$block.published}></span> (<span class="itemStats"><{$block.hits}> <{$block.reads}></span>)
</div>
<div class="itemBody">
<div class="itemText"><{$block.hometext}>
<{if $block.morelink != "" }>
<span class="itemPermaLink"> <{$block.morelink}></span>
<{/if}>
<{if $block.adminlink != "" }>
<span class="itemAdminLink"> <{$block.adminlink}></span>
<{/if}>
</div>
</div>
</div>
<{* ************************************** Classical view ************************************** *}>
<table>
<{if $block.spotlight}>
<tr>
<td><table>
<tr>
<td colspan='2'>
<table border='0'>
<tr><td><img src='<{$block.spotlight.topic_image}>' border='0' alt=''></td><td align='left'><{$block.spotlight.topic_description}></td></tr>
</table>
<font color="#FF6600"><b><{$block.spotlight.title}></b></font> <{$block.spotlight.author}>
<{if $block.sort=='counter'}>
(<{$block.spotlight.hits}>)
<{elseif $block.sort=='published'}>
(<{$block.spotlight.date}>)
<{else}>
(<{$block.spotlight.rating}>)
<{/if}>
</td>
</tr>
<tr>
<td><{$block.spotlight.image}></td><td><{$block.spotlight.text}></td>
</tr>
<tr>
<td colspan='2'>
<{if $block.spotlight.read_more}>
<div style="text-align:right; background-color:F3F4F6;"><a href="<{$xoops_url}>/modules/news/article.php?storyid=<{$block.spotlight.id}>"><{$block.lang_read_more}></a> </div>
<{/if}>
</td>
</tr>
</table></td>
</tr>
<{/if}>
<tr>
<td>
<ul>
<{foreach item=news from=$block.stories}>
<{if $news.id != $block.spotlight.id}>
<li>
<{if $block.sort=='counter'}>
[<{$news.hits}>]
<{elseif $block.sort=='published'}>
[<{$news.date}>]
<{else}>
[<{$news.rating}>]
<{/if}>
<a href="<{$xoops_url}>/modules/news/article.php?storyid=<{$news.id}>" <{$news.infotips}>><{$news.title}></a> <br /><{$news.teaser}></li>
<{/if}>
<{/foreach}>
</ul>
</td>
</tr>
</table>
<{/if}>
Hast du den Top-News-Block auch probiert?
| Forum | Thema | Antworten | Views | Letzter Beitrag |
|---|---|---|---|---|
| Modulentwicklung | New Xoops Xcreate Module | 0 | 5326 | 26.11.2025 15:22 efkan |
| Modulentwicklung | XOOPS Custom Field Module | 1 | 1814 | 24.11.2025 11:21 Goffy |