rpicms

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

commit cfb9b78da1a560d0b4911e7045dcfda486110dd2
parent 1c7dbe640ba291bb42f7516da6cc701412965022
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sat, 28 Feb 2015 22:18:34 +0100

now

Diffstat:
Mthemes/jumbotron/admin.php | 13+++++++------
1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/themes/jumbotron/admin.php b/themes/jumbotron/admin.php @@ -226,13 +226,14 @@ foreach($langs as $prio => $lang) { include($root . '/core/backend/blog/posts.php'); while ($x <= $post_id_clean+1){ include($root . '/core/config/connect.db.inc.php'); - echo (string)"<tr>"; - echo (string)"<td>$id</td>"; - echo (string)"<td>Jackson</td>"; - echo (string)"<td>94</td>"; - echo (string)"</tr>"; + if(!empty($post_id)){ + echo (string)"<tr>"; + echo (string)"<td>$post_id</td>"; + echo (string)"<td>Jackson</td>"; + echo (string)"<td>94</td>"; + echo (string)"</tr>"; + } $x = $x+1; - $id = $id+1; next_id_only(); } ?>