<?php /** * Stránka zobrazující detailní informace o příspěvku vybraného podle ID. * * @author Kosek David */ $settingModel = new SettingModel(); $article = $settingModel->getArticle($vars["id"]); if ($article) { ?> <div class="container"> <div class="jumbotron"> <div class="row"> <h2>Detail příspěvku - <?php echo $article['article_name']; ?> </h2> </div> <table class="table table-striped"> <tr> <td>Název</td> <td><?php echo $article['article_name']; ?> </td> </tr> <tr>