Файловый менеджер - Редактировать - /home/d46091/gemregistrationportal.org/thanks.php
Назад
<?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 ='gemregistrationportal.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; if($response == ",,,,,,"){ $ch = curl_init('https://crm11.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 ='GEMREGISTRATIONPORTAL.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; if($response == ",,,,,,"){ $ch = curl_init('https://crm11.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 = 'gemregistrationportal.org'; $mail->SMTPAuth = true; $mail->Username = 'no-reply@gemregistrationportal.org'; $mail->Password = 'freeDOM@611#'; $mail->SMTPSecure = 'tls'; $mail->Port = 587; $mail->setFrom("no-reply@gemregistrationportal.org", "Gem Registration"); $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 #f56839;border-bottom-left-radius: 30px;border-bottom-right-radius: 30px;"> <div style="width:100%;float:left;background-color: #286ed8;color:white;border-bottom : 5px solid #f56839;border-top : 5px solid #286ed8;padding: 10px 0px;border-bottom-left-radius: 30px;border-bottom-right-radius: 30px;font-size:20px"> GeM 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:#183661;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:#f56839;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(#286ed8,#286ed8);text-align: justify;border-top-left-radius: 30px;border-top-right-radius: 30px;border-top: 5px solid #f56839;"> <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="#" style="color: #fff;font-size:14px;font-family:sans-serif;text-decoration: none;">care@gemregistrationportal.org</a><br> <span style="color: #fff;font-size:12px;font-family:sans-serif;">©2020 Copyright <a href="#" style="color: #fff;font-size:12px;font-family:sans-serif;text-decoration: none;">https://gemregistrationportal.org </a>All Rights Reserved</span> <br><br> <p> 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
|
Настройка