commit baf02cb604b82a456fe227ccbf86a9af516620df
parent 45e4cfed3080602a63ec4c5bd2a7d41ed440026b
Author: MTRNord <mtrnord1@gmail.com>
Date: Sun, 23 Nov 2014 10:59:10 +0100
try to fix wrong database (posts) printing
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/themes/jumbotron/index.php b/themes/jumbotron/index.php
@@ -77,7 +77,11 @@
<div class="container">
<h1>
<?php
+ $x = 0;
+ while ($x < $post_id){
echo "<a href='index.php?id=$post_id' rel='bookmark'> $post_title </a>";
+ $x = $x + 1;
+ }
?>
</h1>
<div>