{* ================================================================================ *}
{* ========================= Просмотр поста в блоге =============================== *}
{* ================================================================================ *}

<h1 class="con_heading" style="margin-bottom:5px;">{$post.title}</h1>

{if $is_author || $is_admin || $is_moder}
    <div class="editlinks" >
        <a style="color:gray" href="/blogs/{$post.blog_id}/editpost{$post.id}.html" class="blog_entry_edit">{$LANG.EDIT}</a>
        | <a style="color:gray" href="/blogs/{$post.blog_id}/delpost{$post.id}.html" class="blog_entry_delete">{$LANG.DELETE}</a>
    </div>
{/if}

<table width="100%" cellpadding="0" cellspacing="0" style="margin-top:15px">
	<tr>
        <td width="70" valign="top">
            <div class="blog_post_avatar">{$post.image}</div>
        </td>
		<td valign="top">
			<div class="blog_post_data" valign="top">
				<div><strong>{$LANG.AVTOR}:</strong> {$post.author}</div>
				<div><strong>{$LANG.PUBLISHED}:</strong> {$post.fpubdate}</div>
				<div><strong>{$LANG.BLOG}:</strong> <a href="/blogs/{$blog.seolink}">{$blog.title}</a></div>
				{if $blog.showcats}
					<div><strong>{$LANG.CAT}:</strong> <a href="/blogs/{$blog.seolink}{if $post.cat_id}/cat-{$post.cat_id}{/if}">{$cat}</a></div>
				{/if}
				{if $post.edit_times}
					<div><strong>{$LANG.EDITED}:</strong> {$post.edit_times|spellcount:$LANG.TIME1:$LANG.TIME2:$LANG.TIME10} &mdash; {if $post.edit_times>1}{$LANG.LATS_TIME}{/if} {$post.feditdate}</div>
				{/if}
				{if $post.feel}
					<div><strong>{$LANG.MOOD}:</strong> {$post.feel}</div>
				{/if}
				{if $post.music}
					<div><strong>{$LANG.PLAYING}:</strong> {$post.music}</div>
				{/if}
			</div>
		</td>
		<td width="100" valign="top">
			{$karma_form}
		</td>
	</tr>
</table>

<div class="blog_post_body">{$msg}</div>

{if $nav != false}
	<div class="blog_post_nav">{$nav}</div>
{/if}

{$tag_bar}