 <table width="100%" border="0"> 
  {assign var="q" value="1"} 
{foreach key=tid item=post from=$posts}
 {if $q==1} <tr style="border-bottom:1px solid rgb(204, 204, 204)"> {/if}  

<td width="100px;" align="center" valign="top">{$post.pubdate}<br>
<img src="{$post.avatar}" width="55px;"><br><span style="font-size:10px;color:#FF9900">{$post.nickname}</span> </td>
 <td><div style="color:#808080;font-size:12px;">
 <a href="/blogs/{$post.cseolink}/{$post.seolink}.html" style="text-decoration:none;font-size:14px;"> 
{$post.title} </a><br>
 - Комментариев - {$post.comments} <br>
- {$post.ctitle} <br>
- Создан:{$post.cpubdate} <br>
</div>

 </td>   {if $q==$cfg.col} </tr> {assign var="q" value="1"} {else} {math equation="x + 1" x=$q assign="q"} {/if}
{/foreach}
   </table>