<div id="last-msg" class="as-block">
{foreach $InWidgetForum as $item}
    <div class="msg">
        <div class="msg-ava">
        	{if $item.photo != ""}
                <img id="ava_forum" src="{$item.photo}" alt="">
        	{/if}
        </div>
        <a href='{$item.link}' target='_blank' >{$item.title}</a><br>
        <span class="clr">
        	{if $item.author != ""}
            	автор: <a target='_blank'>{$item.author}</a><br>
            {/if}
            дата: {$item.date|date_format:"%D %H:%M"}
        </span>
    </div>
{/foreach}

 
</div>