<? $this->layout('app', ['title' => 'Уведомления'])
?>
<? $this->start('container') ?>
<section
class="pt-120 pb-90">
<div
class="container">
<div class="row
justify-content-center">
<div
class="col-xl-6 col-lg-8">
<div class="section-title text-center"
data-animate="fadeInUp">
<h1>Уведомления</h1>
</div>
</div>
</div>
<div class="row">
<div class="col">
<!--
features table wrap inner -->
<?if(count($items) == 0){?>
<div
class="list-group">
<div
class="list-group-item">
Пусто
</div>
</div>
<?php }else{?>
<div
class="features-table-wrap"
data-animate="fadeInUp">
<div
class="table-responsive-lg">
<table class="features-table pt-sans text-center mb-0
table">
<tbody>
<tr>
<th>Дата </th>
<th>Сообщение</th>
</tr>
<?php foreach ($items as
$row): ?>
<tr>
<td><p><?=date_ru($row['time']);?></p></td>
<td><?=$row['text'];?></td>
</tr>
<?php endforeach;
?>
</tbody>
<!-- End Table body -->
</table>
</div>
</div>
<?php } ?>
</div>
</div>
</div>
</section>
<div class="text-center">
<?php echo $peger->display; ?>
</div>
<?
$this->stop() ?>