2013-02-18 03:48:21 +01:00
|
|
|
<?php if (empty($item)): ?>
|
|
|
|
|
|
|
|
<p class="alert alert-info">Article not found.</p>
|
|
|
|
|
|
|
|
<?php else: ?>
|
|
|
|
|
|
|
|
<article class="item">
|
|
|
|
<h1>
|
2013-02-24 20:04:56 +01:00
|
|
|
<a href="<?= $item['url'] ?>" rel="noreferrer" target="_blank"><?= Helper\escape($item['title']) ?></a>
|
2013-02-18 03:48:21 +01:00
|
|
|
</h1>
|
|
|
|
|
|
|
|
<p class="infos">
|
2013-02-24 20:04:56 +01:00
|
|
|
<?= Helper\get_host_from_url($item['url']) ?> |
|
|
|
|
<?= date('l, j F Y H:i', $item['updated']) ?>
|
2013-02-18 03:48:21 +01:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<?= $item['content'] ?>
|
|
|
|
</article>
|
|
|
|
|
|
|
|
<?php endif ?>
|