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

<?php 

$template_file = "html/page/article";

$title = "Project Blackwolf PHP Framework Test page";

$content = '
    Demos of things the framework can do currently.<br/>
    See the source code for comments and details.
    <ol>
        <li>
            <a href="demo/static_html.php">Static Markup</a> - Basic Output of HTML
        </li>
        <li>
            <a href="demo/mission.php">Missions</a> - Pulling information from a database into Data objects
        </li>
        <li>
            <a href="demo/fault_control.php">Intentional Mistakes</a> - Shows how the framework handles unexpected interruptions
        </li>
        <li>
            <a href="demo/sub_component.php">Async SubComponent</a> - Loading non-page components for asynchronous input
        </li>
        <li>
            <a href="demo/sub_component2.php">Async SubComponent 2</a> - Real-world example of previous
        </li>
    </ol>
';

$vars = array("title"=>$title,"content"=>$content);
echo(Template_Subsystem::parse_file($template_file, $vars));

$title = "See Also";
$content = Template_Subsystem::parse_file("html/page/extra/projectdetails");

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