%PDF- %PDF-
Direktori : /proc/self/root/home/eirtvhdf/public_html/ |
Current File : //proc/self/root/home/eirtvhdf/public_html/get.php |
<?php require("database.php"); require("inc/vars.php"); //$sitekey = "6LfTrdgZAAAAAGDqmtD3SNIcuwamv3VNDi9ZB_RR"; if(isset($_POST['joint_now'])){ $name = $_POST['name']; $email = $_POST['email']; $phone = $_POST['phone']; $c_way = $_POST['c_way']; $services = $_POST['services']; $company = $_POST['company']; $providing = $_POST['providing']; $link = $_POST['link']; $plink = $_POST['plink']; $clients = $_POST['clients']; $serve = $_POST['serve']; $c_from = $_POST['c_from']; $date = date('d-M-Y'); $url = "https://www.google.com/recaptcha/api/siteverify"; $data = [ 'secret' => "6LcOU0caAAAAAFbKV8b9ChMUWH3ipZ1zqNlNK95g", 'response' => $_POST['token100'], // 'remoteip' => $_SERVER['REMOTE_ADDR'] ]; $options = array( 'http' => array( 'header' => "Content-type: application/x-www-form-urlencoded\r\n", 'method' => 'POST', 'content' => http_build_query($data) ) ); $context = stream_context_create($options); $response = file_get_contents($url, false, $context); $res = json_decode($response, true); if($res['success'] == true) { mysqli_query($dbh,"insert into joint_venture values('','$name','$date',$email','$phone','$c_way','$services','$company','$providing','$link','$plink','$clients','$serve','$c_from')"); echo '<script type="text/javascript"> window.location = "https://eirtechs.com/thankyou/form_submit.php" </script>'; } else{ echo "<script> window.onload = function() { myfunction2(); }; </script>"; } } if(isset($_POST['submit_career'])){ $name = $_POST['name']; $email = $_POST['email']; $contact = $_POST['code']; $phone = $contact .' '. $_POST['phone']; $desc = $_POST['desc']; $body = " <table class='table table-bordered'> <tr> <th>Name:</th> <td>".$name."</td> </tr> <tr> <th>Email:</th> <td>".$email."</td> </tr> <tr> <th>Phone:</th> <td>". $phone."</td> </tr> <tr> <th>Description:</th> <td>".$desc."</td> </tr> </table> "; $to = "abdulfahad31@yahoo.com"; $subject = "Career Message From EirTechs"; // Always set content-type when sending HTML email $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; //$headers .= "From: ". strip_tags($_POST['email']) . "\r\n"; $headers .= "Reply-To: ". strip_tags($_POST['email']) . "\r\n"; $url = "https://www.google.com/recaptcha/api/siteverify"; $data = [ 'secret' => "6LcOU0caAAAAAFbKV8b9ChMUWH3ipZ1zqNlNK95g", 'response' => $_POST['token_career'], // 'remoteip' => $_SERVER['REMOTE_ADDR'] ]; $options = array( 'http' => array( 'header' => "Content-type: application/x-www-form-urlencoded\r\n", 'method' => 'POST', 'content' => http_build_query($data) ) ); $context = stream_context_create($options); $response = file_get_contents($url, false, $context); $res = json_decode($response, true); if($res['success'] == true) { $mysqli = mysqli_query($dbh,"insert into career values('','$name','$email','$phone','$desc')"); $retval = mail ($to,$subject,$body,$headers); if( $retval == true ) { echo '<script type="text/javascript"> window.location = "https://eirtechs.com/thankyou/career.php" </script>'; } else{ echo 'Mail not sent'; } } else{ echo "<script> window.onload = function() { myfunction2(); }; </script>"; } } if(isset($_POST['submit'])){ $name = $_POST['name']; $email = $_POST['email']; $contact = $_POST['code']; $phone = $contact .' '. $_POST['phone']; $message = $_POST['message']; $body = " <table class='table table-bordered'> <tr> <th>Name:</th> <td>".$name."</td> </tr> <tr> <th>Email:</th> <td>".$email."</td> </tr> <tr> <th>Phone:</th> <td>". $phone."</td> </tr> <tr> <th>Message:</th> <td>".$message."</td> </tr> </table> "; $to = "fahadansari91@gmail.com"; $subject = "Message From EirTechs"; // Always set content-type when sending HTML email $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; //$headers .= "From: ". strip_tags($_POST['email']) . "\r\n"; $headers .= "Reply-To: ". strip_tags($_POST['email']) . "\r\n"; $url = "https://www.google.com/recaptcha/api/siteverify"; $data = [ 'secret' => "6LcOU0caAAAAAFbKV8b9ChMUWH3ipZ1zqNlNK95g", 'response' => $_POST['token'], // 'remoteip' => $_SERVER['REMOTE_ADDR'] ]; $options = array( 'http' => array( 'header' => "Content-type: application/x-www-form-urlencoded\r\n", 'method' => 'POST', 'content' => http_build_query($data) ) ); $context = stream_context_create($options); $response = file_get_contents($url, false, $context); $res = json_decode($response, true); if($res['success'] == true) { $mysqli = mysqli_query($dbh,"insert into quote values('','$name','$email','$phone','$message')"); $retval = mail ($to,$subject,$body,$headers); if( $retval == true ) { echo '<script type="text/javascript"> window.location = "https://eirtechs.com/thankyou/signup.php" </script>'; } else{ echo 'Mail not sent'; } } else{ echo "<script> window.onload = function() { myfunction2(); }; </script>"; } } if(isset($_POST['submit3'])){ $name = $_POST['name']; $email = $_POST['email']; $contact = $_POST['code']; $phone = $contact .' '. $_POST['phone']; $message = $_POST['message']; $body = " <table class='table table-bordered'> <tr> <th>Name:</th> <td>".$name."</td> </tr> <tr> <th>Email:</th> <td>".$email."</td> </tr> <tr> <th>Phone:</th> <td>". $phone."</td> </tr> <tr> <th>Message:</th> <td>".$message."</td> </tr> </table> "; $to = "fahadansari91@gmail.com"; $subject = "Message From EirTechs"; // Always set content-type when sending HTML email $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; //$headers .= "From: ". strip_tags($_POST['email']) . "\r\n"; $headers .= "Reply-To: ". strip_tags($_POST['email']) . "\r\n"; $url = "https://www.google.com/recaptcha/api/siteverify"; $data = [ 'secret' => "6LcOU0caAAAAAFbKV8b9ChMUWH3ipZ1zqNlNK95g", 'response' => $_POST['token3'], // 'remoteip' => $_SERVER['REMOTE_ADDR'] ]; $options = array( 'http' => array( 'header' => "Content-type: application/x-www-form-urlencoded\r\n", 'method' => 'POST', 'content' => http_build_query($data) ) ); $context = stream_context_create($options); $response = file_get_contents($url, false, $context); $res = json_decode($response, true); if($res['success'] == true) { $mysqli = mysqli_query($dbh,"insert into quote values('','$name','$email','$phone','$message')"); $retval = mail ($to,$subject,$body,$headers); if( $retval == true ) { echo '<script type="text/javascript"> window.location = "https://eirtechs.com/thankyou/signup.php" </script>'; } } else{ echo "<script> window.onload = function() { myfunction2(); }; </script>"; } } if(isset($_POST['submit2'])){ $name = $_POST['name']; $email = $_POST['email']; $contact = $_POST['code']; $phone = $contact .' '. $_POST['phone']; $services = $_POST['services']; $body = " <table class='table table-bordered'> <tr> <th>Name:</th> <td>".$name."</td> </tr> <tr> <th>Email:</th> <td>".$email."</td> </tr> <tr> <th>Phone:</th> <td>". $phone."</td> </tr> <tr> <th>Service:</th> <td>".$services."</td> </tr> </table> "; $to = "fahadansari91@gmail.com"; $subject = "Message From EirTechs"; // Always set content-type when sending HTML email $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; //$headers .= "From: ". strip_tags($_POST['email']) . "\r\n"; $headers .= "Reply-To: ". strip_tags($_POST['email']) . "\r\n"; $url = "https://www.google.com/recaptcha/api/siteverify"; $data = [ 'secret' => "6LcOU0caAAAAAFbKV8b9ChMUWH3ipZ1zqNlNK95g", 'response' => $_POST['token1'], // 'remoteip' => $_SERVER['REMOTE_ADDR'] ]; $options = array( 'http' => array( 'header' => "Content-type: application/x-www-form-urlencoded\r\n", 'method' => 'POST', 'content' => http_build_query($data) ) ); $context = stream_context_create($options); $response = file_get_contents($url, false, $context); $res = json_decode($response, true); if($res['success'] == true) { $mysqli = mysqli_query($dbh,"insert into orders values('','$name','$email','$phone','$services')"); $retval = mail ($to,$subject,$body,$headers); if( $retval == true ) { echo '<script type="text/javascript"> window.location = "https://eirtechs.com/thankyou/signup.php" </script>'; } } else{ echo "<script> window.onload = function() { myfunction2(); }; </script>"; } } if(isset($_POST['order'])){ $name = $_POST['name']; $email = $_POST['email']; $contact = $_POST['code']; $phone = $contact .' '. $_POST['phone']; session_start(); $_SESSION['amount'] = $_POST['amount']; $_SESSION['package'] = $_POST['package']; $package = $_SESSION['package']; $body = " <table class='table table-bordered'> <tr> <th>Name:</th> <td>".$name."</td> </tr> <tr> <th>Email:</th> <td>".$email."</td> </tr> <tr> <th>Phone:</th> <td>". $phone."</td> </tr> <tr> <th>Package:</th> <td>".$package."</td> </tr> </table> "; $to = "fahadansari91@gmail.com"; $subject = "Message From EirTechs"; // Always set content-type when sending HTML email $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; //$headers .= "From: ". strip_tags($_POST['email']) . "\r\n"; $headers .= "Reply-To: ". strip_tags($_POST['email']) . "\r\n"; $url = "https://www.google.com/recaptcha/api/siteverify"; $data = [ 'secret' => "6LcOU0caAAAAAFbKV8b9ChMUWH3ipZ1zqNlNK95g", 'response' => $_POST['token2'], // 'remoteip' => $_SERVER['REMOTE_ADDR'] ]; $options = array( 'http' => array( 'header' => "Content-type: application/x-www-form-urlencoded\r\n", 'method' => 'POST', 'content' => http_build_query($data) ) ); $context = stream_context_create($options); $response = file_get_contents($url, false, $context); $res = json_decode($response, true); if($res['success'] == true) { $mysqli = mysqli_query($dbh,"insert into order_now values('','$name','$email','$phone','$package')"); $retval = mail ($to,$subject,$body,$headers); echo '<script type="text/javascript"> window.location = "https://eirtechs.com/thankyou/signup.php" </script>'; } else{ echo "<script> window.onload = function() { myfunction2(); }; </script>"; } } ?> <!-- Central Modal Medium Info --> <div class="modal fade" id="myModal1" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog modal-notify modal-info" role="document"> <!--Content--> <div class="modal-content secondary-r-gradient"> <!--Header--> <!--Body--> <div class="modal-body"> <div class="text-center"> <i style="color:#24bdc9;" class="fa fa-check fa-4x mb-3 animated rotateIn"></i> <p style="color:white">THANK YOU!</br>Your Message has been Successfully Sent</p> </div> </div> <!--Footer--> </div> <!--/.Content--> </div> </div> <!-- Central Modal Medium Info--> <!-- Central Modal Medium Info --> <div class="modal fade" id="myModal2" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog modal-notify modal-info" role="document"> <!--Content--> <div class="modal-content secondary-r-gradient"> <!--Header--> <!--Body--> <div class="modal-body"> <div class="text-center"> <i style="color:red;" class="fa fa-times fa-4x mb-3 animated rotateIn"></i> <p style="color:white">Invalid Captcha, Please Try Again.</p> </div> </div> <!--Footer--> </div> <!--/.Content--> </div> </div> <!-- Central Modal Medium Info--> <script> function myfunction1(){ $("#myModal1").modal('show'); } function myfunction2(){ $("#myModal2").modal('show'); } </script> <script src="https://www.google.com/recaptcha/api.js?render=6LcOU0caAAAAAOJ8Z4NC78434DVnzo4r-R-01rM7"></script> <script> grecaptcha.ready(function() { grecaptcha.execute('6LcOU0caAAAAAOJ8Z4NC78434DVnzo4r-R-01rM7', {action: 'homepage'}).then(function(token) { // console.log(token); document.getElementById("token").value = token; }); }); </script> <script> grecaptcha.ready(function() { grecaptcha.execute('6LcOU0caAAAAAOJ8Z4NC78434DVnzo4r-R-01rM7', {action: 'homepage'}).then(function(token1) { // console.log(token); document.getElementById("token1").value = token1; }); }); </script> <script> grecaptcha.ready(function() { grecaptcha.execute('6LcOU0caAAAAAOJ8Z4NC78434DVnzo4r-R-01rM7', {action: 'homepage'}).then(function(token2) { // console.log(token); document.getElementById("token2").value = token2; }); }); </script> <script> grecaptcha.ready(function() { grecaptcha.execute('6LcOU0caAAAAAOJ8Z4NC78434DVnzo4r-R-01rM7', {action: 'homepage'}).then(function(token3) { // console.log(token); document.getElementById("token3").value = token3; }); }); </script> <script> grecaptcha.ready(function() { grecaptcha.execute('6LcOU0caAAAAAOJ8Z4NC78434DVnzo4r-R-01rM7', {action: 'homepage'}).then(function(token9) { // console.log(token); document.getElementById("token9").value = token9; }); }); </script> <script> grecaptcha.ready(function() { grecaptcha.execute('6LcOU0caAAAAAOJ8Z4NC78434DVnzo4r-R-01rM7', {action: 'homepage'}).then(function(token9) { // console.log(token); document.getElementById("token_career").value = token_career; }); }); </script> <script> grecaptcha.ready(function() { grecaptcha.execute('6LcOU0caAAAAAOJ8Z4NC78434DVnzo4r-R-01rM7', {action: 'homepage'}).then(function(token100) { // console.log(token); document.getElementById("token100").value = token100; }); }); </script>