Файловый менеджер - Редактировать - /home/d46091/udyogaadhaar.net/blog-post/images/698279/success.php.tar
Назад
home/d46091/udyogaadhaar.net/success.php 0000644 00000064103 15026513503 0013726 0 ustar 00 <?php require("config.php"); session_start(); use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\Exception; require 'vendor/autoload.php'; if (defined('PAYMENT_GATEWAY') && $currentPaymentGateway == 'RAZORPAY') { $sql = " SELECT form_name, applicant_name, email_id, mobile_number, business_name, business_address, total_amount, payment_id, order_id, payment_status FROM ".$_SESSION['table_id']." WHERE id = '".$_SESSION["form_id"]."'; "; $result = $conn->query($sql); $row = $result->fetch_assoc(); $mail = new PHPMailer(true); try { $mail->isSMTP(); $mail->Host = 'udyogaadhaar.net'; $mail->SMTPAuth = true; $mail->Username = 'noreply@udyogaadhaar.net'; $mail->Password = 'freeDOM@611#'; $mail->SMTPSecure = 'tls'; $mail->Port = 587; $mail->setFrom("noreply@udyogaadhaar.net", "Udyog Aadhaar"); $mail->addAddress("".$row['email_id'].""); $mail->isHTML(true); $mail->Subject = "Payment Successful For ".$row['form_name'].""; $mail->Body = ' <div style="width:100%;margin:0;padding:0;float:left; font-family:sans-serif;letter-spacing: 0.5px;background:#ddd;"> <div style="width:80%;margin:auto;background:#fff;"> <div style="width:100%;float:left;margin:auto;background: #fff;padding:20px 0px 20px;text-align: center"> <img src="https://udyogaadhaar.net/assets/img/log.webp" alt="REGISTRATION FOR MICRO, SMALL & MEDIUM ENTERPRISES" style="height:80px;"><hr style="width:80%;"> <span style="display:block;color: #343a40; font-size:20px;font-weight:700;">REGISTRATION FOR MICRO, SMALL & MEDIUM ENTERPRISES</span> </div> <div style="width:100%;float:left;margin:auto;background:#69932b;padding:0px 0px 0px;text-align: center;"> <p style="text-align:center;color:#fff;font-size:18px;font-weight:lighter;padding:10px 0px 0px;font-family:sans-serif;">Dear <b style="color:#fff;font-size:18px;font-family:sans-serif;">'.$row['applicant_name'].',</b></p> <p style="text-align:center;color:#fff;font-size:18px;font-weight:bolder;padding:0px 0px 0px;text-transform:uppercase;font-family:sans-serif;">Your payment for '.$row['form_name'].' is successful.</p> </div> <br> <strong>NOTE : Final Certificate will be delivered within 2-3 working days.</strong> <br> <div style="width:100%;float:left;background:#fff;"> <div style="width:100%;float:left;background:#e54f07;padding:0px 0px 0px;margin:10px 0px 0px 0px"> <div style="width:80%;padding:5px 0px 5px;margin:auto;"> <span style="text-align:left;color:#fff;font-size:17px;font-weight:bolder;padding:0px 0px 0px 40px;font-family:sans-serif;">Your order details are as follows :</span> </div> </div> </div> <div style="width:100%; background:#eeeeee;float:left;margin:auto;padding:10px 0px 0px;"> <table width="80%" style="background:none; margin:auto; border-collapse:collapse;padding:0px;border-radius:5px;"> <tbody> <tr> <td style="padding:8px 0px;"> <div style="width:90%;margin:auto;"> <div style="width:30%;float:left;"> <b style="color:#343a40; font-size:15px;font-family:sans-serif;">Applicant Name:</b> </div> <div style="width:60%;float:right;"> <span style="color:#343a40; font-size:15px;font-family:sans-serif;">'.strtoupper($row["applicant_name"]).'</span> </div> </div> </td> </tr> <tr> <td style="padding:8px 0px;"> <div style="width:90%;margin:auto;"> <div style="width:30%;float:left;"> <b style="color:#343a40;font-size:15px;font-family:sans-serif;">Email:</b> </div> <div style="width:60%;float:right;"> <span style="color:#343a40; font-size:15px;font-family:sans-serif;">'.strtoupper($row['email_id']).'</span> </div> </div> </td> </tr> <tr> <td style="padding:8px 0px;"> <div style="width:90%;margin:auto;"> <div style="width:30%;float:left;"> <b style="color:#343a40; font-size:15px;font-family:sans-serif;">Mobile Number:</b> </div> <div style="width:60%;float:right;"> <span style="color:#343a40; font-size:15px;font-family:sans-serif;">'.strtoupper($row['mobile_number']).'</span> </div> </div> </td> </tr> <tr> <td style="padding:8px 0px;"> <div style="width:90%;margin:auto;"> <div style="width:30%;float:left;"> <b style="color:#343a40; font-size:15px;font-family:sans-serif;">Ammount Paid:</b> </div> <div style="width:60%;float:right;"> <span style="color:#343a40; font-size:15px;font-family:sans-serif;">'.strtoupper($row['total_amount']).'</span> </div> </div> </td> </tr> <tr> <td style="padding:8px 0px;"> <div style="width:90%;margin:auto;"> <div style="width:30%;float:left;"> <b style="color:#343a40; font-size:15px;font-family:sans-serif;">Payment Id:</b> </div> <div style="width:60%;float:right;"> <span style="color:#343a40; font-size:15px;font-family:sans-serif;">'.$_SESSION['razorpay_payment_id'].'</span> </div> </div> </td> </tr> <tr> <td style="padding:8px 0px;"> <div style="width:90%;margin:auto;"> <div style="width:30%;float:left;"> <b style="color:#343a40; font-size:15px;font-family:sans-serif;">Order Id:</b> </div> <div style="width:60%;float:right;"> <span style="color:#343a40; font-size:15px;font-family:sans-serif;">'.$_SESSION['order_id'].'</span> </div> </div> </td> </tr> <tr> <td style="padding:8px 0px;"> <div style="width:90%;margin:auto;"> <div style="width:30%;float:left;"> <b style="color:#343a40; font-size:15px;font-family:sans-serif;">Payment Status:</b> </div> <div style="width:60%;float:right;"> <span style="color:#343a40; font-size:15px;font-family:sans-serif;">Paid</span> </div> </div> </td> </tr> <tr> <td style="padding:20px 0px 0px 0px; "> <hr> </td> </tr> <tr> <td style="padding:10px 0px;"> <div style="width:90%;margin:auto;text-align: justify;"> <p style="text-align:left;color:#000;font-size:16px;padding:0px 0px 10px 0px;font-family:sans-serif;">Regards,<br> Team Processing</p> </div> </td> </tr> </tbody> </table> 1) Your application along with payment has been received and the same will be processed by our experts in next 24 - 48 working hours.<br> <strong>2) At the time of processing, one link will be sent to you for OTP collection. We collect OTP only through system generated automatic links, linked to clients application to reduce human intervention.</strong><br> 3) Normally certificate generation takes 10 - 15 working days. However due to restrictions placed by COVID-19, this may take longer than usual. <br> Due to system upgradation on account of financial year change, processing of certificates will be delayed. <br> Your application has been queued up for processing and the final certificate will be sent on your registered email address within 7 - 10 working days. <br> </div> </div> </div> '; $mail->send(); $mail->ClearAllRecipients(); $mail->addAddress("noreply@udyogaadhaar.net"); $mail->isHTML(true); $mail->Subject = "Payment Received For ".$row["form_name"].""; $mail->Body = " APPLICANT NAME: ".$row["applicant_name"]."<br> EMAIL ID: ".$row['email_id']."<br> MOBILE NUMBER: ".$row['mobile_number']."<br> AMOUNT PAID: ".$row['total_amount']."<br> PAYMENT ID: ".$_SESSION['razorpay_payment_id']."<br> ORDER ID: ".$_SESSION['order_id']."<br> PAYMENT STATUS: Paid "; $mail->send(); } catch (Exception $e) { echo "Message could not be sent. Mailer Error: {$mail->ErrorInfo}"; } }else{ echo ''; } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>SUCCESS | EUDYOGAADHAAR</title> <link rel="icon" href="./assets/img/flag.png" type="image/gif" sizes="16x16"> <script src="https://kit.fontawesome.com/d23a55b7f1.js" crossorigin="anonymous"></script> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800&display=swap" rel="stylesheet"> <link rel="stylesheet" href="main.css"> <style> table#fcs-fee-table { font-size: 14px; background: #ffffff; text-transform: uppercase; } table#fcs-fee-table td:nth-child(1) { background: #f8f8f8; font-weight: 700; } form { background: transparent; padding: 15px; height: 100%; } .at{ outline: none; border: 1px solid #100d0d; border-radius: 100% !important; width: 14px; height: 14px; cursor: pointer; caret-color: transparent; } input[type="text"]:checked+label { font-weight: bold; } .at:focus { background:#0075ff; } .modal-xl { max-width: 1660px; max-height:100%; } .blink_me { animation: blinker 1s linear infinite; color:red; font-weight: bold; } @keyframes blinker { 50% { opacity: 0; } } .bg-success { background-color: #de7c27!important; } .bg-danger { background-color: #c0eabc!important; } @media only screen and (max-width: 768px) { *, html, body, .row { margin-left:0 !important; margin-right:0 !important; padding-left:0 !important; padding-right:0 !important; } } @media only screen and (max-width: 768px) { *, html, body, .row { padding-top:0 !important; } } p{ font-size:13px; } .modal-body { position: relative; -ms-flex: 1 1 auto; flex: 1 1 auto; padding: 0rem; } </style> </head> <body> <?php include 'header.php'; ?> <div class="container-fluid fcs-form-container"> <div class="row"> <div class="col-sm-8 col-lg-6" style="margin: auto"> <?php if (defined('PAYMENT_GATEWAY') && $currentPaymentGateway == 'RAZORPAY') { $sql = "SELECT * FROM ".$_SESSION['table_id']." WHERE id = '".$_SESSION["form_id"]."'"; }else{ $sql = "SELECT * FROM msme_form WHERE order_id = '".$_SESSION['orderId']."'"; $result = $conn->query($sql); $row = $result->fetch_assoc(); } $id= $row['id']; $formName = 'UDYAM Registration,Re Registration'; $paymentId =$row['payment_id']; //select form id from cid// $sql_select_cid ="SELECT *FROM cid WHERE uid = '".$id."'; "; $result_cid = $conn->query($sql_select_cid); $row_cid = $result_cid->fetch_assoc(); $cid = $row_cid['cid']; $pageUrl = 'https://'.$_SERVER['HTTP_HOST'].'/'.$row['form_page_url'].'?cid='.$cid.''; ?> <?php if( (isset($formName)&& $row['form_name'] == 'UDYAM Registration') && ($row['upload_aadhaar_card_front'] == '')Or (isset($formName)&& $row['form_name'] == 'Re Registration') && ($row['upload_aadhaar_card_front'] == '') ){ $pageUrl = 'https://'.$_SERVER['HTTP_HOST'].'/'.$row['form_page_url']; ?> <form name=incompleteForm id='forms' action='thanks.php'method="post"> <table class="table table-bordered fcs-fee-table" id="fcs-fee-table"> <thead class="thead-dark"> <tr> <th scope="col">YOUR PAYMENT FOR <span style="color:#fff"><?php echo $row['form_name'];?> </span> HAS BEEN SUCCESSFULLY COMPLETED. <br> ACKNOWLEDGEMENT OF THE PAYMENT HAS BEEN SENT ON YOUR EMAIL ADDRESS !</th> </tr> </thead> <tbody> <tr> <th rowspan="2" style="float:left;width: 100%;text-indent: 0rem;"> NOW PROCEED TO UPLOAD YOUR DOCUMENTS TO COMPLETE YOUR APPLICATION: <br> <span style="text-indent: -24rem;padding-right: 20.6rem;"><code>अब अपना आवेदन पूरा करने के लिए अपने दस्तावेज़ अपलोड करने के लिए आगे बढ़ें:</code> </span></th> </tr> <tr> <th colspan="2"> <div class="row" style="display: flex;margin-right: 10px"> <div class="col-lg-1" style="border: 2px solid #dee2e6;display: flex;justify-content: center;align-items: center;width: 5%;padding: 10px !important;"> <input type="checkbox"id='yes'name="option-selected"value="Yes The Client Has Choosen To Upload The Required Documents Now"class="radio"style="float:left"> </div> <div class="col-lg-11"style="border: 2px solid #dee2e6;display: inline-flex;justify-content: flex-start;align-items: center;width: 95%;padding: 10px !important;border-left: 0;text-align: left;"> <label for="yes" style="text-align:left">YES, I WANT TO UPLOAD THE REQUIRED DOCUMENTS NOW. <br><code>हाँ, मैं अभी आवश्यक दस्तावेज़ अपलोड करना चाहता हूँ |</code> <br></label> </div> </div> <div class="row" style="display: flex;margin-right: 10px;"> <div class="col-lg-1" style="border: 2px solid #dee2e6;display: flex;justify-content: center;align-items: center;width: 5%;padding: 10px !important;"> <input type="checkbox"id='no'name="option-selected"value="No The Client Wish To Upload The Required Documents Later. Uploaded Link Has Been Sent On His Email."class="radio"style="float:left"> </div> <div class="col-lg-11"style="border: 2px solid #dee2e6;display: inline-flex;justify-content: flex-start;align-items: center;width: 95%;padding: 10px !important;border-left: 0;text-align: left;"> <label for="yes" style="text-align:left">NO, I WANT TO UPLOAD THE REQUIRED DOCUMENTS LATER. KINDLY SEND THE LINK TO UPLOAD MY DOCUMENTS ON MY REGISTERED EMAIL ADDRESS. <br> <code>नहीं, मैं आवश्यक दस्तावेजों को बाद में अपलोड करना चाहता हूं। कृपया मेरे पंजीकृत ईमेल पते पर मेरे दस्तावेज़ अपलोड करने के लिए लिंक भेजें |</code> </label> </div> </div> </th> </tr> <tr> <th colspan="3"> <input type="hidden"name="cid"value="<?php echo $cid;?>"> <input type="hidden"name="pageUrl"value="<?php echo $pageUrl;?>"> <input type="hidden"name="payment_id"value="<?php echo $paymentId;?>"> <button type="submit"name="test"class="btn btn-dark">PROCEED</button> </th> </tr> </tbody> </table> </form> <?php }else { echo ''; } ?> <hr> <form> <span class="fcs-bold-text-white">PAYMENT SUCCESSFUL</span> <br> <table class="table table-bordered fcs-fee-table" id="fcs-fee-table"> <thead class="thead-dark"> <tr> <th scope="col">ORDER DETAILS</th> <th scope="col"></th> </tr> </thead> <tbody> <tr> <td>APPLICANT NAME</td> <td><?php echo $row['applicant_name']; ?></td> </tr> <tr> <td>EMAIL ID</td> <td><?php echo $row['email_id']; ?></td> </tr> <tr> <td>MOBILE NUMBER</td> <td><?php echo $row['mobile_number']; ?></td> </tr> <tr> <td>AMOUNT PAID</td> <td><?php echo $row['total_amount']; ?></td> </tr> <?php if (defined('PAYMENT_GATEWAY') && $currentPaymentGateway == 'RAZORPAY') { ?> <tr> <td>PAYMENT ID</td> <td><?php echo $_SESSION['razorpay_payment_id']; ?></td> </tr> <tr> <td>ORDER ID</td> <td><?php echo $_SESSION['order_id']; ?></td> </tr> <?php }else{ ?> <tr> <td>PAYMENT ID</td> <td><?php echo $row['payment_id']; ?></td> </tr> <tr> <td>ORDER ID</td> <td><?php echo $row['order_id']; ?></td> </tr> <?php } ?> <tr> <td>PAYMENT STATUS</td> <td><?php echo $row['payment_status']; ?></td> </tr> </tbody> </table> </form> </div> </div> </div> <!-- Back To Top Button --> <a href="#" class="cd-top text-replace js-cd-top"><i class="fas fa-arrow-up"></i></a> <?php include 'footer.php'; ?> <!-- Bootstrap JS --> <script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script> <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script> <script> $( '#forms' ).on('submit', function(e) { if($( 'input[class^="radio"]:checked' ).length === 0) { alert( 'Please Click On Any One Option.' ); e.preventDefault(); } }); $(document).ready(function(){ // var pageUrl = '<?php echo $pageUrl; ?>'; $('.radio').change(function(){ $('.radio').not(this).prop('checked', false); // $('.radio').attr('required', true); if($("#yes").prop("checked") == true){ // $("#forms").attr("action", pageUrl) } else{ // $("#forms").attr("action", "thanks.php") } }); }); </script> </body> </html>
| ver. 1.4 |
Github
|
.
| PHP 8.1.32 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка