Subversion Repositories taios

Compare Revisions

Ignore whitespace Rev 114 → Rev 112

/wiki/index.php
File deleted
/forums/index.php
File deleted
/photos/index.php
File deleted
/projects/index.php
11,4 → 11,3
$page->drawFooter();
 
?>
 
/blog/del-post.php
File deleted
/_taios.php
125,8 → 125,6
if ($this->isUserNormal($this->getLoggedInUser()))
{
write('<p class="bold"><a href="add-post.php?id=' . $id . '">Add Comment</a></p>');
if ($this->isUserAdmin($this->getLoggedInUser()))
write(' | <p class="bold"><a href="del-post.php?id=' . $id . '">Delete Post</a></p>');
write('<br />');
}
 
327,15 → 325,6
$this->drawError('Cannot find blog post, #' . $id);
}
function delBlogPost($id)
{
$ids = $this->findIDs('BlogPosts', 'WHERE ParentID=' . $id);
for ($i = 0; $i < count($ids); $i++)
$this->delBlogPost($ids[$i]);
 
$this->query('delete from BlogPosts where ID=' . $id);
}
 
function getGetID()
{
$id = $_GET['id'];