{*
-------------------------
  @author:         Markelov Ilya
  @authormail:     ilya@markelov.ru
-------------------------
*}
{literal}
<style type="text/css">
<!--
a.gray  {color:#999; text-decoration:none;}
.lastcomdate  {font-style: italic; color:#999; font-size: 11px; float: right; margin-left:  10px; text-decoration:none;}
a.black  { color:#000; font-weight: bold; text-decoration:none;}
.nav a   { font:2.3em/100% Tahoma, sans-serif;	color:#000; text-decoration:none;}
-->
</style>
{/literal}
<div id="divlastcomment">
{startvirtual}

<div align="center" class='nav'><b>{ajxhref text="&#8592;" elements="divlastcomment" params="begin=`$prev`"}</b></div>

{foreach from=$comments item=comment}
	<br />
	<div class="lastcomdate">{$comment.date|date_format_rus_curbased}</div>
	<a href="{wackohref tag="`$comment.fulltag`"}" class="black">{$comment.tag|truncate:$maxlink}</a><br />
	<b>{$comment.name|truncate:$maxname}: </b>
	<a href="{wackohref tag="`$comment.fulltag`"}#c{$comment.id}" class="gray">{$comment.text|truncate:$maxtext}</a><br />
{/foreach}

<div align="center" class='nav'><b>{ajxhref text="&#8594;" elements="divlastcomment" params="begin=`$next`"}</b></div>

{finishvirtual block="divlastcomment"}
</div>