korsygfhrfggfhfgfffgffg6655665dtggggggzangaiide
Elehhjhjjkjkfpf6df56fd65ffff
/
home2
/
apcagkk2
/
public_html
/
Upload FileeE
HOME
<?php include 'includes/config.php'; ob_start(); if(!isset($_GET['enquiry_no'])) { header ("Location: ./"); exit(); } $enquiry_no = $_GET['enquiry_no']; $check_query = "SELECT * FROM srvc_dtls WHERE enquiry_no='$enquiry_no' AND is_completed='0' "; $result4 = mysqli_query($conn, $check_query); if (mysqli_num_rows($result4) !== 1) { header ("Location: ./"); exit(); } if(isset($_POST['p_submit1'])) { $aadhr_crd = filter_var($_POST['aadhr_crd'], FILTER_SANITIZE_STRING); $pan_card = filter_var($_POST['pan_card'], FILTER_SANITIZE_STRING); $voter_crd = filter_var($_POST['voter_crd'], FILTER_SANITIZE_STRING); $elct_bill = filter_var($_POST['elct_bill'], FILTER_SANITIZE_STRING); $land_doc = filter_var($_POST['land_doc'], FILTER_SANITIZE_STRING); $dl_dtls = filter_var($_POST['dl_dtls'], FILTER_SANITIZE_STRING); $bank_pssbk = filter_var($_POST['bank_pssbk'], FILTER_SANITIZE_STRING); $other_doc = filter_var($_POST['other_doc'], FILTER_SANITIZE_STRING); $no_copies = filter_var($_POST['no_copies'], FILTER_SANITIZE_STRING); date_default_timezone_set('Asia/Kolkata'); $date_time = date('d-m-Y h:i:s A', time()); $content1 = base64_encode($long_desc); $sql = "UPDATE srvc_dtls SET aadhr_crd='$aadhr_crd', pan_card = '$pan_card', voter_crd = '$voter_crd' , elct_bill = '$elct_bill', land_doc = '$land_doc' , dl_dtls = '$dl_dtls', bank_pssbk = '$bank_pssbk', other_doc='$other_doc', no_copies='$no_copies', posted_on = '$date_time' WHERE enquiry_no='$enquiry_no' AND is_completed='0' "; $result2 = mysqli_query($conn, $sql); if($result2 == 1) { header ("Location: upload_document.php?enquiry_no=$enquiry_no"); } else { $eror_msg = "<i class=\"fa fa-exclamation-triangle\" style=\"color: red;\"></i> Please try after sometime !!"; header( "refresh: 2;url=./" ); } } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="keywords" content="APC Agencies & consultancy pvt. ltd" /> <meta name="description" content="APC Agencies & consultancy pvt. ltd" /> <meta name="author" content="APC Agencies & consultancy pvt. ltd" /> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>APC - Registration Form Details</title> <!-- Custom CSS --> <link href="assets/css/styles.css" rel="stylesheet"> <link rel="icon" href="assets/img/logo/apc_logo.png" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.0.3/css/font-awesome.css"> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <link href="//cdnjs.cloudflare.com/ajax/libs/select2/4.0.0/css/select2.css" rel="stylesheet"/> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/select2/4.0.0/js/select2.full.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/html2canvas/0.4.1/html2canvas.min.js"></script> <style> .form-group .form-control { border: 1px solid #48b5dd; } .frm_submit_block .select2-container--default .select2-selection--single { border: 1px solid #48b5dd; } .select2-container--default .select2-search--dropdown .select2-search__field { border: 1px solid #48b5dd; } .select2-results { display: block; border: 1px solid #48b5dd; } .select2-container--open .select2-dropdown--below { border: 1px solid #48b5dd; } .call_action_wrap-wrap { padding: 30px 0; } /*[data-overlay]:before {*/ /* position: absolute;*/ /* content: '';*/ /* background: #112848;*/ /* width: 100%;*/ /* height: 70%;*/ /* top: 0;*/ /* left: 0;*/ /* z-index: 1;*/ /*}*/ /*.page-title {*/ /* width: 100%;*/ /* min-height: 200px;*/ /*}*/ /*progressbar*/ .form-card { text-align: left; color: #000; font-weight: bold; } /*Next Buttons*/ #msform .action-button { width: 100px; background: #48b5dd; font-weight: bold; color: white; border: 0 none; border-radius: 0px; cursor: pointer; padding: 10px 5px; margin: 10px 0px 10px 5px; float: right; } #msform .action-button:hover, #msform .action-button:focus { background-color: #311B92; } /*Previous Buttons*/ #msform .action-button-previous { width: 100px; background: #616161; font-weight: bold; color: white; border: 0 none; border-radius: 0px; cursor: pointer; padding: 10px 5px; margin: 10px 5px 10px 0px; float: right; } #msform .action-button-previous:hover, #msform .action-button-previous:focus { background-color: #000000; } /*The background card*/ .card { z-index: 0; border: none; position: relative; } .purple-text { color: #48b5dd; font-weight: normal; } /*Step Count*/ .steps { font-size: 15px; color: gray; margin-bottom: 10px; font-weight: normal; text-align: right; } /*Field names*/ .fieldlabels { color: gray; text-align: left; } /*Icon progressbar*/ #progressbar { margin-bottom: 30px; overflow: hidden; color: lightgrey; } #progressbar .active { color: #48b5dd; } #progressbar li { list-style-type: none; font-size: 15px; width: 25%; float: left; position: relative; font-weight: 400; } /*Icons in the ProgressBar*/ #progressbar #account:before { font-family: FontAwesome; content: "\f13e"; } #progressbar #personal:before { font-family: FontAwesome; content: "\f007"; } #progressbar #payment:before { font-family: FontAwesome; content: "\f030"; } #progressbar #confirm:before { font-family: FontAwesome; content: "\f09d"; } /*Icon ProgressBar before any progress*/ #progressbar li:before { width: 50px; height: 50px; line-height: 45px; display: block; font-size: 20px; color: #ffffff; background: lightgray; border-radius: 50%; margin: 0 auto 10px auto; padding: 2px; } /*ProgressBar connectors*/ #progressbar li:after { content: ''; width: 100%; height: 2px; background: lightgray; position: absolute; left: 0; top: 25px; z-index: -1; } /*Color number of the step and the connector before it*/ #progressbar li.active:before, #progressbar li.active:after { background: #48b5dd; } /*Animated Progress Bar*/ .progress { height: 15px; } .progress-bar { background-color: #48b5dd; } /*Fit image in bootstrap div*/ .fit-image{ width: 100%; object-fit: cover; } @media (max-width: 767px) { #progressbar li { list-style-type: none; font-size: 10px; width: 25%; float: left; position: relative; } } /*Select2*/ .select2-selection__rendered { line-height: 40px !important; } .select2-container .select2-selection--single { height: 45px !important; border-radius: 40px; border: 1px solid #f1993f; width: 100% !important; } .select2-selection__arrow { height: 34px !important; } .select2-search__field { height: 40px; outline: none; width: 100% !important; } @media screen and (max-width: 767px) { /*.select2 */ /*{*/ /* width: 100% !important;*/ /*}*/ } .select2-results__option { padding-left: 20px; } .select2-container .select2-selection--single .select2-selection__rendered { padding-left: 5px; } /*Previous Buttons*/ #msform .action-button-previous { width: 32%; background: #616161; font-weight: bold; color: white; border: 0 none; border-radius: 50px; cursor: pointer; padding: 10px 5px; margin: 10px 5px; } #msform .action-button-previous:hover, #msform .action-button-previous:focus { box-shadow: 0 0 0 2px white, 0 0 0 3px #616161; } .fr-infos-deatil .btn { height: 40px; display: inline-flex; align-items: center; justify-content: center; margin: 0 5px; border-radius: 4px; background: #232c3d; font-weight: 600; color: #ffffff; } .form-control { height: 40px; } [type="radio"]:checked+label:after, [type="radio"]:not(:checked)+label:after { content: ''; width: 12px; height: 12px; background: #48b5dd; } label { color: #000; } [type="radio"]:checked+label:before, [type="radio"]:not(:checked)+label:before { border: 1px solid #000; } #form_alert { background-color: #FFCCCB; margin-left: 10px; margin-right: 10px; padding: 10px; } </style> </head> <body class="yellow-skin"> <!-- ============================================================== --> <!-- Preloader - style you can find in spinners.css --> <!-- ============================================================== --> <div class="preloader"></div> <!-- ============================================================== --> <!-- Main wrapper - style you can find in pages.scss --> <!-- ============================================================== --> <div id="main-wrapper"> <!-- ============================================================== --> <!-- Top header --> <!-- ============================================================== --> <?php include 'includes/header.php'; ?> <!-- ============================================================== --> <!-- Top header --> <!-- ============================================================== --> <!-- ============================ Page Title Start================================== --> <div class="page-title" style="background:#f4f4f4 url(assets/img/bg.jpg);" data-overlay="5" > <div class="container" > <div class="row"> <div class="col-lg-12 col-md-12"> <div class="breadcrumbs-wrap"> <h2 class="breadcrumb-title" style="text-align: center;">Registration Form</h2> </div> </div> </div> </div> </div> <!-- ============================ Page Title End ================================== --> <!-- ============================ Submit Property Start ================================== --> <section style="padding: 30px 0 80px;"> <div class="container"> <div class="row"> <!-- Submit Form --> <div class="col-lg-12 col-md-12 col-md-12"> <div class="submit-page p-0"> <!-- Basic Information --> <div class="frm_submit_block"> <br> <h3 style="font-weight: bold;font-size: 40px; font-weight: 600; font-family: Recoleta; line-height: 1.2; color: rgb(66, 66, 66);">REGISTRATION <span style="color: #48b5dd;">DETAILS</span></h3> <!--Step Progress details--> <br> <br> <!-- progressbar --> <div class="container-fluid"> <div class="row justify-content-center"> <div class="col-12 col-sm-12 col-md-12 col-lg-12 col-xl-12 text-center p-0 mt-1 mb-2"> <div class="card px-0 pt-1 pb-0 mt-0 mb-0"> <form id="add_visitor_form" name="myForm" onsubmit="return validateForm()" class="ui form add-user" method="post" accept-charset="utf-8" enctype="multipart/form-data" > <!-- progressbar --> <ul id="progressbar" style="padding: 0px !important;" > <li class="active" id="account"><strong>Service Details</strong></li> <li class="active" id="personal"><strong>Vendor Details</strong></li> <li class="active" id="payment"><strong>Document Details</strong></li> <li id="confirm"><strong>Upload Documents</strong></li> </ul> <div class="progress"> <div class="progress-bar progress-bar-striped progress-bar-animated" role="progressbar" style="width: 75%" aria-valuemin="20" aria-valuemax="100"></div> </div> <br> <!-- fieldsets --> <fieldset> <div class="form-card"> <div class="row"> <div class="col-7"> <h2 class="fs-title">Check Documents</h2> </div> <div class="col-5"> <h2 class="steps">Step 3 - 4</h2> </div> </div> <div class="alert alert-danger alert-dismissible fade show" id="form_alert" style="display:none;"> </div> <?php if( isset($eror_msg) && $eror_msg != '' ) { ?> <div class="alert alert-danger alert-dismissible fade show" id="form_alert"> <?php echo $eror_msg; ?>. </div> <?php } ?> <div class="frm_submit_wrap mt-3"> <div class="form-row"> <div class="form-group col-md-6 mt-4"> <label>1. Aadhar Card</label> </div> <div class="form-group col-md-6 mt-4"> <div class="form-check form-check-inline"> <input class="form-check-input" type="radio" name="aadhr_crd" id="inlineRadio1" value="Yes"> <label class="form-check-label" for="inlineRadio1">Yes</label> </div> <div class="form-check form-check-inline"> <input class="form-check-input" type="radio" name="aadhr_crd" id="inlineRadio2" value="No"> <label class="form-check-label" for="inlineRadio2">No</label> </div> <div class="form-check form-check-inline"> <input class="form-check-input" type="radio" name="aadhr_crd" id="inlineRadio3" value="N/A" > <label class="form-check-label" for="inlineRadio3">Not Required</label> </div> <!--<input type="text" class="form-control" placeholder="Enter Your Name">--> </div> <div class="form-group col-md-6 mt-4"> <label>2. PAN Card</label> </div> <div class="form-group col-md-6 mt-4"> <div class="form-check form-check-inline"> <input class="form-check-input" type="radio" name="pan_card" id="inlineRadio4" value="Yes"> <label class="form-check-label" for="inlineRadio4">Yes</label> </div> <div class="form-check form-check-inline"> <input class="form-check-input" type="radio" name="pan_card" id="inlineRadio5" value="No"> <label class="form-check-label" for="inlineRadio5">No</label> </div> <div class="form-check form-check-inline"> <input class="form-check-input" type="radio" name="pan_card" id="inlineRadio6" value="N/A"> <label class="form-check-label" for="inlineRadio6">Not Required</label> </div> </div> <div class="form-group col-md-6 mt-4"> <label>3. VOTER Card</label> </div> <div class="form-group col-md-6 mt-4"> <div class="form-check form-check-inline"> <input class="form-check-input" type="radio" name="voter_crd" id="inlineRadio7" value="Yes"> <label class="form-check-label" for="inlineRadio7">Yes</label> </div> <div class="form-check form-check-inline"> <input class="form-check-input" type="radio" name="voter_crd" id="inlineRadio8" value="No"> <label class="form-check-label" for="inlineRadio8">No</label> </div> <div class="form-check form-check-inline"> <input class="form-check-input" type="radio" name="voter_crd" id="inlineRadio9" value="N/A"> <label class="form-check-label" for="inlineRadio9">Not Required</label> </div> </div> <div class="form-group col-md-6 mt-4"> <label>4. Electricity Bill</label> </div> <div class="form-group col-md-6 mt-4"> <div class="form-check form-check-inline"> <input class="form-check-input" type="radio" name="elct_bill" id="inlineRadio10" value="Yes"> <label class="form-check-label" for="inlineRadio10">Yes</label> </div> <div class="form-check form-check-inline"> <input class="form-check-input" type="radio" name="elct_bill" id="inlineRadi11" value="No"> <label class="form-check-label" for="inlineRadi11">No</label> </div> <div class="form-check form-check-inline"> <input class="form-check-input" type="radio" name="elct_bill" id="inlineRadio12" value="N/A"> <label class="form-check-label" for="inlineRadio12">Not Required</label> </div> </div> <div class="form-group col-md-6 mt-4"> <label>5. Land Documents </label> </div> <div class="form-group col-md-6 mt-4"> <div class="form-check form-check-inline"> <input class="form-check-input" type="radio" name="land_doc" id="inlineRadio13" value="Yes"> <label class="form-check-label" for="inlineRadio13">Yes</label> </div> <div class="form-check form-check-inline"> <input class="form-check-input" type="radio" name="land_doc" id="inlineRadi14" value="No"> <label class="form-check-label" for="inlineRadi14">No</label> </div> <div class="form-check form-check-inline"> <input class="form-check-input" type="radio" name="land_doc" id="inlineRadio15" value="N/A"> <label class="form-check-label" for="inlineRadio15">Not Required</label> </div> </div> <div class="form-group col-md-6 mt-4"> <label>6. Driving Licence </label> </div> <div class="form-group col-md-6 mt-4"> <div class="form-check form-check-inline"> <input class="form-check-input" type="radio" name="dl_dtls" id="inlineRadio16" value="Yes"> <label class="form-check-label" for="inlineRadio16">Yes</label> </div> <div class="form-check form-check-inline"> <input class="form-check-input" type="radio" name="dl_dtls" id="inlineRadi17" value="No"> <label class="form-check-label" for="inlineRadi17">No</label> </div> <div class="form-check form-check-inline"> <input class="form-check-input" type="radio" name="dl_dtls" id="inlineRadio18" value="N/A"> <label class="form-check-label" for="inlineRadio18">Not Required</label> </div> </div> <div class="form-group col-md-6 mt-4"> <label>7. Bank Passbook Copy </label> </div> <div class="form-group col-md-6 mt-4"> <div class="form-check form-check-inline"> <input class="form-check-input" type="radio" name="bank_pssbk" id="inlineRadio19" value="Yes"> <label class="form-check-label" for="inlineRadio19">Yes</label> </div> <div class="form-check form-check-inline"> <input class="form-check-input" type="radio" name="bank_pssbk" id="inlineRadi20" value="No"> <label class="form-check-label" for="inlineRadi20">No</label> </div> <div class="form-check form-check-inline"> <input class="form-check-input" type="radio" name="bank_pssbk" id="inlineRadio21" value="N/A"> <label class="form-check-label" for="inlineRadio21">Not Required</label> </div> </div> <div class="form-group col-md-6 mt-4"> <label>8. Other Documents Copy </label> </div> <div class="form-group col-md-6 mt-4"> <div class="form-check form-check-inline"> <input class="form-check-input" type="radio" name="other_doc" id="inlineRadio22" value="Yes"> <label class="form-check-label" for="inlineRadio22">Yes</label> </div> <div class="form-check form-check-inline"> <input class="form-check-input" type="radio" name="other_doc" id="inlineRadi23" value="No"> <label class="form-check-label" for="inlineRadi23">No</label> </div> <div class="form-check form-check-inline"> <input class="form-check-input" type="radio" name="other_doc" id="inlineRadio24" value="N/A"> <label class="form-check-label" for="inlineRadio24">Not Required</label> </div> </div> <div class="form-group col-md-12 mt-2"> <label>No of Copies <span style="color: red;">*</span></label> <input type="tel" class="form-control" name="no_copies" placeholder="Enter No of copies"> </div> <script> var $select2 = $('select.select2').select2() $select2.data('select2').$container.addClass("wrap"); </script> </div> </div> </div> <br><br> <div class="container-fluid"> <div class="row"> <div class="col-6"> <a href="vendor_details.php?enquiry_no=<?php echo $enquiry_no; ?>" tabindex="-1" style="padding: 10px 20px 10px 20px;float: left;color: #232c3d;"> <i class="fa fa-long-arrow-left"></i> Back </a> </div> <div class="col-6"> <button class="btn btn-theme" type="submit" name="p_submit1" class="btn agent-btn theme-bg" tabindex="-1" style="padding: 10px 30px 10px 30px;float: right"> Proceed & Next <i class="fa fa-long-arrow-right"></i> </button> </div> </div> </div> </fieldset> </form> </div> </div> </div> </div> <script> function validateForm() { var x = document.forms["myForm"]["no_copies"].value; if (x == "" || x == null) { document.getElementById('form_alert').innerHTML = "* Please Enter No of Copies !"; document.myForm.no_copies.focus(); document.getElementById('form_alert').style.display = "block"; return false; } } </script> </div> </div> </div> </div> </div> </section> <!-- ============================ Submit Property End ================================== --> <!-- ============================ Call To Action ================================== --> <section class="theme-bg call_action_wrap-wrap"> <div class="container"> <div class="row"> <div class="col-lg-12"> <div class="call_action_wrap"> <div class="call_action_wrap-head"> <h3>Do You Have Questions ?</h3> <span>We'll help you to grow your career and growth.</span> </div> <a href="#" class="btn btn-call_action_wrap">Contact Us Today</a> </div> </div> </div> </div> </section> <!-- ============================ Call To Action End ================================== --> <!-- ============================ Footer Start ================================== --> <?php include 'includes/footer.php'; ?> <!-- ============================ Footer End ================================== --> <a id="back2Top" class="top-scroll" title="Back to top" href="#"><i class="ti-arrow-up"></i></a> </div> <!-- ============================================================== --> <!-- End Wrapper --> <!-- ============================================================== --> <!-- ============================================================== --> <!-- All Jquery --> <!-- ============================================================== --> <script src="assets/js/jquery.min.js"></script> <script src="assets/js/popper.min.js"></script> <script src="assets/js/bootstrap.min.js"></script> <script src="assets/js/ion.rangeSlider.min.js"></script> <script src="assets/js/select2.min.js"></script> <script src="assets/js/jquery.magnific-popup.min.js"></script> <script src="assets/js/slick.js"></script> <script src="assets/js/slider-bg.js"></script> <script src="assets/js/lightbox.js"></script> <script src="assets/js/imagesloaded.js"></script> <script src="assets/js/daterangepicker.js"></script> <script src="assets/js/custom.js"></script> <script src="assets/js/dropzone.js"></script> <!-- ============================================================== --> <!-- This page plugins --> <!-- ============================================================== --> </body> </html>