?
Current Path : /home1/savoy/public_html/savoyglobal.net/futuredraft/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/futuredraft/application/views/master/single_course.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_course','view_course','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons single_icon"> <img src="<?=base_url()?>assets/images/edit-icon.gif" title="Edit" width="25" height="25" alt="Edit" align = "center" class="clickimage" onclick="editformdata('master','edit_course','<?=$viewinfo->course_id;?>','course','course_id','edit_course')" alt="" /> </div> <div class="icons_caption"> <h4>Course Details</h4> </div> </div> <?php $attributes=array('id'=>'validateform','class'=>'validate'); echo form_open('',$attributes); ?> <div class="grid_6"> <div class="box"> <div class="header main"> Course Details</div> <div class="content no-padding"> <div class="section _100"> <label>Main Course Name</label> <div class="single_page"> <?=$this->mastermodel->get_single_field_value('main_course','main_course_name','main_course_id',$viewinfo->main_course_id); ?> </div> </div> <div class="section _100"> <label>Course Code</label> <div class="single_page"> <?= $viewinfo->course_code;?> </div> </div> <div class="section _100"> <label> Course name</label> <div class="single_page"> <?= $viewinfo->course_name;?> </div> </div> <div class="section _100"> <label> Duration of Course</label> <div class="single_page"> <?= $viewinfo->duration;?> </div> </div> <div class="section _100"> <label>Registration Fee </label> <div class="single_page"> <?= $viewinfo->fee;?> </div> </div> <div class="section _100"> <label>Course Fee</label> <div class="single_page"> <?= $viewinfo->course_fee; ?> </div> </div> <div class="section _100"> <label>Books Fee</label> <div class="single_page"> <?= $viewinfo->books_fee; ?> </div> </div> <div class="section _100"> <label>Monthly Fee</label> <div class="single_page"> <?= $viewinfo->monthly_fee; ?> </div> </div> <div class="section _100"> <label>No of sessions</label> <div class="single_page"> <?=$this->mastermodel->get_single_field_value('no_sessions','no_sessions','no_sessions_id',$viewinfo->no_sessions); ?> </div> </div> </div> </div> </div> <div class="grid_6"> <div class="box"> <div class="header main">Subjects</div> <table class="table"> <tr> <th>Subject Code</th> <th>Subject Name</th> </tr> <?php $i=1; $sub=$this->mastermodel->get_data('course_subject',$viewinfo->course_id,'course_id'); foreach($sub as $list) { ?> <tr> <td><?=$this->mastermodel->get_single_field_value('subject','subject_code','subject_id',$list['subject_id']); ?></td> <td><?=$this->mastermodel->get_single_field_value('subject','subject_name','subject_id',$list['subject_id']); ?></td> </tr> <?php } ?> </table> </div> </div> <div class="grid_6"> <div class="box"> <div class="content no-padding"> <div class="header main"> Fees structure</div> <table class="table"> <tr> <th>No of sessions</th> <th>Monthly Fee</th> </tr> <?php $i=1; $fee=$this->mastermodel->get_data('course_fee_structure',$viewinfo->course_id,'course_id'); foreach ($fee as $row) { ?> <tr> <td> <?= $this->mastermodel->get_single_field_value('no_sessions','no_sessions','no_sessions_id',$row['no_sessions_id']);?> </td> <td> <?=$row['monthly_fee']?> </td> </tr> <?php $i++; } ?> </table> </div> </div> </div> <?php echo form_close();?>