File "notices.php"
Full Path: /home/ichhrkpd/public_html/application/examples/scripts/res_forms/notices.php
File size: 3.3 KB
MIME-type: text/html
Charset: utf-8
<!-- Start main-content -->
<div class="main-content">
<!-- Section: inner-header -->
<section style="background-color: #dcebf5">
<div class="container pt-10 pb-10">
<!-- Section Content -->
<div class="section-content">
<div class="row">
<div class="col-md-12 text-center">
<h4 class="title">Notices</h4>
</div>
</div>
</div>
</div>
</section>
<!-- Section: About -->
<section id="all_notices">
<div class="container pb-20 pb-sm-20" style="padding-top: 30px !important;">
<div class="section-content">
<div class="row">
<div class="col-sm-12">
<div style="padding: 10px 10px 10px 10px; border: 1px solid #c2bcbc">
<div class=" bx-nav-top" data-minslides="5" >
<?php
foreach ($notice_data as $notice){
if($notice->notice_type=='C'||$notice->notice_type=='B'){
?>
<div class="event media mt-0 bg-theme-notice " >
<div class="event-date media-left text-center flip bg-theme-colored pl-10">
<ul class="mt-10 mt-sm-10 mb-10">
<li class="font-16 text-white font-weight-600">
<?php echo date('d M', strtotime($notice->org_date)); ?>
<li>
<li class="font-16 text-white font-weight-600">
<?php echo date('Y', strtotime($notice->org_date)); ?>
<li>
</ul>
</div>
<div class="media-body">
<div class="event-content pull-left flip pl-20 pl-xs-10">
<h5 class="event-title media-heading font-weight-700 mb-0 pt-5">
<a href="<?php echo base_url()."home/single_notice/id/". $notice->id;?>">
<?php $title = strlen($notice->title) > 250 ? substr($notice->title,0,250)."..." : $notice->title;
echo $title;
?>
</a>
</h5>
<span class="mb-5 font-12 mr-10"><i class="fa fa-clock-o mr-5 text-theme-colored"></i> </span>
<a href="<?php echo base_url()."home/single_notice/id/". $notice->id;?>" style="color:blue" ><b>Read More >></b></a>
</div>
</div>
</div>
<?php
}
}
?>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
<!-- end main-content -->