留言本2.0
演示权限控制扩展的留言本实例
首页
管理
<{if "" != $smarty.session.userinfo.uname}>
留言
退出
<{else}>
登录
<{/if}>