很喜欢smarttemplate,适合于小网站的快速开发,但是如何正确做头部、底部、和左部的因定页呢。 
假设有header.html,footer.html,lefter.html如何调用呢。我试过好多方法,好象是index.html页面里无须用{header}就放到了固定的位置,但lefter.html想放到一个指定的位置是不可能的,有好办法吗? 
我试过的,比如:
require_once "class/class.smarttemplate.php";
$page   =   new   SmartTemplate("index.html"); 
$page->set_templatefile("header.html");   
$page->assign( 'TITLE', ‘大家好’);
$page->set_templatefile("footer.html");   
$page->output(); 
这样的话,无须在模板里指定,就自动放到最上边和最下边了,而且如果有左侧的话,就没有任何办法。
同样
require_once "class/class.smarttemplate.php";
include("header.html");
$page   =   new   SmartTemplate("index.html"); $page->assign( 'TITLE', ‘大家好’);$page->output(); 
include("footer.html");
也是同样的问题,我试过
<!-- INCLUDE header.html -->
<table width="1000" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="200"><img src="Images/logo.jpg" width="200" height="75" /></td>
    <td width="600">&nbsp;</td>
    <td width="200"><!-- INCLUDE right.html --></td>
  </tr>
</table>
<!-- BEGIN links -->
<table width="1000" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="800" height="25" bgcolor="#F5F5F5"><a href="view.php?id={URL}"> {TT} </a></td>
    <td width="200" rowspan="2" bgcolor="#F5F5F5"></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
<!-- END links --> 
<!-- INCLUDE footer.html -->
这样是可以的,但我难免有时的头部文件是动态的,即PHP的,有什么好办法吗?谢了