摘要:
1,先写一个简单的模版赋值index.php 页面<?php$root=str_replace("\\","/",dirname(__FILE__));define("ROOT",$root."/");define("DOMAIN","http://localhost/testSmarty");require(ROOT."smarty/Smarty.class.php");//引入smarty类$smarty=new Smarty();$smarty 阅读全文
posted @ 2013-04-06 22:53
KoMiles
阅读(1907)
评论(0)
推荐(0)

浙公网安备 33010602011771号