【TP5.0】页面布局,引入公共的模版文件
1、实例:如后台admin模块,公用一个header.html和footer.hml
2、模块结构:

3、使用方式:
{include file="common/header"}
<!-- <body>在header里,不用在写 -->
<div>
let's do something !~
</div>
<!-- </body>在footer里,不用在写 -->
{include file="common/footer"}
1、实例:如后台admin模块,公用一个header.html和footer.hml
2、模块结构:

3、使用方式:
{include file="common/header"}
<!-- <body>在header里,不用在写 -->
<div>
let's do something !~
</div>
<!-- </body>在footer里,不用在写 -->
{include file="common/footer"}