<?php if(!defined("C_URL")) die('Can`t access file directly!'); ?>


   <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="6">
    <TR> 
     <TD ALIGN="CENTER" VALIGN="TOP">
<br><br>

<!-- mail начало-->

<script language="JavaScript">
<!--
function formCheck(form) {
if (form.subject.value == "")
{alert("<?=ENTER_YOUR_SUBJECT?>");return false;}
if (form.message.value == "")
{alert("<?=ENTER_YOUR_MESSAGE?>");return false;}
if (form.remail.value == "")
{alert("<?=ENTER_YOUR_EMAIL?>");return false;}

if (document.form.submit.action != "") {
document.form.submit.disabled=1;}
}
// -->
</script>

<form action="mail.php" method="post" name=form OnSubmit="return formCheck(this)">
<input class=input type=hidden name="l" value="<?=LANGUAGE?>">
<input class=input type=hidden name="id" value="<?=ID_VALUE?>">
<input class=input type=hidden name="a" value="s">
<center><span class=head><?=SEND_MESSAGE_TO_EMAIL?> <?=USER_NAME?></span>
<br>
<Table CellSpacing="<?=C_BORDER?>" CellPadding="0" width="<?=C_SWIDTH?>" bgcolor="<?=C_TBCOLOR?>">
<Tr>
  <Td>
  <Table Border=0 CellSpacing="<?=C_IBORDER?>" CellPadding="<?=C_CELLP?>" width="<?=C_SWIDTH?>" class=mes>
	<?if(IsAccess(C_MAIL_THROUGH_ADMIN)){?>
  <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
    <Td><?=SEND_MESSAGE_TO_EMAIL?></td>
    <td><select name="sendto" class="input">
      <option value=0> directly to user 
      <option value=1> translate and then send to user 
    </select>
    </td>
  </tr>
	<?}?>
  <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
    <Td>
    <?=SUBJECT?>
    </td>
    <td>
    <input class=input type=text name=subject maxlength="64">
    </td>
  </tr>
  <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
    <Td>
    <?=MESSAGE?>
    </td>
    <td>
    <textarea class=textarea name=message cols=40 rows=15></textarea>
    </td>
  </tr>
  <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
    <Td>
    <?=EMAIL?>
    </td>
    <td>
    <input class=input type=text name=remail <?=EMAIL_VALUE_DISABLED?>>
    </td>
  </tr>
  <Tr align="<?=C_ALIGN?>" bgcolor="<?=COLOR1?>">
    <Td colspan="2">
    <input class=input1 type=submit value="<?=SEND_MESSAGE?>" name="submit">
    </td>
  </tr>
  </table>
  </td>
</tr>
</table>
</form>

<!-- mail конец-->

<br><br>

     </TD>
    </TR>
   </TABLE>


