?
Current Path : /home1/savoy/public_html/savoyglobal.net/busybees/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/busybees/application/views/examination/single_subject.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('examination','viewinexaminationsearch','search_subject','view_subject','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4> Subject Details</h4> </div> </div> <?php $attributes=array('id'=>'validateform','class'=>'validate'); echo form_open('examination/addinexamination/update_subject/view_subject/1',$attributes); ?> <div class="grid_6"> <div class="box"> <div class="header"> <span></span> </div> <div class="content no-padding"> <div class="section _100"> <label>Class Room Name </label> <div class="single_page"> <?= $viewinfo->class_room_name; ?> </div> </div> </div> </div> </div> <div class="grid_6" > <div class="box"> <div class="content no-padding"> <div class="header main">Subject Details</div> <?php $subjects= $this->mastermodel->get_data('subject', $viewinfo->class_room_id, 'class_room_id'); if(!empty($subjects)) { ?> <table class="table" id="student_tb"> <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> </div> </div> </div> <div class="grid_12" > <div class="box"> <div class="actions"> <div class="actions-left"> <input type="reset" /> <input type="hidden" name="tab_name" value="subject"/> <input type="hidden" name="class_room_id" value="<?= $viewinfo->class_room_id;?>"/> </div> <div class="actions-right"> <button type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </div> </div> </div> </div> <?php echo form_close();?>