<%@ page language="C#" masterpagefile="~/HL_Admin/AdminIndexMaster.master" autoeventwireup="true" inherits="HL_Admin_Admin_Application, HoWaveVGO" title="Untitled Page" enableEventValidation="false" %>
<%@ Register Src="../Shop/UserControls/HowaveProvinceCity.ascx" TagName="HowaveProvinceCity" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script src="Js/tabpane.js"  type="text/javascript"></script>
<script type="text/javascript" language="javascript">
function ShowUpdatePic(obj) {
    document.getElementById('previewImage').innerHTML ="预览<br><img src=\""+obj.value+"\" width=100 height=90 onload=\"return ResizeImage(this, 100, 80);\" align=absmiddle>";
}
</script>
<table class="adminheading">                      
  <tr>
    <th class="user" nowrap="nowrap">认证管理</th>
    <td align="right"><div style="width:150px;">
       <asp:HyperLink ID="PersonIdentify" runat="server" Text="个人身份认证" />&nbsp;|
       <a href="Admin_ShopUserCheck.aspx">返回</a></div></td>
    <td class="rtdw"></td>
  </tr>                        
</table>
<fieldset style="margin:5px;">

    <div class="tab-page" id="companyIdentify">
        <script type="text/javascript">
           var tabPane1 = new WebFXTabPane( document.getElementById( "companyIdentify" ), 1 )
         </script>
                <div class="tab-page" id="companyInfo">
                   <h2 class="tab">公司信息</h2>
                   <script type="text/javascript">
                         tabPane1.addTabPage( document.getElementById( "companyInfo" ) );
                    </script>               
              <table class="nick" > 　
                 <tr>
                     <td colspan="2" class="tit">企业实名认证</td>
                 </tr>                  
                  <tr>
                     <th><b>*</b>公司名称：</th>
                     <td class="rtd"><asp:TextBox ID="CompanyName" runat="server" Width="160px" MaxLength="50"/>
                     <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="CompanyName"
                            ErrorMessage="必填项不能为空。" CssClass="tips_wrong" Display="Dynamic"/></td>
                 </tr>
                 <tr>
                     <th><b>*</b>公司类型：</th>
                     <td class="rtd"><asp:RadioButtonList ID="CompanyType" runat="server" RepeatDirection="vertical" RepeatLayout="Flow">
                       <asp:ListItem Selected="True" Value="0">生产</asp:ListItem>
                       <asp:ListItem Value="0">零售</asp:ListItem>
                       <asp:ListItem Value="0">经销商、批发商、品牌代理商</asp:ListItem>
                       <asp:ListItem Value="0">互联网BTOC网站</asp:ListItem>
                       <asp:ListItem Value="0">其他CTOC平台开店商户</asp:ListItem>
                   </asp:RadioButtonList></td>
                 </tr>
                  <tr>
                     <th><b>*</b>公司所在地：</th>
                     <td class="rtd"><uc1:HowaveProvinceCity ID="HowaveProvinceCity1" runat="server" />
                     <div style="clear:both">
                        详细地址：<asp:TextBox ID="CompanyAddrss" runat="server" />(不包含省市)
                     </div> </td>
                 </tr>
                 <tr>
                     <th><b>*</b>营业执照名称：</th>
                     <td class="rtd"><asp:TextBox ID="LienceName" runat="server"  Width="160px"/>
                         <asp:RequiredFieldValidator ID="rfv7" runat="server" ControlToValidate="LienceName"
                                ErrorMessage="必填项不能为空。" CssClass="tips_wrong" Display="Dynamic" Style="display:inline;"/>
                     
                     </td>
                 </tr>
                 <tr>
                     <th><b>*</b>营业执照经营范围：</th>
                     <td class="rtd"><asp:TextBox ID="CompanyRange" runat="server"  TextMode="MultiLine" Height="50px" Width="160px"/>
                         <asp:RequiredFieldValidator ID="rfv6" runat="server" ControlToValidate="CompanyRange"
                                ErrorMessage="必填项不能为空。" CssClass="tips_wrong" Display="Dynamic" Style="display:inline;"/>
                     
                     </td>
                 </tr>
                 <tr>
                     <th><span style="color:Red">*</span>营业执照号码：</th>
                     <td class="rtd"><asp:TextBox ID="LienceNum" runat="server" Width="160px" MaxLength="50"/>
                         <asp:RequiredFieldValidator ID="rfv2" runat="server" ControlToValidate="LienceNum"
                                ErrorMessage="必填项不能为空。" CssClass="tips_wrong" Display="Dynamic" Style="display:inline;"/>
                        
                     </td>
                 </tr>
                 <tr>
                     <th>公司传真：</th>
                     <td class="rtd"><asp:TextBox ID="Fax" runat="server" Width="160px" /></td>
                 </tr> 
             </table>
         </div>
          <div class="tab-page" id="contacterInfo">
                   <h2 class="tab">联系人信息</h2>
                   <script type="text/javascript">
                         tabPane1.addTabPage( document.getElementById( "contacterInfo" ) );
                    </script>  
                 <table width="90%" class="nick" > 　
                 <tr>
                     <td colspan="2" class="tit">企业实名认证</td>
                 </tr>                  
                 <tr>
                     <th><b>*</b>联系人姓名：</th>
                     <td class="rtd"><asp:TextBox ID="ContacterName" runat="server" Width="160px" MaxLength="50"/>
                     <asp:RequiredFieldValidator ID="rfv1" runat="server" ControlToValidate="ContacterName"
                            ErrorMessage="必填项不能为空。" CssClass="tips_wrong" Display="Dynamic"/></td>
                 </tr>
                 <tr>
                     <th><b>*</b>联系人身份证号：</th>
                     <td class="rtd"><asp:TextBox ID="ContacterIDNum" runat="server" Width="160px" MaxLength="50"/>
                     <asp:RequiredFieldValidator ID="rfv4" runat="server" ControlToValidate="ContacterIDNum"
                            ErrorMessage="必填项不能为空。" CssClass="tips_wrong" Display="Dynamic"/></td>
                 </tr>
                 <tr>
                     <th><span style="color:Red">*</span>联系人固定电话：</th>
                     <td class="rtd"><asp:TextBox ID="ContacterPhone" runat="server" Width="160px" MaxLength="14"/>
                     <span>固定电话请按“区号-电话号码-分机号码”格式填写<br />
                      如：020-87512750 或 020-87512750-2 </span>        
                      <asp:RequiredFieldValidator ID="rfv5" runat="server" ControlToValidate="ContacterPhone"
                           ErrorMessage="必填项不能为空。" CssClass="tips_wrong" Display="Dynamic"/>         
                     </td>
                 </tr>
                 <tr>
                     <th><span style="color:Red">*</span>联系人手机号码：</th>
                     <td class="rtd"><asp:TextBox ID="ContacterMobilePhone" runat="server" Width="160px" MaxLength="11"/>
                        <asp:RegularExpressionValidator ID="rex1" runat="server" ControlToValidate="ContacterMobilePhone"
                                ErrorMessage="11位数字号码" ValidationExpression="\d{11}" CssClass="tips_wrong" Display="Dynamic"/>
                     </td>
                 </tr>  
                 <tr>
                     <th>联系人Email：</th>
                     <td class="rtd"><asp:TextBox ID="Email" runat="server" /></td>
                 </tr>  
        </table> 
        </div>
        <div class="tab-page" id="companyLience">
            <h2 class="tab">营业执照</h2>
                   <script type="text/javascript">
                         tabPane1.addTabPage( document.getElementById( "companyLience" ) );
                    </script>   
                 <table width="90%" class="nick" > 　
                     <tr>
                         <td colspan="2" class="tit">企业实名认证</td>
                     </tr>    
                     <tr>
                         <th><b>*</b>上传营业执照：</th>
                         <td class="rtd">
                             <div class="div_right">
                                <div style="float:left;">
                                    <asp:FileUpload ID="FileUpload1" runat="server" />
                                       
                                </div>
                                <div style="float:right;">
                                    <div id="previewImage" align="left">
                                          <div align="center">预览图</div>
                                          <asp:Image ID="LienceImg" runat="server" />
                                    </div>
                                </div>  
                             </div>            
                         </td>
                     </tr>                     
                 </table>
          </div>
     </div> 
 
 
    <table class="adminlist" width="90%">
       <tr>
         <th>认证审核：</th>
         <th>审核备注：</th>
         <th>审核人：</th>         
       </tr>
       <tr>
         <td class="rtd">
            <asp:RadioButtonList ID="Status" runat="server" RepeatLayout="Flow" RepeatDirection="Horizontal">
                <asp:ListItem Text="通过" Value="1"/>
                <asp:ListItem Text="不通过" Value="-1" />
            </asp:RadioButtonList>           
         </td>
         <td class="rtd">
            <asp:TextBox ID="Remark" runat="server"  TextMode="MultiLine" Height="50px" Width="160px"/>           
         </td>
          <td class="rtd"><asp:Literal ID="Checker" runat="server" /></td>
       </tr>
      
    </table>
     
     <br />   
     <asp:HiddenField ID="IdentifyID" runat="server" />
     <asp:HiddenField ID="UploadImageUrl" runat="server" />
     
      <br />
      <asp:Label ID="err_tips" runat="server" Width="98%" />
      <div style="text-align:center; clear:both;">    
          <asp:Button ID="BtnConfirm" runat="server"  Text="确定"  OnClick="BtnConfirm_Click" />
      </div>    
</asp:Content>

