Beispiel #1
0
        $page->apply_string("title", "Boyds Nest");
        $page->apply_string("meta", "");
        $page->apply_string("style", Html::CssInclude(BN_URL_CSS . "/terms.css"));
        $page->apply_string("javascript", "");

        return $page;
    }

    public function default_request()
    {
        $master = $this->ready_master();
        $master->apply_param(
                "main_content",
                $this->load_local_php_view("content"));

        $master->commit_applies();
        return $master->get_page();
    }
}

try
{
    $this_page = new terms();
    echo $this_page->init_request('default');
}
catch(Exception $e)
{
    FCore::ShowError(500, $e->getMessage());
}

?>