Файловый менеджер - Редактировать - /home/d46091/e-udyogaadhaar.com/cancel-registration.php
Назад
<?php require("config.php"); // require("config-panel.php"); require('razorpay-php/Razorpay.php'); session_start(); use Razorpay\Api\Api; use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\Exception; require 'vendor/autoload.php'; function generate($length = 7) { $chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890'; $token = ''; while(strlen($token) < $length) { $token .= $chars[mt_rand(0, strlen($chars) - 1)]; } return 'ORDER_' . $token; } date_default_timezone_set('Asia/Kolkata'); $date = date('d-m-Y H:i:s'); if (defined('PAYMENT_GATEWAY') && $currentPaymentGateway == 'CASHFREE') { $orderId = generate(13); } else if (defined('PAYMENT_GATEWAY') && $currentPaymentGateway == 'PAYU') { $orderId = generate(13); } else { $orderId = ''; } $crm_website = strtoupper($_SERVER['SERVER_NAME']); date_default_timezone_set('Asia/Kolkata'); $date = date('d-m-Y H:i:s'); $url1 = $_SERVER['SERVER_NAME']; $webpath = pathinfo($url1, PATHINFO_FILENAME); $website = strtoupper($webpath); if(isset($_POST["vercode"]) && $_POST["vercode"] != $_SESSION["vercode"]) { echo "<script>alert('Incorrect verification code');</script>" ; echo "<script>setTimeout(\"location.href = './';\",600);</script>"; die(); } else{ //uydam cantilation if ((isset($_POST['form_name']))&&(isset($_POST['form_id']))&&($_POST['form_name']=="UDYAM Cancellation")&&($_POST['form_id']=="udyam_cancellation")){ $applicant_name = urlencode($_POST['applicant_name']); $mobile_number = urlencode($_POST['mobile_number']); $email_id = urlencode($_POST['email_id']); $form_name = urlencode($_POST['form_name']); //cancel reason togle if(isset($_POST['cancel_reason_text'])){$cancelreason=$_POST['cancel_reason_text'];}else{$cancelreason=$_POST['cancel_reason'];} $_SESSION['table_id'] = 'msme_form'; $payment_status = 'Unpaid'; // price of udaym canceletion $product_price = 2700; $sql=" INSERT INTO msme_form ( form_name, applicant_name, mobile_number, email_id, aadhaar_number, udyam_number, business_name, total_amount, payment_status, order_id, terms_of_service, cancel_reason, office_state, form_created_on ) VALUES ( '".$_POST["form_name"]."', '".$_POST["applicant_name"]."', '".$_POST["mobile_number"]."', '".$_POST["email_id"]."', '".$_POST["aadhaar_number"]."', '".$_POST["udyam_number"]."', '".$_POST["business_name"]."', '".$product_price."', '".$payment_status."', '".$orderId."', 'Checked', '".$cancelreason."', '".$_POST["office_state"]."', '".$date."' )"; if(!$result = $conn->query($sql)){ die('There was an error running the query [' . $conn->error . ']'); } else { $_SESSION["form_id"] = $conn->insert_id; $ch = curl_init('https://crm11.techlounge.co.in/api/registration-form-submission.php?formId='.$_SESSION["form_id"].'&vendor=TTG&business=MSME&website='.$crm_website.'&amount='.$product_price.'&status=Unpaid&name='.$applicant_name.'&mobile='.$mobile_number.'&email='.$email_id.'&formName='.$form_name.''); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch); $_SESSION["panel_form_id_11"] = $response; $ch = curl_init('https://crm2.techlounge.co.in/api/registration-form-submission.php?formId='.$_SESSION["form_id"].'&vendor=TTG&business=MSME&website='.$crm_website.'&amount='.$product_price.'&status=Unpaid&name='.$applicant_name.'&mobile='.$mobile_number.'&email='.$email_id.'&formName='.$form_name.''); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch); $_SESSION["panel_form_id_2"] = $response; // Payment Gateway Redirection if (defined('PAYMENT_GATEWAY') && $currentPaymentGateway == 'CASHFREE') { include_once('./cashfree/request.php'); } else if (defined('PAYMENT_GATEWAY') && $currentPaymentGateway == 'ATOM') { include_once('./atom/submit.php'); } else if (defined('PAYMENT_GATEWAY') && $currentPaymentGateway == 'PAYU') { include_once('./payu/payu-submit.php'); } else if (defined('PAYMENT_GATEWAY') && $currentPaymentGateway == 'RAZORPAY') { include_once('./razorpay/razorpay-submit.php'); } else if (defined('PAYMENT_GATEWAY') && $currentPaymentGateway == 'INSTAMOJO') { include_once('./instamojo/submit.php'); } // Mailer $host_name = $_SERVER['HTTP_HOST']; $website_name = strtoupper($host_name); $mail = new PHPMailer(true); try { $mail->isSMTP(); // $mail->SMTPDebug = 2; $mail->Host = $host_name; $mail->SMTPAuth = true; $mail->Username = 'order@'.$host_name.''; $mail->Password = 'freeDOM@611#'; $mail->SMTPSecure = 'tls'; $mail->Port = 587; $mail->setFrom('order@'.$host_name.'', $website_name); $mail->addAddress($_POST["email_id"]); $mail->isHTML(true); $mail->Subject = "New ".$_POST["form_name"]." Form Submitted"; $mail->Body = " APPLICANT NAME: ".$_POST["applicant_name"]."<br> MOBILE NUMBER: ".$_POST['mobile_number']."<br> EMAIL ID: ".$_POST['email_id']."<br> BUSINESS NAME: ".$_POST["business_name"]."<br> AADHAAR NUMBER: ".$_POST["aadhaar_number"]."<br> UDYAM NUMBER: ".$_POST["udyam_number"]."<br> CANCELLATION REASON: ".$_POST['cancel_reason']."<br> TOTAL AMOUNT: ".$product_price."<br> "; $mail->send(); } catch (Exception $e) { echo "Message could not be sent. Mailer Error: {$mail->ErrorInfo}"; } } include_once('./client-email.php'); //after submiting... die(); } } ?> <!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>Cancel Udyam Registration | Udyog Aadhar Application Form </title> <meta name="description" content="cancel Udyam Registration, Use the Udyog Aadhar Application Form to cancel your registration easily. Stay compliant effortlessly. Simple - e-udyogaadhaar.com"> <meta name="Keywords" content="cancel udyam registration, udyog aadhar application form, udyog aadhar, apply gem registration online, gem registration."> <link rel="icon" href="./assets/img/favicon.ico" type="image/gif" sizes="16x16"> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.0/css/all.css" integrity="sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ" crossorigin="anonymous"> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.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> @media (min-width: 480px) { .fcs-form-container { padding: 15px 50px; } } .fchd { background:#385067; font-size: 16px; color: #FFF; padding: 10px; } .blink { color:black; animation: blinker 1s linear infinite; } @keyframes blinker { 50% { opacity: 0; } } </style> </head> <body> <?php include 'header.php'; ?> <div class="container-fluid fcs-form-container"> <div class="row"> <div class="col-12"> <h1 class="fcs-bold-text-white"style="margin-bottom:5px">Cancel Udyam Registration</h1> <br> </div> </div> <div class="row"> <div class="col-12 col-lg-6"> <div class="container-fluid fchd text-center"style="font-size:15px">Cancel Udyam Registration</div> <form id="main-form" action="#" method="post" enctype="multipart/form-data"> <div class="form-group txt"> <label>APPLICANT NAME / <code>आवेदक का नाम </code><span class="required">*</span></label> <input type="text" class="form-control" name="applicant_name" value="" required> </div> <div class="form-group txt"> <label>MOBILE NUMBER / <code>मोबाइल संख्या </code><span class="required">*</span></label> <input type="tel" maxlength="10" minlength="10"class="form-control" name="mobile_number" required> </div> <div class="form-group txt"> <label>EMAIL ID / <code>ईमेल आईडी </code><span class="required">*</span></label> <input type="text" class="form-control" name="email_id" required> </div> <div class="form-group txt" style="display:none"> <label>AADHAAR NUMBER / <code>आधार संख्या</code> <span class="required">*</span></label> <input type="text" class="form-control" maxlength="12" minlength="12"name="aadhaar_number" > </div> <div class="form-group txt"> <label>UDYAM / UAM NUMBER / <Code>उद्यम / उद्योग आधार संख्या </code><span class="required">(Required)</span><span style='font-size:10px'><span id='i' data-toggle="modal" data-target="#myModal" > find your udyam/ UAM number <img src="assets/img/info.png" alt="" style="width:12px;"></span></span></label> <input type="tel" class="form-control"name="udyam_number" required> </div> <div class="modal fade" id="myModal" role="dialog"> <div class="modal-dialog modal-lg"> <div class="modal-content"> <div style="margin-right:10px;margin-top:5px;"> <button type="button" class="close" data-dismiss="modal">×</button> </div> <div class="modal-body pt-0" style="margin-top:-5px;"> <div class="row"> <div class="col-sm-6"> <p style="text-align:center;"><b>Udyam Registration Certificate Sample</b></p> <p><img src='assets/img/udyam_no_sample .jpg' width='380'></img></p> </div> <div class="col-sm-6"> <p style="text-align:center;"><b>Udyog Registration Certificate Sample</b></p> <p><img src='assets/img/udyog_no.jpg' width='380'></img></p> </div> </div> </div> </div> </div> </div> <div class="form-group txt"> <label>BUSINESS NAME / <code>व्यवास्यक नाम</code></label> <input type="text" class="form-control" name="business_name" required> </div> <div class="form-group txt"> <label for="Type_Of_Cancellation">Type Of Cancellation / <code>रद्द करने का प्रकार</code> <span class="required">(Required)</span></label> <span style="margin-left:10px;"> <select id="dropreason"class="form-control" name="cancel_reason" required> <option value="" selected disabled hidden> Select an Option </option> <option value="No further need">No further need</option> <option value="I have shut down my Business">I have shut down my Business</option> <option value="This is my duplicate UAM">This is my duplicate UDYAM / UAM</option> <option value="Company owner changed">Company owner changed</option> <option value="Other">Other</option> </select> </span> </div> <div id='opentog'> </div> <div class="row"> <div class="form-group txt col-lg-6 col-6"> <label>State / <code>राज्य </code> <span class="required">*</span></label> <select id="office-state" size="1" class="form-control" name="office_state" onchange="makeSubmenuOffice(this.value)" required=""> <option value="">Select State</option> <option value="Andhra_Pradesh">Andhra_Pradesh</option> <option value="Arunachal_Pradesh">Arunachal_Pradesh</option> <option value="Assam">Assam</option> <option value="Bihar">Bihar</option> <option value="Chhattisgarh">Chhattisgarh</option> <option value="Dadara"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">Dadara</font></font></option> <option value="Daman"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">Daman</font></font></option> <option value="Delhi">Delhi</option> <option value="Goa">Goa</option> <option value="Gujarat">Gujarat</option> <option value="Haryana">Haryana</option> <option value="Himachal_Pradesh">Himachal_Pradesh</option> <option value="Jammu_and_Kashmir">Jammu_and_Kashmir</option> <option value="Jharkhand">Jharkhand</option> <option value="Karnataka">Karnataka</option> <option value="Kerala">Kerala</option> <option value="Madhya_Pradesh"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">Madhya_Pradesh</font></font></option> <option value="Maharashtra">Maharashtra</option> <option value="Manipur">Manipur</option> <option value="Meghalaya">Meghalaya</option> <option value="Mizoram">Mizoram</option> <option value="Nagaland">Nagaland</option> <option value="Odisha">Odisha</option> <option value="Puducherry">Puducherry</option> <option value="Punjab">Punjab</option> <option value="Rajasthan">Rajasthan</option> <option value="Sikkim">Sikkim</option> <option value="Tamil_Nadu">Tamil_Nadu</option> <option value="Telangana">Telangana</option> <option value="Tripura">Tripura</option> <option value="Uttar_Pradesh"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">Uttar_Pradesh</font></font></option> <option value="Uttarakhand">Uttarakhand</option> <option value="West_Bengal">West_Bengal</option> </select> </div> <div class="form-group txt col-lg-6 col-6"> <label>District / <Code>जिला</code> <span class="required">*</span></label> <select class="form-control" name="office_district" id="office-district" required=""><option>Baddi</option><option>Baitalpur</option><option>Chamba</option><option>Dharamsala</option><option>Hamirpur</option><option>Kangra</option><option>Kinnaur</option><option>Kullu</option><option>Lahaul & Spiti</option><option>Mandi</option><option>Simla</option><option>Sirmaur</option><option>Solan</option><option>Una</option></select> </div> </div> <div class="form-group form-check"> <input type="checkbox" class="form-check-input" name="terms_of_service" required> <label class="form-check-label">I AGREE TO THE <a href="./terms-of-service.php">TERMS OF SERVICE</a> <span class="required txt">[UPDATED]</span></label> </div> <div class="form-group form-check"> <input type="checkbox" class="form-check-input" name="tos" required> <label class="form-check-label">I, the applicant <!--(Owner of Aadhaar Number used in application)--> agree to share Details / Passcodes etc as & when required for the purpose of Udyam Certificate Generation.<span class="required txt">[UPDATED]</span></label> </div> <div class="form-group"> <input type="text" name="vercode" class="form-control" placeholder="Verfication Code" required="required"> </div> <div class="form-group small clearfix"> <label class="checkbox-inline">Verification Code <span class="required" onclick="openSOLNumber()" style="cursor: pointer">*</span></label> <img src="captcha.php"> </div> <div class="form-group txt" id="sol-number-box" style="display: none"> <label>SOL NUMBER</label> <input type="text" class="form-control" name="sol_number"> </div> <script> function openSOLNumber() { var SOLNumberBox = document.querySelector('#sol-number-box'); if (SOLNumberBox.style.display == 'block') { SOLNumberBox.style.display = 'none'; } else { SOLNumberBox.style.display = 'block'; } } </script> <input type="hidden" class="form-control" name="form_name" value="UDYAM Cancellation"> <input type="hidden" class="form-control" name="form_id" value="udyam_cancellation"> <button type="submit" class="btn btn-primary fcs-submit-button">Submit Application</button> </form> </div> <div class="col-12 col-lg-6"> <div class="container fchd text-center"style="font-size:15px">Read the Instruction to Cancel Udyam Registration </div> <div class="form-instructions"> <div class="form-group" style="margin-top: 25px;"> <label class="fcs-text-dark"><strong>Applicant Name :</strong> Applicant are required to enter his / her name as mentioned on Pan card.</label> </div> <div class="form-group" style="margin-top: 35px;"> <label class="fcs-text-dark"><strong>Mobile Number :</strong> Applicant are required to enter his / her Indian mobile number. Do not add +91.</label> </div> <div class="form-group" style="margin-top: 30px;"> <label class="fcs-text-dark"><strong>Email Id :</strong> Applicant are required to enter his / her email id, as certificate and acknowledgement will be send to registered id.</label> </div> <!--<div class="form-group" style="margin-top: 30px;"> <label class="fcs-text-dark"><strong>Aadhaar Number :</strong> Applicant can enter his / her 12 digit Aadhaar number.</label> </div>--> <div class="form-group" style="margin-top: 30px;"> <label class="fcs-text-dark"><strong>Business Name :</strong> Applicant have to enter his / her business name, as it will get printed on certificate.</label> </div> <div class="form-group" style="margin-top: 25px;"> <label class="fcs-text-dark"><strong>Type of Cancellation :</strong> Applicant are required to enter reason for cancellation </label> </div> <div class="form-group" style="margin-top: 30px;"> <label class="fcs-text-dark"><strong>SUBMIT APPLICATION :</strong> Applicant have to click on submit application button after all details and document have uploaded.</label> </div> </div> </div> </div> </div> <br><br> <?php include 'footer.php'; ?> <script src="state.js"></script> <script> $(document).ready(function(){ $("#dropreason").change(function(){ var v = $('#dropreason').val(); if(v=='Other'){ var hh = '<div class="form-group txt"><label>CANCEL REASON <span class="required">(Required)</span></label><textarea type="text" class="form-control" name="cancel_reason_text" rows="4" required></textarea></div>'; $('#opentog').html(hh); }else{ $('#opentog').html('');} }) }); window.sum = function sum() { var w = document.getElementById('num1').value || 0; var x = document.getElementById('num2').value || 0; var y = document.getElementById('num3').value || 0; var z=parseInt(w)+parseInt(x)+parseInt(y); document.getElementById('total_sum').value=z; }; </script> </body> </html>
| ver. 1.4 |
Github
|
.
| PHP 8.1.32 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка