?
Current Path : /home1/savoy/public_html/savoyglobal.net/busybees/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/busybees/application/views/master/single_class_name.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="icons_main"> <div class="icons"> <img src="<?= base_url() ?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('master','viewinmastersearch','search_class_name','view_class_name','<?= $_SESSION['pagenum']; ?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Class Details</h4> </div> </div> <?php $attributes = array('id' => 'validateform', 'class' => '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); ?> <div class="grid_6"> <div class="box"> <div class="header main">Class Classification Details</div> <div class="content no-padding"> <div class="section _100"> <label> Classroom Name</label> <div class="single_page"> <label> <?= $this->mastermodel->get_single_field_value('class_room', 'class_room_name', 'class_room_id', $viewinfo->class_room_id) ?> </label> </div> </div> <div class="section _100"> <label>Academic Year</label> <div class="single_page"> <?= $this->mastermodel->get_single_field_value('academic_year','display_name','academic_year_id',$viewinfo->class_name_academic_year_id); ?> </div> </div> <div class="section _100"> <label>Class Code </label> <div class="single_page"> <?= $viewinfo->class_name_code ?> </div> </div> <div class="section _100"> <label>Class Session </label> <div class="single_page"> <?= $this->mastermodel->get_single_field_value('session', 'session_name', 'session_id', $viewinfo->class_session) ?> </div> </div> <div class="section _100"> <label>Days Of the week</label> <div class="single_page"> <?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 .",   "; } } ?> </div> </div> <div class="section _100"> <label>Start Time</label> <div class="single_page"> <?php echo $start_time[0].":".$start_time[1]; ?> </div> </div> <div class="section _100"> <label>End Time</label> <div class="single_page"> <?php echo $end_time[0].":".$end_time[1]; ?> </div> </div> </div> </div> </div> <div class="grid_6" > <div class="box"> <div class="header main">Teacher Details</div> <div class="content no-padding"> <?php $class_teacher = $this->mastermodel->get_data('class_teacher', $viewinfo->class_name_id, 'class_name_id'); ?> <table class="table" id="student_tb"> <tr> <th>Teacher</th> <th>Date</th> </tr> <?php foreach ($class_teacher as $value) { ?> <tr> <td> <?= $this->mastermodel->get_single_field_value('employee', 'employee_name', 'employee_id', $value['teacher_id']) ?> </td> <td> <?= $this->mastermodel->convertdatenormalformat($value['wef_date']) ?> </td> </tr> <?php } ?> </table> </div> </div> </div> <?php echo form_close(); ?>