McGansWebsite/application/views/index.php

96 lines
4.3 KiB
PHP
Raw Normal View History

2023-01-10 09:41:20 +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 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)
{
?>
<div class="col-md-3">
<a href="<?=base_url();?>subject-list/<?=$deparment->id?>">
<div class="box-item" style="margin-bottom:15px;">
<img src="https://ui-avatars.com/api/?name=<?=$deparment->code?>?background=random&color=random" class="respimg" alt="">
<div class="overlay"></div>
</div>
<h1 style="font-size:20px;padding-top:5px"><?=$deparment->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 -->
<!--search-form-holder -->
<div class="search-form-holder fixed-search">
<div class="search-form-bg"></div>
<div class="search-form-wrap">
<div class="container">
<form class="searchform" method="get" >
<input type="text" autocomplete="off" name="s" placeholder="Type and Enter to Search">
</form>
<div class="close-fixed-search"></div>
</div>
<div class="dublicated-text"></div>
</div>
</div>
<!--search-form-holder end-->
<!-- Share container -->
<div class="share-wrapper isShare">
<div class="share-container"></div>
</div>
<!-- Share container end-->
<!-- footer -->
<footer class="main-footer">
<div class="fixed-title"><span>Welcome to McGANS</span></div>
<div class="footer-social">
<ul>
<li><a href="#" target="_blank" ><i class="fa fa-facebook"></i></a></li>
<li><a href="#" target="_blank"><i class="fa fa-twitter"></i></a></li>
<li><a href="#" target="_blank" ><i class="fa fa-instagram"></i></a></li>
<li><a href="#" target="_blank" ><i class="fa fa-pinterest"></i></a></li>
<li><a href="#" target="_blank" ><i class="fa fa-tumblr"></i></a></li>
</ul>
</div>
</footer>
<!-- footer end-->
</div>
<!-- Main end -->
<!--=============== scripts ===============-->
<script type="text/javascript" src="<?=base_url();?>js/jquery.min.js"></script>
<script type="text/javascript" src="<?=base_url();?>js/plugins.js"></script>
<script type="text/javascript" src="<?=base_url();?>js/scripts.js"></script>
</body>
</html>