<?php
require_once('Smarty.class.php');
$smarty = new Smarty();
$smarty->template_dir = 'd:/smartysample/foreach/templates/';
$smarty->compile_dir = 'd:/smartysample/foreach/templates_c/';
$smarty->config_dir = 'd:/smartysample/foreach/configs/';
$smarty->cache_dir = 'd:/smartysample/foreach/cache/';
$smarty->assign('title', '繰り返し処理のテスト');
$smarty->display('sample8-1.tpl');
?>