<%@ page language="C#" masterpagefile="../ShopMasterPage/MyShopMasterPage.master" autoeventwireup="true" inherits="Shop_Member_Shop_Identify, HoWaveVGO" title="Untitled Page" enableEventValidation="false" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="pageTitle">认证管理</div>

<fieldset style="margin: 5px;">
   <legend>认证状态</legend>
   <asp:Label ID="IdentifyStatus2" Text='未认证&nbsp;&nbsp;需要申请请联系管理员!' Visible="false" runat="server"></asp:Label>
   <asp:Label ID="IdentifyStatus1" Text='未认证&nbsp;&nbsp;<a href="../Credit/Identify_Choose.aspx" target="_blank">我要申请</a>' Visible="false" runat="server"></asp:Label>
   <asp:Label ID="IdentifyStatus3" Text='申请资料已提交，审核中' Visible="false" runat="server"></asp:Label>
   <asp:Label ID="IdentifyStatus4" Text='提交资料不正确，审核不通过&nbsp;&nbsp;<a href="../Credit/identify_choose.aspx" target="_blank">重新申请</a>' Visible="false" runat="server"></asp:Label>
   <asp:Label ID="IdentifyStatus5" Text='已经成功通过认证' Visible="false" runat="server"></asp:Label>
   
   <table style="text-align:left;">   
   <tr>
      <th>个人身份认证<img src="../Images/Identify.gif" />：</th>
      <td><asp:Literal ID="PersonIdentifyStatus" runat="server" />
      
      </td>     
   </tr>
   <tr>
      <th>企业实名认证<img src="../Images/free_icon.gif" />：</th>
      <td><asp:Literal ID="CompanyIdentify" runat="server" /></td>
  
   </tr>
   <tr>
      <th>品牌店铺认证<img src="../Images/shop_identify.gif" />：</th>
      <td><asp:Literal ID="BandShopIdentify" runat="server" /></td>
   </tr>
   <tr>
      <th>消费保障认证<img src="../Images/prepay_icon.gif" />：</th>
      <td><asp:Literal ID="PrePayIdentify" runat="server" /></td>   
   </tr>
</table>
</fieldset>

<fieldset  style="margin: 5px;">
   <legend>认证申请</legend>
   <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False" DataSourceID="ObjectDataSource1" CssClass="tableHead" OnDataBound="GridView1_DataBound" >
        <Columns>
            <asp:BoundField DataField="IdentifyID" HeaderText="申请编号" />
            <asp:BoundField DataField="IdentifyType" HeaderText="认证类型" />
            <asp:BoundField DataField="Status" HeaderText="认证状态" />
            <asp:BoundField DataField="AplayTime" HeaderText="申请时间" />
            <asp:BoundField DataField="UpdateTime" HeaderText="处理时间" />    
            <asp:BoundField DataField="Remark" HeaderText="处理结果" ItemStyle-Width="20%" />        
        </Columns>
        <EmptyDataTemplate><div style=" text-align:center; height:30px; line-height:30px;">暂无认证！</div></EmptyDataTemplate>
    </asp:GridView>
    <br />
</fieldset>
    
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetApplicationTimeStatusByUserID"
        TypeName="Shop_Application">
        <SelectParameters>
            <asp:SessionParameter DefaultValue="0" Name="UserID" SessionField="Howave_UserID"
                Type="Int32" />
        </SelectParameters>
    </asp:ObjectDataSource>
</asp:Content>

