归档之于 ‘ 2015 年2月

SMARTY 输出数字格式化(整数、小数、时间格式等)

{capture name=banner}{*注释掉中间显示内容*}
{include file=”banner.tpl”}
{/capture}
{include file=”banner.tpl” title=”Smarty学习”}
{$smarty.get.page}

{$smarty.post.page}

{$smarty.cookies.name}

{$smarty.server.SERVER_NAME}

{$smarty.env.PATH}

{$smarty.session.id}

{$smarty.request.username}

{$smarty.now|date_format:’%Y-%m-%d[……]

Read more

return top