{php $newUI = true;} {template 'common/header'} {if $op == 'post'}
发布通知
标题
不超过30个字符
通知图片
{php echo tpl_form_field_image('thumb', $notice['thumb']);}
通知会员组
全部会员 {loop $_W['account']['groups'] $group} {$group['title']} {/loop}
通知内容
{php echo tpl_ueditor('content', $notice['content']);}
{else if $op == 'list'}
发布通知

标题 | 通知会员组 | 添加时间 | 操作
--- | --- | --- | ---
{loop $notices $notice}
{if !empty($notice['thumb'])} {/if} {$notice['title']} | {if !$notice['groupid']} 全部会员 {else} {$_W['account']['groups'][$notice['groupid']]['title']} {/if} | {php echo date('Y-m-d H:i', $notice['addtime']);} | 编辑 删除
{/loop}

{$pager}
{/if} {template 'common/footer'}