
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>会员中心_<%=TD_home%></title>
<meta name="keywords" content="<%=TD_keywords%>,会员中心" />
<meta name="description" content="<%=TD_description%>:会员中心" />
</head>
<!--#include file="css_js.html" --><body>
<!--#include file="top.html" -->
<div id="container">
  <div class="xxxxx">
 <div id="content">

<table width="100%" border="0" cellspacing="0" cellpadding="0" id="newscon">
  <tr>
    <td class="title">会员中心</td>
  </tr>
  <tr>
    <td align="right" class="title2">&nbsp; </td>
  </tr>
  <tr>
    <td class="con">
   <%if session("username")<>"" then%>
        <%set rs=server.createobject("adodb.recordset") 
exec="select * from [user] where id="&session("username")&"  " 
rs.open exec,conn,1,1 %><form action="updata_user.asp" method="post" name="add">
        <table width="100%" border="0" cellpadding="5" cellspacing="0">
          <tr>
            <td width="26%" height="30">登陆帐号：</td>
            <td colspan="2"><%=rs("useradmin")%>
              <input name="id" type="hidden" value="<%=rs("id")%>" /></td>
            <td width="10%">&nbsp;</td>
          </tr>
          <tr>
            <td height="30">真实姓名：</td>
            <td colspan="2"><input name="zsname" type="text" value="<%=rs("zsname")%>" size="30" class="yifancms"/></td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td height="30">性别：</td>
            <td colspan="2"><input type="radio" name="sex" value="0" <%if rs("sex")=0 then%>checked<%end if%> />
              先生　
              <input type="radio" name="sex" value="1" <%if rs("sex")=1 then%>checked<%end if%> />
              女士</td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td height="30">密码保护问题：</td>
            <td colspan="2"><%=rs("wen")%></td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td height="30">密码保护答案：</td>
            <td colspan="2"><input name="da" type="text" value="<%=rs("da")%>" size="30" class="yifancms"/></td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td height="30">公司名称：</td>
            <td colspan="2"><input name="gsname" type="text" value="<%=rs("gsname")%>" size="30" class="yifancms"/></td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td height="30">详细地址：</td>
            <td colspan="2"><input name="gsadd" type="text" value="<%=rs("gsadd")%>" size="40" class="yifancms"/></td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td height="30">邮政编码：</td>
            <td colspan="2"><input name="youbian" type="text" value="<%=rs("youbian")%>" size="20" class="yifancms"/></td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td height="30">联系电话：</td>
            <td colspan="2"><input name="tel" type="text" value="<%=rs("tel")%>" size="30" class="yifancms"/></td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td height="30">联系传真：</td>
            <td colspan="2"><input name="fax" type="text" value="<%=rs("fax")%>" size="30" class="yifancms"/></td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td height="30">手机号码：</td>
            <td colspan="2"><input name="sj" type="text" value="<%=rs("sj")%>" size="30" class="yifancms"/></td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td height="30">电子邮箱：</td>
            <td colspan="2"><input name="mail" type="text" value="<%=rs("mail")%>" size="30" class="yifancms"/></td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td height="30">公司网址：</td>
            <td colspan="2"><input name="wz" type="text" value="<%=rs("wz")%>" size="30" class="yifancms"/></td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td height="30">注册时间：</td>
            <td colspan="2"><%=rs("data")%></td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td height="30">注册IP：</td>
            <td colspan="2"><%=rs("ip")%></td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td height="30">登陆次数：</td>
            <td colspan="2"><%=rs("dlcs")%></td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td height="30">最后登陆：</td>
            <td colspan="2"><%=rs("dldata")%></td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td height="30">&nbsp;</td>
            <td colspan="2"><label>
              <input type="submit" name="button" id="button" value="更新资料" />
            </label></td>
            <td>&nbsp;</td>
          </tr>
        </table></form>
        <%
else
response.write ("<div style="" padding:20px;font-size:14px; color:#990000; font-weight:bold; text-align:left"">您未登陆！请先登陆</div>")
response.write("<a href=""login.asp"" style="" padding:20px;font-size:14px; text-align:left"">已注册会员请点此登陆！</a>")
response.write("<a href=""Register.asp"" style="" padding:20px;font-size:14px; text-align:left"">还没有帐号？点击此处进行注册！</a>")
end if
%>
</td>
  </tr>
</table>
</div>
</div></div>


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

