doing stuff with smarty

This commit is contained in:
Dan Buch
2011-01-01 13:58:44 -05:00
parent 3031feb3d6
commit 3852f95f1f
4 changed files with 40 additions and 0 deletions

View File

@@ -2,4 +2,10 @@
require_once("libs/Smarty.class.php");
$smarty = new Smarty();
$smarty->assign("title", "smarty!");
$smarty->assign("bgcolor", "#aef");
$smarty->template_dir = "templates";
$smarty->display("test.tpl");
?>