rpicms

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

commit b9820b62ec8b4f00e091a4f3c5f8bfa8d4ec3bd3
parent 609bf2afd7a22906266b79d9e8b2b8267d8fc76c
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sun, 23 Nov 2014 17:34:26 +0100

I hope it work :D

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

diff --git a/core/backend/blog/posts.php b/core/backend/blog/posts.php @@ -31,7 +31,7 @@ //echo 'SELECT * FROM posts WHERE id LIKE '.$id; //Put database data in variables while($daten = $resultat->fetch_object() ){ - var_dump ($daten); + //var_dump ($daten); $post_id = $daten->id; $post_title = $daten->title; $post_text = $daten->text; diff --git a/themes/jumbotron/index.php b/themes/jumbotron/index.php @@ -87,7 +87,19 @@ include('../../core/backend/blog/posts.php'); while ($x < $post_id_clean+1){ include('../../core/config/connect.db.inc.php'); - echo "<a href='index.php?id=$id' rel='bookmark'> $post_title </a>"; + echo "<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</br> + </p>"; $x = $x+1; $id = $id+1; next_id(); @@ -96,22 +108,22 @@ echo "<a href='index.php?id=$id' rel='bookmark'> $post_title </a>"; } ?> - </h1> + <!--</h1> <div> <h4> <?php - echo "<span class='theauthor'><a href='#' rel='author'>$post_author</a></span> | "; - echo "<time>$post_date</time> | "; - echo "<span class='thecategory'><a href='#' rel='category tag'>$post_categrory</a></span></br>"; + // echo "<span class='theauthor'><a href='#' rel='author'>$post_author</a></span> | "; + // echo "<time>$post_date</time> | "; + // echo "<span class='thecategory'><a href='#' rel='category tag'>$post_categrory</a></span></br>"; ?> </h4> </div> <div> <p> <?php - echo "$post_text</br>"; + //echo "$post_text</br>"; ?> - </p> + </p>--> </div> <p><a class="btn btn-primary btn-lg" href="http://rpicms.readthedocs.org/de/develop/features/themes.html" role="button">Learn more &raquo;</a></p> </div>