<%@ page language="C#" masterpagefile="AdminIndexMaster.master" autoeventwireup="true" inherits="HL_Admin_Admin_ShopUserCheck, HoWaveVGO" title="商城会员认证" enableEventValidation="false" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="true"/>
<script src="Js/Function.js" type="text/javascript"></script> 
     <table class="adminheading" width="100%">
         <tr>
            <th class="user" align="left">会员认证管理</th>
            <td align="right"></td>
                <td class="rtdw"></td>
        </tr></table>

<table class="nick"><tr><td colspan="6" class="tit">快速查找</td></tr>
    <tr>
       <td class="ltd">用户名称:</td>
       <td class="rtd" style="width:15%">
           <asp:TextBox ID="TxtNickName" runat="server" />
       </td>       
       <td class="ltd">认证类型：</td>
       <td class="rtd" style="width:30%">  
          <asp:CheckBoxList ID="ChkAuthenticationType" runat="server"  RepeatLayout="Flow" RepeatDirection="Horizontal" RepeatColumns="3">              
              <asp:ListItem Value="AuthenticationType" Text="身份证认证" Selected="True"/>
              <asp:ListItem Value="CompanyIdentify" Text="企业认证" />               
              <asp:ListItem Value="OtherIdentify1" Text="先赔后付认证" />
              <asp:ListItem Value="OtherIdentify2" Text="支付宝认证" />
              <asp:ListItem Value="MobileIdentify" Text="手机认证" />
              <asp:ListItem Value="BandShopIdentify" Text="品牌店铺认证" />
           </asp:CheckBoxList> </td>
       <td class="ltd">认证状态：</td>
       <td class="rtd" style="width:15%">          
           <asp:DropDownList ID="DropIdentity" runat="server">
                    <asp:ListItem Value="9" Selected="True">已递交申请认证</asp:ListItem>
                    <asp:ListItem Value="0" >尚未申请认证</asp:ListItem>                   
                    <asp:ListItem Value="1">已通过认证</asp:ListItem>
                    <asp:ListItem Value="-1">申请不通过</asp:ListItem>                     
                </asp:DropDownList>
                <asp:Button ID="QuickSearchBtn" runat="server" Text="查找"  OnClick="QuickSearchBtn_Click"/>
       </td>
     </tr>
     </table><br />
            <%--<asp:UpdatePanel ID="UpdatePanel1" runat="server">
                <ContentTemplate>--%>
                    <asp:GridView id="GridView1" runat="server"  CssClass="adminlist" AutoGenerateColumns="False"  OnDataBound="GridView1_DataBound" OnRowDataBound="GridView1_RowDataBound" DataKeyNames="UserInfoID" AllowPaging="True" PageSize="10"  OnPageIndexChanging="GridView1_PageIndexChanging"><Columns>
                    <asp:TemplateField>
                        <HeaderTemplate>
                             <input id="chkAll" onclick="SelectAllCheckboxes(this);"  type="checkbox" />全选                                               
                        </HeaderTemplate>
                    <ItemTemplate>
                         <input type="checkbox" name="chk_select" value='<%# Eval("UserID") %>' />
                    </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="UserID" HeaderText="用户ID" HeaderStyle-Width="8%" />
                    <asp:BoundField DataField="UserName" HeaderText="用户名"/>
                    <asp:BoundField DataField="AuthenticationType" HeaderText="身份证认证"  HeaderStyle-Width="8%" />                   
                    <asp:BoundField DataField="CompanyIdentify" HeaderText="企业认证" HeaderStyle-Width="8%"/>
                    <asp:BoundField DataField="MobileIdentify" HeaderText="手机认证" HeaderStyle-Width="8%"/>
                    <asp:BoundField DataField="BandShopIdentify" HeaderText="品牌店铺认证" HeaderStyle-Width="10%"/>
                    <asp:BoundField DataField="OtherIdentify1" HeaderText="先赔后付认证" HeaderStyle-Width="10%"/>
                    <asp:BoundField DataField="OtherIdentify2" HeaderText="支付宝认证" HeaderStyle-Width="8%"/>                    
                                  
                    <asp:TemplateField HeaderText="操作" >
                       <ItemTemplate>
                          <a  href='Admin_ShopIdentifyUser.aspx?userid=<%# Eval("UserID") %>&type=1'>认证管理</a> 
                          <a  href='Admin_UserDetail.aspx?UserID=<%# Eval("UserID") %>'>详细资料</a> 
                       </ItemTemplate>
                       <HeaderStyle Width="20%" />
                    </asp:TemplateField>
                    </Columns>
                    <EmptyDataTemplate>
                    <tr>
                        <th>用户ID</th><th>用户名</th><th>身份证认证</th><th>企业认证</th><th>手机认证</th><th>品牌店铺认证</th><th>先赔后付认证</th><th>支付宝认证</th><th>操作</th>
                    </tr>
                    <tr>
                        <td colspan="9">暂无认证信息！</td>
                    </tr>
                    </EmptyDataTemplate>
                    </asp:GridView>
                    <asp:Label id="err_tips" runat="server" CssClass="helpStyle" width="96%"  Visible="false"/> 
           <%--      </ContentTemplate>--%>
                 
                <%-- <Triggers>
                    <asp:AsyncPostBackTrigger ControlID="QuickSearchBtn" EventName="Click"></asp:AsyncPostBackTrigger>
                    <asp:AsyncPostBackTrigger ControlID="PassIdentify" EventName="Click"></asp:AsyncPostBackTrigger>
                    <asp:AsyncPostBackTrigger ControlID="CancleIdentify" EventName="Click"></asp:AsyncPostBackTrigger>
                 </Triggers>
                </asp:UpdatePanel>--%>
               <div style=" text-align:center">
                   <asp:CheckBoxList ID="IdentifyCheckBoxList" runat="server" RepeatLayout="Flow" RepeatDirection="Horizontal">
                      
                      <asp:ListItem Value="MobileIdentify" Text="手机认证" />
                      <asp:ListItem Value="BandShopIdentify" Text="品牌店铺认证" />
                      <asp:ListItem Value="OtherIdentify1" Text="先赔后付认证" />
                      <asp:ListItem Value="OtherIdentify2" Text="支付宝认证" />
                   </asp:CheckBoxList>
                   <br />
                   <asp:Button ID="PassIdentify" runat="server" Text="通过认证" CommandName="1"  OnCommand="IdentifyUserType" />
                   <asp:Button ID="CancleIdentify" runat="server" Text="取消认证"  CommandName="0" OnCommand="IdentifyUserType"/>
                   <asp:Button ID="RefuseIdentify" runat="server" Text="拒绝认证"  CommandName="-1" OnCommand="IdentifyUserType"/>
                   <asp:Button ID="ApplyIdentify" Visible="false" runat="server" Text="设为申请状态"  CommandName="9" OnCommand="IdentifyUserType"/>
                  
               </div>

    
 
</asp:Content>

