include "headers.php"; include "nav.php"; ?> <div class='post_list jumbo_custom container-fluid'> <div class="jumbotron pacifico white vSpacePx"> <h1>Browse through a wonderful gallery of posts.</h1> <h2> "A reader lives a thousand lives."- George R.R. Martin </h2> </div> </div> <div class='container pacifico'> <hr class='featurette-divider'> <h1>List of blog posts</h1> <ol> <?php $posts = new Blog_Post(); $titles = $posts->readBlogTitles(); while ($row = $titles->fetch_assoc()) { echo "<li>" . $row['title'] . "</li>"; } ?> </ol> </div> <div class="container vSpace"> <a class='btn btn-info btn-block white anchor' href="new_blog.php">Write a new blog?</a> </div> <?php include "footers.php";