2023-01-24 10:05:16 +00:00
|
|
|
<?php $this->load->view('include/header.php')?>
|
|
|
|
<!-- sidebar-menu end-->
|
|
|
|
<!--=============== wrapper ===============-->
|
|
|
|
<div id="wrapper">
|
|
|
|
<!-- content-holder -->
|
|
|
|
<div class="content-holder">
|
|
|
|
<!-- content -->
|
|
|
|
<div class="content full-height">
|
|
|
|
<div class="error-wrap">
|
|
|
|
<div class="container">
|
|
|
|
|
|
|
|
<br>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-3">
|
|
|
|
<div class="content-wrap about-wrap">
|
|
|
|
<h5 id="semesterEvent" class="bold-title">Department</h5>
|
|
|
|
<span class="bold-separator"></span>
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php
|
|
|
|
if(isset($dep) && $dep->num_rows()>0)
|
|
|
|
{
|
|
|
|
foreach($dep->result() as $deparment)
|
|
|
|
$id=$deparment->id;
|
|
|
|
$code=$deparment->code;
|
|
|
|
$name=$deparment->name;
|
|
|
|
$image=$deparment->image;
|
|
|
|
{
|
|
|
|
?>
|
|
|
|
<div class="col-md-3">
|
|
|
|
<a href="<?=base_url();?>subject-list/<?=$id?>">
|
|
|
|
<div class="box-item" style="margin-bottom:15px;">
|
|
|
|
<?php if($image!=""){
|
|
|
|
?>
|
|
|
|
<img src="<?=base_url();?>admin/uploads/department/<?=$image;?>" class="respimg" alt="">
|
|
|
|
<?php
|
|
|
|
}else{?>
|
|
|
|
<img src="https://ui-avatars.com/api/?name=<?=$code?>?background=random&color=random" class="respimg" alt="">
|
|
|
|
<?php }?>
|
|
|
|
<div class="overlay"></div>
|
|
|
|
</div>
|
|
|
|
<h1 style="font-size:20px;padding-top:5px"><?=$name?></h1>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
<?php
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="partcile-dec" data-parcount="200"></div>
|
|
|
|
</div>
|
|
|
|
<!--=============== content-footer ===============-->
|
|
|
|
|
|
|
|
<!-- content-footer end -->
|
|
|
|
</div>
|
|
|
|
<!-- content-holder end -->
|
|
|
|
</div>
|
|
|
|
<!-- wrapper end -->
|
|
|
|
<?php include 'include/footer.php';?>
|