<%@ page language="C#" masterpagefile="AdminIndexMaster.master" autoeventwireup="true" inherits="HL_Admin_Admin_Application, WebApp_deploy" title="企业认证审核" enableEventValidation="false" %>
<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="266px" 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"><hl:HowaveProvinceCity ID="HowaveProvinceCity1" runat="server" />
                     <div style="clear:both">
                        详细地址：<asp:TextBox ID="CompanyAddrss" runat="server" Width="324px" />(不包含省市)
                     </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="84px" Width="458px"/>
                         <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="124px" 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="106px" MaxLength="50"/>
                     <asp:RequiredFieldValidator ID="rfv1" runat="server" ControlToValidate="ContacterName"
                            ErrorMessage="必填项不能为空。" CssClass="tips_wrong" Display="Dynamic"/></td>
                 </tr>
                 <tr>
                     <th style="height: 28px"><b>*</b>联系人身份证号：</th>
                     <td class="rtd" style="height: 28px"><asp:TextBox ID="ContacterIDNum" runat="server" Width="222px" 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="132px" 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" Width="195px" /></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 style="height: 88px"><b>*</b>上传营业执照：</th>
                         <td class="rtd" style="width: 85%; height: 88px">
                             <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>
                                          <a href="javascript:void(0)" ><asp:Image ID="LienceImg" runat="server" onerror="this.src='/Images/show_nopic.gif'" Height="109px" Width="172px" /></a>
                                    </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" style="height: 66px">
            <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" style="height: 66px">
            <asp:TextBox ID="Remark" runat="server"  TextMode="MultiLine" Height="87px" Width="600px"/>           
         </td>
          <td class="rtd" style="height: 66px"><asp:Literal ID="Checker" runat="server" /></td>
       </tr>
      
    </table>
     
     <br />   
     <asp:HiddenField ID="IdentifyID" runat="server" Value="" />
     <asp:HiddenField ID="UploadImageUrl" runat="server" />
     
      <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><br />  
</asp:Content>

