Current File : /home/karenpetzb/application/modules/default/views/scripts/blog/forum.phtml |
<?php echo $this->render("/blog/_blogHeader.phtml"); ?>
<div class="col-md-12">
<div class="row">
<div class="col-lg-8 noPadding">
<h1 class="blog-title"> <?php echo $this->currentCategory['title']; ?></h1>
<p><?php echo $this->currentCategory['message']; ?></p>
<hr>
<?php
$posts = $this->listNewPosts;
if (!empty($posts)) {
foreach ($posts as $post) {
$this->currentPost = $post;
echo $this->render("/blog/_blogShortDetail.phtml");
} } ?>
</div>
<div class="col-md-4">
<?php echo $this->render("/blog/_blogSubjects.phtml");
$sidePosts = $this->listPostsSide;
if (!empty($sidePosts)) {
foreach ($sidePosts as $post) {
$this->currentPost = $post;
echo $this->render("/blog/_blogSide.phtml");
}} ?>
</div>
</div>
</div>
<?php if($this->currentCategory['id'] > 0 && $this->currentCategory['is_close'] == 0) {
echo $this->render("/blog/_blogAddPost.phtml");
} ?>