chiro-canto/public/articles/view.php

7 lines
424 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>
<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>