<!--#include file="../check.asp"--><!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>
<title>商户后台 - 更新我的联系方式</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link type="text/css" rel="stylesheet" href="/css/reset.css" />
<link type="text/css" rel="stylesheet" href="/css/main.css" />
<link type="text/css" rel="stylesheet" href="/css/template_vendor.css" />
<script type="text/javascript" src="/scripts/common.js"></script>
<script type="text/javascript" src="/scripts/nav.js"></script>
<script type="text/javascript" src="/scripts/footerdock.js"></script>
</head>
<body>
<!--#include file="top.asp"-->



<%
Cmd=request("Cmd")
ErrStr=""
if Cmd="Up" then
   set Rs=GrateRs("select * from member where username like '"&trim(Session("Usr_UserName"))&"'",3)
   if not Rs.eof then 
		Rs("mobile")=request.form("mobile")
		Rs("phone")=request.form("phone")
		Rs("email")=request.form("email")
		Rs("qq_msn")=request.form("qq_msn")
		Rs("site_url")=request.form("site_url")
		Rs.update

		ErrStr="账户信息修改成功!"

   Else
      Errstr="用户不存在"
   end if







   response.write "<script language='JavaScript'>{window.alert('"&Errstr&"');window.location='javascript:history.back();';}</script>"
end if
%>








<%
   set Rs=GrateRs("select * from member where username like '"&trim(Session("Usr_UserName"))&"'",3)
   
   if not Rs.eof then
%>




	<div id="mainborder">
		<div id="main">
			
		<h3 class="bigico bigico_shield">更新联系方式</h3>
		<div class="vspace"></div>
		
		<div class="shrink">
			<form method="post" action="?Cmd=Up" id="ctl01">


<div class="aspNetHidden">


				

<table cellpadding="5" cellspacing="0">
	<tr>
		<td width="140">用户通行证:</td>
		<td><span class="orange bold"><%=Rs("username")%></span></td>
	</tr>
	<tr>
		<td>手机:</td>
		<td><input name="mobile" type="text" value="<%=Rs("mobile")%>" maxlength="11" id="mobile" style="width:200px;" /></td>
	</tr>
	<tr>
		<td>固定电话:</td>
		<td><input name="phone" type="text" value="<%=Rs("phone")%>" maxlength="13" id="phone" style="width:200px;" /></td>
	</tr>
	<tr>
		<td>腾讯QQ:</td>
		<td><input name="qq_msn" type="text" value="<%=Rs("qq_msn")%>" maxlength="11" id="qq_msn" style="width:200px;" /></td>
	</tr>
	<tr>
		<td>EMAIL:</td>
		<td><input name="email" type="text" value="<%=Rs("email")%>" maxlength="36" id="email" style="width:200px;" /></td>
	</tr>
	<tr>
		<td>网站网址:</td>
		<td><input name="site_url" type="text" value="<%=Rs("site_url")%>" maxlength="50" id="site_url" style="width:200px;" /></td>
	</tr>
	
	<tr>
		<td></td>
		<td><input type="submit" name="updateContactCard$save" value="确认" id="updateContactCard_save" class="button" style="width:90px;" /></td>
	</tr>
	<tr>
		<td></td>
		<td><ul class="remind" id="feedbacks"><li class="prompt">请填写真实有效的联系方式，以便我们联系到您。</li></ul><div class="clear"></div></td>
	</tr>
</table>
			</form>
		</div>

<%
   end if
%>


	
		</div>
	</div>
</div>
</body>
</html>