?
Current Path : /home1/savoy/public_html/savoyglobal.net/koolkids/school/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/savoyglobal.net/koolkids/school/application/views/Student/singleparent.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <span class="section_content_top"></span> <div class="section_content_inner"> <?php $attributes=array('class'=>'search_form','id'=>'validateform'); echo form_open('',$attributes); ?> <!--[if !IE]>start forms<![endif]--> <div class="forms"> <div class="backicon"> <a href="#" onclick="viewdata('student','viewinstudentsearch','searchparent','viewparent','<?=$_SESSION['pagenum'];?>')"> <img src="<?=base_url()?>assets/images/backicon.png" alt="back-icon" title="Back"/> </a> </div> <div class="table_wrapper"> <div class="table_wrapper_inner"> <table cellpadding="0" cellspacing="0" width="100%"> <tr><th colspan="2" >Parent Details</th></tr> <!--[if !IE]>start row<![endif]--> <tr> <td width="35%">Title</td> <td><?=$parent->title;?></td> </tr> <tr> <td width="35%">Name in full</td> <td><?=$parent->name;?></td> </tr> <tr> <td width="35%">Surname</td> <td><?=$parent->surname;?></td> </tr> <tr> <td width="35%">Relationship Type</td> <td><?=$parent->relationship_type?></td> </tr> <tr> <td width="35%">Email</td> <td><?=$parent->email;?></td> </tr> <tr> <td width="35%">Home Contact No</td> <td><?=$parent->contact_no;?></td> </tr> <tr> <td width="35%">Work Contact No</td> <td><?=$parent->work_contact_no;?></td> </tr> <tr> <td width="35%">Mobile No</td> <td><?=$parent->mobile_no;?></td> </tr> <tr> <td width="35%">Profession</td> <td><?=$parent->profession;?></td> </tr> </table> </div> </div> <br/><br/> <div class="table_wrapper"> <div class="table_wrapper_inner"> <table cellpadding="0" cellspacing="0" width="100%"> <tr><th colspan="2" >Student Details</th></tr> <tbody id="studinfodet"> <tr> <th><span>Student Name</span></th> <th><span>Class</span></th> </tr> <?php foreach ($parent_student as $row) { $student=$this->mastermodel->get_data_srow('student',$row['student_id'],'student_id'); $class=$this->mastermodel->get_data_srow('classlevel',$student->classlevel_id,'classlevel_id'); ?> <tr><td><?=$student->first_name." ".$student->last_name;?></td> <td><?=$class->classlevel_code;?> </td></tr> <?php } ?> </tbody> </table> </div> </div> <br/><br/> <div class="table_wrapper"> <div class="table_wrapper_inner"> <table cellpadding="0" cellspacing="0" width="100%"> <tr><th colspan="2" >Parent Address</th></tr> <tr> <td width="35%">Physical Address</td> <td><?=$parent->physical_address;?></td> </tr> <tr> <td width="35%">Postal Address</td> <td><?=$parent->postal_address;?></td> </tr> </table> </div> </div> </div> <br/><br/> <!--[if !IE]>end fieldset<![endif]--> <?php form_close(); ?> </div> <span class="section_content_bottom"></span>