uawdijnntqw1x1x1
IP : 216.73.216.26
Hostname : server.wtmmart.in
Kernel : Linux server.wtmmart.in 4.18.0-553.45.1.el8_10.x86_64 #1 SMP Wed Mar 19 09:44:46 EDT 2025 x86_64
Disable Function : exec,passthru,shell_exec,system
OS : Linux
PATH:
/
home2
/
wtmwscom
/
public_html
/
css
/
..
/
themes
/
..
/
mail.php
/
/
<?php include 'header.php';?> <div id="content" role="main"> <!-- Heading ______________________________________--> <!--<h1></h1>--> <!-- Breadcrumbs ______________________________________--> <!--<p itemscope itemtype="http://data-vocabulary.org/Breadcrumb" id="breadcrumbs"><a href="index.php" rel="home" itemprop="url"><span itemprop="title">Home</span></a> <i class="icon-chevron-right"></i> Contact</p>--> <hr /> <!-- <div id="map"> <div id="map-content"> <p class="center">Unable to load map... Try to enable your JavaScript!</p> </div> </div> END #map --> <!-- WYSIWYG Content ______________________________________--> <!-- <div class="p30"> <h3>Contact Info</h3> <p>Some address ..<br/></p> <p><strong class="p15"><i class="icon-phone" title="Phone"></i> </strong> Phone no.<br/> <strong class="p15"><i class="icon-copy" title="Fax"></i> </strong> Fax no.<br/> <strong class="p15"><i class="icon-envelope" title="Email"></i> </strong> demo123d@wtmwebshop.com<br/> <strong class="p15"><i class="icon-desktop" title="Web"></i> </strong> wtmwebshop.com</p> </div> END .p25 --> <div class="p70 right"> <h3 style="text-align: center">Email Sent</h3> <mark id="message"></mark> <?php if(!empty($_POST['name']) && !empty($_POST['email']) && !empty($_POST['phone'])){ // echo $_POST['name']; // echo $_POST['email']; if(isset($_POST['g-recaptcha-response']) && !empty($_POST['g-recaptcha-response'])){ // Google reCAPTCHA API secret key $secretKey = '6LdxJtkUAAAAAEtKnyfhCz7DlKDNnaH0blr3fUgP'; // Verify the reCAPTCHA response $verifyResponse = file_get_contents('https://www.google.com/recaptcha/api/siteverify?secret='.$secretKey.'&response='.$_POST['g-recaptcha-response']); // Decode json data $responseData = json_decode($verifyResponse); // print_r($responseData); // If reCAPTCHA response is valid if($responseData->success){ // Posted form data $name=$_POST['name']; $email=$_POST['email']; $phone=$_POST['phone']; $country=$_POST['country']; $comment=$_POST['comment']; // Send email notification to the site admin $to = "demo123d@wtmwebshop.com"; $subject = " Enquiry Data (Client's Plan Queries)"; $txt = '<html> <head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <style type="text/css"> table{width:600px; border-collapse:collapse; table-layout:auto; vertical-align:top; margin-bottom:15px; border:1px solid #CCCCCC;} table thead th{color:#FFFFFF; background-color:#666666; border:1px solid #CCCCCC; border-collapse:collapse; text-align:center; table-layout:auto; vertical-align:middle;} table tbody td{vertical-align:top; border-collapse:collapse; border-left:1px solid #CCCCCC; border-right:1px solid #CCCCCC;} table thead th, table tbody td{padding:5px; border-collapse:collapse;} table tbody tr.light{color:#666666; background-color:#F7F7F7;} table tbody tr.dark{color:#666666; background-color:#E8E8E8;} p{color: navy; font-size: 14px;} p a{ color: orangered; text-decoration: none;} p a:hover{text-decoration: underline;} </style> </head> <body> <table> <thead> <th colspan="2" style="text-align: left;">Query of client to wtmwebshop.com, Client Login Details is as Follow</th> </thead> <tbody> <tr class="dark"> <td width="200" align="right">Clients Name </td> <td>' . $name . '</td> </tr> <tr class="light"> <td width="200" align="right">Clients Email </td> <td>' . $email . '</td> </tr> <tr class="dark"> <td width="200" align="right">Clients Phone </td> <td>' . $phone . '</td> </tr> <tr class="light"> <td width="200" align="right">Clients Country </td> <td>' . $country . '</td> </tr> <tr class="dark"> <td width="200" align="right">Clients Comment </td> <td>' . $comment . '</td> </tr> </tbody> </table> <p> Please keep it confidential. Please login <a href="http://wtmwebshop.com/">www.wtmwebshop.com</a> </p> <p style="color: #556b2f;"> Thanks <br /> <b>The Wtm WebShop Pvt. Ltd.</b> </p> </body> </html>'; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= "From: demo123d@wtmwebshop.com"; if (mail($to, $subject, $txt, $headers)) { echo "<p style='text-align: center;'>Thank you for contact us.<br/>We will contact you as soon as possible time.<br/><br/> <span style='color: cornflowerblue;'></span><p>"; } else { echo "<p style='text-align: center;'>Your email address is incorrect<p>"; } } else{ echo $statusMsg = 'Robot verification failed, please try again.'; } } } ?> <?php // $file_name = basename($_SERVER['PHP_SELF']); // $to = "demo123d@wtmwebshop.com"; // if($file_name == 'contact.php'){ // $to = "sales@wtmwebshop.com"; // } else if($file_name == 'support.php'){ // $to = "support@wtmwebshop.com"; // } else if($file_name == 'enquiry.php'){ // $to = "demo123d@wtmwebshop.com"; // } ?> <!--<a href="index.php" class="read-more">Go back</a>--> </div><!-- END .p75 --> <!-- END of WYSIWYG content ______________________________________--> </div> <!-- END #content --> </div> <!-- END .wrapper --> <?php include 'footer.php';?>
/home2/wtmwscom/public_html/css/../themes/../mail.php