1 |
13462
|
thanos.pap
|
<?php
|
2 |
|
|
|
3 |
|
|
defined('_JEXEC') or die('Direct Access to this location is not allowed.');
|
4 |
|
|
|
5 |
|
|
?>
|
6 |
|
|
|
7 |
|
|
<div>
|
8 |
14495
|
thanos.pap
|
<?php if (count($alerts) == 0) { ?>
|
9 |
|
|
<h3>No new alerts</h3>
|
10 |
|
|
<?php } else { ?>
|
11 |
|
|
<?php foreach ($alerts as $alert) { ?>
|
12 |
|
|
<?php if ($displayTitle) { ?>
|
13 |
|
|
<h3><?php echo($alert['title']); ?></h3>
|
14 |
|
|
<?php } ?>
|
15 |
|
|
<h4><?php echo(date($dateFormat, strtotime($alert['time']))); ?></h4>
|
16 |
|
|
<p>
|
17 |
|
|
<a href="<?php echo($alert['link']); ?>"><?php echo($alert['message']); ?></a>
|
18 |
|
|
</p>
|
19 |
14031
|
thanos.pap
|
<?php } ?>
|
20 |
13462
|
thanos.pap
|
<?php } ?>
|
21 |
|
|
</div>
|