<%@ page language="C#" autoeventwireup="true" inherits="admin_shop_uedit, s1.chapk.com" enableeventvalidation="false" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>会员编辑</title>
    <link rel="stylesheet" href="../css/table.css" type="text/css" media="all" /> 
    <script language="javascript" src="../../js/three.js"></script>   
</head>
<body onload="addressInit('cmbProvince', 'cmbCity', 'cmbArea', '<%=cmbProvince %>', '<%=cmbCity %>', '<%=cmbArea %>');">
<script type="text/javascript"> 
        function check_one()
        {
            if(document.getElementById("class1_chk").checked)
                document.getElementById("password").style.display="block";
            else
                document.getElementById("password").style.display="none";    
        }  

</script> 
    <form id="form1" runat="server">
        <div class="my_alt">会员资料编辑</div>
        <table cellpadding="0" cellspacing="0" border="0" width="100%" class="tb">
            <tr>
                <td class="tl">帐号：</td>
                <td class="tr"><asp:TextBox id="username" runat="server" Width="200px"></asp:TextBox></td>
            </tr>        
            <tr>
                <td class="tl">密码：</td>
                <td class="tr">
                    <asp:CheckBox ID="class1_chk" runat="server" Text="更改密码" onclick="check_one()" /><asp:TextBox id="password" runat="server" Width="200px"></asp:TextBox></td>
                </tr>
            <tr>
                <td class="tl">电子邮件：</td>
                <td class="tr"><asp:TextBox id="email" runat="server" Width="200px"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tl">注册时间：</td>
                <td class="tr"><asp:Label ID="addtime" runat="server"></asp:Label>最后登录时间：<asp:Label ID="logintime" runat="server"></asp:Label>登录次数：<asp:Label ID="hits" runat="server"></asp:Label>最后登录IP：<asp:Label ID="ip" runat="server"></asp:Label></td>
            </tr>            
            <tr>
                <td class="tl">会员等级：</td>
                <td class="tr">
                <asp:DropDownList ID="ul" runat="server">
            </asp:DropDownList></td>
            </tr>
            <tr>
                <td class="tl">会员状态：</td>
                <td class="tr"><asp:CheckBox ID="state" runat="server" Text="开通" /></td>
            </tr>
            <tr>
                <td class="tl">真实姓名：</td>
                <td class="tr"><asp:TextBox id="name" runat="server"></asp:TextBox></td>
            </tr>     
            <tr>
                <td class="tl">性别：</td>
                <td class="tr">
                <asp:RadioButtonList ID="sex" runat="server" RepeatDirection="Horizontal">
                <asp:ListItem>男</asp:ListItem>
                <asp:ListItem>女</asp:ListItem>
            </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td class="tl">联系电话：</td>
                <td class="tr">
                <asp:TextBox id="tel2" runat="server"></asp:TextBox>
                </td>
            </tr>                               
            <tr>
                <td class="tl">联系手机：</td>
                <td class="tr">
                    <asp:TextBox id="phone" runat="server"></asp:TextBox>
                </td>
                </tr>
            <tr>
                <td class="tl">地区：</td>
                <td class="tr">
<select id="cmbProvince" name="cmbProvince"></select>
<select id="cmbCity" name="cmbCity"></select>
<select id="cmbArea" name="cmbArea"></select>         
                </td>
                </tr>                                      
            <tr>
                <td class="tl">联系地址：</td>
                <td class="tr">
                    <asp:TextBox id="address" runat="server" Width="260px"></asp:TextBox>
                </td>
                </tr>
            <tr>
                <td class="tl">邮编：</td>
                <td class="tr">
                    <asp:TextBox id="code" runat="server" Width="80px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="tl">帐号金额：</td>
                <td class="tr">
                    <asp:TextBox id="Money1" runat="server" Width="80px"></asp:TextBox>
                </td>
                </tr> 
            <tr>
                <td class="tl">帐号积分：</td>
                <td class="tr">
                    <asp:TextBox id="score" runat="server" Width="80px"></asp:TextBox>
                </td>
                </tr>                                  
            <tr>
                <td class="tl"></td>
                <td class="tr"><asp:Button ID="btn_ok" runat="server" Text=" 保存 " OnClick="btn_ok_Click" />
        <asp:Label id="lab_id" runat="server" Visible="False"></asp:Label>
	   <asp:Label id="lab_state" runat="server" Visible="False">1</asp:Label>
	            </td>
            </tr>
        </table>
    </form>
</body>
</html>
