<?php require_once '../includes/initialize.php'; ?> <?php //find all photos $photos = Main_pictures::find_all(); ?> <h2>Photographs</h2> <?php echo output_message($message); ?> <table class="bordered"> <tr> <th>Image</th> <th>Filename</th> <th>head</th> <th>comid</th> <th>Type</th> <th> </th> </tr> <?php foreach ($photos as $photo) { ?> <tr> <td><img src="../public/<?php echo $photo->image_path();