Jump to content

Blocco che visualizza i topic senza risposte

Recommended Posts


ecco un codice che si può utilizzare per visualizzare i topic senza risposte

<br /><div class='general_box'>        <h3><img src="http://www.yoursite.com/forums/public/style_images/greylust/comment_new.png" alt="" /> {$title}</h3>                <ul class='hfeed'>                <if test="is_array( $records ) && count( $records )">                {parse striping="feed_striping" classes="row1,row2 altrow"}                <foreach loop="$records as $r">                                <if test="$r['topic_posts'] == 0">                                <li class='hentry {parse striping="feed_striping"}'><b><a href='{$r['url']}' rel='bookmark' title='{$r['title']}'>{$r['title']}</a></b>                                         Posted  <span><abbr class="published" title="{parse expression="date( 'c', $r['date'] )"}">{parse date="$r['date']" format="short"}</abbr></span>                                                                                </li>                                </if>                </foreach>                </if>        </ul></div>

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Crea Nuovo...

Important Information

By using this site, you agree to our Terms of Use.