rpicms

A CMS for the Raspberry Pi
git clone git://archive.git.mtrnord.blog/RpicmsTeam/rpicms.git
Log | Files | Refs | README | LICENSE

commit d86dbe57ab7ace777a64c4a0a5164dd65b5ddf54
parent a2196b3fe1bb440bbbbd9e19cfeaa32c7fa0cd6d
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sun, 23 Nov 2014 16:37:35 +0100

why is the loop ignored :O

Diffstat:
Mcore/backend/blog/posts.php | 1-
Mthemes/jumbotron/index.php | 2+-
2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/core/backend/blog/posts.php b/core/backend/blog/posts.php @@ -38,7 +38,6 @@ $post_author = $daten->author; $post_date = $daten->date; $post_categrory = $daten->category; - echo $post_title; } $resultat->close(); } else { diff --git a/themes/jumbotron/index.php b/themes/jumbotron/index.php @@ -85,9 +85,9 @@ $x = 1; if ($empty){ $id = 1; - $read = "1"; include('../../core/backend/blog/posts.php'); while ($x < $post_id_clean){ + $read = "1"; echo "<a href='index.php?id=$id' rel='bookmark'> $post_title </a>"; $x = $x+1; $id = $id+1;