<%@ page language="C#" masterpagefile="MyShopMasterPage.master" autoeventwireup="true" inherits="Member_Shop_Identify, WebApp_deploy" title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="pageTitle">
        认证管理</div>
    <fieldset style="margin: 5px;">
        <legend>认证状态</legend>
        <table style="text-align: left;">
            <tr>
                <th>
                    个人身份认证<img src="../Images/Shop/Identify.gif" />：
                </th>
                <td>
                    <asp:HyperLink ID="hlPersonIdentifyStatus" runat="server"></asp:HyperLink>
                </td>
            </tr>
            <% if (ShowShop) %>
            <%{ %>
            <tr>
                <th>
                    企业实名认证<img src="../Images/Shop/free_icon.gif" alt="" />：
                </th>
                <td>
                    <asp:HyperLink ID="hlCompanyIdentify" runat="server"></asp:HyperLink>
                    <%--<asp:Literal ID="CompanyIdentify" runat="server" />--%>
                </td>
            </tr>
            <tr style="display: none">
                <th>
                    诚信商家认证<img src="../Images/Shop/shop_identify.gif" alt="" />：
                </th>
                <td>
                    <%--<asp:HyperLink ID="hlBandShopIdentify" runat="server"></asp:HyperLink>--%>
                    <asp:Literal ID="BandShopIdentify" runat="server" />
                </td>
            </tr>
            <%} %>
        </table>
    </fieldset>
    <fieldset style="margin: 5px;">
        <legend>认证申请</legend>
        <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
            CssClass="tableHead">
            <Columns>
                <asp:BoundField DataField="IdentifyID" HeaderText="申请编号" ItemStyle-Width="60px" />
                <asp:TemplateField HeaderText="认证类型">
                    <ItemTemplate>
                        <asp:Literal ID="IdentifyType" runat="server" Text='<%# GetType(Eval("IdentifyType").ToString()) %>' />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="认证状态">
                    <ItemTemplate>
                        <asp:Literal ID="LitStatus" runat="server" Text='<%# (Eval("Status").ToString()=="1")?"通过验证":(Eval("Status").ToString()=="9")?"等待验证":"拒绝验证" %>' />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="AplayTime" HeaderText="申请时间" />
                <asp:TemplateField HeaderText="处理时间">
                    <ItemTemplate>
                        <asp:Literal ID="LitAplayTime" runat="server" Text='<%# (Eval("UpdateTime")==DBNull.Value)?"--":Eval("UpdateTime") %>' />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField HeaderText="审核人" DataField="Editor" />
                <asp:TemplateField HeaderText="处理结果">
                    <ItemTemplate>
                        <asp:Literal ID="LitRemark" runat="server" Text='<%# (Eval("Remark")==DBNull.Value)?"--":Eval("Remark") %>' />
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <EmptyDataTemplate>
                <table class="tableHeader" style="width: 98%">
                    <tr>
                        <th>
                            申请编号
                        </th>
                        <th>
                            认证类型
                        </th>
                        <th>
                            认证状态
                        </th>
                        <th>
                            申请时间
                        </th>
                        <th>
                            处理时间
                        </th>
                        <th>
                            处理结果
                        </th>
                    </tr>
                    <tr>
                        <td colspan="6">
                            暂无认证！
                        </td>
                    </tr>
                </table>
            </EmptyDataTemplate>
        </asp:GridView>
        <br />
    </fieldset>
</asp:Content>
