124,10 → 124,10 |
write('<br />'); |
if ($this->isUserNormal($this->getLoggedInUser())) |
{ |
echo '<p class="bold"><a href="add-post.php?id=' . $id . '">Add Comment</a></p>'; |
echo '<p class="bold"><a href="add-post.php?id=' . $id . '">Add Comment</a>'; |
if ($this->isUserAdmin($this->getLoggedInUser())) |
echo ' | <p class="bold"><a href="del-post.php?id=' . $id . '">Delete Post</a></p>'; |
write('<br />'); |
echo ' $middot <a href="del-post.php?id=' . $id . '">Delete Post</a>'; |
write('</p><br />'); |
} |
|
$ids = $this->findIDs('BlogPosts', 'WHERE ParentID=' . $id); |