smarty、thinkphp中的html加载其他的html文件的方式

1、smarty

在模板文件中,使用定界符

{include file="header.html"}  不可以省略.html

2、thinkphp的html文件中

<include file="header">   或者是<include file="header.html">   

posted @ 2013-10-09 20:45  进击的totoro  阅读(409)  评论(3编辑  收藏  举报