?
Current Path : /home1/savoy/public_html/oscarerp.com/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/public_html/oscarerp.com/application/views/student/edit_parent.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <script src="<?= base_url() ?>assets/js/jquery.autocomplete.js"></script> <div class="icons_main"> <div class="icons"> <img src="<?=base_url()?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('student','viewinstudentsearch','search_parents','view_parents','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Update Parent Details</h4> </div> </div> <?php $student_id=$this->mastermodel->getdatas('student','student_id','asc','student_id'); $attributes=array('id'=>'validateform','class'=>'validate'); echo form_open('student/addinstudent/update_parent/view_parents/1',$attributes); ?> <div class="clear"></div> <div class="grid_6" > <div class="box"> <div class="header main">Parents Details</div> <div class="content no-padding"> <div class="section _100"> <label>Father Name</label> <div> <input type="text" name="father_name" id="father_name" class="required" value="<?=$viewinfo->father_name?>" /> </div> </div> <div class="section _100"> <label>Qatar ID NO</label> <div> <input type="text" name="father_qatar_id_no" id="father_qatar_id_no" value="<?=$viewinfo->father_qatar_id_no?>" /> </div> </div> <div class="section _100"> <label>Occupation</label> <div> <input type="text" name="father_occupation" id="father_occupation" value="<?=$viewinfo->father_occupation?>" /> </div> </div> <div class="section _100"> <label>Mobile No</label> <div> <input type="text" name="father_mobile_no" id="father_mobile_no" class="" value="<?=$viewinfo->father_mobile_no?>" /> </div> </div> <div class="section _100"> <label>Office No</label> <div> <input type="text" name="father_ofc_no" id="father_ofc_no" class="" value="<?=$viewinfo->father_ofc_no?>" /> </div> </div> <div class="section _100"> <label>Residence No</label> <div> <input type="text" name="father_residence_no" id="father_residence_no" value="<?=$viewinfo->father_residence_no?>" /> </div> </div> <div class="section _100"> <label>Email ID</label> <div> <input type="text" name="father_email" id="father_email" value="<?=$viewinfo->father_email?>" /> </div> </div> </div> </div> </div> <div class="grid_6" > <div class="box"> <div class="header main">Parents Details</div> <div class="content no-padding"> <div class="section _100"> <label>Mother's name</label> <div> <input type="text" name="mother_name" id="mother_name" class="required" value="<?=$viewinfo->mother_name?>" /> </div> </div> <div class="section _100"> <label>Qatar ID NO</label> <div> <input type="text" name="mother_qatar_id_no" id="mother_qatar_id_no" value="<?=$viewinfo->mother_qatar_id_no?>" /> </div> </div> <div class="section _100"> <label>Occupation</label> <div> <input type="text" name="mother_occupation" id="mother_occupation" value="<?=$viewinfo->mother_occupation?>" /> </div> </div> <div class="section _100"> <label>Mobile No</label> <div> <input type="text" name="mother_mobile_no" id="mother_mobile_no" value="<?=$viewinfo->mother_mobile_no?>" /> </div> </div> <div class="section _100"> <label>Office No</label> <div> <input type="text" name="mother_ofc_no" id="mother_ofc_no" value="<?=$viewinfo->mother_ofc_no?>" /> </div> </div> <div class="section _100"> <label>Residence No</label> <div> <input type="text" name="mother_residence_no" id="mother_residence_no" value="<?=$viewinfo->mother_residence_no?>" /> </div> </div> <div class="section _100"> <label>Email ID</label> <div> <input type="text" name="mother_email" id="mother_email" value="<?=$viewinfo->mother_email?>" /> </div> </div> <div class="section _100"> <label>Emergency Contact No</label> <div> <input type="text" name="emergency_contact_no" id="emergency_contact_no" value="<?=$viewinfo->emergency_contact_no?>" /> </div> </div> </div> </div> </div> <div class="grid_12" > <div class="box"> <div class="content no-padding"> <div class="header main">Student Details</div> <table class="table" > <tr> <th>Student Name</th> <th>Student No.</th> <th>Gender</th> <th>Nationality</th> <th>Class Code</th> </tr> <?php $i=1; $student_list=$this->mastermodel->get_data('parent_student',$viewinfo->parent_id,'parent_id'); foreach($student_list as $row) { ?> <tr> <td> <?php $student=$this->mastermodel->get_data_srow_joined('student', 'nationality', 'nationality_id', 'nationality_id',$row['student_id'], 'student_id'); ?> <?=$student->first_name." ".$student->last_name.'-'.$student->reg_no ?> <!-- <input type="hidden" name="student_id<?=$i?>" id="student_id<?=$i?>" value="<?=$row['student_id']?>" /> --> </td> <td><?=$student->reg_no?></td> <td><?=$student->gender?></td> <td><?=$student->nationality_name?></td> <td> <?=$this->mastermodel->get_single_joined_value('class_name_code','class_name','student_class','class_name_id','class_name_id','student_id',$row['student_id']);?> </td> </tr> <?php } ?> <tr> </table> </div> </div> </div> <div class="grid_12" > <div class="box"> <div class="actions"> <div class="actions-left"> <input type="reset"> <input type="hidden" name="parent_id" id="parent_id" class="" value="<?=$viewinfo->parent_id?>"/> </div> <div class="actions-right"> <button type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </div> </div> </div> </div> <?php echo form_close();?>