<%@ Page Title="" Language="C#" MasterPageFile="../BaseMaster.Master" CodeBehind="UserValidList.aspx.cs" Inherits="WAP2P.Web.PC.Admin.Member.UserValidList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="header" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="server">
    <dl class="ui-tabs">
        <dt><a href="javascript:" class="on">会员认证列表</a></dt>        
        <dd>
            <form action="?action=search" method="get" class="m-search">
                <table class="m-criteria" cellpadding="0" cellspacing="0" width="100%">
                    <tr>
                        <th>认证筛选:</th>
                        <td>
                            <ruson:Select runat="server" ID="status" FillRequestValue="true">
                                <option value="">待审核筛选</option>
                                <option value="实名认证待审核">实名认证待审核</option>
                                <option value="手机认证待审核">手机认证待审核</option>
                                <option value="邮箱认证待审核">邮箱认证待审核</option>
                                <option value="现场认证待审核">现场认证待审核</option>
                            </ruson:Select>
                            <ruson:Select runat="server" ID="type" FillRequestValue="true">
                                <option value="会员账号">会员账号</option>
                            </ruson:Select>
                            <input type="text" size="35" name="key" value="<% =Request.QueryString["key"].HtmlEncode() %>" />
                            <span class="ml20 js-inlinesubmit"><input type="submit" class="btn-base c-priority iconfont" value="&#xe60f; 搜索" /><input type="reset" class="btn-base c-normal iconfont" value="&#xe670; 清空条件" /></span>
                        </td>
                    </tr>                    
                </table>                
            </form>
            <div class="m-content">
                <div class="m-oper">
                    <span class="iconfont"><i class="fs22 fcgery-3">&#xe627;</i>等待提交<i class="fs22 fcyellow-1">&#xe61c;</i>等待认证<i class="fs22 fcred-2">&#xe680;</i>认证失败<i class="fs22 fcjade-1">&#xe614;</i>认证成功</span>
                    <ruson:PermissionSpace runat="server" Module="会员管理" Function="会员认证管理" Operate="审核">
                        <span class="js-autoload">
	                        <span class="ui-checkbox"><label><input type="checkbox" class="js-refresh" data-function="会员认证管理" data-operate="自动刷新" data-freemes="<% =FreeLimit.ActionLimitMes %>" /> 自动刷新</label></span>
                            <span class="ui-checkbox g-hide mr10"><label><input type="checkbox" data-autoload-char="xe60e; 审核" data-autoload-alert="有认证待审核项" /> 有待审核项时弹通知</label></span>                        
                        </span>
                    </ruson:PermissionSpace>
                </div>
                <table class="m-list" cellpadding="0" cellspacing="0" width="100%">
                    <tr>
                        <th width="20%" class="g-fleft">会员账号</th>
                        <th width="15%">实名认证</th>
                        <th width="15%">手机认证</th>
                        <th width="15%">邮箱认证</th>
                        <th width="15%">现场认证</th>
                        <th width="20%">操作</th>
                    </tr>
                </table>
            </div>
        </dd>
    </dl>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="script" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="list" runat="server">
    <ruson:Repater runat="server" ID="rptList" ItemType="WAP2P.Member.User">
        <ItemTemplate>
            <tr id="tr<%# Item.Id %>">
                <td class="g-fbold g-fleft"><%# GetUserDisplay(Item.Id, Item.Name) %></td>
                <td class="iconfont"><%# GetIcon(Item.RealNameValid) %></td>
                <td class="iconfont"><%# GetIcon(Item.PhoneValid) %></td>
                <td class="iconfont"><%# GetIcon(Item.EmailValid) %></td>
                <td class="iconfont"><%# GetIcon(Item.OnsiteValid) %></td>
                <td>
                    <ruson:PermissionSpace runat="server" Module="会员管理" Function="会员认证管理" Operate="查看资料"><%# Item.RealNameValid == WAP2P.Member.User.BaseInfoValidStatus.ValidSuccess || Item.PhoneValid == WAP2P.Member.User.BaseInfoValidStatus.ValidSuccess || Item.EmailValid == WAP2P.Member.User.BaseInfoValidStatus.ValidSuccess || Item.OnsiteValid == WAP2P.Member.User.BaseInfoValidStatus.ValidSuccess ? string.Format(@"<a class=""iconfont oper"" href=""javascript:void(0);"" onclick=""$.jPopupEdit('会员认证资料查看', 'UserValidDetail.aspx?ID={0}&op=view');"">&#xe655; 查看资料</a>", Item.Id) : string.Empty %></ruson:PermissionSpace>
                    <ruson:PermissionSpace runat="server" Module="会员管理" Function="会员认证管理" Operate="审核"><%# Item.RealNameValid == WAP2P.Member.User.BaseInfoValidStatus.WaitValid || Item.PhoneValid == WAP2P.Member.User.BaseInfoValidStatus.WaitValid || Item.EmailValid == WAP2P.Member.User.BaseInfoValidStatus.WaitValid || Item.OnsiteValid == WAP2P.Member.User.BaseInfoValidStatus.WaitValid ? string.Format(@"<a class=""iconfont oper fcjade-2"" href=""javascript:void(0);"" onclick=""$.jPopupEdit('会员认证资料审核', 'UserValidDetail.aspx?ID={0}&op=valid');"">&#xe60e; 审核</a>", Item.Id) : string.Empty %></ruson:PermissionSpace>
                </td>
            </tr>
        </ItemTemplate>
        <EmptyTemplate>
            <tr>
                <td colspan="6" class="g-fleft">暂无数据。</td>
            </tr>
        </EmptyTemplate>
    </ruson:Repater>
    <tr class="pager">
        <td colspan="6"><ruson:Pager runat="server" ID="pages" CssClass="pages" /><a href="<% =Request.RawUrl %>" class="g-hide"></a></td>
    </tr>
</asp:Content>