Example #1
0
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)));
}
Example #2
0
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)));
}