?
Current Path : /home1/savoy/public_html/savoyglobal.net/sec/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/sec/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 blue"> <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> <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">Emergency Contact No</label> <div class="controls"> <span class="text bold"><?= $viewinfo->emergency_contact_no ?></span> </div> </div> </div> </div> <div class="portlet box blue"> <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 No</th> <th>Gender</th> <th>Nationality</th> <th>Batch</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('student', $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 ?></td> <td> <?= $this->mastermodel->get_single_joined_value('batch_no', 'batch', 'student_batch', 'batch_id', 'current_batch_id', 'student_id', $row['student_id']); ?> </td> </tr> <?php } ?> </table> </div> </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(); ?> <!-- END FORM--> </div> </div> </div> </div> </div>