示例#1
0
文件: html.php 项目: egire/TinyIB
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)));
}
示例#2
0
文件: html.php 项目: saggim/TinyIB
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)));
}