?
Current Path : /home1/savoy/www/savoyglobal.net/eldertree/application/views/student/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/www/savoyglobal.net/eldertree/application/views/student/add_parents.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); $this->load->view('qatar_id_validation'); ?> <script src="<?= base_url() ?>assets/scripts/jquery.autocomplete.js"></script> <script type="text/javascript"> $(document).ready(function() { $(".addRow_parent").btnAddRow({inputBoxAutoNumber: true}, function(row) { suggest_student('.parent_student'); }); suggest_student('.parent_student'); }); </script> <div class="row-fluid"> <div class="tab-pane " id="tab_2"> <div class="portlet box yellow"> <div class="portlet-title"> <div class="caption"><i class="icon-reorder"></i>Add New Parents</div> <div class="tools"> <a href="#" onclick="viewdata('student','viewinstudentsearch','search_parents','view_parents','<?= $_SESSION['pagenum']; ?>')" class="remove"></a> </div> </div> <div class="portlet-body form"> <!-- BEGIN FORM--> <?php $attributes = array('id' => 'validateform', 'class' => 'form-horizontal validate'); echo form_open('student/addinstudent/insert_parent/view_parents/1', $attributes); ?> <h3 class="form-section">Father's Details </h3> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Father Name</label> <div class="controls"> <input type="text" name="father_name" id="father_name" class="required span12" /> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Qatar ID NO</label> <div class="controls"> <input type="text" name="father_qatar_id_no" id="father_qatar_id_no" class="span12" onchange="check_length_qatar_id(this)"/> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Occupation</label> <div class="controls"> <input type="text" name="father_occupation" id="father_occupation" class="span12"/> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Mobile No</label> <div class="controls"> <input type="text" name="father_mobile_no" id="father_mobile_no" class="span12 number" onchange="contact_validation(this)" /> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Office No</label> <div class="controls"> <input type="text" name="father_ofc_no" id="father_ofc_no" class="span12 number" onchange="contact_validation(this)" /> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Residence No</label> <div class="controls"> <input type="text" name="father_residence_no" id="father_residence_no" class="span12 number" onchange="contact_validation(this)"/> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Email ID</label> <div class="controls"> <input type="text" name="father_email" id="father_email" class="span12" /> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Employer Name</label> <div class="controls"> <input type="text" name="father_employer_name" id="father_employer_name" class="span12" /> </div> </div> </div> </div> <h3 class="form-section">Mother's Details </h3> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Mother's name</label> <div class="controls"> <input type="text" name="mother_name" id="mother_name" class="required span12" /> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Qatar ID NO</label> <div class="controls"> <input type="text" name="mother_qatar_id_no" id="mother_qatar_id_no" class="span12" onchange="check_length_qatar_id(this)"/> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Occupation</label> <div class="controls"> <input type="text" name="mother_occupation" id="mother_occupation" class="span12"/> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Mobile No</label> <div class="controls"> <input type="text" name="mother_mobile_no" id="mother_mobile_no" class="span12 number" onchange="contact_validation(this)"/> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Office No</label> <div class="controls"> <input type="text" name="mother_ofc_no" id="mother_ofc_no" class="span12 number" onchange="contact_validation(this)" /> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Residence No</label> <div class="controls"> <input type="text" name="mother_residence_no" id="mother_residence_no" class="span12 number" onchange="contact_validation(this)" /> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Email ID</label> <div class="controls"> <input type="text" name="mother_email" id="mother_email" class="span12"/> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Employer Name</label> <div class="controls"> <input type="text" name="mother_employer_name" id="mother_employer_name" class="span12" /> </div> </div> </div> </div> <div class="portlet box yellow"> <div class="portlet-title"> <div class="caption"><i class="icon-check"></i> Student Details</div> </div> <div class="portlet-body"> <div class="row-fluid"> <div class="control-group"> <table class="table table-striped table-hover table-bordered" id="sample_3" style="background-color: white;"> <tr> <th>Student Name</th> <th>Student Reg No</th> <th>Gender</th> <th>Nationality</th> <th>Class Code</th> <th><input type="button" id="button2" value="Add More" class="addRow_parent" title="Add Row" style="width:75px;"/></th> </tr> <tr> <td> <input type="text" name="student1" id="student1" data-id='student_id1' value='' class="required parent_student span12" /> <input type="hidden" name="student_id1" id="student_id1" /> </td> <td> <input type="text" name="reg_no1" id="reg_no1" readonly class="span12" /> </td> <td> <input type="text" name="gender1" id="gender1" readonly class="span12" /> </td> <td> <input type="text" name="nationality1" id="nationality1" readonly class="span12" /> </td> <td> <input type="text" name="class_code1" id="class_code1" readonly class="span12" /> </td> <td> <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/img/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/> </td> </tr> </table> </div> </div> </div> </div> <div class="form-actions"> <input type="hidden" name="tab_name" value="parents"/> <input type="hidden" name="resfunction" value="search_parents"/> <button type="submit" class="btn blue" onclick="checkdatavalidity($('input#student_id1').val(), 'student1', 'No existing Student selected'); addformdata('validateform')"> Save</button> <button type="button" onclick="viewdata('student','viewinstudentsearch','search_parents','view_parents','<?= $_SESSION['pagenum']; ?>')" class="btn">Cancel</button> </div> <?php echo form_close(); ?> <!-- END FORM--> </div> </div> </div> </div>