关于smarttemplate 用SMARTY可以的啊,SMARTTEMPLATE没用过 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 {* 绝对路径 *}{include file="/usr/local/include/templates/header.tpl"}{* 绝对路径 (相同的文件) *}{include file="file:/usr/local/include/templates/header.tpl"}{* Windows绝对路径(必须使用"file:"前缀) *}{include file="file:C:/www/pub/templates/header.tpl"}{* 从指定的资源"db"中得到模板("db"一般是从数据库中得到模板) *}{include file="db:header.tpl"}当然你也可以嵌入PHP文件{include_php file="/path/to/load_nav.php"} 不是的!Smartytemplate是另外一个模板类。据它自己的站点上说评测结果比Smarty快挺多。不过没有公布测试的具体过程。不过Smartytemplate好像有点像是Smarty的简化版。功能不如Smarty强大! 好像不行啊~大傢看看啦~這裏http://www.smartphp.net/content/app/download.php這裏有下~但不知道怎樣實現我的想法 大概看了一下,好像smarttemplate没有模板嵌套的功能吧?Smarty 有http://smarty.php.net 如果用Smartytemplate那么模板嵌套就要自己动手了。 昨天看的一篇文章(http://Www.phparch.com)里面说Smarty相对于Smarttemplate来说是青出于蓝而胜于蓝哦 小妹求救-如何给文章添加评论--php mysql_db_query 一个简单的有关正则表达式匹配的问题 mysql的select count如何才能更快点? 求助,PHP访问MySQL时出现httpd内存错误 Eclipse使用的一个问题 反向截取字符串的问题求教 用php调用my sql 数据库时? 如何实现安汉字得拼音字母进行排序? 问题很明显,就是不知道怎么解决? 关于类的操作!高手请进! 熟悉苹果机的请进 文件上传与下载的问题?
{include file="/usr/local/include/templates/header.tpl"}{* 绝对路径 (相同的文件) *}
{include file="file:/usr/local/include/templates/header.tpl"}{* Windows绝对路径(必须使用"file:"前缀) *}
{include file="file:C:/www/pub/templates/header.tpl"}{* 从指定的资源"db"中得到模板("db"一般是从数据库中得到模板) *}
{include file="db:header.tpl"}当然你也可以嵌入PHP文件
{include_php file="/path/to/load_nav.php"}
http://www.smartphp.net/content/app/download.php
這裏有下~
但不知道怎樣實現我的想法
Smarty 有
http://smarty.php.net
里面说Smarty相对于Smarttemplate来说是青出于蓝而胜于蓝哦