function rebuildThread($id) { $htmlposts = ""; $posts = postsInThreadByID($id); foreach ($posts as $post) { $htmlposts .= buildPost($post, TINYIB_RESPAGE); } $htmlposts .= "<br clear=\"left\">\n<hr>\n"; writePage('res/' . $id . '.html', fixLinksInRes(buildPage($htmlposts, $id))); }
function rebuildThread($id) { global $mysql_posts_table; $htmlposts = ""; $posts = postsInThreadByID($id); foreach ($posts as $post) { $htmlposts .= buildPost($post, True); } $htmlposts .= "<br clear=\"left\">\n" . "<hr>"; writePage("res/" . $id . ".html", fixLinksInRes(buildPage($htmlposts, $id))); }