日期:2014-05-17 浏览次数:20546 次
<?php /** * Example Application * @package Example-application */ require('../libs/Smarty.class.php'); $smarty = new Smarty; ?> <form action="next.php" method="get"> <label for="page"></label> <input type="text" name="page" id="page" /> <input type="submit" name="submit" id="submit" value="提交" /> </form>
<?php /** * Example Application * @package Example-application */ require('../libs/Smarty.class.php'); $smarty = new Smarty; {$smarty.get.page;} ?>