0byt3m1n1
Path:
/
home
/
k74ns2xygros
/
www
/
globetech
/
cms
/
[
Home
]
File: registration.php
<?php session_start(); error_reporting(0); include "assets/config.php"; $user = new User(); $ep_id = $_SESSION['ep_id']; $csc_id = $_SESSION['csc_id']; $cid = $_SESSION['cid']; //$phone= $_SESSION['phone']; $zone = $_SESSION['zone']; $s_engineer = $_SESSION['s_engineer']; $ex_engineer = $_SESSION['ex_engineer']; $electry_city = $_SESSION['electry_city']; if (!isset($_SESSION['phone']) || !isset($_SESSION['zone']) || !isset($_SESSION['s_engineer']) || !isset($_SESSION['ex_engineer']) || !isset($_SESSION['electry_city'])) { // header("Location: ../../index.php"); } ?> <?php include 'head_out.php'; ?> <?php // include 'assets/left_nav.php'; ?> <?php include 'header_out.php'; ?> <html lang="en"> <head> <title>Registration</title> <!-- Custom Theme Style --> <!-- <link href="build/css/custom.min.css" rel="stylesheet"> <link href="build/css/mystyle.css" rel="stylesheet">--> <script src="vendors/jquery/dist/jquery.min.js"></script> <style> .agile-form ul { list-style: none; } .agile-form ul li{ margin-top: 10; } .form-control{ width: 80%; } @media only screen and (max-width:400px){ .agile-form ul { list-style: none; padding: 0; } } label { text-transform: uppercase; } @media screen and (min-width: 0px) and (max-width: 400px) { #regis_id{ display:none; } } </style> </head> <script src='js/myjs/ajax.js' type="text/javascript"></script> <script src="js/myjs/categoery_caste.js" type="text/javascript"></script> <!-- page content --> <div class="right_col1 hidden-xs" role="main" id="regis_id" style="padding-top: 10px;"> <!--<div class="col-md-10 col-md-offset-1 col-sm-offset-1 col-sm-10 col-xs-12">--> <div class="row" style="margin:10px 50px"> <!-- <br> <div class="row text-center"> <h3 style="font-weight: bold;">कार्यालय -- सहायक प्रबन्धक (कार्मिक)</h3> <h4 style="font-weight: bold;">ग्लोबटेक क्रिएशन्स प्राइवेट लिमिटेड</h4> <h5 style="font-weight: bold;">पंजीकृत कार्यालय - गोपाल नगर, सिसवा बाज़ार, जनपद- महराजगंज (उ०प्र०) - २७३१६३</h5> </div> <br>--> <div class="clearfix"></div> <div class="row"> <div class="col-md-12 col-sm-12 col-xs-12"> <div class="x_panel"> <div class="x_title"> <h2 style="font-weight: bold;">REGISTRATION FORM - EMPLOYEE PERSONAL/FATHER/MOTHER DETAILS </h2> <!-- <ul class="nav navbar-right panel_toolbox"> <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a> </li> <li><a onclick="window.history.back()" class="close-link"><i class="fa fa-close"></i></a> </ul>--> <div class="clearfix"></div> </div> <div class="x_content"> <div class="wrapperform "> <div class="container"> <div class="agile-form"> <form method="post" enctype="multipart/form-data" action=""> <div class="form-group col-lg-6 col-sm-6 col-xs-12"> <input type="hidden" name="zone" value="<?php echo $zone ?>"> <input type="hidden" name="s_engineer" value="<?php echo $s_engineer ?>"> <input type="hidden" name="ex_engineer" value="<?php echo $ex_engineer ?>"> <input type="hidden" name="electry_city" value="<?php echo $electry_city ?>"> <input type="hidden" name="ep_id" value="<?php echo $ep_id ?>"> <input type="hidden" name="csc_id" value="<?php echo $csc_id ?>"> <input type="hidden" name="cid" value="<?php echo $cid ?>"> <ul class="field-list"> <li> <label class="form-label">First Name <span class="form-required"> * </span></label> <div class="form-input"> <input type="text" class="form-control" name="f_name" placeholder="पहला नाम" required=""> </div> </li> <li> <label class="form-label">Middle Name </label> <div class="form-input"> <input type="text" class="form-control" name="m_name" placeholder="मध्य नाम" > </div> </li> <li> <label class="form-label">Last Name <span class="form-required"> * </span></label> <div class="form-input"> <input type="text" class="form-control" name="l_name" placeholder="अंतिम नाम" required=""> </div> </li> <li> <label class="form-label">Upload Photo<span class="form-required"> * </span> </label> <div class="form-input"> <input type="file" class="form-control" name="clogo" id="clogo" onChange="return orgDoc(this.id, '200')" placeholder="दस्तावेज़ संलग्नक" required=""> <small style="color:#F00;">Upload jpg,jpeg,png file only, Max size 200KB</small> </div> </li> <li> <label class="form-label">Upload Signature<span class="form-required"> * </span> </label> <div class="form-input"> <input type="file" class="form-control" name="emp_sign_upload" id="emp_sign_upload" onChange="return orgDoc(this.id, '100')" placeholder="दस्तावेज़ संलग्नक" required=""> <small style="color:#F00;">Upload jpg,jpeg,png file only, Max size 100KB</small> </div> </li> <!-- <li> <label class="form-label">Identity Type <span class="form-required"> * </span></label> <div class="form-input"> <select class="form-dropdown form-control" name="identity_type" size="4" onchange="$(this).attr('size', '0')" required=""> <option value="" disabled>--पहचान का प्रकार--</option> <option value="aadhaarcard">आधार कार्ड</option> <option value="voterid"> मतदाता आईडी </option> <option value="drivinglicence"> ड्राइविंग लाइसेंस </option> <option value="rationcard"> राशन कार्ड</option> </select> </div> </li>--> <!-- <li> <label class="form-label">E-ADHAAR<span class="form-required"> * </span></label> <div class="form-input"> <input type="file" class="form-control" name="identy_proof" placeholder="दस्तावेज़ संलग्नक" required=""> </div> </li>--> <li> <label class="form-label"> Gender <span class="form-required"> * </span> </label> <div class="form-input"> <select class="form-dropdown form-control" name="gender" size="3" onchange="$(this).attr('size', '0')" required=""> <option value="" disabled>--लिंग--</option> <option value="Male"> पुरुष </option> <option value="Female"> महिला </option> </select> </div> </li> <li> <label class="form-label"> Date Of Birth<span class="form-required"> * </span></label> <div class="form-input"> <input type="date" class="form-control" name="dob" min="<?php echo date('Y-m-d', strtotime('-55 years')); ?>" max="<?php echo date('Y-m-d', strtotime('-18 years')); ?>" required=""> </div> </li> <li> <label class="form-label"> Mobile Number No.<span class="form-required"> * </span></label> <div class="form-input"> <input type="text" class="form-control" minlength="10" maxlength="10" name="phone" placeholder="मोबाइल 1" readonly="" value="<?php echo$_SESSION['phone']; ?>"> </div> </li> <li> <label class="form-label">Alternate/Whatsapp Mobile No.</label> <div class="form-input"> <!--<input type="text" class="form-control" minlength="10" maxlength="10" name="phone2" placeholder="मोबाइल 2" >--> <input type="text" id="telephone" minlength="10" maxlength="10" name="phone2" class="form-control" onkeyup="ChecknewPhone(this.value)" onblur="ChecknewPhone(this.value)" placeholder="मोबाइल 2" required=""> <span id="telephonemsg" style="display: none;color:red"> This Mobile is Already Registered. Enter New Mobile Number.</span> </div> </li> <li> <label class="form-label"> Email Id </label> <div class="form-input"> <input type="email" class="form-control" name="email" placeholder="ईमेल" > </div> </li> <!-- <li> <label class="form-label">Full Address<span class="form-required"> * </span></label> <div class="form-input"> <textarea class="form-control rounded-0" id="fulladdress" name="fulladdress" rows="3" required=""></textarea> </div> </li>--> <li> <label class="form-label"> Religon (धर्म) <span class="form-required"> * </span> </label> <div class="form-input"> <select class="form-dropdown form-control" name="religion" id="religion" required=""> <option value="">--Select Religon--</option> <option value="HINDU">HINDU</option> <option value="MUSLIM">MUSLIM</option> <option value="SIKH">SIKH</option> <option value="CHRISTIAN">CHRISTIAN</option> <option value="BUDDHIST">BUDDHIST</option> <option value="JAIN">JAIN</option> </select> </div> </li> <li> <label class="form-label"> Community (वर्ग) <span class="form-required"> * </span> </label> <div class="form-input"> <select class="form-dropdown form-control" name="community" id="community" required=""> <option value="">--Select Community--</option> <option value="GENERAL"> GENERAL </option> <option value="OBC"> OBC </option> <option value="SC"> SC </option> <option value="ST"> ST </option> </select> </div> </li> <li> <label class="form-label"> Caste (जाति) <span class="form-required"> * </span> </label> <div class="form-input"> <select class="form-dropdown form-control" name="caste" id="caste" required=""> <option value="">--Select Your Caste--</option> </select> <!--<input type="text" class="form-control" name="caste" id="caste" placeholder="Enter your Caste" required="">--> </div> </li> <li> <label class="form-label"> Nationality <span class="form-required"> * </span> </label> <div class="form-input"> <select class="form-dropdown form-control" name="nationality"> <option value="Indian" selected=""> भारत </option> </select> </div> </li> </ul> </div> <div class="col-lg-6 col-sm-6 col-xs-12"> <ul class="field-list"> <li> <label class="form-label"> Father Name <span class="form-required"> * </span></label> <div class="form-input"> <input type="text" class="form-control" name="father_name" placeholder="पिताजी का नाम" required=""> </div> </li> <li> <label class="form-label">Father Status <span class="form-required"> * </span></label> <div class="form-input" style="display: flex;"> <select class="form-dropdown form-control" name="father_status" id="father_status" required="" style="width: 40%;"> <option value="">--Select Father Status--</option> <option value="ALIVE" <?php if ($father_status == 'ALIVE') { ?> selected="" <?php } ?>> जीवित (ALIVE) </option> <option value="DEAD" <?php if ($father_status == 'DEAD') { ?> selected="" <?php } ?>> मृत (DEAD)</option> </select> </div> </li> <span id="father_span" <?php if ($father_status != 'ALIVE') { ?>style="display: none;" <?php } ?>> <li> <label class="form-label"> Date Of Birth <small>पिता की जन्मतिथि </small> <span class="form-required"> * </span></label> <div class="form-input"> <!--<input type="date" class="form-control" name="dob" min="<?php echo date('Y-m-d', strtotime('-45 years')); ?>" max="<?php echo date('Y-m-d', strtotime('-18 years')); ?>">--> <input type="date" class="form-control" name="father_dob" id="father_dob" max="<?php echo date('Y-m-d', strtotime('-2 days')); ?>" style="width: 40%;"> </div> </li> <li> <label class="form-label">Father Identity Type <span class="form-required"> * </span> & Identity Number <span class="form-required"> * </span></label> <div class="form-input" style="display: flex;"> <!--<select class="form-dropdown form-control" name="identity_type" size="4" onchange="$(this).attr('size', '0')" required="">--> <select class="form-dropdown form-control" name="father_identity_type" id="father_identity_type" style="width: 40%;"> <option value="" disabled>--Select Identity Type--</option> <option value="aadhaarcard" selected="">ई-आधार लेटर/आधार लेटर </option> <!-- <option value="voterid"> मतदाता आईडी </option> <option value="drivinglicence"> ड्राइविंग लाइसेंस </option> <option value="passport"> पासपोर्ट </option>--> <!--<option value="pancard"> पैन कार्ड </option>--> <!--<option value="rationcard"> राशन कार्ड</option>--> </select> <input type="text" class="form-control" name="father_identity_no" id="father_identity_no" maxlength="12" value="<?php echo $parents['father_identity_no'] ?>" placeholder="पहचान संख्या" style="width: 40%;"> </div> </li> <li> <label class="form-label">Father Name as on E-ADHAAR<span class="form-required"> * </span></label> <div class="form-input"> <input type="text" class="form-control" name="father_name_on_identity" id="father_name_on_identity" value="<?php echo $parents['father_name_on_identity'] ?>" placeholder="पहचान प्रमाण पर नाम"> </div> </li> <li> <label class="form-label">Father E-ADHAAR Letter <span class="form-required"> *</span> </label> <div class="form-input"> <input type="file" class="form-control" name="father_identity_proof" id="father_identity_proof" onChange="return orgDoc(this.id, '300')" placeholder="दस्तावेज़ संलग्नक" value="<?php echo $parents['father_identity_upload']; ?>" <?php echo $required_upload; ?>> <small style="color:#F00;">Upload jpg,jpeg,png file only, Max size 300KB</small> </div> </li> <li> <label class="form-label">Upload Father Photo <span class="form-required"> *</span> </label> <div class="form-input"> <!--<input type="file" class="form-control" name="emp_sign_upload" placeholder="दस्तावेज़ संलग्नक" required="">--> <input type="file" class="form-control" name="father_clogo" id="father_clogo" onChange="return orgDoc(this.id, '200')" placeholder="दस्तावेज़ संलग्नक" value="<?php echo $parents['father_clogo']; ?>" <?php echo $required_upload; ?>> <small style="color:#F00;">Upload jpg,jpeg,png file only, Max size 200KB</small> </div> </li> </span> <li> <label class="form-label"> Mother Name <span class="form-required"> * </span></label> <div class="form-input"> <input type="text" class="form-control" name="mother_name" placeholder="माताजी का नाम" required=""> </div> </li> <li> <label class="form-label"> Mother Status <span class="form-required"> * </span></label> <div class="form-input" style="display: flex;"> <select class="form-dropdown form-control" name="mother_status" id="mother_status" required="" style="width: 40%;"> <option value="">--Select Mother Status--</option> <option value="ALIVE" <?php if ($mother_status == 'ALIVE') { ?> selected="" <?php } ?>> जीवित (ALIVE) </option> <option value="DEAD" <?php if ($mother_status == 'DEAD') { ?> selected="" <?php } ?>> मृत (DEAD)</option> </select> </div> </li> <span id="mother_span" <?php if ($mother_status != 'ALIVE') { ?>style="display: none;" <?php } ?>> <li> <label class="form-label"> Date Of Birth <small>माता की जन्मतिथि </small> <span class="form-required"> * </span></label> <div class="form-input"> <!--<input type="date" class="form-control" name="dob" min="<?php echo date('Y-m-d', strtotime('-45 years')); ?>" max="<?php echo date('Y-m-d', strtotime('-18 years')); ?>">--> <input type="date" class="form-control" name="mother_dob" id="mother_dob" max="<?php echo date('Y-m-d', strtotime('-2 days')); ?>" style="width: 40%;"> </div> </li> <li> <label class="form-label">Mother Identity Type <span class="form-required"> * </span> & Identity Number <span class="form-required"> * </span></label> <div class="form-input" style="display: flex;"> <!--<select class="form-dropdown form-control" name="identity_type" size="4" onchange="$(this).attr('size', '0')" required="">--> <select class="form-dropdown form-control" name="mother_identity_type" id="mother_identity_type" style="width: 40%;"> <option value="" disabled>--Select Identity Type--</option> <option value="aadhaarcard" selected="">ई-आधार लेटर/आधार लेटर </option> <!-- <option value="voterid"> मतदाता आईडी </option> <option value="drivinglicence"> ड्राइविंग लाइसेंस </option> <option value="passport"> पासपोर्ट </option>--> <!--<option value="pancard"> पैन कार्ड </option>--> <!--<option value="rationcard"> राशन कार्ड</option>--> </select> <input type="text" class="form-control" name="mother_identity_no" id="mother_identity_no" maxlength="12" value="<?php echo $parents['mother_identity_no'] ?>" placeholder="पहचान संख्या" style="width: 40%;"> </div> </li> <li> <label class="form-label">Mother Name as on E-ADHAAR<span class="form-required"> * </span></label> <div class="form-input"> <input type="text" class="form-control" name="mother_name_on_identity" id="mother_name_on_identity" value="<?php echo $parents['mother_name_on_identity'] ?>" placeholder="पहचान प्रमाण पर नाम"> </div> </li> <li> <label class="form-label">Mother E-ADHAAR Letter <span class="form-required"> *</span></label> <div class="form-input"> <input type="file" class="form-control" name="mother_identity_proof" id="mother_identity_proof" onChange="return orgDoc(this.id, '300')" placeholder="दस्तावेज़ संलग्नक" value="<?php echo $parents['mother_identity_upload']; ?>" <?php echo $required_upload; ?>> <small style="color:#F00;">Upload jpg,jpeg,png file only, Max size 300KB</small> </div> </li> <li> <label class="form-label">Upload Mother Photo <span class="form-required"> *</span> </label> <div class="form-input"> <input type="file" class="form-control" name="mother_clogo" id="mother_clogo" onChange="return orgDoc(this.id, '200')" placeholder="दस्तावेज़ संलग्नक" value="<?php echo $parents['mother_clogo']; ?>" <?php echo $required_upload; ?>> <small style="color:#F00;">Upload jpg,jpeg,png file only, Max size 200KB</small> </div> </li> </span> </ul> </div> <div class="col-md-12 col-sm-12 col-xs-12 text-center"> <!-- <div class="form-input"> <input type="checkbox" class="flat" name="sign_terms" value="I am accepting all terms and conditions regarding Signature" checked="" required=""> मेरे द्वारा अपलोड किया गया हस्ताक्षर ग्लोबटेक क्रिएशन्स प्राइवेट लिमिटेड द्वारा प्रयोग होने पर मुझे कोई आपत्ति नहीं है। </div>--> <div class="form-input"> <input type="checkbox" class="flat" name="terms" value="I am accepting all terms and conditions" required=""> आवेदनकर्ता यह सुनिश्चित कर ले की उसके द्वारा भरा गया विवरण सही है एवं उसके द्वारा जांच लिया गया है। अपलोड किये गए हस्ताक्षर को आवेदन पत्र एवं अन्य प्रपत्रों पर इस्तेमाल हेतु मेरे द्वारा सहमति दी जाती है। </div> <div class="ln_solid"></div> <button type="reset" class="btn btn-danger">CANCEL</button> <button type="submit" name="add_customer" class="btn btn-success">SAVE AND NEXT</button> </div> </form> </div> </div> </div> </div> </div> </div> </div> </div> </div> <div class="hidden-sm hidden-md hidden-lg visible-xs"> <div class="container"> <div class="row"> <div class="col-sm-offset-2 col-sm-8 col-md-8 col-md-offset-2 col-xs-12"> <div class="alert alert-warning"> <p>You cannot browse our website on devices like Smartphones, Android phones, iPhone because it is best viewed and compatible on Computer or Laptop.</p> <p>आप हमारी वेबसाइट पर रजिस्ट्रेशन स्मार्टफ़ोन, एंड्रॉइड फोन, आईफोन जैसे उपकरणों पर ब्राउज़ नहीं कर सकते हैं क्योंकि यह कंप्यूटर या लैपटॉप पर अच्छे से देखा जा सकता है और मान्य है।</p> </div> </div> </div> </div> </div> <?php if (isset($_SESSION['msg'])) { ?> <div class="msg_box res_msg" id="msg_box"> <div class="headr" onclick="this.parentElement.style.display = 'none';">Close</div><?php echo $_SESSION['msg']; unset($_SESSION['msg']) ?> </div> <?php } ?> <?php if (isset($_SESSION['err_msg'])) { ?> <div class="msg_box res_err" id="msg_box" style=" color:red;"> <div class="headrerr" onclick="this.parentElement.style.display = 'none';">Close</div><?php echo $_SESSION['err_msg']; unset($_SESSION['err_msg']) ?> </div> <?php } ?> <?php include 'foot_out.php'; ?> <?php if (isset($_POST['add_customer'])) { $user->initial_employee_registration($cid); } ?> <script> // setTimeout(function () { // document.getElementById('msg_box').style.display = "none"; // }, 8000); $(document).ready(function () { $('#father_status').change(function () { // $('#father_status').attr('size', 0); var el = $(this); if (el.val() === "ALIVE") { $('#father_span').css('display', 'block'); $('#father_dob').attr('required', true); $('#father_identity_type').attr('required', true); $('#father_identity_no').attr('required', true); $('#father_name_on_identity').attr('required', true); $('#father_identity_proof').attr('required', true); $('#father_clogo').attr('required', true); } else { $('#father_span').css('display', 'none'); $('#father_dob').attr('required', false); $('#father_identity_type').attr('required', false); $('#father_identity_no').attr('required', false); $('#father_name_on_identity').attr('required', false); $('#father_identity_proof').attr('required', false); $('#father_clogo').attr('required', false); } }); $('#mother_status').change(function () { // $('#mother_status').attr('size', 0); var el = $(this); // alert(el.val()); if (el.val() === "ALIVE") { $('#mother_span').css('display', 'block'); $('#mother_dob').attr('required', true); $('#mother_identity_type').attr('required', true); $('#mother_identity_no').attr('required', true); $('#mother_name_on_identity').attr('required', true); $('#mother_identity_proof').attr('required', true); $('#mother_clogo').attr('required', true); } else { $('#mother_span').css('display', 'none'); $('#mother_dob').attr('required', false); $('#mother_identity_type').attr('required', false); $('#mother_identity_no').attr('required', false); $('#mother_name_on_identity').attr('required', false); $('#mother_identity_proof').attr('required', false); $('#mother_clogo').attr('required', false); } }); }); $(function () { $('input').keyup(function () { this.value = this.value.toUpperCase(); }); }); </script>