Advertisement
Guest User

Untitled

a guest
Sep 21st, 2012
532
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.34 KB | None | 0 0
  1. <div class='ipsSideBlock'>
  2. <h3>{$this->lang->words['recentposts_title']}</h3>
  3.         <div class='_sbcollapsable'>
  4.   <ul class="ipsList_withminiphoto">
  5.    <foreach loop="posts:$recentPosts as $post">
  6.         <li class="clearfix">
  7.          <div class="left">      
  8.           {IPSMember::buildProfilePhoto($post['last_poster_id'], mini)}
  9.          </div>
  10.          <div class="list_content">
  11.           <a href='{parse url="showtopic={$post['tid']}&amp;view=getnewpost" base="public" seotitle="{$post['title_seo']}" template="showtopicunread"}' class="ipsType_small">{$post['title']}</a> <a href='{parse url="showtopic={$post['tid']}&amp;view=getlastpost" base="public" template="showtopic" seotitle="{$post['title_seo']}"}' title='{$this->lang->words['view_last_post']}'>{parse replacement="f_lastpost"}</a>
  12.           <br/>
  13.           <if test="forum:|:$this->settings['hsc_rp_showforum'] == 1">
  14.            {$this->lang->words['forum']}: <a href='{parse url="showforum={$post['forum_id']}" base="public" seotitle="{$post['forum_name_seo']}" template="showforum"}'>{$post['forum_name']}</a>
  15.            <br/>
  16.           </if>
  17.           <if test="starterInfo:|:$this->settings['hsc_rp_start'] == 1">
  18.            {$this->lang->words['started_by']}: {IPSMember::makeProfileLink($post['starter_name'], $post['starter_id'], $post['seo_first_name'])}&nbsp;<span class='date'>({$post['start_date']})</span>
  19.           <br/>
  20.           </if>
  21.           <if test="firstPost:|:$this->settings['hsc_rp_post'] == 'F'">
  22.            {$post['post']}
  23.           <br/>
  24.           </if>
  25.           <if test="views:|:$this->settings['hsc_rp_views'] == 1">
  26.            {$this->lang->words['views']}: {parse format_number="$post['views']"} &nbsp; {$this->lang->words['replies']}: {parse format_number="$post['posts']"}
  27.           <br/>
  28.           </if>
  29.            <if test="lastPost:|:$this->settings['hsc_rp_post'] == 'L' and $post['post']">
  30.            <span class="ipsType_small">{$post['post']}</span>
  31.           </if>
  32.           <if test="lastPostInfo:|:$this->settings['hsc_rp_last'] == 1">
  33.            <p class="desc ipsType_smaller">
  34.            {IPSMember::makeProfileLink($post['last_poster_name'], $post['last_poster_id'], $post['seo_last_name'])}&nbsp;<span class='date'>{$post['last_post']}</span>
  35.            </p>
  36.           </if>
  37.          </div>
  38.    </foreach>
  39.   </ul>
  40.    </div>
  41. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement