Turkish and English Contact form with Thank you message and E-mail template...
//insert to Form HTML
//insert to On Submit code - after sending email
// insert to E-mail template
//insert to Form HTML
<?php
global $mosConfig_lang;
if($mosConfig_lang == 'turkish'){
?>
<fieldset>
<legend><strong>İletişim</strong></legend>
<p>Üyelik ile ilgili sorularınızı buradan gönderebilirsiniz.</p>
<p><strong>IELTS</strong> Examiner<BR>
<strong>OZZYENGLISH</strong></p>
<table width="443" border="0">
<tr>
<td width="34"><img src="images/form/120px-Crystal_Clear_app_kuser.png" width="33" height="33" alt="name"></td>
<td width="68"><div align="left"><strong>Adınız</strong></div></td>
<td width="327"><input type="text" name="name" size="42" /></td>
</tr>
<tr>
<td><img src="images/form/120px-Crystal_Clear_app_Login_Manager.png" width="33" height="33" alt="surname"></td>
<td><div align="left"><strong>Soyadınız</strong></div></td>
<td><input type="text" name="surname" size="42" /></td>
</tr>
<tr>
<td><img src="images/form/120px-Crystal_Clear_app_kfm_home.png" width="33" height="33" alt="city"></td>
<td><div align="left"><strong>Sehir</strong></div></td>
<td><input type="text" name="city" size="25" /></td>
</tr>
<tr>
<td><img src="images/form/120px-Crystal_Clear_app_internet.png" width="33" height="33" alt="country"></td>
<td><div align="left"><strong>Ülke</strong></div></td>
<td><input type="text" name="city2" size="25" /></td>
</tr>
<tr>
<td><img src="images/form/120px-Crystal_Clear_app_xfmail.png" width="33" height="33" alt="e-mail"></td>
<td><div align="left"><strong>E-mail</strong></div></td>
<td><input type="text" name="email" size="42" /></td>
</tr>
</table>
</fieldset>
<fieldset>
<legend><strong>Nereden</strong></legend>
<table width="601" border="0">
<tr>
<td width="33"><img src="images/form/120px-Crystal_Clear_app_ktalkd.png" width="33" height="33" alt="where"></td>
<td width="552"><span class="style1"><strong>Ozzyenglish Sitesini nereden duydunuz?</strong></span></td>
</tr>
<tr>
<td> </td>
<td><span class="style1">
<input type="text" name="where_hear" size="42">
</span></td>
</tr>
</table>
</fieldset>
<fieldset>
<legend><strong>Yorum</strong></legend>
<table width="200" border="0">
<tr>
<td width="34"><strong><img src="images/form/120px-Crystal_Clear_action_easymoblog.png" alt="comment" width="33" height="33" align="middle"></strong></td>
<td width="156"><strong>Yorumunuz:</strong></td>
</tr>
</table>
<p class="style1">
<textarea COLS="30" NAME="other_info0" id="ff_elem205" style="height: 63; width: 612" rows="5"></textarea>
</fieldset>
<fieldset>
<legend><strong>Gönder</strong></legend>
<button type="submit" class="button"><?php echo GÖNDER; ?></button>
<button type="reset" class="button"><?php echo TEMIZLE; ?></button>
<?php if(!$my->id){ ?>
{imageverification}
<?php } ?>
</fieldset>
<script language="javascript">
document.ChronoContact_form.fromname.focus();
</fieldset>
<?php
}else{
?>
<fieldset>
<legend><strong>Contact</strong></legend>
<p>If you have any questions about the membership feel free to fill the form below. </p>
<p><strong>IELTS</strong> Examiner<BR>
<strong>OZZYENGLISH</strong></p>
<table width="443" border="0">
<tr>
<td width="34"><img src="images/form/120px-Crystal_Clear_app_kuser.png" width="33" height="33" alt="name"></td>
<td width="68"><div align="left"><strong>Name</strong></div></td>
<td width="327"><input type="text" name="name" size="42" /></td>
</tr>
<tr>
<td><img src="images/form/120px-Crystal_Clear_app_Login_Manager.png" width="33" height="33" alt="surname"></td>
<td><div align="left"><strong>Surname</strong></div></td>
<td><input type="text" name="surname" size="42" /></td>
</tr>
<tr>
<td><img src="images/form/120px-Crystal_Clear_app_kfm_home.png" width="33" height="33" alt="city"></td>
<td><div align="left"><strong>City</strong></div></td>
<td><input type="text" name="city" size="25" /></td>
</tr>
<tr>
<td><img src="images/form/120px-Crystal_Clear_app_internet.png" width="33" height="33" alt="country"></td>
<td><div align="left"><strong>Country</strong></div></td>
<td><input type="text" name="city2" size="25" /></td>
</tr>
<tr>
<td><img src="images/form/120px-Crystal_Clear_app_xfmail.png" width="33" height="33" alt="e-mail"></td>
<td><div align="left"><strong>E-mail</strong></div></td>
<td><input type="text" name="email" size="42" /></td>
</tr>
</table>
</fieldset>
<fieldset>
<legend><strong>Where</strong></legend>
<table width="601" border="0">
<tr>
<td width="33"><img src="images/form/120px-Crystal_Clear_app_ktalkd.png" width="33" height="33" alt="where"></td>
<td width="552"><span class="style1"><strong>Where did you hear Ozzyenglish web site?</strong></span></td>
</tr>
<tr>
<td> </td>
<td><span class="style1">
<input type="text" name="where_hear" size="42">
</span></td>
</tr>
</table>
</fieldset>
<fieldset>
<legend><strong>Comment</strong></legend>
<table width="200" border="0">
<tr>
<td width="34"><strong><img src="images/form/120px-Crystal_Clear_action_easymoblog.png" alt="comment" width="33" height="33" align="middle"></strong></td>
<td width="156"><strong>Comment:</strong></td>
</tr>
</table>
<p class="style1">
<textarea COLS="30" NAME="other_info0" id="ff_elem205" style="height: 63; width: 612" rows="5"></textarea>
</fieldset>
<fieldset>
<legend><strong>Send</strong></legend>
<button type="submit" class="button"><?php echo SEND; ?></button>
<button type="reset" class="button"><?php echo CLEAR; ?></button>
<?php if(!$my->id){ ?>
{imageverification}
<?php } ?>
</fieldset>
<script language="javascript">
document.ChronoContact_form.fromname.focus();
</fieldset>
<?php
}
?>
//insert to On Submit code - after sending email
<?php
$recipient = $_POST['email'];
$html_message = "<p>Hi,</p><p>Thank you for filling out our contact form.</p><p> If you have any question or
other comments, please let us know.</p><p>Ozzyenglish<br />ADMIN</p><p>Key to success</p>";
$subject = $subject;
mosMail($from, $fromname, $recipient, $subject, $html_message, true, NULL, NULL, NULL, NULL, NULL );
?>
// insert to E-mail template
<table width="499" border="1">
<tr>
<td width="82" bgcolor="#33FFFF"><strong>Name</strong></td>
<td width="401">{name}</td>
</tr>
<tr>
<td bgcolor="#33FFFF"><strong>Surname</strong></td>
<td>{surname}</td>
</tr>
<tr>
<td bgcolor="#33FFFF"><p><strong>City</strong></p>
<