{extends file='../layouts/index.html'} {block name=body}
{include file='../blocks/btn.html'}
{form_open('','method="get" class="form-inline col-lg-12 m-b-none" data-pjax')} {form_dropdown('type', [''=>'- '|cat:_('类型')|cat:' -','1'=>_('个人'),'2'=>_('企业')], element('type',$search,''), 'class="input-small form-control m-b-mini"')} {form_dropdown('status', [''=>'- '|cat:_('状态')|cat:' -','0'=>_('需审核'),'1'=>_('已通过'),'2'=>_('已拒绝')], element('status',$search,''), 'class="input-small form-control m-b-mini"')} {if has_addons('realcompany')} {form_dropdown('pay_status', [''=>'- '|cat:_('认证打款')|cat:' -','0'=>_('未打款'),'1'=>_('已打款')], element('pay_status',$search,''), 'class="input-small form-control m-b-mini"')} {/if} {form_close()}
{form_open('user_home_account'|action_url,'id="formList" class="m-b-none" target="iframeNew"')}
{foreach from=$list item=m} {/foreach}
ID {_('用户名')} {_('认证信息')} {_('认证途径')} {_('状态')} {_('添加时间')}
{$m.id} {'username'|element:$m}
{if $m.type==1}{_('个人认证')} {else}{_('企业认证')} {/if}
{if $m.type eq 2} {_('法人')}:{$m.realname}
{if (!'api_auto'|element:$m) && has_addons('realcompany')} {_('已打款')}:{if $m.pay_status ==1}是{else}否{/if}
{if $m.pay_status == 1} {_('打款时间')}:{'%Y-%m-%d %H:%i'|mdate:('pay_time'|element:$m)}
{/if} {/if} {else} {_('真实姓名')}:{$m.realname}
{/if} {if 'api_auto'|element:$m} {if $m.type eq 2} {_('企业名称')}:{$m.company_name}
{_('统一社会信用代码')}:{$m.company_code}
{else} {_('身份证号码')}:{$m.idcard}
{_('手机号')}:{$m.mobile}
{/if} {/if}
{'name'|element:$m.api_type_info} {if $m.status eq 0} {_('需审核')} {elseif $m.status eq 1} {_('已通过')} {else} {_('已拒绝')} {/if} {'%Y-%m-%d %H:%i:%s'|mdate:$m.time_add}
{form_close()}
{/block}