chiro-canto/public/articles/view.php

7 lines
444 B
PHP
Raw Normal View History

2021-04-05 15:37:12 +02:00
<h2>Article</h2>
<h3><?php echo htmlspecialchars($results['articles'][0]->title)?></h3>
<div><?php echo $Parsedown->text(htmlspecialchars($results['articles'][0]->summary))?></div>
<div><?php echo $Parsedown->text(htmlspecialchars($results['articles'][0]->content))?></div>
2021-04-20 17:05:13 +02:00
<p class="pub-date"><?=_('Published on ')?><?php echo date('j F Y', $results['articles'][0]->publication_date)?></p>
<p><a href="./"><?=_('Return to Homepage')?></a></p>