<?php

require_once('Smarty.class.php');

$smarty = new Smarty();

$smarty->template_dir = 'd:/smartysample/modifier/templates/';
$smarty->compile_dir  = 'd:/smartysample/modifier/templates_c/';
$smarty->config_dir   = 'd:/smartysample/modifier/configs/';
$smarty->cache_dir    = 'd:/smartysample/modifier/cache/';

$smarty->assign('title', '修飾子のテスト');
$msg=<<<EOT
Smarty is a template engine for PHP. More specifically, it facilitates 
a managable way to separate application logic and content from its 
presentation. This is best described in a situation where the application 
programmer and the template designer play different roles, or in most 
cases are not the same person. 
EOT;
$smarty->assign('msg', $msg);

$smarty->display('sample17-1.tpl');

?>