Location: PHPKode > scripts > Scrubs > scrubs/test.php
<?php

/**
 * 
 *
 * @version $Id$
 * @copyright 2003 
 **/

include_once("Smarty/libs/Smarty.class.php");
include_once("core/Scrubs.php");
include_once("classes/Page.php");

$s = new Scrubs();
$p = new Page();
$smarty = new Smarty();

$p = $s->load($p, "news", false);
$pageStories = $p->getStories();
$smarty->assign("pageStories", $pageStories);

$s->shutdown();

$smarty->display("scrubs.tpl");
?>
Return current item: Scrubs