?
Current Path : /home1/savoy/www/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/www/oscarerp.com/application/views/student/single_parent.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <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> 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 class="single_page"> <?=$viewinfo->father_name?> </div> </div> <div class="section _100"> <label>Qatar ID NO</label> <div class="single_page"> <?=$viewinfo->father_qatar_id_no?> </div> </div> <div class="section _100"> <label>Occupation</label> <div class="single_page"> <?=$viewinfo->father_occupation?> </div> </div> <div class="section _100"> <label>Mobile No</label> <div class="single_page"> <?=$viewinfo->father_mobile_no?> </div> </div> <div class="section _100"> <label>Office No</label> <div class="single_page"> <?=$viewinfo->father_ofc_no?> </div> </div> <div class="section _100"> <label>Residence No</label> <div class="single_page"> <?=$viewinfo->father_residence_no?> </div> </div> <div class="section _100"> <label>Email ID</label> <div class="single_page"> <?=$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 class="single_page"> <?=$viewinfo->mother_name?> </div> </div> <div class="section _100"> <label>Qatar ID NO</label> <div class="single_page"> <?=$viewinfo->mother_qatar_id_no?> </div> </div> <div class="section _100"> <label>Occupation</label> <div class="single_page"> <?=$viewinfo->mother_occupation?> </div> </div> <div class="section _100"> <label>Mobile No</label> <div class="single_page"> <?=$viewinfo->mother_mobile_no?> </div> </div> <div class="section _100"> <label>Office No</label> <div class="single_page"> <?=$viewinfo->mother_ofc_no?> </div> </div> <div class="section _100"> <label>Residence No</label> <div class="single_page"> <?=$viewinfo->mother_residence_no?> </div> </div> <div class="section _100"> <label>Email ID</label> <div class="single_page"> <?=$viewinfo->mother_email?> </div> </div> <div class="section _100"> <label>Emergency Contact No</label> <div class="single_page"> <?=$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; $parent=$this->mastermodel->get_data('parent_student',$viewinfo->parent_id,'parent_id'); foreach($parent as $row) { $student=$this->mastermodel->get_data_srow('student',$row['student_id'],'student_id') ?> <tr> <td> <?=$student->first_name." ".$student->last_name.'-'.$student->reg_no ?> </td> <td><?=$student->reg_no?></td> <td><?=$student->gender?></td> <td><?php $nationality=$this->mastermodel->getSingleFieldValue('nationality', 'nationality_name', 'nationality_id', $student->nationality_id); echo $nationality; ?> <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 } ?> </table> </div> </div> </div> <?php echo form_close();?> <?php $data['master_id']=$viewinfo->parent_id; $data['controller']='student'; $data['controller_function']='viewinstudentsearch'; $data['page']='view_parents'; $data['model_function']='search_parents'; $this->load->view('master/uploaded_files',$data); echo form_close(); ?>