Example #1
0
    echo $post['title'];
    ?>
</a>
                    </h2>
                    <p class="blog-post-meta"><?php 
    echo $obj->blog_time_format($post['date']);
    ?>
  by <a href="author.php?id=<?php 
    echo $post['user_id'];
    ?>
"> <?php 
    echo $obj->user_name_by_user_id($post['user_id']);
    ?>
 </a></p>
                    <p> <?php 
    echo $obj->read_more($post['post']);
    ?>
  </p>
                    <P> <a href= "post.php?id=<?php 
    echo $post['id'];
    ?>
" class="btn btn-success"> Readmore </a> </P>
                </div><!-- /.blog-post -->
                <br>
                <br>
            <?php 
}
?>
        </div><!-- /.blog-main -->
        <!--        Side bar    -->
        <div class="col-sm-3 col-sm-offset-1 blog-sidebar">