<div>
	<h1>{if !$msg->sender_id && $smarty.get.action=='msg'}{t}Системное сообщение{/t}{elseif $smarty.get.action=='msg'}{t}Сообщение от{/t} {$msg->sender->login|escape}{else}{t}Сообщение для{/t} {$msg->receiver->login|escape}{/if} {if $smarty.get.action!='msg'}[отправленные]{else}[принятые]{/if}</h1>
	{include file="lc_pm/po_tools.tpl"}

	<div class="comment_item">
		<table class="table nomargin">
			<tr>
				<td class="user_data">
					{if $msg->sender_id}{include file=$_cfg.core.auth_module|cat:"/user_item.tpl" user=$msg->sender}{/if}
				</td>
				<td>
					<div class="post-info">
						<span class="smalltext">{$msg->putdate|date_format:"%Y-%m-%d %H:%M:%S"}</span>
					</div>
					<div class="comment_body">{$msg->msg_html}</div>
				</td>
			</tr>
		</table>
	</div>	
</div>