?
Current Path : /home1/savoy/public_html/savoyglobal.net/sec/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/sec/application/views/master/single_batch.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>Batch Details</div> <div class="tools"> <a href="#" onclick="viewdata('master','viewinmastersearch','search_batch','view_batch','<?= $_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'); $teacher = $this->mastermodel->get_data('employee', '1', 'employee_teacher'); $course = $this->mastermodel->get_data_srow('course', $viewinfo->course_id, 'course_id'); echo form_open('master/addinmaster/update_batch/view_batch/1', $attributes); $start_time = explode(":", $viewinfo->start_time); $end_time = explode(":", $viewinfo->end_time); ?> <h3 class="form-section">Batch Information</h3> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Batch Code </label> <div class="controls"><span class="text bold"> <?= $viewinfo->batch_no ?> </span> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Course Code</label> <div class="controls"> <span class="text bold"><?= $course->course_code ?></span> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Course Name</label> <div class="controls"> <span class="text bold"><?= $course->course_name ?></span> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Start date</label> <div class="controls"> <span class="text bold"><?= $this->mastermodel->convertdatenormalformat($viewinfo->start_date) ?> </span> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Start Time</label> <div class="controls"> <span class="text bold"><?php echo $start_time[0] . ":" . $start_time[1]; ?></span> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">End Time</label> <div class="controls"> <span class="text bold"><?php echo $end_time[0] . ":" . $end_time[1]; ?></span> </div> </div> </div> </div> <div class="row-fluid portlet box blue"> <div class="portlet-title"> <div class="caption"><i class="icon-reorder"></i>Teacher Information</div> </div> <div class="portlet-body form"> <table class="table table-striped table-hover table-bordered" id="sample_3" style="background-color: white;"> <tr> <th>Teacher Name</th> <th>WEF Date</th> </tr> <?php $batch_teacher = $this->mastermodel->get_data('batch_teacher', $viewinfo->batch_id, 'batch_id'); foreach ($batch_teacher as $row) { ?> <tr> <td> <select disabled name="teacher_id" id="teacher_id" class="chzn-done" > <option value=''>Select</option> <?php foreach ($teacher as $list) { ?> <option value="<?= $list['employee_id'] ?>"<?php if ($list['employee_id'] == $row['teacher_id']) { echo "selected"; } ?>><?= $list['employee_name'] ?></option> <?php } ?> </select> </td> <td> <?= $this->mastermodel->convertdatenormalformat($row['teacher_date']); ?> </td> </tr> <?php } ?> </table> </div> </div> <?php echo form_close(); ?> <!-- END FORM--> </div> </div> </div> </div> </div>