?
Current Path : /home1/savoy/public_html/savoyglobal.net/eduplus2/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/eduplus2/application/views/student/single_roll_over.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> Rollover Details</div> <div class="tools"> <a href="#" onclick="viewdata('student','viewinstudentsearch','search_roll_over','view_roll_over','<?= $_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_roll_over/view_roll_over/1', $attributes); ?> <h3 class="form-section"> </h3> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Class Name </label> <div class="controls"> <?= $this->mastermodel->get_single_field_value('class_name', 'class_name_code', 'class_name_id', $viewinfo->current_class_id) ?> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Rollover Date</label> <div class="controls"> <?= $this->mastermodel->convertdatenormalformat($viewinfo->allocation_date) ?> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">To Class </label> <div class="controls"> <?= $this->mastermodel->get_single_field_value('class_name', 'class_name_code', 'class_name_id', $viewinfo->rollover_class_id) ?> </div> </div> </div> </div> <h3 class="form-section"> Student Details</h3> <table class="table table-striped table-hover table-bordered" id="stud_sub" style="background-color: white;"> <thead id="stud_sub_head"> <tr> <td style="text-align: center;width: 120px;height: 30px;">Sl No</td> <td style="text-align: center;">Student Name</td> <td style="text-align: center;width: 120px;">Student Reg No</td> <td style="text-align: center;width: 200px;">Gender</td> <td style="text-align: center;width: 200px;">Nationality</td> <td style="text-align: center;width: 200px;">Age</td> <?php $student = $this->mastermodel->get_data_joined('rollover_students', 'student', 'student_id', 'student_id', $viewinfo->rollover_id , 'rollover_id '); ?> </tr> </thead> <tbody id="stud_sub_body"> <?php $j = 1; if (sizeof($student) > 0) { foreach ($student as $row) { ?> <tr> <input type="hidden" name="student_id_<?= $j ?>" value="<?= $row['student_id'] ?>"/> <td style="text-align: center;height: 30px;"><?= $j ?></td> <td><?= $row['first_name'] . " " . $row['last_name'] ?></td> <td style="text-align: center"><?= $row['reg_no'] ?></td> <td style="text-align: center"><?= $row['gender'] ?></td> <td style="text-align: center"><?= $this->mastermodel->get_single_field_value('nationality','nationality_name','nationality_id',$row['nationality_id']) ?></td> <td style="text-align: center"> <?php /* 'yyyy-mm-dd format' */ $age_details = $this->mastermodel->getAgeDetails($row['dob']); echo $age_details['in_words']; ?></td> </tr> <?php $j++; } ?> </tbody> </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>