ChronoEngine Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottom Post Reply Favoured: 0
TOPIC: Complete
#2321
ozzy (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Turkish and English contact form. 10 Months ago Karma: 0  
Turkish and English Contact form with Thank you message and E-mail template...
//insert to Form HTML

Code:

<?php global $mosConfig_lang; if($mosConfig_lang == 'turkish'){ ?> <fieldset> <legend><strong>&#304;leti&#351;im</strong></legend> <p>Üyelik ile ilgili sorular&#305;n&#305;z&#305; 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&#305;n&#305;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&#305;n&#305;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
Code:

<?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
Code:

<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> <
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/05/26 02:25 By GreyHead. Reason: Fixed most html entities
 
ozzyenglish
  The administrator has disabled public write access.
#2327
admin (Admin)
Admin
Posts: 1638
graphgraph
User Online Now Click here to see the profile of this user
Re:Turkish and English contact form. 10 Months ago Karma: 23  
Hi Ozzy,

Thanks for sharing your form I have deleted the other 2 duplicated posts and edited this one to put the code tags, could you please chack that your code is complete now ?

Thanks!!

Max
 
Report to moderator   Logged Logged  
 
ChronoForms Developer Thanks for using ChronoForms.
If you have any problems with ChronoForms please tell us.
If you like ChronoForms please post a review at Joomla.org
  The administrator has disabled public write access.
#2342
ozzy (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Complete 10 Months ago Karma: 0  
Hi,

Yes it is complete.Thank you.
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/05/26 02:22 By GreyHead.
 
ozzyenglish
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop


equalheight If you have any questions you can post to our forums and we will be glad to help ASAP

Members Login






Lost Password?
No account yet? Register

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for
goods and services provided by ChronoEngine.com

ChronoForms License

equalheightTo be able to continue working at this component we decided to get a small profit out of it but at the same time don't force everybody to pay in order to use this great component.

 

 From version 1.5 and up a link at the bottom of everyform created will be placed, saying "joomla professional work", the link will be to us here htttp://www.chronoengine.com, its illegal to remove this link from the source code unless you have a license,

so the license is very simply for the same ChronoForms component without a link, thats all!

This License is for 5 different websites ONLY. 

 

 However, in order to allow everybody to still use the component and even get out of this, the link is inside a div with class : chronoform , use this to hide the link by using different colors or whatever if you really can't pay, but of course the link is still exists at your page source.

 

The license is ONLY 25$ can be bought here :

 

Thank you!

 

ChronoEngine.com Team 

Joomla Templates and Joomla Tutorials