Файловый менеджер - Редактировать - /home/d46091/gemregistrationonline.org/thanks.php
Назад
<!-- Event snippet for Leads conversion page --> <script> gtag('event', 'conversion', {'send_to': 'AW-11152591815/oruuCJHJi5kYEMeX_MUp'}); </script> <?php require 'vendor/autoload.php'; use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\Exception; if(isset($_POST['test'])) { include_once('config.php'); if($_POST['option-selected']=='Yes The Client Has Choosen To Upload The Required Documents Now') { $cid = $_POST['cid']; $optSelected = urlencode($_POST['option-selected']); $formId = $_POST['payment_id']; $pageUrls = $_POST['pageUrl']; $pageUrl = $pageUrls.'?cid='.$cid; $current_url ='GEMREGISTRAR.ORG'; $ch = curl_init('https://crm2.techlounge.co.in/api/msme-upload-document-status.php?formId='.$formId.'&website='.$current_url.'&optSelected='.$optSelected.''); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec ($ch); curl_close($ch); $response; $array=explode(',',$response); header('Location:'.$pageUrl.''); exit; }else { $sql_select_gem ="SELECT *FROM gem_registration WHERE payment_id = '".$_POST['payment_id']."';"; $result_gem = $conn->query($sql_select_gem); $row = $result_gem->fetch_assoc(); $cid = $_POST['cid']; $optSelected = urlencode($_POST['option-selected']); $formId = $_POST['payment_id']; $pageUrls = $_POST['pageUrl']; $pageUrl = $pageUrls.'?cid='.$cid; $current_url ='GEMREGISTRAR.ORG'; $ch = curl_init('https://crm2.techlounge.co.in/api/msme-upload-document-status.php?formId='.$formId.'&website='.$current_url.'&optSelected='.$optSelected.''); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec ($ch); curl_close($ch); $response; $array=explode(',',$response); $mail = new PHPMailer(true); try { $mail->isSMTP(); $mail->Host = 'gemregistrar.org'; $mail->SMTPAuth = true; $mail->Username = 'no-reply@gemregistrar.org'; $mail->Password = 'freeDOM@611#'; $mail->SMTPSecure = 'tls'; $mail->Port = 587; $mail->setFrom("no-reply@gemregistrar.org", "Gem Registrar"); $mail->addAddress("".$row['email_id'].""); $mail->isHTML(true); $mail->Subject = "UPLOAD DOCUMENTS"; $mail->Body = '<div style="width:100%; float:left;margin:0;padding:0; background-color: #eee;letter-spacing: 0.3px;"> <div style="width:80%;background-color:#fff;margin:auto;"> <div style="width:100%;float:left;background-color:#fff;text-align: justify;padding-bottom: 20px;"> <div style="width:100%;float:left;background-color:#fff;text-align: center;border-bottom: 5px solid #f5821f;border-bottom-left-radius: 30px;border-bottom-right-radius: 30px;"> <div style="width:100%;float:left;background-color: #07222e;color:white;border-bottom : 5px solid #07222e;border-top : 5px solid #07222e;padding: 10px 0px;border-bottom-left-radius: 30px;border-bottom-right-radius: 30px;font-size:20px"> G.e.M REGISTRATION PRIVATE CONSULTANCY SERVICE </div> </div> </div> <div style="width:100%;float:left;background-color:#fff;text-align: justify;"> <div style="width:80%;margin:auto;background:#fff;padding:0px 10px;"> <p style="color: #343a40;font-size:17px;font-family:sans-serif;text-align: left;"><b>Dear Sir,</b></p> <p style="color:#07222e;font-family:sans-serif;font-size:17px;text-align: left;font-weight: bold;">Greetings for the day!!</p> <span style="color: #000;font-size:15px;font-family:sans-serif;text-align: left;"> AS CHOOSEN BY YOU PLEASE FIND THE UPLOAD LINK BELOW. PLEASE UPLOAD YOUR DOCUMENTS AS SOON AS POSSIBLE.</span> <div style="width:100%;float:left;margin:auto;background:#fff;text-align: center;padding:10px 0px;"> <span style="color: #16345f;font-size:30px;font-family:sans-serif;text-align: center;font-weight: bolder;">⇩</span><br> <button style="background:#f5821f;text-align: center;padding:10px 1px;border:none;margin: 10px 0px;"><a href="'.$pageUrl.'" style="text-decoration: none;color: #fff;font-size:15px;font-family:sans-serif;border: 2px dashed #ffffff;padding: 7px 14px;">Click Here</a></button> </div> <div style="width:100%;float:left;margin:auto;background:#fff;text-align: justify;"> <p style="color: #343a40;font-size:17px;font-family:sans-serif;text-align:left;"><b> Thanks,<br> Team Processing</b> </p><br> </div> </div> <div style="width:100%;float:left;background-image:linear-gradient(#07222e,#07222e);text-align: justify;border-top-left-radius: 30px;border-top-right-radius: 30px;border-top: 5px solid #f5821f;"> <div style="width:80%;margin:auto;padding:0px 10px;text-align: center;padding:8px 0px;"> <span style="color: #ffa85d;font-size:14px;font-family:sans-serif;text-align: center;">For Any Concern Please Email Us At : </span><a href="mail:care@gemregistrar.org" style="color: #fff;font-size:14px;font-family:sans-serif;text-decoration: none;">care@gemregistrar.org</a><br> <span style="color: #fff;font-size:12px;font-family:sans-serif;">©2020 Copyright <a href="https://gemregistrar.org/" style="color: #fff;font-size:12px;font-family:sans-serif;text-decoration: none;">https://gemregistrar.org/ </a>All Rights Reserved</span> <br><br> <p style="color: #fff;"> Alternatively, You can also send your documents to the following whatsapp number : +916204958230. Don"t forget to mention your Email Address & mobile number using which the order has been placed.</p> </div> </div> </div> </div> </div>'; $mail->send(); $mail->ClearAllRecipients(); } catch (Exception $e) { echo "Message could not be sent. Mailer Error: {$mail->ErrorInfo}"; } echo "<script>setTimeout(\"location.href = './';\",100);</script>"; } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.32 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка