?
Current Path : /home1/savoy/public_html/savoyglobal.net/eldertree/application/views/examination/ |
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/eldertree/application/views/examination/single_subject.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="row-fluid"> <div class="tab-pane " id="tab_2"> <div class="portlet box yellow"> <div class="portlet-title"> <div class="caption"><i class="icon-reorder"></i>Subject Details</div> <div class="tools"> <a href="#" onclick="viewdata('examination','viewinexaminationsearch','search_subject','view_subject','<?= $_SESSION['pagenum']; ?>')" class="remove"></a> </div> </div> <div class="portlet-body form"> <div class="form-horizontal form-view form-bordered"> <?php $attributes = array('id' => 'validateform', 'class' => 'form-horizontal validate'); echo form_open('examination/addinexamination/update_subject/view_subject/1', $attributes); ?> <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"> <?= $viewinfo->class_room_name; ?></span> </div> </div> </div> </div> <div class="row-fluid"> <div class="span12"> <div class=""> <div class="portlet-body"> <?php $subjects = $this->mastermodel->get_data('subject', $viewinfo->class_room_id, 'class_room_id'); if (!empty($subjects)) { ?> <table class="table table-striped table-hover table-bordered" id="sample_3"> <tr> <th>Subject Code</th> <th>Subject Name</th> </tr> <?php foreach ($subjects as $value) { ?> <tr> <td> <?= $value['subject_code'] ?> </td> <td> <?= $value['subject_name'] ?> </td> </tr> <?php } ?> </table> <?php } ?> </div> </div> </div> </div> <!-- <div class="actions"> <input type="reset" /> <input type="hidden" name="tab_name" value="subject"/> <input type="hidden" name="class_room_id" value="<?= $viewinfo->class_room_id; ?>"/> <button type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </div>--> </div> <?php echo form_close(); ?> </div> </div> </div> </div>