117 lines
3.8 KiB
PHP
117 lines
3.8 KiB
PHP
|
<!-- data tables -->
|
||
|
<link href="<?=base_url();?>/assets/datatables/plugins/bootstrap/dataTables.bootstrap4.min.css" rel="stylesheet" type="text/css" />
|
||
|
<?php $this->load->view('includes/header');?>
|
||
|
<?php
|
||
|
$CI=& get_instance();
|
||
|
|
||
|
$CI->load->model('Semester_model');?>
|
||
|
<!-- start page container -->
|
||
|
<div class="page-container">
|
||
|
<!-- start sidebar menu -->
|
||
|
<?php $this->load->view('includes/sidebar');?>
|
||
|
<!-- start page content -->
|
||
|
<div class="page-content-wrapper">
|
||
|
<div class="page-content">
|
||
|
<div class="page-bar col-md-9" style="margin:0px auto;padding:0">
|
||
|
<div class="page-title-breadcrumb">
|
||
|
<div class=" pull-left">
|
||
|
<div class="page-title">Semester View</div>
|
||
|
</div>
|
||
|
<ol class="breadcrumb page-breadcrumb pull-right">
|
||
|
<li><i class="fa fa-home"></i> <a class="parent-item" href="<?=base_url();?>/dashboard">Home</a> <i class="fa fa-angle-right"></i>
|
||
|
</li>
|
||
|
<li> <a class="parent-item" href="<?=base_url();?>/semester">Semester</a> <i class="fa fa-angle-right"></i>
|
||
|
</li>
|
||
|
<li class="active">View Semester</li>
|
||
|
</ol>
|
||
|
</div>
|
||
|
</div>
|
||
|
<?php $this->load->view('includes/msg');?>
|
||
|
<div class="row">
|
||
|
<div class="col-md-9" style="margin:0px auto;">
|
||
|
<?php
|
||
|
if(isset($viewSemester)&& $viewSemester->num_rows()>0)
|
||
|
{
|
||
|
$view=$viewSemester->row();
|
||
|
|
||
|
$id=$view->id;
|
||
|
$name=$view->name;
|
||
|
$year=$view->year;
|
||
|
$subjectId=$view->subjectId;
|
||
|
$depId=$view->depId;
|
||
|
$depName=$view->depName;
|
||
|
$degId=$view->degId;
|
||
|
$degName=$view->degName;
|
||
|
$subId = explode(",", $subjectId);
|
||
|
//print_r ($facIdd);
|
||
|
|
||
|
}
|
||
|
|
||
|
?>
|
||
|
<!-- BEGIN PROFILE SIDEBAR -->
|
||
|
<div class="card card-topline-aqua">
|
||
|
<div class="card-body no-padding height-9">
|
||
|
<div class="row">
|
||
|
<div class="profile-userpic">
|
||
|
<div class="profile-usertitle-name"><?=$name;?></div> </div>
|
||
|
</div>
|
||
|
<div class="profile-usertitle">
|
||
|
<div class="profile-usertitle-name"><?=$year;?></div>
|
||
|
</div>
|
||
|
<hr>
|
||
|
<div class="row">
|
||
|
<div class="col-md-6 col-xs-6 b-r"> <strong>Department</strong>
|
||
|
<br>
|
||
|
<p class="text-muted"><?=$depName;?></p>
|
||
|
</div>
|
||
|
<div class="col-md-6 col-xs-6 b-r"> <strong>Degree</strong>
|
||
|
<br>
|
||
|
<p class="text-muted"><?=$degName;?></p>
|
||
|
</div>
|
||
|
|
||
|
<div class="col-md-12 col-xs-6 b-r"> <strong>Subject</strong>
|
||
|
<br>
|
||
|
<?php
|
||
|
|
||
|
|
||
|
foreach($subId as $subIdd)
|
||
|
{
|
||
|
$getSub=$CI->Semester_model->get_subject($subIdd);
|
||
|
|
||
|
if($getSub->num_rows()>0)
|
||
|
{
|
||
|
$list=$getSub->row();
|
||
|
$subName=$list->name;
|
||
|
}
|
||
|
?>
|
||
|
<div style="margin-top: 30px;" ><span class="label label-success"><?=$subName;?></span></div>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
?>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<!-- END SIDEBAR USER TITLE -->
|
||
|
<!-- SIDEBAR BUTTONS -->
|
||
|
|
||
|
<!-- END SIDEBAR BUTTONS -->
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<!-- END PROFILE CONTENT -->
|
||
|
<!-- END BEGIN PROFILE SIDEBAR -->
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<?php $this->load->view('includes/footer');?>
|
||
|
<!-- data tables -->
|
||
|
<script src="<?=base_url();?>/assets/datatables/jquery.dataTables.min.js"></script>
|
||
|
<script src="<?=base_url();?>/assets/datatables/plugins/bootstrap/dataTables.bootstrap4.min.js"></script>
|
||
|
<script src="<?=base_url();?>/assets/table_data.js"></script>
|
||
|
|