<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserInfo.aspx.cs" Inherits="JRAPI.Admin.User.UserInfo" %>
<%@ Register src="../Controls/SubPageTop.ascx" tagname="SubPageTop" tagprefix="uc1" %>
<uc1:SubPageTop ID="SubPageTop1" runat="server" />
<body>
<div class="subnav">
    <div class="content-menu ib-a blue line-x">
        <a href='UserList.aspx' ><em>商户列表</em></a><span>|</span><a href='javascript:;' class="on"><em>编辑商户</em></a>    </div>
</div>
<style type="text/css">
	html{_overflow-y:scroll}
</style><script type="text/javascript">
<!--
            $(function () {
                $.formValidator.initConfig({ autotip: true, formid: "myform", onerror: function (msg) { } });
                $("#dpdGroup").formValidator({ onshow: "请选择商户组", onfocus: "请选择商户组" }).inputValidator({ min: 1, onerror: "请选择商户组" });
                $("#txtAgent").formValidator({ empty: true, onshow: "无代理留空", onfocus: "请输入代理ID" }).inputValidator({onerror: "请正确输入代理ID" }).regexValidator({ regexp: "num1", datatype: "enum", onerror: "代理ID为数字" }); ;
                $("#txtUserPass").formValidator({ empty: true, onshow: "不修改密码请留空", onfocus: "请输入商户密码" }).inputValidator({ min: 1, max: 50, onerror: "请正确输入商户密码" });
                $("#txtUserPass2").formValidator({ empty: true, onshow: "不修改密码请留空。", onfocus: "两次密码输入不同。", oncorrect: "密码输入一致" }).compareValidator({ desid: "txtUserPass", operateor: "=", onerror: "两次密码输入不同。" });
                $("#txtCheckCode").formValidator({ onshow: "请填写支付校验码", onfocus: "请填写支付校验码" }).inputValidator({ min: 1, max: 32, onerror: "请填写支付校验码" });
                $("#txtCallBackUrl").formValidator({ onshow: "如不为空,则下行以此为主", onfocus: "如不为空,则下行以此为主", tipcss: { width: '300px' }, empty: true }).inputValidator({ onerror: "如不为空,则下行以此为主" }).regexValidator({ regexp: "url", datatype: "enum", onerror: "错误的下行地址" });
                //$("#txtRealTel").formValidator({ onshow: "请填写联系电话", onfocus: "请填写联系电话" }).inputValidator({ min: 1, max: 32, onerror: "请填写联系电话" });
                //$("#txtLinkMan").formValidator({ onshow: "请填写联系人", onfocus: "请填写联系人" }).inputValidator({ min: 1, max: 32, onerror: "请填写联系人" });
                //$("#dpdBanks").formValidator({ onshow: "请选择开户银行", onfocus: "请选择开户银行" }).inputValidator({ min: 1, onerror: "请选择开户银行" });
                //$("#txtBankCard").formValidator({ onshow: "请填写收款账号", onfocus: "请填写收款账号" }).inputValidator({ min: 1, onerror: "请填写收款账号" });
                //$("#txtACCount").formValidator({ onshow: "请填写收款人", onfocus: "请填写收款人" }).inputValidator({ min: 1, onerror: "请填写收款人" });
                
            })
            function getCheckCode() {
                $.get("getCheckCode.ashx?t=" + Math.random(), function (data) {
                    $("#txtCheckCode").val(data);
                })
            }
//-->
</script>
<div class="pad_10">
<div class="common-form">
<form runat="server" id="myform">
<table width="100%" class="table_form contentWrap">
<tr>
<td width="100">商户ID</td> 
<td>
    <asp:Literal ID="liUserID" runat="server"></asp:Literal></td>
</tr>
<tr>
<td width="100">商户邮件</td> 
<td>
    <asp:Literal ID="liEmail" runat="server"></asp:Literal></td>
</tr>
<tr>
<td width="100">注册时间</td> 
<td>
    <asp:Literal ID="liRegDate" runat="server"></asp:Literal></td>
</tr>
<tr>
<td width="100">最后登录时间</td> 
<td>
    <asp:Literal ID="liLastTimes" runat="server"></asp:Literal></td>
</tr>
<tr>
<td width="100">最后登录IP</td> 
<td>
    <asp:Literal ID="liLastLogin" runat="server"></asp:Literal></td>
</tr>
<tr>
<td width="100">所属代理</td> 
<td>
    <asp:TextBox ID="txtAgent" runat="server" CssClass="input-text"></asp:TextBox>
</td>
</tr>
<tr>
<td width="100">所属商户组</td> 
<td>
    <asp:DropDownList ID="dpdGroup" runat="server" AppendDataBoundItems="True">
    <asp:ListItem>请选择用户组</asp:ListItem>
    </asp:DropDownList>
</td>
</tr>
<tr>
<td>商户密码</td>
<td>
<asp:TextBox ID="txtUserPass" runat="server" CssClass="input-text" MaxLength="32" 
        TextMode="Password"></asp:TextBox>
</td>
</tr>
<tr>
<td>确认商户密码</td>
<td>
<asp:TextBox ID="txtUserPass2" runat="server" CssClass="input-text" MaxLength="32" 
        TextMode="Password"></asp:TextBox>
</td>
</tr>
<tr>
<td>商户状态</td>
<td>
    <asp:RadioButtonList ID="rbtnStatus" runat="server" 
        RepeatDirection="Horizontal" RepeatLayout="Flow">
        <asp:ListItem Value="0">等待验证</asp:ListItem>
        <asp:ListItem Value="1">通过验证</asp:ListItem>
        <asp:ListItem Value="2">拒绝验证</asp:ListItem>
        <asp:ListItem Value="3">冻结商户</asp:ListItem>
    </asp:RadioButtonList>
</td>
</tr>
<tr>
<td>支付校验证码</td>
<td>
<asp:TextBox ID="txtCheckCode" runat="server" CssClass="input-text" MaxLength="32" Columns="50"></asp:TextBox> <a href="javascript:;" onclick="getCheckCode();">更换</a>
</td>
</tr>
<tr>
<td>下行Url地址</td>
<td>
<asp:TextBox ID="txtCallBackUrl" runat="server" CssClass="input-text"  Columns="50"></asp:TextBox>
</td>
</tr>
<tr>
<td>联系人</td>
<td>
<asp:TextBox ID="txtLinkMan" runat="server" CssClass="input-text" MaxLength="32"></asp:TextBox>
</td>
</tr>
<tr>
<td>联系人身份证号</td>
<td>
<asp:TextBox ID="txtLinkManCode" runat="server" CssClass="input-text" MaxLength="32"  Columns="50"></asp:TextBox>
</td>
</tr>
<tr>
<td>联系电话</td>
<td>
<asp:TextBox ID="txtRealTel" runat="server" CssClass="input-text" MaxLength="32"></asp:TextBox>
</td>
</tr>
<tr>
<td>QQ/MSN</td>
<td>
<asp:TextBox ID="txtQQ" runat="server" CssClass="input-text" MaxLength="32"></asp:TextBox>
</td>
</tr>
<tr>
<td>开户银行</td>
<td>
    <asp:DropDownList ID="dpdBanks" runat="server" AppendDataBoundItems="True">
    <asp:ListItem>请选择开户银行</asp:ListItem>
    </asp:DropDownList>
</td>
</tr>
<tr>
<td>开户行所在省</td>
<td>
    <asp:DropDownList ID="dpdProvince" runat="server" AppendDataBoundItems="True" 
        AutoPostBack="True" onselectedindexchanged="dpdProvince_SelectedIndexChanged">
    <asp:ListItem Value="0">请选择</asp:ListItem>
    </asp:DropDownList>
</td>
</tr>
<tr>
<td>开户行所在地区</td>
<td>
    <asp:DropDownList ID="dpdCity" runat="server">
    <asp:ListItem Value="0">请选择</asp:ListItem>
    </asp:DropDownList>
</td>
</tr>
<tr>
<td>开户行网点名称</td>
<td>
<asp:TextBox ID="txtBankMore" runat="server" CssClass="input-text"  Columns="50"></asp:TextBox>
</td>
</tr>
<tr>
<td>开户行卡号</td>
<td>
<asp:TextBox ID="txtBankCard" runat="server" CssClass="input-text" MaxLength="32" Columns="50"></asp:TextBox>
</td>
</tr>
<tr>
<td>开户名</td>
<td>
<asp:TextBox ID="txtACCount" runat="server" CssClass="input-text"></asp:TextBox>
</td>
</tr>
</table>
    <div class="bk15"></div>
<asp:Button ID="btnSubmit" runat="server" Text="提交" CssClass="button" 
    onclick="btnSubmit_Click" />
</form>
</div>
</div>
</body>
</html>

