<!--#include file="usertop.asp"-->
<!--#include file="usercookies.asp"-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>修改基本资料--<%=title%>--<%=web%></title>
</head>

<body>

<div align="center">
<script language="JavaScript">
  function isDigit(c)
{
    if(c.length > 1){
        return false;
    }
    ic = c - '0';
    return ic >= 0 && ic <= 9;
}
function checkinput(){
	
            if(form_fox.lxrname.value == ""){
            alert("请输入您真实姓名！");
            form_fox.lxrname.focus();
            return false;
        } 
　　　　　　if(form_fox.usertel.value == ""){
            alert("请输入联系电话！");
            form_fox.usertel.focus();
            return false;
        } 
			if(form_fox.dizhi.value == ""){
            alert("请输入通讯地址！");
            form_fox.dizhi.focus();
            return false;
        } 
		　　if(form_fox.code.value == ""){
            alert("请输入邮编！");
            form_fox.code.focus();
            return false;
        } 
	if(form_fox.card.value.length<15 || form_fox.card.value.length>18 ){
            alert("有这样的身份证？不想混了？！");
            form_fox.card.focus();
            return false;
        }  
	if(form_fox.email.value == ""){
            alert("请输入您有效的电子邮件,方便我们能联系到您！");
            form_fox.email.focus();
            return false;
        }
    return true;
}  
function isEmail(strEmail) {
 if (strEmail.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) != -1)
  return true;
 else
  alert("请输入您有效的电子邮件,方便我们能联系到您！");
}
</script>
<table cellSpacing="0" cellPadding="0" width="760" border="0" id="table1">
		<tr>
			<td  height="25" colspan="2" class="tdtop"><b>&nbsp;<img border="0" src="images/z1.gif" width="50" height="18"> 您的位置  
			<font color="#FFFFFF">-></font> <a class="scap1" href="index.htm"><%=title%></a>
			<font color="#FFFFFF">-></font> 修改基本资料：</b></td>
		</tr>
		<tr bgColor="#d9ebe5">
			<td  width="255" bgcolor="#FFFFFF" rowspan="2" valign="top">
            <!--#include file="caozuo.asp"-->
			</td>
		<tr bgColor="#d9ebe5">
			<td valign="top" width="505" height="315" bgcolor="#FFFFFF">
			<table border="1" width="100%" id="table2" bordercolorlight="#D9EBE5" bordercolordark="#D9EBE5" style="border-collapse: collapse" cellpadding="0" cellspacing="0">
				<tr>
					<td class="tdtxt07" bgcolor="#D9EBE5">&nbsp;<img border="0" src="images/a01.gif" width="25" height="25">
用户：<font color="#FF0000"><%=username%></font>，您好，欢迎来到会员中心！您登陆本站共<font color="#FF0000"><%=rsuser("dlcs")%></font>次。<br>
您目前级别：<%if rsuser("huitype")="0" then%><font color="#FF0000"><%=aname%>会员</font><%elseif rsuser("huitype")="1" then%><font color="#FF0000"><%=bname%>会员</font><%elseif rsuser("huitype")="2" then%><font color="#FF0000"><%=cname%>会员</font><%end if%>
，验证状态：<%if rsuser("yz")="0" then%><font color="#FF0000">没有通过验证</font>，验证后才可以享受更多权利！<%elseif rsuser("yz")="1" then%><font color="#FF0000">已通过验证</font>，祝您愉快！<%end if%></td>
				</tr>
				<tr>
					<td class="tdtxt07" bgcolor="#D9EBE5" height="20">
					<table border="0" width="100%" id="table3" cellspacing="1">
						<tr>
							<td bgcolor="#FFFFFF" colspan="2" height="40">
							<p align="center">
							<img border="0" src="images/a01.gif" width="25" height="25"><b>会员基本资料</b>（修改一次耗掉您 <font color="#FF0000"><%=zlhjf%></font> 分）</td>
						</tr>
	<form name="form_fox" onsubmit="return checkinput()" method="post" action="usereditchk.asp">
						<tr>
							<td bgcolor="#FFFFFF" width="29%" height="30" align="right">
							用户姓名：</td>
							<td bgcolor="#FFFFFF" height="30" width="69%">
			<input id="topic0" maxLength="4" size="14" name="lxrname" class="button01" value="<%=rsuser("lxrname")%>">
			<font color="#FF0000">*</font><input name="username" type="hidden" value="<%=username%>"></td>
						</tr>
						<tr>
							<td bgcolor="#FFFFFF" width="29%" height="30" align="right">
							联系电话：</td>
							<td bgcolor="#FFFFFF" height="30" width="69%">
			<input id="topic1" maxLength="30" size="14" name="usertel" class="button01" value="<%=rsuser("usertel")%>">
			<font color="#FF0000">*</font></td>
						</tr>
						<tr>
							<td bgcolor="#FFFFFF" width="29%" height="30" align="right">
							常用手机：</td>
							<td bgcolor="#FFFFFF" height="30" width="69%">
			<input id="topic2" maxLength="12" size="14" name="phone" class="button01" value="<%=rsuser("phone")%>">
			<font color="#FF0000">*</font></td>
						</tr>
						<tr>
							<td bgcolor="#FFFFFF" width="29%" height="30" align="right">
							常用QQ：</td>
							<td bgcolor="#FFFFFF" height="30" width="69%">
			<input id="topic6" maxLength="12" size="14" name="qq" class="button01" value="<%=rsuser("qq")%>"></td>
						</tr>
						<tr>
							<td bgcolor="#FFFFFF" width="29%" height="30" align="right">
							EMAIL：</td>
							<td bgcolor="#FFFFFF" height="30" width="69%">
			<input id="topic3" maxLength="30" size="23" onblur="isEmail(this.value)" name="email" class="button01" value="<%=rsuser("email")%>">
			<font color="#FF0000">*</font></td>
						</tr>
						<tr>
							<td bgcolor="#FFFFFF" width="29%" height="30" align="right">
							所属地区：</td>
							<td bgcolor="#FFFFFF" height="30" width="69%">
<%dim rsq,sqlq,xiangc,shic,shengc
set rsq=server.createobject("adodb.recordset") 
sqlq = "select * from [FOX_xiang] where id="&rsuser("xiang")&""
rsq.open sqlq,conn,1,1
xiangc=rsq("xiang")
rsq.close
set rsq=nothing
set rsq=server.createobject("adodb.recordset") 
sqlq = "select * from [FOX_shi] where id="&rsuser("shi")&""
rsq.open sqlq,conn,1,1
shic=rsq("shi")
rsq.close
set rsq=nothing
set rsq=server.createobject("adodb.recordset") 
sqlq = "select * from [FOX_sheng] where id="&rsuser("sheng")&""
rsq.open sqlq,conn,1,1
shengc=rsq("sheng")
rsq.close
set rsq=nothing
%><%=shengc%>-><%=shic%>-><%=xiangc%>&nbsp;<font color="#FF0000">*</font></td>
						</tr>
						<tr>
							<td bgcolor="#FFFFFF" width="29%" height="30" align="right">
							详细地址：</td>
							<td bgcolor="#FFFFFF" height="30" width="69%">
			<input id="topic4" maxLength="40" size="30" name="dizhi" class="button01" value="<%=rsuser("dizhi")%>">
			<font color="#FF0000">*</font></td>
						</tr>
						<tr>
							<td bgcolor="#FFFFFF" width="29%" height="30" align="right">
							邮政编码：</td>
							<td bgcolor="#FFFFFF" height="30" width="69%">
			<input id="topic5" maxLength="6" size="6" name="code" class="button01" value="<%=rsuser("code")%>">
			<font color="#FF0000">*</font></td>
						</tr>
						<tr>
							<td bgcolor="#D9EBE5" width="98%" height="30" align="right" colspan="2" class="tdtxt07">
							<p align="left"><b>下面填写注意：</b>请如实填写，这将增加您的诚信度。认证资料为身份证复印件或您个人照片或营业执照等证明您身份的资料，格式为：GIF,JPG,BMP。上传认证资料我们确认后将奖励您  
							<font color="#FF0000"> <%=rzjf%></font> 分。<font color="#FF0000">上传只有一次机会，对胡乱上传及资料不符者我们将删除在本站一切权利！</font></td>
						</tr>
						<tr>
							<td bgcolor="#FFFFFF" width="29%" height="30" align="right">
							身份证号码：</td>
							<td bgcolor="#FFFFFF" height="30" width="69%">
			<input id="topic7" maxLength="18" size="18" name="card" class="button01" value="<%=rsuser("card")%>">
			<font color="#FF0000">*</font></td>
						</tr>
						<tr>
							<td bgcolor="#FFFFFF" width="29%" height="30" align="right">
							认证资料：</td>
							<td bgcolor="#FFFFFF" height="30" width="69%"><%if rsuser("huitype")=0 then%>您是<%=aname%>会员，无此功能！<%elseif rsuser("huitype")>0 and rsuser("yz")="0" then%>您还未通过本站认证，暂不能上传资料！<%elseif rsuser("huitype")>0 and rsuser("yz")="1" and rsuser("cardpic")="0" then%><iframe name="I1" src="cardup.asp?id=<%=rsuser("id")%>" marginwidth="1" marginheight="1" height="30" width="100%" scrolling="no" border="0" frameborder="0"></iframe><%elseif rsuser("huitype")>0 and rsuser("yz")="1" and rsuser("cardpic")<>"0" then%>您已经上传了，<a target="_blank" href="cardupfiles/<%=rsuser("cardpic")%>">查看<%end if%></td>
						</tr>
						<tr>
							<td bgcolor="#FFFFFF" width="29%" height="30" align="right">
							　</td>
							<td bgcolor="#FFFFFF" height="30" width="69%">
			<input class="inputb" border="0" name="I5" type="submit" value="修改资料"></td>
						</tr></form>
					</table>
					</td>
				</tr>
			</table>
			</td>
			</tr>

</table>
<%rsuser.close
set rsuser=nothing%>
</div>

</body>
<!--#include file="userbottom.asp"--></body></html>