{layout name="common/layout" /}
{foreach name="fieldsList" id="item"} {php}if(in_array($item['name'], ['id', 'user_id', 'createtime', 'updatetime', 'memo', 'status']) || !isset($__DIYDATA__[$item['name']])) continue;{/php}

{$item.title|htmlentities}：

{if in_array($item['type'],['file', 'files', 'image', 'images'])} {php}$files = array_filter(explode(',', $__DIYDATA__[$item['name']]));{/php} {if in_array($item['type'],['image', 'images'])}
{foreach name="files" id="file"}
{/foreach}
{else/}

{foreach name="files" id="file"} 点击下载 {/foreach}

{/if} {elseif in_array($item['type'],['selectpage', 'selectpages'])}

{:htmlentities($__DIYDATA__[$item['name'].'_value']??'')}

{elseif in_array($item['type'],['radio', 'checkbox', 'select', 'selects'])}

{:htmlentities($__DIYDATA__[$item['name'].'_text']??'')}

{else/}

{:htmlentities($__DIYDATA__[$item['name']])}

{/if}
{/foreach}

添加时间：

{$__DIYDATA__.createtime|datetime}

状态：

{$__DIYDATA__.status_text}

{if $user && $user.id==$__DIYDATA__.user_id && $__DIYDATA__.status=='rejected'}

拒绝原因：

{$__DIYDATA__.memo}

{/if}

{if $user && $user.id==$__DIYDATA__.user_id && $__DIYFORM__.isedit} 修改 {/if} 返回