commit 06048ccdb173cef3266b342042d60723a35d9944 parent da0e19a3325eba1a1dfba59efecd1f9d19e98160 Author: MTRNord <mtrnord1@gmail.com> Date: Sat, 13 Dec 2014 12:40:15 +0100 fix unexpected else in jumbotron Diffstat:
| M | themes/jumbotron/index.php | | | 51 | ++++++++++++++++++++++++++------------------------- |
1 file changed, 26 insertions(+), 25 deletions(-)
diff --git a/themes/jumbotron/index.php b/themes/jumbotron/index.php @@ -168,33 +168,34 @@ } }else{ if ($category){ - #$id = 1; - include('../../core/backend/blog/posts.php'); - while ($x < $post_id_clean+1){ - include('../../core/config/connect.db.inc.php'); - echo " - <h1> - <a href='index.php?id=$id' rel='bookmark'> $post_title </a> - </h1> - <div> - <h4> - <span class='theauthor'><a href='#' rel='author'>$post_author</a></span> | - <time>$post_date</time> | - <span class='thecategory'><a href='#' rel='category tag'>$post_categrory</a></span></br> - </h4> - </div> - <div> + #$id = 1; + include('../../core/backend/blog/posts.php'); + while ($x < $post_id_clean+1){ + include('../../core/config/connect.db.inc.php'); + echo " + <h1> + <a href='index.php?id=$id' rel='bookmark'> $post_title </a> + </h1> + <div> + <h4> + <span class='theauthor'><a href='#' rel='author'>$post_author</a></span> | + <time>$post_date</time> | + <span class='thecategory'><a href='#' rel='category tag'>$post_categrory</a></span></br> + </h4> + </div> + <div> + <p> + $post_text_short</br> + </p> + </div> <p> - $post_text_short</br> + <a class='btn btn-primary btn-lg' href='index.php?id=$id' role='button'>$name_more »</a> </p> - </div> - <p> - <a class='btn btn-primary btn-lg' href='index.php?id=$id' role='button'>$name_more »</a> - </p> - "; - $x = $x+1; - #$id = $id+1; - next_id_only(); + "; + $x = $x+1; + #$id = $id+1; + next_id_only(); + } }else{ include('../../core/backend/blog/posts.php'); echo "