Location: PHPKode > projects > Blackwolf CMF > projectBlackWolf/demo/index.php
<?php require("../lib/main.php"); 


$title = "Demos";

$content = '
    Demos of things the framework can do currently.<br/>
    See the source code for comments and details.
    <ol>
        <li>
            <a href="static_html.php">Basic Page</a> - Static HTML Page
        </li>
        <li>
            <a href="mission.php">Dynamic Page</a> - Content from Database
        </li>
        <li>
            <a href="sub_component2.php">IFrame Components</a> - Component Pages
        </li>
         <li>
            <a href="tokens.php">Tokens</a> - View Template Tokens
        </li>
    </ol>
';

$vars = array(
    "title"=>$title,
    "content"=>$content
);
echo(Template_Subsystem::parse_file("html/page/article", $vars));

$vars = array(
    "title"=>"See Also",
    "content"=>Template_Subsystem::parse_file("html/page/extra/projectdetails")
);
echo(Template_Subsystem::parse_file("html/page/extra",$vars));
?>
Return current item: Blackwolf CMF