195 lines
6.7 KiB
Plaintext
195 lines
6.7 KiB
Plaintext
<%@ Page Title="" Language="C#" MasterPageFile="~/Telesa.Master" AutoEventWireup="true" CodeBehind="Member_Info.aspx.cs" Inherits="Mtxfw.shop.Member_Info" %>
|
|
<%@ Register src="Controls/Left.ascx" tagname="Left" tagprefix="uc1" %>
|
|
<asp:Content ID="Content1" ContentPlaceHolderID="MyHead" runat="server">
|
|
<link href="css/member.css" rel="stylesheet" type="text/css" />
|
|
<style type="text/css">
|
|
#membertab table th{ text-align:right;}
|
|
</style>
|
|
<script type="text/javascript">
|
|
var ifshow = 1;
|
|
</script>
|
|
<script type="text/javascript">
|
|
var pid = '<%=pid %>';
|
|
var cid = '<%=cid %>';
|
|
var qid = '<%=qid %>';
|
|
$(document).ready(function () {
|
|
$('#select_p').change(function () {//获取城市
|
|
getCity();
|
|
});
|
|
|
|
$('#select_c').change(function () {//获取县区
|
|
getCounty();
|
|
});
|
|
|
|
$('#select_p').val(pid);
|
|
getCity();
|
|
})
|
|
|
|
function getCity() {
|
|
if ($('#select_p').val() != '-1') {
|
|
$.post("/Ajax.ashx", { action: 'GetCity', ProvinceID: $('#select_p').val(), cityIDs: cid }, function (data) {
|
|
if (data != 'false') {
|
|
$('#select_c').html(data);
|
|
|
|
getCounty();
|
|
}
|
|
});
|
|
}
|
|
}
|
|
|
|
function getCounty() {
|
|
if ($('#select_c').val() != '-1') {
|
|
$.post("/Ajax.ashx", { action: 'GetCounty', CityID: $('#select_c').val(), countyIDs: qid }, function (data) {
|
|
if (data != 'false')
|
|
$('#select_q').html(data);
|
|
|
|
});
|
|
}
|
|
}
|
|
function toaddress() {
|
|
if ($('#county').val() != 0) {
|
|
$("#<%=Text_MailingAddress.ClientID %>").val($("#select_p option:selected").text() + $("#select_c option:selected").text() + $("#select_q option:selected").text());
|
|
}
|
|
}
|
|
</script>
|
|
</asp:Content>
|
|
<asp:Content ID="Content2" ContentPlaceHolderID="MyContent" runat="server">
|
|
<form id="form1" runat="server">
|
|
<div id="main">
|
|
<div id="Location">当前位置: <a href="/" class="red">首页</a> > <a href="/Member_Index.aspx">会员中心</a> > 我的信息</div>
|
|
<div id="member" class="f_clear">
|
|
<uc1:Left ID="Left1" runat="server" />
|
|
<div class="right">
|
|
<div id="membertab">
|
|
<h2>我的信息</h2>
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
|
<tr>
|
|
<th>账户名称</th>
|
|
<td><asp:TextBox ID="Text_UserName" runat="server" CssClass="k2"></asp:TextBox>
|
|
</td>
|
|
</tr>
|
|
<asp:Panel ID="PanelPassword" runat="server">
|
|
<tr>
|
|
<th>介绍人:</th>
|
|
<td><asp:TextBox ID="Text_ContactName" runat="server" CssClass="k2"></asp:TextBox><br>无介绍人请留空!
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>一级密码:</th>
|
|
<td><asp:TextBox ID="Text_Password" runat="server" CssClass="k2"></asp:TextBox>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>二级密码:</th>
|
|
<td><asp:TextBox ID="Text_Password2" runat="server" CssClass="k2"></asp:TextBox>
|
|
</td>
|
|
</tr>
|
|
</asp:Panel>
|
|
<asp:Panel ID="Panel_Company" runat="server">
|
|
<tr id="gerenq">
|
|
<th>企业名称</th>
|
|
<td align="left"><asp:TextBox ID="Text_CompanyName" runat="server" CssClass="k2"></asp:TextBox>
|
|
</td>
|
|
</tr>
|
|
<tr id="gerenb">
|
|
<th>企业编号</th>
|
|
<td align="left"><asp:TextBox ID="Text_CompanyNumber" runat="server" CssClass="k2"></asp:TextBox>
|
|
</td>
|
|
</tr>
|
|
<tr id="lianxiren">
|
|
<th>联 系 人</th>
|
|
<td align="left"><asp:TextBox ID="Text_CompanyContact" runat="server" CssClass="k2"></asp:TextBox></td>
|
|
</tr>
|
|
<tr id="lianxidh">
|
|
<th>联系电话</th>
|
|
<td align="left"><asp:TextBox ID="Text_Mobile" runat="server" CssClass="k2"></asp:TextBox></td>
|
|
</tr>
|
|
</asp:Panel>
|
|
<tr>
|
|
<th>您的昵称</th>
|
|
<td>
|
|
<asp:TextBox ID="Text_NCName" runat="server" CssClass="k2"></asp:TextBox><br>将会公开显示在网页上
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>真实姓名</th>
|
|
<td>
|
|
<asp:TextBox ID="Text_RealName" runat="server" CssClass="k2"></asp:TextBox>
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>性别</th>
|
|
<td><asp:RadioButtonList ID="Text_Sex" RepeatDirection="Horizontal" Width="150" runat="server">
|
|
<asp:ListItem Value="男">男</asp:ListItem>
|
|
<asp:ListItem Value="女">女</asp:ListItem>
|
|
</asp:RadioButtonList>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<th>身份证号码</th>
|
|
<td><asp:TextBox ID="Text_SFZ" runat="server" CssClass="k2"></asp:TextBox>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>手机号码</th>
|
|
<td><asp:TextBox ID="Text_Phone" runat="server" CssClass="k2"></asp:TextBox>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Email</th>
|
|
<td><asp:TextBox ID="Text_Email" runat="server" CssClass="k2"></asp:TextBox></td>
|
|
</tr>
|
|
<tr>
|
|
<th>联系QQ</th>
|
|
<td><asp:TextBox ID="Text_QQ" runat="server" CssClass="k2"></asp:TextBox></td>
|
|
</tr>
|
|
<tr>
|
|
<th>所在城市</th>
|
|
<td>
|
|
<select name="select_p" id="select_p" class="k1">
|
|
<option value="-1">--省--</option>
|
|
<%=GetProvince() %>
|
|
</select>
|
|
<select name="select_c" id="select_c" class="k2">
|
|
<option value="-1">--市--</option>
|
|
</select>
|
|
<select name="select_q" id="select_q" class="k3" onchange="toaddress()">
|
|
<option value="-1">--县区--</option>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>邮寄地址</th>
|
|
<td><asp:TextBox ID="Text_MailingAddress" runat="server" CssClass="k3"></asp:TextBox> <font color="#ff0000">必须填写</a></td>
|
|
</tr>
|
|
<tr>
|
|
<th>邮政编码</th>
|
|
<td><asp:TextBox ID="Text_PostalCode" runat="server" CssClass="k2"></asp:TextBox></td>
|
|
</tr>
|
|
<asp:TextBox ID="Text_ProductName" Visible="false" runat="server"></asp:TextBox>
|
|
</table>
|
|
</div>
|
|
<div id="tj">
|
|
<asp:Button ID="Btn_Update" runat="server" Text="修改资料" CssClass="btn4" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
$("#ap_category").hide();
|
|
|
|
</script>
|
|
</asp:Content>
|