{include file="$admingentemplates/admin_top.tpl"}
<div class="back">
    <a href="{$site_url}{$site_root}/admin/admin_blog.php?sel=view_comments&id_blog={$id_blog}&id={$id_post}">{$lang.button.back}</a>
</div>
<div class="cr"></div>

<div class="show_help" style="display: none;">&nbsp;</div>

<div class="red_header">{$lang.blog.admin.razdel_name}</div>
<div class="cr">&nbsp;</div>
<div class="cr">&nbsp;</div>

<div class="help_text">
    <div class="close_help">
        <img src="{$site_root}{$template_root}/images/close_help.png" alt="">
    </div>
    <div class="help_body">
        <span class="help_title">{$lang.help}:</span>{$lang.admin_help.blog_edit}
    </div>
</div>
<div id="test_div" class="error_msg" style="padding: 5px 0px;display:none;">&nbsp;</div>
				<div class="content_2" style=" margin: 0px;">
					<table cellpadding="0" cellspacing="0" border="0" width="100%">
						<tr>
							<td valign="top" style="padding-top: 15px;">
								<form name="post_form" id="post_form" action="admin_blog.php?sel=save_comm" method="post" enctype="multipart/form-data">
									<div class="panel_section"><div class="panel_content">
									<table width="100%" border="0" cellpadding="3" cellspacing="0">
										<tr>
											<td height="30" width="160">{$lang.blog.post_title}:</td>
											<td><input type="text" name="title" value="{$title}" style="width: 150px" maxlength="500">
												<input type="hidden" name="id" value="{$id_post}">
												<input type="hidden" name="id_blog" value="{$id_blog}">
												<input type="hidden" name="id_comm" value="{$id_comm}">
											</td>
										</tr>
										<tr>
											<td valign="top">{$lang.blog.post_body}:</td>
											<td>
												<table cellpadding="0" cellspacing="0" width="300">
												<tr>
													<td colspan="2" style="padding-top: 5px;">
														{*$editor*}
														{$redactor}
														<textarea name="body" id="redactor" class="redactor_normal"></textarea>
													</td>
												</tr>
												</table>
											</td>
										</tr>
										</table></div></div><table style="float:left;">
										<tr>
											<td height="30" colspan="2">
												<a class="admin_button_major" onclick="document.post_form.submit();" href="#">{$lang.button.save}<span>&nbsp;</span></a>
											</td>
										</tr>
									</table>
								</form>
							</td>
						</tr>
					</table>
				</div>
{include file="$admingentemplates/admin_bottom.tpl"}