?
Current Path : /home1/savoy/public_html/savoyglobal.net/eduplus2/application/views/master/ |
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/master/single_class_name.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <link rel="stylesheet" type="text/css" href="<?= base_url() ?>/assets/plugins/chosen-bootstrap/chosen/chosen.css" /> <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>Class Classification Details</div> <div class="tools"> <a href="#" onclick="viewdata('master','viewinmastersearch','search_class_name','view_class_name','<?= $_SESSION['pagenum']; ?>')" class="remove"></a> </div> </div> <div class="portlet-body form"> <!-- BEGIN FORM--> <div class="form-horizontal form-view form-bordered"> <?php $attributes = array('id' => 'validateform', 'class' => 'form-horizontal validate'); echo form_open('master/addinmaster/update_class_name/view_class_name/1', $attributes); $start_time = explode(":", $viewinfo->class_start_time); $end_time = explode(":", $viewinfo->class_end_time); ?> <h3 class="form-section">Class Classification Details</h3> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Class Code</label> <div class="controls"> <span class="text bold"> <?= $viewinfo->class_name_code ?></span> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Section </label> <div class="controls"> <span class="text bold"><?= $viewinfo->class_section ?></span> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Class Room Name </label> <div class="controls"> <span class="text bold"><?= $this->mastermodel->get_single_field_value('class_room', 'class_room_name', 'class_room_id', $viewinfo->class_room_id) ?></span> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Session </label> <div class="controls"> <span class="text bold"><?= $this->mastermodel->get_single_field_value('session', 'session_name', 'session_id', $viewinfo->class_session) ?></span> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Term </label> <div class="controls"> <span class="text bold"><?= $this->mastermodel->get_single_field_value('term', 'term_name', 'term_id', $viewinfo->class_term_id) ?></span> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Academic Year </label> <div class="controls"> <span class="text bold"><?= $this->mastermodel->get_single_field_value('academic_year', 'display_name', 'academic_year_id', $viewinfo->class_name_academic_year_id) ?></span> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Class Start Time</label> <div class="controls"> <span class="text bold"><?php echo $start_time[0] . ":" . $start_time[1]; ?> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Class End Time</label> <div class="controls"> <span class="text bold"><?php echo $end_time[0] . ":" . $end_time[1]; ?> </div> </div> </div> </div> <div class="row-fluid"> <div class="span12 "> <div class="control-group"> <label class="control-label">Days Of the week</label> <div class="controls"> <span class="text bold"> <?php $week = array(); $wk_array = array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"); if ($viewinfo->class_days != "") { $week = explode(',', $viewinfo->class_days); } foreach ($wk_array as $key => $value) { if ((in_array($key, $week))) { echo $value . ",   "; } } ?> </span> </div> </div> </div> </div> <h3 class="form-section">Teacher Details</h3> <?php $class_teacher = $this->mastermodel->get_data_joined('class_teacher', 'employee', 'teacher_id', 'employee_id', $viewinfo->class_name_id, 'class_name_id'); ?> <table class="table table-striped table-hover table-bordered" id="student_tb" style="background-color: white;"> <tr> <th>Teacher</th> <th>Date</th> </tr> <?php foreach ($class_teacher as $value) { ?> <tr> <td> <?= $value['employee_name'] ?> </td> <td> <?= $this->mastermodel->convertdatenormalformat($value['wef_date']) ?> </td> </tr> <?php } ?> </table> <?php echo form_close(); ?> <!-- END FORM--> </div> </div> </div> </div> </div>