?
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_course.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>Course Details</div> <div class="tools"> <a href="#" onclick="viewdata('master','viewinmastersearch','search_course','view_course','<?= $_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'); echo form_open('', $attributes); ?> <h3 class="form-section">Course Basic Information</h3> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Main Course Name </label> <div class="controls"><span class="text bold"> <?= $this->mastermodel->get_single_field_value('main_course', 'main_course_name', 'main_course_id', $viewinfo->main_course_id); ?> </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"><?= $viewinfo->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"><?= $viewinfo->course_name; ?></span> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Duration of Course</label> <div class="controls"> <span class="text bold"><?= $viewinfo->duration; ?></span> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Registration Fee</label> <div class="controls"> <span class="text bold"><?= $viewinfo->fee; ?></span> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Course Fee</label> <div class="controls"> <span class="text bold"><?= $viewinfo->course_fee; ?></span> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Books Fee</label> <div class="controls"> <span class="text bold"><?= $viewinfo->books_fee; ?></span> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Monthly Fee</label> <div class="controls"> <span class="text bold"><?= $viewinfo->monthly_fee; ?></span> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">No of sessions</label> <div class="controls"> <span class="text bold"><?= $this->mastermodel->get_single_field_value('no_sessions', 'no_sessions', 'no_sessions_id', $viewinfo->no_sessions); ?></span> </div> </div> </div> </div> <div class="row-fluid portlet box blue"> <div class="portlet-title"> <div class="caption"><i class="icon-reorder"></i>Subjects 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>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="row-fluid portlet box blue"> <div class="portlet-title"> <div class="caption"><i class="icon-reorder"></i>Fees structure 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>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> <?php echo form_close(); ?> <!-- END FORM--> </div> </div> </div> </div> </div>