Размер файла: 684B
{* Smarty *}
{section name=i loop=$chatMsgs}
<div class='{$smarty.const.DIV_M_MSGS_LIST}'>
{user_nick attrs="href='?room_id={$roomId}&write_to_user={$chatMsgs[i].user_id}'" user=$usersInfo.{$chatMsgs[i].user_id} icon=1} {process_text text="{$chatMsgs[i].msg}"}{if $usersInfo[$myId].rights_group >= 1} <a href='http://chatmix.ru/gc_control/delete_msg.php?msg_id={$chatMsgs[i].id}&location={base64_encode text="{$smarty.server.SERVER_NAME}{$smarty.server.REQUEST_URI}"}'><img src='icons/delete.png' alt='delete' title='Удалить' align='right' /></a>{/if}
</div>
{sectionelse}
<div class='{$smarty.const.DIV_M_MSGS_LIST}'>Комната пуста</div>
{/section}