<foreach name='user' item='v'> //???????????е?????  ?????????->?????е?  $this->assign('user'??M('user')->select())->display();
<dl class='paper a{:mt_rand(1??5)}'>//?????????
<dt>{$a}
<span class='username'>{$v.username}</span>
<span class='num'>{$v.id}</span>
</dt>
<dd class='content'>{$v.content}  </dd>
<dd class='bottom'>
<span class='time'>{$v.time|date='y-m-d H:i'??###}</span>
<a href="" class='close'></a>
</dd>
</dl>
</foreach>