"; else { if (!(ereg("^[[:alpha:]]([[:alpha:]]|[[:space:]]|[.]+)+$",$input_nama))) $msg.="Masukkan Nama dengan benar
"; } if ($input_email == "") $msg .= "Masukkan Email Anda
"; else { if (!(ereg("^([^[:space:]]+)@(.+).(ad|ae|af|ag|ai|al|am|an|ao|aq|ar|arpa|as|at|au|aw|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|com|cr|cu|cv|cx|cy|cz|de|dj|dk|dm|do|dz|ec|edu|ee|eg|eh|er|es|et|fi|fj|fk|fm|fo|fr|fx|ga|gb|gov|gd|ge|gf|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|in|int|io|iq|ir|is|it|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|mg|mh|mil|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nato|nc|ne|net|nf|ng|ni|nl|no|np|nr|nu|nz|om|org|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|pt|pw|py|qa|re|ro|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|st|sv|sy|sz|tc|td|tf|tg|th|tj|tk|tm|tn|to|tp|tr|tt|tv|tw|tz|ua|ug|uk|um|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|yu|za|zm|zw)$",$input_email))) { $msg.="Masukkan Email dengan benar
"; } } if ($input_tujuan == "") $msg.="Masukkan Tujuan Email
"; if ($input_topik == "") $msg.="Masukkan Judul
"; if (!( $_SESSION['security_code'] == $_POST['security_code'] && !empty($_SESSION['security_code'] ) )) { $msg .= "Kode sekuritas yang Anda masukkan tidak sesuai
"; } }else{ /*else if language indonesia*/ if ($input_nama == "") $msg .= "Please input your name
"; else { if (!(ereg("^[[:alpha:]]([[:alpha:]]|[[:space:]]|[.]+)+$",$input_nama))) $msg.="Please input your correct name
"; } if ($input_email == "") $msg .= "Please input your email
"; else { if (!(ereg("^([^[:space:]]+)@(.+).(ad|ae|af|ag|ai|al|am|an|ao|aq|ar|arpa|as|at|au|aw|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|com|cr|cu|cv|cx|cy|cz|de|dj|dk|dm|do|dz|ec|edu|ee|eg|eh|er|es|et|fi|fj|fk|fm|fo|fr|fx|ga|gb|gov|gd|ge|gf|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|in|int|io|iq|ir|is|it|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|mg|mh|mil|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nato|nc|ne|net|nf|ng|ni|nl|no|np|nr|nu|nz|om|org|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|pt|pw|py|qa|re|ro|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|st|sv|sy|sz|tc|td|tf|tg|th|tj|tk|tm|tn|to|tp|tr|tt|tv|tw|tz|ua|ug|uk|um|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|yu|za|zm|zw)$",$input_email))) { $msg.="Please input your correct email
"; } } if ($input_tujuan == "") $msg.="Please iunput email destination 'To'
"; if ($input_topik == "") $msg.="Please input your topic
"; if (!( $_SESSION['security_code'] == $_POST['security_code'] && !empty($_SESSION['security_code'] ) )) { $msg .= "Sorry, you have provided an invalid security code
"; } } /*end if language indonesia*/ //*** kalau gak ada yang salah, do the process if ($msg == "") { echo $tujuan = $input_tujuan; $pengirim = "From: ".$input_nama." <".$input_email.">\r\n"; $pengirim .= "MIME-Version: 1.0\r\n"; $pengirim .= "Content-Type: text/plain; charset=\"utf-8\"\r\n"; $pengirim .= "Content-Transfer-Encoding: 7bit\r\n"; $judul = "[CONTACT US] ".$input_topik; $isi = "Nama : ".$input_nama."\n"; $isi .= "Phone : ".$input_phone. "\n"; $isi .= "Email : ".$input_email. "\n\n"; $isi .= $input_description . "\n"; mail($tujuan,$judul,$isi,$pengirim); $final_msg = "Thankyou, We will reply your message as soon as possible
"; $input_nama = ""; $input_email = ""; $input_phone = ""; $input_topik = ""; $input_description = ""; } } ?> ARDILA
 
  Hubungi Kami
 
 
Silahkan melengkapi form dibawah
Nama : *
Email : *
Telephone :
Judul : *
Tujuan : *
Deskripsi :
: *

* Harus terisi
 
  Contact Us
 
 
Please fill the form below.
Name : *
Email : *
Phone :
Topic : *
To : *
Description :
*
* Must be filled