<?php include 'includes/header.php'; $db = new Database(); $pi = new Picture(); $ca = new Category(); $ob = new Obituary(); $us = new User(); $st = new Story(); $stories = $db->select($st->getStoriesAndCategories()); $users = $db->select($us->getAllUsers()); $categories = $db->select($ca->getAllCategories()); $obituaries = $db->select($ob->getAllObituaries()); $images = $db->select($pi->getAllPictures('DESC')); ?> <div class="col-md-12"> <h3>Stories</h3> <table class="table table-striped"> <tr> <th>Story ID#</th> <th>Title</th> <th>Category</th> <th>Submitter</th> <th>Date</th> </tr> <?php while ($row = $stories->fetch_assoc()) { ?> <tr> <td><?php