{include file="$admingentemplates/admin_top.tpl"}
	<div class="red_header">{$lang.comunicate.razdel_name}</div>
<div class="cr">&nbsp;</div>
<div class="cr">&nbsp;</div>
<div class="help_text" style="display:block;">
    <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.billing}
    </div>
</div>
<div  class="panel_section">
	<div  class="panel_content">
		<form method="post" action="{$form.action}" name="comunicate">
			<table border=0 cellspacing=0 cellpadding=0 width="100%">
				{$form.hiddens}
				{if (!$commit)}
				{else}
					<input type="hidden" name="commit" value="1">
				{/if}
				<tr height="20px"></tr>
				<tr >
					<td align="left" width="17%" class="main_header_text" valign="top">{$lang.comunicate.to}:&nbsp;</td>
					<td class="main_content_text" align="left" style="padding-bottom:5px;">
						<input type="text" name="to" value="{$data.to}" style="width:380px">&nbsp;
					</td>
				</tr>
				<tr valign="top">
					<td align="left" width="17%" class="main_header_text">{$lang.comunicate.message}:&nbsp;</td>
					<td class="main_content_text" align="left" style="padding-bottom:5px;">
						{$redactor}
						<textarea id="message" name="message" class="redactor_normal">{*$data.message*}</textarea>
					</td>
				</tr>
				<tr  height="10">
					<td align="left" width="17%" class="main_header_text" valign="top" style="padding-top:3px;">{$lang.comunicate.send_by}:&nbsp;</td>
					<td align="left" class="main_content_text" style="padding-bottom:5px;" nowrap>
					{if $use_mailbox}
						<input type=checkbox name="spars[0]" value=1 checked>&nbsp;{$lang.comunicate.post}&nbsp;&nbsp;
					{else}
						{if $use_im_default}
							<input type=checkbox name="spars[3]" value=1 checked>&nbsp;{$lang.comunicate.im}&nbsp;&nbsp;
						{/if}
					{/if}
					<input type=checkbox name="spars[1]" value=1 checked>&nbsp;{$lang.comunicate.email}&nbsp;&nbsp;
					<input type=checkbox name="spars[2]" value=1>&nbsp;{$lang.comunicate.alert}</td>
				</tr>
			</table>
		</form>
	</div>
</div>
<table width="100%">
	<tr height="40">
		<td><a class="admin_button_major" onclick="javascript: document.comunicate.submit()">{$lang.button.send}<span>&nbsp;</span></a></td>
		<td align="right"><a class="admin_button" onclick="javascript: window.close();opener.focus();">{$lang.button.close}<span>&nbsp;</span></a></td>
	</tr>
</table>
{include file="$admingentemplates/admin_bottom.tpl"}