?
Path : /home/admin/domains/happytokorea.com/public_html_bk/promice/ |
Current File : /home/admin/domains/happytokorea.com/public_html_bk/promice/Contact.php |
<? include("header.php");?> <style type="text/css"> <!-- .style1 { color: #21ACE5; font-weight: bold; } --> </style> <div align="center"> <table width="1000" border="0" align="center" cellpadding="0" cellspacing="0"> <!-- fwtable fwsrc="Untitled" fwbase="home.jpg" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="0" --> <tr> <td><img src="images/spacer.gif" width="423" height="1" border="0" alt=""></td> <td><img src="images/spacer.gif" width="16" height="1" border="0" alt=""></td> <td><img src="images/spacer.gif" width="225" height="1" border="0" alt=""></td> <td><img src="images/spacer.gif" width="315" height="1" border="0" alt=""></td> <td><img src="images/spacer.gif" width="21" height="1" border="0" alt=""></td> <td><img src="images/spacer.gif" width="1" height="1" border="0" alt=""></td> </tr> <tr> <td colspan="5" bgcolor="#FFFFFF"><div align="center"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr valign="top"> <td width="10"> </td> <td width="990"><table width="1024" border="0" cellspacing="1" cellpadding="1"> <tr> <td><script language="JavaScript"> function checkpost() { var v1 = document.webForm.message.value; var v2 = document.webForm.name.value; var v3 = document.webForm.textcode.value; if ( v1.length==0) { alert("Please check detail"); document.webForm.message.focus(); return false; } else if ( v2.length==0) { alert("Please check name"); document.webForm.name.focus(); return false; } else if ( v3.length==0) { alert("Please check text code"); document.webForm.textcode.focus(); return false; } else return true; } function chkEmail(){ if(document.webForm.email.value!=""){ if (document.webForm.email.value.match(/.+@.+\..+/) == null) { alert("Please Check E-Mail Correct"); document.webForm.email.focus(); } } } function check_number(ch){ var len, digit; if(ch == " "){ return false; len=0; }else{ len = ch.length; } for(var i=0 ; i<len ; i++) { digit = ch.charAt(i) if(digit >="0" && digit <="9"){ ; }else{ return false; } } return true; } function checkvalue() { if(!check_number(document.webForm.phone.value) || document.webForm.phone.value == "" ) { alert('Please check your telephone number'); document.webForm.phone.focus(); return false; } else{return true;} } </script> <table width="99%" border="0" align="center" cellpadding="1" cellspacing="1" class="taladcr"> <form method="post" action="ContactSend.php" name="webForm" onSubmit="return checkpost()" enctype="multipart/form-data"> <tr> <td colspan="2"> </td> </tr> <tr> <td colspan="2"><div align="center">Contacts Us </div></td> </tr> <tr> <td width="19%"><div align="right">Detail</div></td> <td width="81%"> <textarea name="message" cols="65" rows="15" class="inputxx" id="message"></textarea> <strong>*</strong> </td> </tr> <tr> <td><div align="right">Name</div></td> <td> <input name="name" type=text class="inputxx" id="name" size="25"> <strong>*</strong> </td> </tr> <tr> <td><div align="right">Telāš</div></td> <td> <input name="phone" type="text" class="inputxx" id="phone" size=30 / onblur="checkvalue()"> </td> </tr> <tr> <td><div align="right">Email </div></td> <td> <input name="email" type="text" id="email2" value="" size="30" / onblur="chkEmail()" class="inputxx"> </td> </tr> <tr> <td> </td> <td> <? require_once "token.php"; $code = randomToken(5); echo "<b>$code</b>"; ?> <input name="code" type="hidden" class="td3" id="code" size="8" value=<? echo "$code"; ?>> <input name="textcode" type="text" class="inputxx" id="textcode" size="8" maxlength="5"> <em>** <span id="result_box" lang="en" xml:lang="en">Part 5 letter that you see.</span>** </em><em><strong>*</strong></em></td> </tr> <tr> <td> </td> <td> <input name="submit" type="submit" class="submitxx" value="Send"> </td> </tr> </form> </table> <br> </td> </tr> </table></td> </tr> </table> </div></td> <td><img src="images/spacer.gif" width="1" height="25" border="0" alt=""></td> </tr> </table></div> <? include("footer.php");?> </body> </html>