Step 1. 加载Smarty 模版引擎。 Step 2. 建立Smarty 对象。 Step 3. 设定Smarty 对象的参数。 Step 4. 在程序中处理变量后,再用Smarty 的assign 方法将变量置入模版里。 Step 5. 利用Smarty 的display 方法将网页秀出。