Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if (!is_null($comments)) : ?>
- <p>There are currently no comments in this book. Be the first!</p>
- <?php else : ?>
- <?php foreach ($comments as $key => $comment) : ?>
- <?php if ($comment) : ?>
- <table class="table table-striped table-bordered">
- <tr><td><i class="icon-user"></i> <?php echo $comment['username']; ?> <i class="faint"><?php echo $comment['comment_date']; ?></i></td></tr>
- <tr><td><?php echo $comment['comment_text']; ?></td></tr>
- </table>
- <?php endif ?>
- <?php endforeach ?>
- <?php echo $pagination; ?>
- <?php endif ?>
Add Comment
Please, Sign In to add comment