Файловый менеджер - Редактировать - /home/d46091/foodlicenceonline.net/success-payment.php
Назад
<?php require_once('include/connection.php') ?> <!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 | FSSAI LICENCE</title> <link rel="icon" href="./assets/img/flag.png" type="image/gif" sizes="16x16"> <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"> <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 'include/header.php'; include 'include/navbar.php'; if(!isset($_COOKIE["PayStatus"])){ echo'<h1 style="font-weight: bold;display: flex;justify-content: center;padding: 10px;">ACCESS DENIED</h1>'; $hide ='hide'; echo "<script>setTimeout(\"location.href = './';\",1000);</script>"; }else { $hide =''; ?> <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 fssai WHERE order_id = '".$_COOKIE['OrderNo']."'"; $result = $conn->query($sql); $row = $result->fetch_assoc(); } $id= $row['id']; $formName = 'FSSAI Registration'; $paymentId =$row['payment_id']; $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']; //$edit_link = 'https://fssai.uploadocs.in/'.$pageUrl; // echo '<script> // gtag("event", "purchase", { // transaction_id: "' . $paymentId . '" // }); // </script> // '; if($row_cid['form_name'] =='Tatkal FSSAI Registration'){ $pageUrl = 'https://'.$_SERVER['HTTP_HOST'].'/tatkaal-fssai-registration.php?cid='.$cid; $edit_link = 'https://fssai.uploadocs.in/?cn='.base64_encode($pageUrl); } elseif ($row_cid['form_name'] =='Annual Return Enquiry'){ $pageUrl = 'https://'.$_SERVER['HTTP_HOST'].'/annual-return-filing.php?cid='.$cid.''; $edit_link = 'https://fssai.uploadocs.in/?cn='.base64_encode($pageUrl); } else { $pageUrl = 'https://'.$_SERVER['HTTP_HOST'].'/index.php?cid='.$cid.''; $edit_link = 'https://fssai.uploadocs.in/?cn='.base64_encode($pageUrl); } ?> <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> <tr> <td colspan="3" style="background:white"> Your Payment For <span style="color:#000"><?php echo $row['form_name'];?> </span> Has Been Successfully Completed. Acknowledgement Receipt Has Been Sent On Your Email Address. </td> </tr> </tbody> </table> </form> <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"> Please Wait For <span id="timer"style="font-size:24px;color:black"></span> <span style="color:black">Seconds</span> ⏰ <span>The page will redirect you to the document upload section where you will be required to Upload Required Docuemnts And Complete Your Application</span>. </th> </tr> </thead> <script> let countdown = 10; const interval = setInterval(function() { countdown--; document.getElementById('timer').textContent = countdown; if (countdown <= 0) { clearInterval(interval); window.location.href = '<?php echo $edit_link;?>'; } }, 1000); </script> <tbody> <tr style="display:none"> <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 style="display:none"> <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 $edit_link;?>"> <input type="hidden"name="payment_id"value="<?php echo $paymentId;?>"> </th> </tr> </tbody> </table> </form> <?php // if( // (isset($_POST['form_id'])&& $_POST['form_id'] == 'fssai_registration') // ) // { // $url = "https://uploadnow.xyz/upload.php"; // if($_FILES['upload_aadhaar_card_front']['name']!=''){ // $tmp_file_name = $_FILES['upload_aadhaar_card_front']['tmp_name']; // $file_type = $_FILES['upload_aadhaar_card_front']['type']; // $file_name = basename($_FILES['upload_aadhaar_card_front']['name']); // $post_data = array( // 'file' => curl_file_create($tmp_file_name, $file_type, $file_name) // ); // $ch = curl_init(); // curl_setopt($ch, CURLOPT_URL, $url); // curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data); // curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // $link_1 = curl_exec($ch); // curl_close($ch); // } // if($_FILES['upload_aadhaar_card_back']['name']!=''){ // $tmp_file_name = $_FILES['upload_aadhaar_card_back']['tmp_name']; // $file_type = $_FILES['upload_aadhaar_card_back']['type']; // $file_name = basename($_FILES['upload_aadhaar_card_back']['name']); // $post_data = array( // 'file' => curl_file_create($tmp_file_name, $file_type, $file_name) // ); // $ch = curl_init(); // curl_setopt($ch, CURLOPT_URL, $url); // curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data); // curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // $link_2 = curl_exec($ch); // curl_close($ch); // } // if($_FILES['upload_pan_card_front']['name']!=''){ // $tmp_file_name = $_FILES['upload_pan_card_front']['tmp_name']; // $file_type = $_FILES['upload_pan_card_front']['type']; // $file_name = basename($_FILES['upload_pan_card_front']['name']); // $post_data = array( // 'file' => curl_file_create($tmp_file_name, $file_type, $file_name) // ); // $ch = curl_init(); // curl_setopt($ch, CURLOPT_URL, $url); // curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data); // curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // $link_3 = curl_exec($ch); // curl_close($ch); // } // $url = "https://uploadnow.xyz/upload.php"; // if($_FILES['upload_aadhaar_card_front1']['name']!=''){ // $tmp_file_name = $_FILES['upload_aadhaar_card_front1']['tmp_name']; // $file_type = $_FILES['upload_aadhaar_card_front1']['type']; // $file_name = basename($_FILES['upload_aadhaar_card_front1']['name']); // $post_data = array( // 'file' => curl_file_create($tmp_file_name, $file_type, $file_name) // ); // $ch = curl_init(); // curl_setopt($ch, CURLOPT_URL, $url); // curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data); // curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // $link_4 = curl_exec($ch); // curl_close($ch); // } // $sql = " // UPDATE fssai // SET upload_aadhaar_card_front = '".$link_1."', // upload_aadhaar_card_back = '".$link_2."', // upload_pan_card_front = '".$link_3."', // photo = '".$link_4."' // where // order_id= '".$_SESSION['orderId']."' // "; // if(!$result = $conn->query($sql)){ // die('There was an error running the query [' . $conn->error . ']'); // } // echo "<script>location.href='thankyou.php';</script>"; // } ?> <!-- <h5 style="border:1px solid green;border-radius:20px;font-size:18px"class="text-center font-weight-bold">UPLOAD THE FOLLOWING DOCUMENTS FOR FUTHER PROCESS</h5> <form action="success-payment.php"method="post"enctype="multipart/form-data"> <table class="upload-table col-12"> <tbody> <tr> <th style="background:#f07e01;color:white">Upload File</th> <th style="background:#f07e01;color:white">Document Details</th> </tr> <tr> <td><input type="file" name="upload_aadhaar_card_front"></td> <td>AADHAAR CARD OF APPLICANT - FRONT SIDE</td> </tr> <tr> <td><input type="file" name="upload_aadhaar_card_back"></td> <td>AADHAAR CARD OF APPLICANT - BACK SIDE</td> </tr> <tr> <td><input type="file" name="upload_pan_card_front"></td> <td>PROOF OF POSSESSION OF PREMISES (ELECTRICITY BIL / RENT AGREMENT ETC)</td> </tr> <tr> <td><input type="file" name="upload_aadhaar_card_front1"></td> <td>CURRENT PHOTO OF THE APPLICANT</td> </tr> </tbody> </table> <input type="hidden" class="form-control" name="form_name" value="FSSAI Registration"> <input type="hidden" class="form-control" name="form_id" value="fssai_registration"> <br> <button type="submit" class="btn btn-primary fcs-submit-button">Submit Application</button> <br> <br> <strong><span style="color:red;font-size:14px;text-transform: capitalize">Note</span>: <span style="font-size:14px">Alternatively,You Can Send Above Documents On Whatsapp Number <br> <span style="color:green;font-size:14px">+91 6204964317</span> <a href="https://wa.me/916204964317"> Click Here To Send Whatsapp Message</a></strong> </form> --> </div> </div> </div> <?php } ?> <?php include 'include/footer.php'; ?> <!-- Event snippet for Purchase conversion page --> <script> gtag('event', 'conversion', { 'send_to': 'AW-11417802875/D4zYCMX4x_gYEPuwt8Qq', 'transaction_id': '' }); </script> <!-- 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> </body> </html>
| ver. 1.4 |
Github
|
.
| PHP 8.1.32 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка