<%@ page language="C#" masterpagefile="MyShopMasterPage.master" autoeventwireup="true" inherits="Member_Shop_Identify, mallz" title="Untitled Page" enableEventValidation="false" %>
<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:Literal ID="PersonIdentifyStatus" runat="server" />
      </td>
   </tr>
   <tr>
      <th>企业实名认证<img src="../Images/Shop/free_icon.gif" />：</th>
      <td><asp:Literal ID="CompanyIdentify" runat="server" /></td>
   </tr>
   <tr>
      <th>诚信商家认证<img src="../Images/Shop/shop_identify.gif" />：</th>
      <td><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="UpdateTime" HeaderText="申请时间" />
            <asp:TemplateField HeaderText="处理时间">
                <ItemTemplate>
                    <asp:Literal ID="LitAplayTime" runat="server" Text='<%# (Eval("AplayTime")==DBNull.Value)?"--":Eval("AplayTime") %>' />
                </ItemTemplate>
            </asp:TemplateField>
            <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>

