?> </h2> <div class="blog-text"><?php echo preg_replace('#<br.*?>#s', '', $post['body']); ?> </div> <div class="blog-footer" >Розділ: <a href="index.php?action=category&id=<?php echo Controller::link($post['category']); ?> " style="text-decoration: none;"><?php echo $post['category']; ?> </a> <?php if (!null == $post['tags']) { $tags = Controller::tags($post['tags']); ?> Теги: <?php foreach ($tags as $item) { ?> <a href="index.php?action=search&id=<?php echo $item; ?> " style="text-decoration: none;"><?php echo $item; ?> </a>;<?php } ?> <?php } else {