Файловый менеджер - Редактировать - /home/d46091/udyogaadhaar.net/blog-post/images/698279/preview.php.tar
Назад
home/d46091/udyogaadhaar.net/preview.php 0000644 00000244312 15026517471 0013751 0 ustar 00 <?php require_once("config.php"); session_start(); ?> <!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>UDYOG AADHAAR REGISTRATION | MSME REGISTRATION | PREVIEW FORM</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> form { background: #ffffff !important; } </style> </head> <body> <?php include 'head.php'; ?> <div class="container-fluid fcs-form-container"> <div class="row"> <div class="col-sm-8 col-lg-8" style="margin: auto; padding: 0 0 15px 0;"> <?php // MSME Registration if( (isset($_POST['form_id'])&& $_POST['form_id'] == 'msme_registration') && (isset($_POST['applicant_name'])&& $_POST['applicant_name'] !='') && (isset($_POST['email_id'])&& $_POST['email_id'] !='') && (isset($_POST['mobile_number'])&& $_POST['mobile_number'] !='') && (isset($_POST['business_address'])&& $_POST['business_address'] !='') && (isset($_POST['terms_of_service'])&& $_POST['terms_of_service'] !='') ) { $upload_aadhaar_card_front = urlencode($_FILES["upload_aadhaar_card_front"]["name"]); $_SESSION['upload_aadhaar_card_front'] = rand().'_'.$upload_aadhaar_card_front; $upload_aadhaar_card_front_tmp = $_FILES["upload_aadhaar_card_front"]["tmp_name"]; move_uploaded_file($upload_aadhaar_card_front_tmp, "uploads/msme/".$_SESSION['upload_aadhaar_card_front'].""); $upload_aadhaar_card_back = urlencode($_FILES["upload_aadhaar_card_back"]["name"]); $_SESSION['upload_aadhaar_card_back'] = rand().'_'.$upload_aadhaar_card_back; $upload_aadhaar_card_back_tmp = $_FILES["upload_aadhaar_card_back"]["tmp_name"]; move_uploaded_file($upload_aadhaar_card_back_tmp, "uploads/msme/".$_SESSION['upload_aadhaar_card_back'].""); $upload_pan_card_front = urlencode($_FILES["upload_pan_card_front"]["name"]); $_SESSION['upload_pan_card_front'] = rand().'_'.$upload_pan_card_front; $upload_pan_card_front_tmp = $_FILES["upload_pan_card_front"]["tmp_name"]; move_uploaded_file($upload_pan_card_front_tmp, "uploads/msme/".$_SESSION['upload_pan_card_front'].""); echo ' <style> .fcs-review-table { background: #ffffff; margin-bottom: 30px; } .table-bordered td, .table-bordered th { text-transform: uppercase; border: 0; font-size: 14px; border-bottom: 1px solid #dee2e6; vertical-align: middle; } .fcs-review-table tbody tr td:first-child { background: #f8f8f8; font-weight: 700; } .table-bordered thead td, .table-bordered thead th { border-bottom-width: 0; } </style> <span class="fcs-bold-text-white">MSME Registration Preview</span> <br> <form action="submit.php" method="post" style="padding: 0 15px"> <table class="table table-bordered fcs-review-table"> <thead class="thead-dark"> <tr> <th scope="col">Applicant Details</th> <th scope="col"></th> </tr> </thead> <tbody> <tr> <td>APPLICANT NAME</td> <td> <input type="text" class="form-control" name="applicant_name" value="'.$_POST['applicant_name'].'" disabled> </td> </tr> <tr> <td>MOBILE NUMBER</td> <td> <input type="text" class="form-control" name="mobile_number" value="'.$_POST['mobile_number'].'" disabled> </td> </tr> <tr> <td>EMAIL ID</td> <td> <input type="text" class="form-control" name="email_id" value="'.$_POST['email_id'].'" disabled> </td> </tr> <tr> <td>PLANT ADDRESS</td> <td> <input type="text" class="form-control" name="business_address" value="'.$_POST['business_address'].'" disabled> </td> </tr> <tr> <td>OFFICE ADDRESS</td> <td> <input type="text" class="form-control" name="office_address" value="'.$_POST['office_address'].'" disabled> </td> </tr> <tr> <td>GENDER</td> <td> <select class="form-control" name="gender" value="'.$_POST['gender'].'" disabled> <option value="">--Select--</option> <option value="Male">Male</option> <option value="Female">Female</option> </select> </td> </tr> <tr> <td>SOCIAL CATEGORY</td> <td> <select class="form-control" name="social_category" value="'.$_POST['social_category'].'" disabled> <option value="">--Select--</option> <option value="General">General</option> <option value="SC">SC</option> <option value="ST">ST</option> <option value="OBC">OBC</option> </select> </td> </tr> <tr> <td>ARE YOU PHYSICALLY HANDICAPPED?</td> <td> <select class="form-control" name="physically_handicapped" value="'.$_POST['physically_handicapped'].'" disabled> <option value="">--Select--</option> <option value="Yes">Yes</option> <option value="No">No</option> </select> </td> </tr> <tr> <td>AADHAAR NUMBER</td> <td> <input type="text" class="form-control" name="aadhaar_number" value="'.$_POST['aadhaar_number'].'" disabled> </td> </tr> <tr> <td>PAN CARD NUMBER</td> <td> <input type="text" class="form-control" name="pan_card_number" value="'.$_POST['pan_card_number'].'" disabled> </td> </tr> <tr> <td>BANK ACCOUNT NUMBER</td> <td> <input type="text" class="form-control" name="bank_account_number" value="'.$_POST['bank_account_number'].'" disabled> </td> </tr> <tr> <td>IFSC CODE</td> <td> <input type="text" class="form-control" name="ifsc_code" value="'.$_POST['ifsc_code'].'" disabled> </td> </tr> <tr> <td>BUSINESS NAME</td> <td> <input type="text" class="form-control" name="business_name" value="'.$_POST['business_name'].'" disabled> </td> </tr> <tr> <td>DATE OF COMMENCEMENT OF BUSINESS</td> <td> <input type="date" class="form-control" name="date_of_commencement_of_business" value="'.$_POST['date_of_commencement_of_business'].'" disabled> </td> </tr> <tr> <td>TYPE OF ORGANISATION</td> <td> <select class="form-control" name="type_of_organisation" value="'.$_POST['type_of_organisation'].'" disabled> <option value="">--Select--</option> <option value="Proprietorship">Proprietorship</option> <option value="Partnership Firm">Partnership Firm</option> <option value="Limited Liability Partnership">Limited Liability Partnership</option> <option value="Private Limited">Private Limited</option> <option value="Public Limited">Public Limited</option> <option value="Society / Trust / Club / AOP">Society / Trust / Club / AOP</option> <option value="Government Department">Government Department</option> </select> </td> </tr> <tr> <td>MAIN BUSINESS ACTIVITY OF ENTERPRISE</td> <td> <select class="form-control" name="main_business_activity_of_enterprise" value="'.$_POST['main_business_activity_of_enterprise'].'" disabled> <option value="">--Select--</option> <option value="Manufacturer">Manufacturer</option> <option value="Service Provider">Service Provider</option> </select> </td> </tr> </tr> <tr> <td>ADDITIONAL DETAILS ABOUT BUSINESS</td> <td> <input type="text" class="form-control" name="additional_details_about_business" value="'.$_POST['additional_details_about_business'].'" disabled> </td> </tr> <tr> <td>NUMBER OF EMPLOYEES</td> <td> <input type="text" class="form-control" name="number_of_employees" value="'.$_POST['number_of_employees'].'" disabled> </td> </tr> <tr> <td>INVESTMENT IN PLANT AND MACHINERY (AMOUNT IN LACS)</td> <td> <input type="text" class="form-control" name="investment_in_plant_and_machinery" value="'.$_POST['investment_in_plant_and_machinery'].'" disabled> </td> </tr> </tbody> </table> <input type="hidden" class="form-control" name="form_name" value="'.$_POST['form_name'].'"> <input type="hidden" class="form-control" name="form_id" value="msme_registration"> <button type="button" onclick="editForm()" class="btn btn-primary fcs-submit-button edit-submit">Edit</button> <button type="submit" onclick="editForm()" class="btn btn-primary fcs-submit-button">Submit</button> </form> <script> var gender_option = "'.$_POST["gender"].'"; if (gender_option == "Male") { document.querySelector("select[name='."gender".']").selectedIndex = "1"; } if (gender_option == "Female") { document.querySelector("select[name='."gender".']").selectedIndex = "2"; } var social_category_option = "'.$_POST["social_category"].'"; if (social_category_option == "General") { document.querySelector("select[name='."social_category".']").selectedIndex = "1"; } if (social_category_option == "SC") { document.querySelector("select[name='."social_category".']").selectedIndex = "2"; } if (social_category_option == "ST") { document.querySelector("select[name='."social_category".']").selectedIndex = "3"; } if (social_category_option == "OBC") { document.querySelector("select[name='."social_category".']").selectedIndex = "4"; } var physically_handicapped_option = "'.$_POST["physically_handicapped"].'"; if (physically_handicapped_option == "Yes") { document.querySelector("select[name='."physically_handicapped".']").selectedIndex = "1"; } if (physically_handicapped_option == "No") { document.querySelector("select[name='."physically_handicapped".']").selectedIndex = "2"; } var type_of_organisation_option = "'.$_POST["type_of_organisation"].'"; if (type_of_organisation_option == "Proprietorship") { document.querySelector("select[name='."type_of_organisation".']").selectedIndex = "1"; } if (type_of_organisation_option == "Partnership Firm") { document.querySelector("select[name='."type_of_organisation".']").selectedIndex = "2"; } if (type_of_organisation_option == "Limited Liability Partnership") { document.querySelector("select[name='."type_of_organisation".']").selectedIndex = "3"; } if (type_of_organisation_option == "Private Limited") { document.querySelector("select[name='."type_of_organisation".']").selectedIndex = "4"; } if (type_of_organisation_option == "Public Limited") { document.querySelector("select[name='."type_of_organisation".']").selectedIndex = "5"; } if (type_of_organisation_option == "Society / Trust / Club / AOP") { document.querySelector("select[name='."type_of_organisation".']").selectedIndex = "6"; } if (type_of_organisation_option == "Government Department") { document.querySelector("select[name='."type_of_organisation".']").selectedIndex = "6"; } var main_business_activity_of_enterprise_option = "'.$_POST["main_business_activity_of_enterprise"].'"; if (main_business_activity_of_enterprise_option == "Manufacturer") { document.querySelector("select[name='."main_business_activity_of_enterprise".']").selectedIndex = "1"; } if (main_business_activity_of_enterprise_option == "Service Provider") { document.querySelector("select[name='."main_business_activity_of_enterprise".']").selectedIndex = "2"; } </script> '; } // Instant MSME Registration if( (isset($_POST['form_id'])&& $_POST['form_id'] == 'instant_msme_registration') && (isset($_POST['applicant_name'])&& $_POST['applicant_name'] !='') && (isset($_POST['mobile_number'])&& $_POST['mobile_number'] !='') && (isset($_POST['email_id'])&& $_POST['email_id'] !='') && (isset($_POST['business_address'])&& $_POST['business_address'] !='') && (isset($_POST['office_address'])&& $_POST['office_address'] !='') && (isset($_POST['gender'])&& $_POST['gender'] !='') && (isset($_POST['social_category'])&& $_POST['social_category'] !='') && (isset($_POST['physically_handicapped'])&& $_POST['physically_handicapped'] !='') && (isset($_POST['aadhaar_number'])&& $_POST['aadhaar_number'] !='') && (isset($_POST['pan_card_number'])&& $_POST['pan_card_number'] !='') && (isset($_POST['bank_account_number'])&& $_POST['bank_account_number'] !='') && (isset($_POST['ifsc_code'])&& $_POST['ifsc_code'] !='') && (isset($_POST['business_name'])&& $_POST['business_name'] !='') && (isset($_POST['date_of_commencement_of_business'])&& $_POST['date_of_commencement_of_business'] !='') && (isset($_POST['type_of_organisation'])&& $_POST['type_of_organisation'] !='') && (isset($_POST['main_business_activity_of_enterprise'])&& $_POST['main_business_activity_of_enterprise'] !='') && (isset($_POST['additional_details_about_business'])&& $_POST['additional_details_about_business'] !='') && (isset($_POST['number_of_employees'])&& $_POST['number_of_employees'] !='') && (isset($_POST['investment_in_plant_and_machinery'])&& $_POST['investment_in_plant_and_machinery'] !='') && (isset($_POST['terms_of_service'])&& $_POST['terms_of_service'] !='') ) { $upload_aadhaar_card_front = urlencode($_FILES["upload_aadhaar_card_front"]["name"]); $_SESSION['upload_aadhaar_card_front'] = rand().'_'.$upload_aadhaar_card_front; $upload_aadhaar_card_front_tmp = $_FILES["upload_aadhaar_card_front"]["tmp_name"]; move_uploaded_file($upload_aadhaar_card_front_tmp, "uploads/msme/".$_SESSION['upload_aadhaar_card_front'].""); $upload_aadhaar_card_back = urlencode($_FILES["upload_aadhaar_card_back"]["name"]); $_SESSION['upload_aadhaar_card_back'] = rand().'_'.$upload_aadhaar_card_back; $upload_aadhaar_card_back_tmp = $_FILES["upload_aadhaar_card_back"]["tmp_name"]; move_uploaded_file($upload_aadhaar_card_back_tmp, "uploads/msme/".$_SESSION['upload_aadhaar_card_back'].""); $upload_pan_card_front = urlencode($_FILES["upload_pan_card_front"]["name"]); $_SESSION['upload_pan_card_front'] = rand().'_'.$upload_pan_card_front; $upload_pan_card_front_tmp = $_FILES["upload_pan_card_front"]["tmp_name"]; move_uploaded_file($upload_pan_card_front_tmp, "uploads/msme/".$_SESSION['upload_pan_card_front'].""); echo ' <style> .fcs-review-table { background: #ffffff; margin-bottom: 30px; } .table-bordered td, .table-bordered th { text-transform: uppercase; border: 0; font-size: 14px; border-bottom: 1px solid #dee2e6; vertical-align: middle; } .fcs-review-table tbody tr td:first-child { background: #f8f8f8; font-weight: 700; } .table-bordered thead td, .table-bordered thead th { border-bottom-width: 0; } </style> <span class="fcs-bold-text-white">Instant MSME Registration Preview</span> <br> <form action="submit.php" method="post" style="padding: 0 15px"> <table class="table table-bordered fcs-review-table"> <thead class="thead-dark"> <tr> <th scope="col">Applicant Details</th> <th scope="col"></th> </tr> </thead> <tbody> <tr> <td>APPLICANT NAME</td> <td> <input type="text" class="form-control" name="applicant_name" value="'.$_POST['applicant_name'].'" disabled> </td> </tr> <tr> <td>MOBILE NUMBER</td> <td> <input type="text" class="form-control" name="mobile_number" value="'.$_POST['mobile_number'].'" disabled> </td> </tr> <tr> <td>EMAIL ID</td> <td> <input type="text" class="form-control" name="email_id" value="'.$_POST['email_id'].'" disabled> </td> </tr> <tr> <td>PLANT ADDRESS</td> <td> <input type="text" class="form-control" name="business_address" value="'.$_POST['business_address'].'" disabled> </td> </tr> <tr> <td>OFFICE ADDRESS</td> <td> <input type="text" class="form-control" name="office_address" value="'.$_POST['office_address'].'" disabled> </td> </tr> <tr> <td>GENDER</td> <td> <select class="form-control" name="gender" value="'.$_POST['gender'].'" disabled> <option value="">--Select--</option> <option value="Male">Male</option> <option value="Female">Female</option> </select> </td> </tr> <tr> <td>SOCIAL CATEGORY</td> <td> <select class="form-control" name="social_category" value="'.$_POST['social_category'].'" disabled> <option value="">--Select--</option> <option value="General">General</option> <option value="SC">SC</option> <option value="ST">ST</option> <option value="OBC">OBC</option> </select> </td> </tr> <tr> <td>ARE YOU PHYSICALLY HANDICAPPED?</td> <td> <select class="form-control" name="physically_handicapped" value="'.$_POST['physically_handicapped'].'" disabled> <option value="">--Select--</option> <option value="Yes">Yes</option> <option value="No">No</option> </select> </td> </tr> <tr> <td>AADHAAR NUMBER</td> <td> <input type="text" class="form-control" name="aadhaar_number" value="'.$_POST['aadhaar_number'].'" disabled> </td> </tr> <tr> <td>PAN CARD NUMBER</td> <td> <input type="text" class="form-control" name="pan_card_number" value="'.$_POST['pan_card_number'].'" disabled> </td> </tr> <tr> <td>BANK ACCOUNT NUMBER</td> <td> <input type="text" class="form-control" name="bank_account_number" value="'.$_POST['bank_account_number'].'" disabled> </td> </tr> <tr> <td>IFSC CODE</td> <td> <input type="text" class="form-control" name="ifsc_code" value="'.$_POST['ifsc_code'].'" disabled> </td> </tr> <tr> <td>BUSINESS NAME</td> <td> <input type="text" class="form-control" name="business_name" value="'.$_POST['business_name'].'" disabled> </td> </tr> <tr> <td>DATE OF COMMENCEMENT OF BUSINESS</td> <td> <input type="date" class="form-control" name="date_of_commencement_of_business" value="'.$_POST['date_of_commencement_of_business'].'" disabled> </td> </tr> <tr> <td>TYPE OF ORGANISATION</td> <td> <select class="form-control" name="type_of_organisation" value="'.$_POST['type_of_organisation'].'" disabled> <option value="">--Select--</option> <option value="Proprietorship">Proprietorship</option> <option value="Partnership Firm">Partnership Firm</option> <option value="Limited Liability Partnership">Limited Liability Partnership</option> <option value="Private Limited">Private Limited</option> <option value="Public Limited">Public Limited</option> <option value="Society / Trust / Club / AOP">Society / Trust / Club / AOP</option> <option value="Government Department">Government Department</option> </select> </td> </tr> <tr> <td>MAIN BUSINESS ACTIVITY OF ENTERPRISE</td> <td> <select class="form-control" name="main_business_activity_of_enterprise" value="'.$_POST['main_business_activity_of_enterprise'].'" disabled> <option value="">--Select--</option> <option value="Manufacturer">Manufacturer</option> <option value="Service Provider">Service Provider</option> </select> </td> </tr> </tr> <tr> <td>ADDITIONAL DETAILS ABOUT BUSINESS</td> <td> <input type="text" class="form-control" name="additional_details_about_business" value="'.$_POST['additional_details_about_business'].'" disabled> </td> </tr> <tr> <td>NUMBER OF EMPLOYEES</td> <td> <input type="text" class="form-control" name="number_of_employees" value="'.$_POST['number_of_employees'].'" disabled> </td> </tr> <tr> <td>INVESTMENT IN PLANT AND MACHINERY (AMOUNT IN LACS)</td> <td> <input type="text" class="form-control" name="investment_in_plant_and_machinery" value="'.$_POST['investment_in_plant_and_machinery'].'" disabled> </td> </tr> </tbody> </table> <input type="hidden" class="form-control" name="form_name" value="'.$_POST['form_name'].'"> <input type="hidden" class="form-control" name="form_id" value="instant_msme_registration"> <button type="button" onclick="editForm()" class="btn btn-primary fcs-submit-button edit-submit">Edit</button> <button type="submit" onclick="editForm()" class="btn btn-primary fcs-submit-button">Submit</button> </form> <script> var gender_option = "'.$_POST["gender"].'"; if (gender_option == "Male") { document.querySelector("select[name='."gender".']").selectedIndex = "1"; } if (gender_option == "Female") { document.querySelector("select[name='."gender".']").selectedIndex = "2"; } var social_category_option = "'.$_POST["social_category"].'"; if (social_category_option == "General") { document.querySelector("select[name='."social_category".']").selectedIndex = "1"; } if (social_category_option == "SC") { document.querySelector("select[name='."social_category".']").selectedIndex = "2"; } if (social_category_option == "ST") { document.querySelector("select[name='."social_category".']").selectedIndex = "3"; } if (social_category_option == "OBC") { document.querySelector("select[name='."social_category".']").selectedIndex = "4"; } var physically_handicapped_option = "'.$_POST["physically_handicapped"].'"; if (physically_handicapped_option == "Yes") { document.querySelector("select[name='."physically_handicapped".']").selectedIndex = "1"; } if (physically_handicapped_option == "No") { document.querySelector("select[name='."physically_handicapped".']").selectedIndex = "2"; } var type_of_organisation_option = "'.$_POST["type_of_organisation"].'"; if (type_of_organisation_option == "Proprietorship") { document.querySelector("select[name='."type_of_organisation".']").selectedIndex = "1"; } if (type_of_organisation_option == "Partnership Firm") { document.querySelector("select[name='."type_of_organisation".']").selectedIndex = "2"; } if (type_of_organisation_option == "Limited Liability Partnership") { document.querySelector("select[name='."type_of_organisation".']").selectedIndex = "3"; } if (type_of_organisation_option == "Private Limited") { document.querySelector("select[name='."type_of_organisation".']").selectedIndex = "4"; } if (type_of_organisation_option == "Public Limited") { document.querySelector("select[name='."type_of_organisation".']").selectedIndex = "5"; } if (type_of_organisation_option == "Society / Trust / Club / AOP") { document.querySelector("select[name='."type_of_organisation".']").selectedIndex = "6"; } if (type_of_organisation_option == "Government Department") { document.querySelector("select[name='."type_of_organisation".']").selectedIndex = "6"; } var main_business_activity_of_enterprise_option = "'.$_POST["main_business_activity_of_enterprise"].'"; if (main_business_activity_of_enterprise_option == "Manufacturer") { document.querySelector("select[name='."main_business_activity_of_enterprise".']").selectedIndex = "1"; } if (main_business_activity_of_enterprise_option == "Service Provider") { document.querySelector("select[name='."main_business_activity_of_enterprise".']").selectedIndex = "2"; } </script> '; } // Update Certificate if( (isset($_POST['form_id'])&& $_POST['form_id'] == 'update_certificate') && (isset($_POST['applicant_name'])&& $_POST['applicant_name'] !='') && (isset($_POST['email_id'])&& $_POST['email_id'] !='') && (isset($_POST['mobile_number'])&& $_POST['mobile_number'] !='') && (isset($_POST['business_address'])&& $_POST['business_address'] !='') && (isset($_POST['terms_of_service'])&& $_POST['terms_of_service'] !='') ) { echo ' <style> .fcs-review-table { background: #ffffff; margin-bottom: 30px; } .table-bordered td, .table-bordered th { text-transform: uppercase; border: 0; font-size: 14px; border-bottom: 1px solid #dee2e6; vertical-align: middle; } .fcs-review-table tbody tr td:first-child { background: #f8f8f8; font-weight: 700; } .table-bordered thead td, .table-bordered thead th { border-bottom-width: 0; } </style> <span class="fcs-bold-text-white">Update Certificate Preview</span> <br> <form action="submit.php" method="post" style="padding: 0 15px"> <table class="table table-bordered fcs-review-table"> <thead class="thead-dark"> <tr> <th scope="col">Applicant Details</th> <th scope="col"></th> </tr> </thead> <tbody> <tr> <td>APPLICANT NAME</td> <td> <input type="text" class="form-control" name="applicant_name" value="'.$_POST['applicant_name'].'" disabled> </td> </tr> <tr> <td>MOBILE NUMBER</td> <td> <input type="text" class="form-control" name="mobile_number" value="'.$_POST['mobile_number'].'" disabled> </td> </tr> <tr> <td>EMAIL ID</td> <td> <input type="text" class="form-control" name="email_id" value="'.$_POST['email_id'].'" disabled> </td> </tr> <tr> <td>PLANT ADDRESS</td> <td> <input type="text" class="form-control" name="business_address" value="'.$_POST['business_address'].'" disabled> </td> </tr> <tr> <td>OFFICE ADDRESS</td> <td> <input type="text" class="form-control" name="office_address" value="'.$_POST['office_address'].'" disabled> </td> </tr> <tr> <td>GENDER</td> <td> <select class="form-control" name="gender" value="'.$_POST['gender'].'" disabled> <option value="">--Select--</option> <option value="Male">Male</option> <option value="Female">Female</option> </select> </td> </tr> <tr> <td>SOCIAL CATEGORY</td> <td> <select class="form-control" name="social_category" value="'.$_POST['social_category'].'" disabled> <option value="">--Select--</option> <option value="General">General</option> <option value="SC">SC</option> <option value="ST">ST</option> <option value="OBC">OBC</option> </select> </td> </tr> <tr> <td>ARE YOU PHYSICALLY HANDICAPPED?</td> <td> <select class="form-control" name="physically_handicapped" value="'.$_POST['physically_handicapped'].'" disabled> <option value="">--Select--</option> <option value="Yes">Yes</option> <option value="No">No</option> </select> </td> </tr> <tr> <td>AADHAAR NUMBER</td> <td> <input type="text" class="form-control" name="aadhaar_number" value="'.$_POST['aadhaar_number'].'" disabled> </td> </tr> <tr> <td>PAN CARD NUMBER</td> <td> <input type="text" class="form-control" name="pan_card_number" value="'.$_POST['pan_card_number'].'" disabled> </td> </tr> <tr> <td>BANK ACCOUNT NUMBER</td> <td> <input type="text" class="form-control" name="bank_account_number" value="'.$_POST['bank_account_number'].'" disabled> </td> </tr> <tr> <td>IFSC CODE</td> <td> <input type="text" class="form-control" name="ifsc_code" value="'.$_POST['ifsc_code'].'" disabled> </td> </tr> <tr> <td>BUSINESS NAME</td> <td> <input type="text" class="form-control" name="business_name" value="'.$_POST['business_name'].'" disabled> </td> </tr> <tr> <td>DATE OF COMMENCEMENT OF BUSINESS</td> <td> <input type="date" class="form-control" name="date_of_commencement_of_business" value="'.$_POST['date_of_commencement_of_business'].'" disabled> </td> </tr> <tr> <td>TYPE OF ORGANISATION</td> <td> <select class="form-control" name="type_of_organisation" value="'.$_POST['type_of_organisation'].'" disabled> <option value="">--Select--</option> <option value="Proprietorship">Proprietorship</option> <option value="Partnership Firm">Partnership Firm</option> <option value="Limited Liability Partnership">Limited Liability Partnership</option> <option value="Private Limited">Private Limited</option> <option value="Public Limited">Public Limited</option> <option value="Society / Trust / Club / AOP">Society / Trust / Club / AOP</option> <option value="Government Department">Government Department</option> </select> </td> </tr> <tr> <td>MAIN BUSINESS ACTIVITY OF ENTERPRISE</td> <td> <select class="form-control" name="main_business_activity_of_enterprise" value="'.$_POST['main_business_activity_of_enterprise'].'" disabled> <option value="">--Select--</option> <option value="Manufacturer">Manufacturer</option> <option value="Service Provider">Service Provider</option> </select> </td> </tr> </tr> <tr> <td>ADDITIONAL DETAILS ABOUT BUSINESS</td> <td> <input type="text" class="form-control" name="additional_details_about_business" value="'.$_POST['additional_details_about_business'].'" disabled> </td> </tr> <tr> <td>NUMBER OF EMPLOYEES</td> <td> <input type="text" class="form-control" name="number_of_employees" value="'.$_POST['number_of_employees'].'" disabled> </td> </tr> <tr> <td>INVESTMENT IN PLANT AND MACHINERY (AMOUNT IN LACS)</td> <td> <input type="text" class="form-control" name="investment_in_plant_and_machinery" value="'.$_POST['investment_in_plant_and_machinery'].'" disabled> </td> </tr> </tbody> </table> <input type="hidden" class="form-control" name="form_name" value="'.$_POST['form_name'].'"> <input type="hidden" class="form-control" name="form_id" value="update_certificate"> <button type="button" onclick="editForm()" class="btn btn-primary fcs-submit-button edit-submit">Edit</button> <button type="submit" onclick="editForm()" class="btn btn-primary fcs-submit-button">Submit</button> </form> <script> var gender_option = "'.$_POST["gender"].'"; if (gender_option == "Male") { document.querySelector("select[name='."gender".']").selectedIndex = "1"; } if (gender_option == "Female") { document.querySelector("select[name='."gender".']").selectedIndex = "2"; } var social_category_option = "'.$_POST["social_category"].'"; if (social_category_option == "General") { document.querySelector("select[name='."social_category".']").selectedIndex = "1"; } if (social_category_option == "SC") { document.querySelector("select[name='."social_category".']").selectedIndex = "2"; } if (social_category_option == "ST") { document.querySelector("select[name='."social_category".']").selectedIndex = "3"; } if (social_category_option == "OBC") { document.querySelector("select[name='."social_category".']").selectedIndex = "4"; } var physically_handicapped_option = "'.$_POST["physically_handicapped"].'"; if (physically_handicapped_option == "Yes") { document.querySelector("select[name='."physically_handicapped".']").selectedIndex = "1"; } if (physically_handicapped_option == "No") { document.querySelector("select[name='."physically_handicapped".']").selectedIndex = "2"; } var type_of_organisation_option = "'.$_POST["type_of_organisation"].'"; if (type_of_organisation_option == "Proprietorship") { document.querySelector("select[name='."type_of_organisation".']").selectedIndex = "1"; } if (type_of_organisation_option == "Partnership Firm") { document.querySelector("select[name='."type_of_organisation".']").selectedIndex = "2"; } if (type_of_organisation_option == "Limited Liability Partnership") { document.querySelector("select[name='."type_of_organisation".']").selectedIndex = "3"; } if (type_of_organisation_option == "Private Limited") { document.querySelector("select[name='."type_of_organisation".']").selectedIndex = "4"; } if (type_of_organisation_option == "Public Limited") { document.querySelector("select[name='."type_of_organisation".']").selectedIndex = "5"; } if (type_of_organisation_option == "Society / Trust / Club / AOP") { document.querySelector("select[name='."type_of_organisation".']").selectedIndex = "6"; } if (type_of_organisation_option == "Government Department") { document.querySelector("select[name='."type_of_organisation".']").selectedIndex = "6"; } var main_business_activity_of_enterprise_option = "'.$_POST["main_business_activity_of_enterprise"].'"; if (main_business_activity_of_enterprise_option == "Manufacturer") { document.querySelector("select[name='."main_business_activity_of_enterprise".']").selectedIndex = "1"; } if (main_business_activity_of_enterprise_option == "Service Provider") { document.querySelector("select[name='."main_business_activity_of_enterprise".']").selectedIndex = "2"; } </script> '; } // Print Certificate if( (isset($_POST['form_id'])&& $_POST['form_id'] == 'print_certificate') && (isset($_POST['applicant_name'])&& $_POST['applicant_name'] !='') && (isset($_POST['email_id'])&& $_POST['email_id'] !='') && (isset($_POST['mobile_number'])&& $_POST['mobile_number'] !='') && (isset($_POST['business_address'])&& $_POST['business_address'] !='') && (isset($_POST['terms_of_service'])&& $_POST['terms_of_service'] !='') ) { echo ' <style> .fcs-review-table { background: #ffffff; margin-bottom: 30px; } .table-bordered td, .table-bordered th { text-transform: uppercase; border: 0; font-size: 14px; border-bottom: 1px solid #dee2e6; vertical-align: middle; } .fcs-review-table tbody tr td:first-child { background: #f8f8f8; font-weight: 700; } .table-bordered thead td, .table-bordered thead th { border-bottom-width: 0; } </style> <span class="fcs-bold-text-white">Print Certificate Preview</span> <br> <form action="submit.php" method="post" style="padding: 0 15px"> <table class="table table-bordered fcs-review-table"> <thead class="thead-dark"> <tr> <th scope="col">Applicant Details</th> <th scope="col"></th> </tr> </thead> <tbody> <tr> <td>APPLICANT NAME</td> <td> <input type="text" class="form-control" name="applicant_name" value="'.$_POST['applicant_name'].'" disabled> </td> </tr> <tr> <td>MOBILE NUMBER</td> <td> <input type="text" class="form-control" name="mobile_number" value="'.$_POST['mobile_number'].'" disabled> </td> </tr> <tr> <td>EMAIL ID</td> <td> <input type="text" class="form-control" name="email_id" value="'.$_POST['email_id'].'" disabled> </td> </tr> <tr> <td>PLANT ADDRESS</td> <td> <input type="text" class="form-control" name="business_address" value="'.$_POST['business_address'].'" disabled> </td> </tr> <tr> <td>OFFICE ADDRESS</td> <td> <input type="text" class="form-control" name="office_address" value="'.$_POST['office_address'].'" disabled> </td> </tr> <tr> <td>AADHAAR NUMBER</td> <td> <input type="text" class="form-control" name="aadhaar_number" value="'.$_POST['aadhaar_number'].'" disabled> </td> </tr> <tr> <td>BUSINESS NAME</td> <td> <input type="text" class="form-control" name="business_name" value="'.$_POST['business_name'].'" disabled> </td> </tr> <tr> <td>ADDITIONAL DETAILS ABOUT BUSINESS</td> <td> <input type="text" class="form-control" name="additional_details_about_business" value="'.$_POST['additional_details_about_business'].'" disabled> </td> </tr> </tbody> </table> <input type="hidden" class="form-control" name="form_name" value="'.$_POST['form_name'].'"> <input type="hidden" class="form-control" name="form_id" value="print_certificate"> <button type="button" onclick="editForm()" class="btn btn-primary fcs-submit-button edit-submit">Edit</button> <button type="submit" onclick="editForm()" class="btn btn-primary fcs-submit-button">Submit</button> </form> '; } // Trace Certificate if( (isset($_POST['form_id'])&& $_POST['form_id'] == 'trace_certificate') && (isset($_POST['applicant_name'])&& $_POST['applicant_name'] !='') && (isset($_POST['email_id'])&& $_POST['email_id'] !='') && (isset($_POST['mobile_number'])&& $_POST['mobile_number'] !='') && (isset($_POST['business_address'])&& $_POST['business_address'] !='') && (isset($_POST['terms_of_service'])&& $_POST['terms_of_service'] !='') ) { echo ' <style> .fcs-review-table { background: #ffffff; margin-bottom: 30px; } .table-bordered td, .table-bordered th { text-transform: uppercase; border: 0; font-size: 14px; border-bottom: 1px solid #dee2e6; vertical-align: middle; } .fcs-review-table tbody tr td:first-child { background: #f8f8f8; font-weight: 700; } .table-bordered thead td, .table-bordered thead th { border-bottom-width: 0; } </style> <span class="fcs-bold-text-white">Trace Certificate Preview</span> <br> <form action="submit.php" method="post" style="padding: 0 15px"> <table class="table table-bordered fcs-review-table"> <thead class="thead-dark"> <tr> <th scope="col">Applicant Details</th> <th scope="col"></th> </tr> </thead> <tbody> <tr> <td>APPLICANT NAME</td> <td> <input type="text" class="form-control" name="applicant_name" value="'.$_POST['applicant_name'].'" disabled> </td> </tr> <tr> <td>MOBILE NUMBER</td> <td> <input type="text" class="form-control" name="mobile_number" value="'.$_POST['mobile_number'].'" disabled> </td> </tr> <tr> <td>EMAIL ID</td> <td> <input type="text" class="form-control" name="email_id" value="'.$_POST['email_id'].'" disabled> </td> </tr> <tr> <td>PLANT ADDRESS</td> <td> <input type="text" class="form-control" name="business_address" value="'.$_POST['business_address'].'" disabled> </td> </tr> <tr> <td>OFFICE ADDRESS</td> <td> <input type="text" class="form-control" name="office_address" value="'.$_POST['office_address'].'" disabled> </td> </tr> <tr> <td>AADHAAR NUMBER</td> <td> <input type="text" class="form-control" name="aadhaar_number" value="'.$_POST['aadhaar_number'].'" disabled> </td> </tr> <tr> <td>BUSINESS NAME</td> <td> <input type="text" class="form-control" name="business_name" value="'.$_POST['business_name'].'" disabled> </td> </tr> <tr> <td>ADDITIONAL DETAILS ABOUT BUSINESS</td> <td> <input type="text" class="form-control" name="additional_details_about_business" value="'.$_POST['additional_details_about_business'].'" disabled> </td> </tr> </tbody> </table> <input type="hidden" class="form-control" name="form_name" value="'.$_POST['form_name'].'"> <input type="hidden" class="form-control" name="form_id" value="trace_certificate"> <button type="button" onclick="editForm()" class="btn btn-primary fcs-submit-button edit-submit">Edit</button> <button type="submit" onclick="editForm()" class="btn btn-primary fcs-submit-button">Submit</button> </form> '; } // Databank Registration if( (isset($_POST['form_id'])&& $_POST['form_id'] == 'databank_registration') && (isset($_POST['applicant_name'])&& $_POST['applicant_name'] !='') && (isset($_POST['email_id'])&& $_POST['email_id'] !='') && (isset($_POST['mobile_number'])&& $_POST['mobile_number'] !='') && (isset($_POST['business_address'])&& $_POST['business_address'] !='') && (isset($_POST['terms_of_service'])&& $_POST['terms_of_service'] !='') ) { echo ' <style> .fcs-review-table { background: #ffffff; margin-bottom: 30px; } .table-bordered td, .table-bordered th { text-transform: uppercase; border: 0; font-size: 14px; border-bottom: 1px solid #dee2e6; vertical-align: middle; } .fcs-review-table tbody tr td:first-child { background: #f8f8f8; font-weight: 700; } .table-bordered thead td, .table-bordered thead th { border-bottom-width: 0; } </style> <span class="fcs-bold-text-white">Databank Registration Preview</span> <br> <form action="submit.php" method="post" style="padding: 0 15px"> <table class="table table-bordered fcs-review-table"> <thead class="thead-dark"> <tr> <th scope="col">Applicant Details</th> <th scope="col"></th> </tr> </thead> <tbody> <tr> <td>APPLICANT NAME</td> <td> <input type="text" class="form-control" name="applicant_name" value="'.$_POST['applicant_name'].'" disabled> </td> </tr> <tr> <td>MOBILE NUMBER</td> <td> <input type="text" class="form-control" name="mobile_number" value="'.$_POST['mobile_number'].'" disabled> </td> </tr> <tr> <td>EMAIL ID</td> <td> <input type="text" class="form-control" name="email_id" value="'.$_POST['email_id'].'" disabled> </td> </tr> <tr> <td>PLANT ADDRESS</td> <td> <input type="text" class="form-control" name="business_address" value="'.$_POST['business_address'].'" disabled> </td> </tr> <tr> <td>OFFICE ADDRESS</td> <td> <input type="text" class="form-control" name="office_address" value="'.$_POST['office_address'].'" disabled> </td> </tr> <tr> <td>AADHAAR NUMBER</td> <td> <input type="text" class="form-control" name="aadhaar_number" value="'.$_POST['aadhaar_number'].'" disabled> </td> </tr> <tr> <td>PAN CARD NUMBER</td> <td> <input type="text" class="form-control" name="pan_card_number" value="'.$_POST['pan_card_number'].'" disabled> </td> </tr> <tr> <td>BUSINESS NAME</td> <td> <input type="text" class="form-control" name="business_name" value="'.$_POST['business_name'].'" disabled> </td> </tr> <tr> <td>NATURE OF YOUR BUSINESS ACTIVITY / SERVICE ACTIVITY</td> <td> <input type="text" class="form-control" name="nature_of_business_activity" value="'.$_POST['nature_of_business_activity'].'" disabled> </td> </tr> <tr> <td>PRODUCT / SERVICE NAME</td> <td> <input type="text" class="form-control" name="product_service_name" value="'.$_POST['product_service_name'].'" disabled> </td> </tr> <tr> <td>PRODUCT / SERVICE DESCRIPTION</td> <td> <input type="text" class="form-control" name="product_service_description" value="'.$_POST['product_service_description'].'" disabled> </td> </tr> <tr> <td>ANNUAL PRODUCTION CAPACITY</td> <td> <input type="text" class="form-control" name="annual_production_capacity" value="'.$_POST['annual_production_capacity'].'" disabled> </td> </tr> <tr> <td>PRODUCTION MEASUREMENT UNIT</td> <td> <select class="form-control" name="production_measurement_unit" value="'.$_POST['production_measurement_unit'].'" disabled> <option value="">--Select--</option> <option value="Foot">Foot</option> <option value="Inch">Inch</option> <option value="Kilo Watt">Kilo Watt</option> <option value="Kilo Gram">Kilo Gram</option> <option value="Kilo Metre">Kilo Metre</option> <option value="Litre">Litre</option> <option value="Mega Watt">Mega Watt</option> <option value="Meter">Meter</option> <option value="Metric Ton">Metric Ton</option> <option value="Piece">Piece</option> <option value="Square Feet">Square Feet</option> <option value="Square Meter">Square Meter</option> <option value="Ton">Ton</option> <option value="Unit">Unit</option> <option value="Yard">Yard</option> </select> </td> </tr> </tbody> </table> <input type="hidden" class="form-control" name="form_name" value="'.$_POST['form_name'].'"> <input type="hidden" class="form-control" name="form_id" value="databank_registration"> <button type="button" onclick="editForm()" class="btn btn-primary fcs-submit-button edit-submit">Edit</button> <button type="submit" onclick="editForm()" class="btn btn-primary fcs-submit-button">Submit</button> </form> <script> var production_measurement_unit_option = "'.$_POST["production_measurement_unit"].'"; if (production_measurement_unit_option == "Foot") { document.querySelector("select[name='."production_measurement_unit".']").selectedIndex = "1"; } if (production_measurement_unit_option == "Inch") { document.querySelector("select[name='."production_measurement_unit".']").selectedIndex = "2"; } if (production_measurement_unit_option == "Kilo Watt") { document.querySelector("select[name='."production_measurement_unit".']").selectedIndex = "3"; } if (production_measurement_unit_option == "Kilo Gram") { document.querySelector("select[name='."production_measurement_unit".']").selectedIndex = "4"; } if (production_measurement_unit_option == "Kilo Metre") { document.querySelector("select[name='."production_measurement_unit".']").selectedIndex = "5"; } if (production_measurement_unit_option == "Litre") { document.querySelector("select[name='."production_measurement_unit".']").selectedIndex = "6"; } if (production_measurement_unit_option == "Mega Watt") { document.querySelector("select[name='."production_measurement_unit".']").selectedIndex = "6"; } if (production_measurement_unit_option == "Meter") { document.querySelector("select[name='."production_measurement_unit".']").selectedIndex = "7"; } if (production_measurement_unit_option == "Metric Ton") { document.querySelector("select[name='."production_measurement_unit".']").selectedIndex = "8"; } if (production_measurement_unit_option == "Piece") { document.querySelector("select[name='."production_measurement_unit".']").selectedIndex = "9"; } if (production_measurement_unit_option == "Square Feet") { document.querySelector("select[name='."production_measurement_unit".']").selectedIndex = "10"; } if (production_measurement_unit_option == "Square Meter") { document.querySelector("select[name='."production_measurement_unit".']").selectedIndex = "11"; } if (production_measurement_unit_option == "Ton") { document.querySelector("select[name='."production_measurement_unit".']").selectedIndex = "12"; } if (production_measurement_unit_option == "Unit") { document.querySelector("select[name='."production_measurement_unit".']").selectedIndex = "13"; } if (production_measurement_unit_option == "Yard") { document.querySelector("select[name='."production_measurement_unit".']").selectedIndex = "14"; } </script> '; } ?> </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> <!-- Custom JS --> <!-- <script src="./assets/js/nav.js"></script> --> <script src="./assets/js/util.js"></script> <script src="./assets/js/main.js"></script> <script> function editForm() { var allSelect = document.querySelectorAll('select'); for (var i = 0; i < allSelect.length; i++) { allSelect[i].removeAttribute('disabled'); } var allInput = document.querySelectorAll('input'); for (var i = 0; i < allInput.length; i++) { allInput[i].removeAttribute('disabled'); } } </script> </body> </html>