<?php
include ('template.inc'); //包含模板类 template.inc
//创建一个实例
$tpl = new Template("template");
//读入三个模板文件的内容,分别给变量"main", " child_header", " child_footer"
$tpl->set_file("main", "NestingMain.html");
$tpl->set_file("child_header", "NestingHeader.html");
$tpl->set_file("child_footer", "NestingFooter.html");
//将模板child_header, child_footer里的模板变量替换,并把最终结果分别赋给主模板中的header,footer
$var_array = array('title'=>'标题:表格的属性',
'author'=>'kiki',
);
//可以传递数组
$tpl->set_var($var_array);
$tpl->parse("header", "child_header");
$tpl->parse("footer", "child_footer");
//然后完成主模板内变量的替换,并输出主模板分析后的内容
$tpl->parse("myout", "main");
//输出
$tpl->p("myout");
?>
韩剧再婚皇后阿里云盘全集高清1080P资源链接-韩剧再婚皇后免费阿里云盘资源下载4K高清无删减版链接
poipiku网站如何打开-poipiku官网网页版访问入口
明日方舟:终末地-云游戏畅玩入口-明日方舟:终末地-网页版在线直连地址
poki在线小游戏网页版-poki免费游戏大全入口
poki游戏入口-点开即玩-poki游戏-在线免费畅玩
原神akt大佬资源viciNeko入口链接-原神akt大佬资源网页vicineko入口链接分享