thinkphp模版包含有关问题
thinkphp模版包含问题IndexAction.class.php控制器代码:PHP code?php class IndexAction extends Action{
thinkphp模版包含问题
IndexAction.class.php控制器代码:
PHP code<?php class IndexAction extends Action{ function index(){ $this->display(); }}?>
模版目录如下:
tpl目录
default目录
index目录
index.html //index目录下面的index.html模版
public目录
header.html
footer.html
我在index/index.html下面使用了分帧结构:
HTML code<frameset rows="50%,*"> <frame src="__ROOT__/admin.php/Public/header"/> <frame src="__ROOT__/admin.php/Public/footer"/> </frameset>
无论怎样都不能显示不了header.html和footer.html的内容啊,求解
[解决办法]对应 header 和 footer 的控制器代码呢?