Server IP : 162.214.80.37 / Your IP : 216.73.216.83 Web Server : Apache System : Linux sh013.webhostingservices.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : imyrqtmy ( 2189) PHP Version : 8.2.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home2/imyrqtmy/public_html/moryanew/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php include("Admin/Includes/db.php"); ?> <!DOCTYPE html> <html lang="en"> <?php include 'include/head.php'; ?> <style> @media only screen and (max-width: 768px) { .occupation-selection { display: flex; margin-bottom: 1rem; } } <?php $bid = $_GET['id']; ?> </style> <body> <?php include 'include/header.php'; ?> <main> <section class="pt-18 pb-10" style="background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), rgba(0, 0, 0, 0.2) url(../assets/images/background/page-header.jpg) no-repeat center; background-size: cover;"> <div class="container"> <div class="row"> <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12"> <div class="bg-white p-5 rounded-top-md"> <div class="row align-items-center"> <div class="col-xl-8 col-lg-8 col-md-8 col-sm-12 col-12"> <h1 class="mb-0">Apply loan</h1> </div> <!--<div class="col-xl-4 col-lg-4 col-md-4 col-sm-12 col-12">--> <!-- <div class="text-md-end mt-3 mt-md-0">--> <!-- <a href="#!" class="btn btn-primary">How To Apply</a>--> <!-- </div>--> <!--</div>--> </div> </div> <!--<div>--> <!-- <ul class="nav nav-fill nav-pills-gray-fill">--> <!-- <li class="nav-item ">--> <!-- <a href="contact-us.html" class="nav-link">Give me call back</a>--> <!-- </li>--> <!-- <li class="nav-item">--> <!-- <a href="#!" class="nav-link">Emi Caculator</a>--> <!-- </li>--> <!-- </ul>--> <!--</div>--> </div> </div> </div> </section> <!-- content start --> <section> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="mt-n6 bg-white mb-10 rounded-3 shadow-sm p-lg-10 p-5"> <div class="mb-8"> <div class="offset-xl-2 col-xl-8 offset-lg-2 col-lg-8 col-md-12 col-sm-12 col-12"> <div class="mb-6 text-center "> <!-- section title start--> <h1 class="mb-0">Apply loan</h1> <!--<p>Reach out to us & we will respond as soon as we can.</p>--> </div> </div> <form method="post" action="applyloan.php" enctype="multipart/form-data"> <div> <!-- Text input--> <div class="row"> <div class="col-xl-4 col-lg-4 col-md-12 col-sm-12 col-12"> <div class="mb-3"> <label class="" for="name">Product type</label> <select class="form-select" id="ptype" name="ptype"> <option value="">choose</option> <?php $count = 1; $sqlo = "select * from tbl_categories "; $sql_reso = mysqli_query($con, $sqlo) or die(mysqli_error($con)); while ($sql_rowo = mysqli_fetch_assoc($sql_reso)){ $image = $sql_rowb['img']; ?> <option value="<?php echo $sql_rowo['id']; ?>"><?php echo $sql_rowo['name']; ?></option> <?php } ?> </select> </div> </div> <div class="col-xl-4 col-lg-4 col-md-12 col-sm-12 col-12 ltype"> <div class="mb-3"> <label class="" for="name">type</label> <select class="form-select" id="type" name="type"> <option value="">choose</option> <option value="Salaried">Salaried</option> <option value="Self-Employed">Self-Employed</option> </select> </div> </div> <div class="col-xl-4 col-lg-4 col-md-12 col-sm-12 col-12 hltype"> <div class="mb-3"> <label class="" for="name">type</label> <select class="form-select" id="type" name="types"> <option value="">choose</option> <option value="Proprietorships">Proprietorships</option> <option value="Partnerships">Partnerships</option> <option value="LLP">LLP</option> <option value="Pvt Ltd /Ltd">Pvt Ltd /Ltd</option> <option value="HUF">HUF</option> </select> </div> </div> </div> <div class="row "> <div class=""> <div class="row"> <div class="col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12"> <div class="mb-3"> <label class="" for="name">First Name</label> <input id="name" name="fname" type="text" placeholder="First Name" class="form-control " required> <input id="loantype" name="loantype" type="hidden" value="<?php echo $bid; ?>"> </div> </div> <div class="col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12"> <div class="mb-3"> <label class="" for="name">Last Name</label> <input id="name" name="lname" type="text" placeholder="Last Name" class="form-control " required> </div> </div> <!-- Text input--> <div class="col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12"> <div class="mb-3"> <label class="" for="email">Email</label> <input id="email" name="email" type="email" placeholder="Email" class="form-control " required> </div> </div> <!-- Text input--> <div class="col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12"> <div class="mb-3"> <label class="" for="phone">Phone</label> <input id="phone" name="phone" type="text" placeholder="Phone" class="form-control " required> </div> </div> <div class="col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12"> <div class="mb-3"> <label class="" for="phone">city</label> <select class="form-select" id="city" name="city"> <option value="">choose</option> <?php $count = 1; $sql = "select * from tbl_city "; $sql_res = mysqli_query($con, $sql) or die(mysqli_error($con)); while ($sql_rowc = mysqli_fetch_assoc($sql_res)){ ?> <option value="<?php echo $sql_rowc['cname']; ?>"><?php echo $sql_rowc['cname']; ?></option> <?php } ?> </select> </div> </div> <div class="col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12 "> <div class="mb-3"> <label class="" for="phone">Date Of Birth</label> <input id="phone" name="dob" type="date" placeholder="Phone" class="form-control " required> </div> </div> <div class="col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12 salaried" > <div class="mb-3"> <label class="" for="phone">Net Monthly Income:</label> <input id="phone" name="minc" type="text" placeholder="Net Monthly Income" class="form-control selfe1 " required> </div> </div> <div class="col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12 salaried"> <div class="mb-3"> <label class="" for="phone">Salary Mode</label> <select class="form-select selfe1" id="salmod" name="salmod" required> <option value="">Select Salary Mode</option> <option value="Cash">Cash</option> <option value="Cheque">Cheque</option> <option value="Bank Credited">Bank Credited</option> </select> </div> </div> <div class="col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12 selfemp"> <div class="mb-3"> <label class="" for="phone">Avarage Annual Profit (as per ITR):</label> <input id="phone" name="aap" type="text" placeholder="Avarage Annual Profit " class="form-control selfe" required> </div> </div> <div class="col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12"> <div class="mb-3"> <label class="" for="message"> Obligation ( Current EMI details)</label> <textarea class="form-control" id="ob" rows="7" name="ob" placeholder="Current EMI"></textarea> </div> </div> <div class="col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12"> <div class="mb-3"> <label class="" for="phone">Aadhar card:</label> <input id="phone" name="img1" type="file" placeholder="Phone" class="form-control " required> </div> </div> <div class="col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12"> <div class="mb-3"> <label class="" for="phone">Pan card:</label> <input id="phone" name="img2" type="file" placeholder="Phone" class="form-control " required> </div> </div> <div class="col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12"> <div class="mb-3"> <label class="" for="phone">Address Proof:</label> <input id="phone" name="img3" type="file" placeholder="Phone" class="form-control " required> </div> </div> <div class="row" id="afield"> </div> <!-- Button --> <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12"> <button type="submit" class="btn btn-primary">Submit</button> </div> </div> <!-- Select Basic --> </div> </div> </div> </form> </div> <!-- /.section title start--> <div class="contact-us mb-8"> <div class="row"> <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12"> <div class="mb-6"> <!-- section title start--> <h1>We are here to help you </h1> <p class="lead">Various versions have evolved over the years sometimes by accident sometimes on purpose injected humour and the like.</p> </div> <!-- /.section title start--> </div> </div> </div> </div> </div> </div> </div> </section> <!-- /.content end --> </main> <div class="footer bg-dark pt-8 "> <!-- footer --> <?php include 'include/footer.php'; ?> </div> <!-- Libs JS --> <script src="../assets/libs/jquery/dist/jquery.min.js"></script> <script src="../assets/libs/bootstrap/dist/js/bootstrap.bundle.min.js"></script> <script src="../assets/libs/tiny-slider/dist/min/tiny-slider.js"></script> <script src="../assets/libs/nouislider/dist/nouislider.min.js"></script> <script src="../assets/libs/wnumb/wNumb.min.js"></script> <script src="../assets/libs/magnific-popup/dist/jquery.magnific-popup.min.js"></script> <script src="../assets/libs/isotope-layout/dist/isotope.pkgd.min.js"></script> <script src="../assets/libs/imagesloaded/imagesloaded.pkgd.min.js"></script> <script src="../assets/libs/magnific-popup/dist/jquery.magnific-popup.min.js"></script> <script src="../assets/libs/prismjs/prism.js"></script> <script src="../../../cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.5.12/clipboard.min.js"></script> <!-- Theme JS --> <script src="../assets/js/theme.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ // alert("sg"); $(".salaried").hide(); $(".selfemp").hide(); $(".ltype").hide(); $(".hltype").hide(); $(".pld").hide(); $(".bl").hide(); $(".hl").hide(); $(".cc").hide(); // insupay // cash $('#ptype').on('change', function() { // alert("kl"); if ( this.value == '7' || this.value == '10' || this.value == '11') { // alert("ll"); $(".ltype").show(); } else { $(".ltype").hide(); } }); $('#ptype').on('change', function() { // alert("kl"); if ( this.value == '9') { // alert("ll"); $(".hltype").show(); $(".selfemp").hide().find(':input').attr('required', false); $(".salaried").hide().find(':input').attr('required', false); } else { $(".hltype").hide(); } }); $('#type').on('change', function() { // alert("kl"); if ( this.value == 'Salaried') { // alert("ll"); $(".salaried").show(); $(".selfemp").show().find(':input').attr('required', false); } else { $(".salaried").hide(); } }); $('#type').on('change', function() { // alert("kl"); if ( this.value == 'Self-Employed') { // alert("ll"); $(".selfemp").show(); $(".salaried").show().find(':input').attr('required', false); $(".salaried").hide().find(':select').attr('required', false); } else { $(".selfemp").hide(); } }); }); </script> <script type="text/javascript"> $(document).ready(function() { $('#ptype').on('change', function() { var stateID = $(this).val(); // alert(stateID); $.ajax({ type: 'POST', url: 'field.php', data: {city: stateID }, success: function(response) { // alert(response); $('#afield').html(response); // content.html(response); } }); }); }); </script> </body> </html>