- 论坛徽章:
- 0
|
请HonestQiao大哥给解答一下
- // 加载模版引擎
- $header = new SmartTemplate("header.htm");
- $list = new SmartTemplate("list.htm");
- $footer = new SmartTemplate("footer.htm");
- ...............................
- $header ->; output();
- $list ->; assign('list', "公告列表");
- $list ->; assign('listart', $listart);
- $list ->; assign('tatol', $tatol);
- $list ->; assign('page', $multipage);
- $list ->; output();
- $footer ->; output();
- 为什么$list模版无法替换关键字信息,
复制代码
- $list = new SmartTemplate("list.htm");
- $list ->; assign('list', "公告列表");
- $list ->; assign('listart', $listart);
- $list ->; assign('tatol', $tatol);
- $list ->; assign('page', $multipage);
- $list ->; output();
复制代码
这样可以,为什么,有解决方法吗, |
|