rpicms

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

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

no change xD

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

diff --git a/core/backend/blog/posts.php b/core/backend/blog/posts.php @@ -28,7 +28,7 @@ global $id, $connection, $read, $post_id_clean; global $post_id, $post_title, $post_text, $post_author, $post_date, $post_categrory; if ($resultat = $connection->query('SELECT * FROM posts WHERE id LIKE '.$id)) { - echo 'SELECT * FROM posts WHERE id LIKE '.$id; + //echo 'SELECT * FROM posts WHERE id LIKE '.$id; //Put database data in variables while($daten = $resultat->fetch_object() ){ //var_dump ($daten); diff --git a/themes/jumbotron/index.php b/themes/jumbotron/index.php @@ -88,7 +88,7 @@ $read = "1"; include('../../core/backend/blog/posts.php'); while ($x < $post_id_clean){ - echo "<a href='index.php?id=$x' rel='bookmark'> $post_title </a>"; + echo "<a href='index.php?id=$id' rel='bookmark'> $post_title </a>"; $x = $x+1; $id = $id+1; }