{ * 设置标题名称 * } { $title } {* 使用get变量获取url中的变量值(ex: http://localhost/TM/sl/21/3/index.php?type=computer) *} 变量type的值是:{ $smarty.get.type }
当前路径为:{ $smarty.server.PHP_SELF}
当前时间为:{$smarty.now}