Code
<if test="recenttopics:|:is_array( $topics ) && count( $topics )">
<div class='ipsSideBlock clearfix' style='border:1px solid #d8d8d8;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;'>
<h3 style="background-image:url(/public/style_images/master/maintitle.png);color:#fff;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;"><img src='{$this->settings['img_url']}/add.png' alt='Jaunākie ieraksti' /> Jaunākie ieraksti</h3>
<div class='_sbcollapsable'>
<ul class='ipsList'>
<foreach loop="topics_hook:$topics as $r">
<li class='clearfix'>
<div id="latest-posts" style="border-bottom:1px dashed #9c9c9c;padding:2px;margin-bottom:3px;">
<div class='list_content'>
<a href='{parse url="showtopic={$r['tid']}" base="public" template="showtopic" seotitle="{$r['title_seo']}"}' rel='bookmark' class='ipsType_small' title='{$this->lang->words['view_topic']}'>{$r['topic_title']}</a>
<hr><p class='desc ipsType_smaller'>Tēmas Autors:
<if test="$r['members_display_name']">{parse template="userHoverCard" group="global" params="$r"}<else />{$this->settings['guest_name_pre']}{$r['starter_name']}{$this->settings['guest_name_suf']}</if> [{$r['title']}]
<div class="desc" style="text-aligin:right;"> {parse date="$r['start_date']" format="short"}</div>
</div></div>
</li>
</foreach>
</ul>
</div>
</div>
</if>
<style>#latest-posts:hover {border-left:2px solid #0066ff;padding-left:3px;}
</style>
To ievietojam šeit:
Look & Feel > Manege Skins and templates > IP.Board > Board Index > hookRecentTopics
Izskata autors: MarkusR