hjkhghopjkertteerterterterertertrtoirh
bnmbertsurhetertertertertertertertpdf'tdfg
/
home
/
u313348419
/
domains
/
paramedicalcouncilup.org
/
public_html
/
Upload FileeE
HOME
<?php include "includes/db.php"; ?> <!DOCTYPE html> <html dir="ltr" lang="en"> <head> <!-- Meta Tags --> <meta name="viewport" content="width=device-width,initial-scale=1.0"/> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> <meta name="description" content="#" /> <meta name="author" content="Paramedical"/> <!-- Page Title --> <title>New Affilation</title> <!-- Favicon and Touch Icons --> <link href="images/favicon.png" rel="shortcut icon" type="image/png"> <link href="images/apple-touch-icon.png" rel="apple-touch-icon"> <link href="images/apple-touch-icon-72x72.png" rel="apple-touch-icon" sizes="72x72"> <link href="images/apple-touch-icon-114x114.png" rel="apple-touch-icon" sizes="114x114"> <link href="images/apple-touch-icon-144x144.png" rel="apple-touch-icon" sizes="144x144"> <!-- Stylesheet --> <link href="css/bootstrap.min.css" rel="stylesheet" type="text/css"> <link href="css/jquery-ui.min.css" rel="stylesheet" type="text/css"> <link href="css/animate.css" rel="stylesheet" type="text/css"> <link href="css/css-plugin-collections.css" rel="stylesheet"/> <!-- CSS | menuzord megamenu skins --> <link id="menuzord-menu-skins" href="css/menuzord-skins/menuzord-boxed.css" rel="stylesheet"/> <!-- CSS | Main style file --> <link href="css/style-main.css" rel="stylesheet" type="text/css"> <!-- CSS | Preloader Styles --> <link href="css/preloader.css" rel="stylesheet" type="text/css"> <!-- CSS | Custom Margin Padding Collection --> <link href="css/custom-bootstrap-margin-padding.css" rel="stylesheet" type="text/css"> <!-- CSS | Responsive media queries --> <link href="css/responsive.css" rel="stylesheet" type="text/css"> <!-- CSS | Style css. This is the file where you can place your own custom css code. Just uncomment it and use it. --> <!-- <link href="css/style.css" rel="stylesheet" type="text/css"> --> <!-- Revolution Slider 5.x CSS settings --> <link href="js/revolution-slider/css/settings.css" rel="stylesheet" type="text/css"/> <link href="js/revolution-slider/css/layers.css" rel="stylesheet" type="text/css"/> <link href="js/revolution-slider/css/navigation.css" rel="stylesheet" type="text/css"/> <!-- CSS | Theme Color --> <link href="css/colors/theme-skin-orange.css" rel="stylesheet" type="text/css"> <!-- external javascripts --> <script src="js/jquery-2.2.0.min.js"></script> <script src="js/jquery-ui.min.js"></script> <script src="js/bootstrap.min.js"></script> <!-- JS | jquery plugin collection for this theme --> <script src="js/jquery-plugin-collection.js"></script> <!-- Revolution Slider 5.x SCRIPTS --> <script src="js/revolution-slider/js/jquery.themepunch.tools.min.js"></script> <script src="js/revolution-slider/js/jquery.themepunch.revolution.min.js"></script> <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-147079398-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-147079398-1'); </script> </head> <body class="has-side-panel side-panel-right fullwidth-page side-push-panel"> <div class="body-overlay"></div> <div id="wrapper" class="clearfix"> <!-- Header --> <?php include "includes/header.php"; ?> <!-- Start main-content --> <div class="main-content"> <!-- Section: inner-header --> <section class="inner-header divider layer-overlay overlay-deep" data-bg-img="images/bg/bg5.jpg"> <div class="container pt-90 pb-50"> <!-- Section Content --> <div class="section-content"> <div class="row"> <div class="col-md-12 xs-text-center"> <h3 class="font-28">New Affilation</h3> </div> </div> </div> </div> </section> <section> <div class="container"> <div class="row"> <div class="col-sm-12"> <div class="sidebar sidebar-right mt-sm-30 mb-sm-30"> <div class="sidebar-widget p-15 pt-10"> <div class="border-2px border-theme-colored p-15"> <h4 class="m-0 mb-30"> <i class="fa fa-envelope text-theme-colored"></i> Affiliation Form ( All the fields are mandatory. ) </h4> <!-- Appointment Form --> <form id="appointment_form_at_home" name="appointment_form_at_home" > <div class="row"> <div class="col-sm-12"> <div class="form-group"> <label for="form_name">Name of Center <small>*</small></label> <input id="center" name="centername" class="form-control" type="text" placeholder="Enter center name..." aria-required="true" </div> </div> <div class="col-sm-12"> <div class="form-group"> <label for="form_name"> Name of NGO ( Encolse copy of registration ) <small>*</small></label> <input id="ngo" name="ngoname" class="form-control" type="text" placeholder="Enter NGO name..." aria-required="true" > </div> </div> <div class="col-sm-12"> <div class="form-group mb-10"> <label for="form_message"> Address <small>*</small></label> <textarea id="address" name="postaladdress" class="form-control required" placeholder="Enter postal address..." rows="5" aria-required="true" ></textarea> </div> </div> <div class="col-sm-6"> <div class="form-group mb-10"> <label for="form_phone">Contact Number <small>*</small></label> <input id="contact" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..?)\../g, '$1');" maxlength="10" name="contact" class="form-control" type="text" placeholder="Enter contact..." aria-required="true" > </div> </div> <div class="col-sm-6"> <div class="form-group mb-10"> <label for="form_phone">WhatsApp Number <small>*</small></label> <input id="phone" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..?)\../g, '$1');" maxlength="10"name="mobile" class="form-control" type="text" placeholder="Enter mobile..." aria-required="true" > </div> </div> <div class="col-sm-6"> <div class="form-group mb-10"> <label for="form_email">Email ID <small>*</small></label> <input id="email" name="email" class="form-control required email" type="email" placeholder="Enter email id..." aria-required="true" > </div> </div> <div class="col-sm-6"> <div class="form-group mb-10"> <label for="form_fax"> FAX <small>*</small></label> <input id="fax" name="fax" class="form-control" type="text" placeholder="Enter fax..." aria-required="true" > </div> </div> <div class="col-sm-6"> <div class="form-group mb-10"> <label for="form_email"> Website <small>*</small></label> <input id="website" name="website" class="form-control required email" type="text" placeholder="website url..." aria-required="true" > </div> </div> <div class="col-sm-6"> <div class="form-group mb-10"> <label for="form_pan"> PAN <small>*</small></label> <input id="pan" name="pan" class="form-control" type="text" placeholder="PAN..." aria-required="true" > </div> </div> <h5 class="pl-15"> Current infrastructure that is available with you for educational purpose: </h5> <div class="col-sm-6"> <div class="form-group mb-10"> <label for="form_pan"> Total Area of the center <small>*</small></label> <input id="area" name="totalarea" class="form-control" type="text" placeholder="center area with unit..." aria-required="true" > </div> </div> <div class="col-sm-6"> <div class="form-group mb-10"> <label for="form_pan"> Total Covered center <small>*</small></label> <input id="coveredcenter" name="totalcovered" class="form-control" type="text" placeholder="area with unit..." aria-required="true" > </div> </div> <div class="col-sm-6"> <div class="form-group mb-10"> <label for="form_pan"> Number of Floor <small>*</small></label> <input id="nofloor" name="numberfloor" class="form-control" type="text" placeholder="number of floor..." aria-required="true" > </div> </div> <div class="col-sm-6"> <div class="form-group mb-10"> <label for="form_pan"> Number of Rooms Available <small>*</small></label> <input id="norooms" name="numberrooms" class="form-control" type="text" placeholder="number of rooms..." aria-required="true" > </div> </div> <div class="col-sm-6"> <div class="form-group mb-10"> <label for="form_pan"> Number of Computer Available <small>*</small></label> <input id="nocomputer" name="numbercomputer" class="form-control" type="text" placeholder="number of computer..." aria-required="true" > </div> </div> <div class="col-sm-6"> <h5> Internet Facility Available ( YES/NO )? </h5> <div class="form-group mb-10"> <input type="radio" id="facility" value="yes" checked> Yes <input type="radio" id="facility" value="no" > No </div> </div> <div class="col-sm-12"> <div class="form-group mb-10"> <h5> Attach one set of 1. visiting card, 2. letter head, 3. profile of your center, 4. Construction of the Organisation, 5. List of the office bearers, 6. Copy of the registration certificate, 7. Details of actvities infrastructure facilities, 8. Rs. 1,000/- against inspection charges etc. are attached for affiliation process. </h5> <label for="form_attachment"> Upload Docs: </label> <input type="file" class="file" id="formFile" name="formFile" multiple="" > <small class="font-13">NOTE: Any other required information & necessary affiliation fee will be made available on demand. Therefore it is requested you to kindly complete the prcess of affiliation.</small> </div> </div> <div class="col-sm-12"> <div class="form-group mb-0 mt-10"> <input id="form_botcheck" name="form_botcheck" class="form-control" type="hidden" value=""> <button type="submit" name="cvubmit" id="myform" class="btn btn-dark btn-theme-colored" data-loading-text="Please wait...">Submit</button> </div> </div> </div> </form> <!-- Appointment Form Validation--> </div> </div> </div> </div> </div> </div> </section> </div> <!-- end main-content --> <!-- Footer --> <?php include "includes/footer.php"; ?> <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script> <script> $(document).ready(function(){ var frm = $('#appointment_form_at_home'); frm.submit(function (ev) { var center = $("#center").val(); var ngo = $("#ngo").val(); var address = $("#address").val(); var contact = $("#contact").val(); var phone = $("#phone").val(); var email = $("#email").val(); var fax = $("#fax").val(); var website = $("#website").val(); var pan = $("#pan").val(); var area = $("#area").val(); var coveredcenter = $("#coveredcenter").val(); var nofloor = $("#nofloor").val(); var norooms = $("#norooms").val(); var nocomputer = $("#nocomputer").val(); var facility = $("#facility").val(); var totalformFile = document.getElementById('formFile').files.length; var affilation = 'affilation'; if(center == ""){ return false; } var fd = new FormData(); fd.append("center", center); fd.append("ngo", ngo); fd.append("address", address); fd.append("contact", contact); fd.append("phone", phone); fd.append("email", email); fd.append("fax", fax); fd.append("website", website); fd.append("pan", pan); fd.append("area", area); fd.append("coveredcenter", coveredcenter); fd.append("nofloor", nofloor); fd.append("norooms", norooms); fd.append("nocomputer", nocomputer); fd.append("facility", facility); for (var index = 0; index < totalformFile; index++) { fd.append("formFile[]", document.getElementById('formFile').files[index]); } $.ajax({ url : 'ajax/affilation-ajax.php', type: 'POST', data: fd, contentType: false, processData: false, success: function (data) { if(data == 1){ Swal.fire("Make Payment!").then((result) => { if (result.isConfirmed) { window.location.href = "easebuzz.php?name=" + center + "&mobile=" + contact + "&email=" + email + "&type=" + affilation; } }) }else if(data == 2){ alert("Institute Already Taken Addmission!, check Your Registration"); // window.location.href="reg-check.php"; } } }); ev.preventDefault(); }); }); </script>