?
Current Path : /home1/savoy/public_html/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/public_html/savoyglobal.net/eldertree/application/views/student/single_parent.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); ?> <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>Student Details</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"> <div class="form-horizontal form-view form-bordered"> <!-- BEGIN FORM--> <?php $attributes = array('id' => 'validateform', 'class' => 'form-horizontal validate'); echo form_open('student/addinstudent/update_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"> <span class="text bold"><?= $viewinfo->father_name ?></span> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Qatar ID NO</label> <div class="controls"> <span class="text bold"><?= $viewinfo->father_qatar_id_no ?></span> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Occupation</label> <div class="controls"> <span class="text bold"><?= $viewinfo->father_occupation ?></span> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Mobile No</label> <div class="controls"> <span class="text bold"><?= $viewinfo->father_mobile_no ?></span> </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"> <span class="text bold"><?= $viewinfo->father_ofc_no ?></span> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Residence No</label> <div class="controls"> <span class="text bold"><?= $viewinfo->father_residence_no ?></span> </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"> <span class="text bold"><?= $viewinfo->father_email ?></span> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Employer Name</label> <div class="controls"> <span class="text bold"><?= $viewinfo->father_employer_name ?></span> </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"> <span class="text bold"><?= $viewinfo->mother_name ?></span> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Qatar ID NO</label> <div class="controls"> <span class="text bold"><?= $viewinfo->mother_qatar_id_no ?></span> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Occupation</label> <div class="controls"> <span class="text bold"><?= $viewinfo->mother_occupation ?></span> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Mobile No</label> <div class="controls"> <span class="text bold"><?= $viewinfo->mother_mobile_no ?></span> </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"> <span class="text bold"><?= $viewinfo->mother_ofc_no ?></span> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Residence No</label> <div class="controls"> <span class="text bold"><?= $viewinfo->mother_residence_no ?></span> </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"> <span class="text bold"><?= $viewinfo->mother_email ?></span> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Employer Name</label> <div class="controls"> <span class="text bold"><?= $viewinfo->mother_employer_name ?></span> </div> </div> </div> </div> <h3 class="form-section">Student Details </h3> <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> </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> <?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(); ?> <!-- END FORM--> </div> </div> </div> </div> </div>