<!--#include file="conn.asp" -->
<!--#include file="inc/usdl.asp" -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=page_title%>用户管理中心.</title>
<link href="css.css" rel="stylesheet" type="text/css">
</head>

<% 
if Trim(Request.QueryString("w"))="save" then
sql="update user set name='"&Request.Form("name")&"',province='"&Request.Form("province")&"',address='"&Request.Form("address")&"',email='"&Request.Form("email")&"',tel='"&Request.Form("tel")&"',qq='"&Request.Form("qq")&"',ename='"&Request.Form("ename")&"' ,biz='"&Request.Form("biz")&"' ,zip='"&Request.Form("zip")&"' ,eaddress='"&Request.Form("eaddress")&"',unit='"&Request.Form("unit")&"',eunit='"&Request.Form("eunit")&"',cz='"&Request.Form("cz")&"' where (userid='"&session("us")&"')"
conn.execute(sql)
end if 
 %>
<body leftmargin="3" topmargin="0">

<!--#include file="head.asp" -->
<table width="763" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="763" height="19" valign="bottom"><font color="#990000">　→ </font>你当前位置：<a href="default.asp">首 
      页 </a>&gt;&gt;管理中心</td>
  </tr>
  <tr>
    <td height="1" background="images/2.jpg"></td>
  </tr>
</table>
<table width="763" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="175" valign="top"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td><div align="center"><img src="pic/manager.gif" width="174" height="70" border="1"></div></td>
        </tr>
        <tr> 
          <td height="17" bgcolor="#EEEEEE"> <div align="center">欢迎: <font color="#FF0000"><strong><%= session("us") %></strong></font> 光临</div></td> 
        </tr>
        <tr> 
          <% us=session("us")
			sql="select * from user where userid='"&us&"'"
			rs.open sql,conn,1,1
			
			 %>
          <td><p><font color="#FF0000">您的账面存款：</font></p>
            <p>&nbsp;</p>
            <p align="center"><font color="#FF0000">￥ <%= rs("je") %></font></p> 
            <p align="center">&nbsp;</p>
            <p>客户等级: <font color="#FF0000"><%= rs("dl") %> 
              
              </font></p></td>
        </tr>
        <tr>
          <td height="1" background="images/2.jpg"> </td>
        </tr>
      </table> 
	  <% rs.close %>
	  <div align="center"> 
       <!--#include file="user_inc.asp" -->
	    <% us=session("us")
			sql="select * from user where userid='"&us&"'"
			rs.open sql,conn,1,1
			
			 %>
      </div></td>
    <td width="1" background="images/1.jpg"> </td>
    <td width="587" valign="top"> 
      <table width="573" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="573"><a href="user.asp"><img src="images/mameger.gif" width="437" height="43"></a></td>
        </tr>
        <tr>
          <td><form name="form2" method="post" action="user1.asp?w=save">
              <table width="80%" height="220" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#F9F9F9">
                <tr> 
                  <td width="17%" height="25">用户名：</td>
                  <td width="83%"><font color="#FF0000"><strong><%= session("us") %></strong> </font></td>
                </tr>
                <tr> 
                  <td height="26">联系人：</td>
                  <td><div align="left">中文 
                      <input name="name" type="text" id="name" value="<%=rs("name")%>" size="15">
                      英文 
                      <input name="ename" type="text" id="ename" value="<%=rs("ename")%>" size="15">
                    </div></td>
                </tr>
                <tr> 
                  <td height="25">省份:</td>
                  <td><input name="province" type="text" id="province" value="<%=rs("province")%>" size="15">
                    城市:  
                    <input name="biz" type="text" id="biz" value="<%=rs("biz")%>" size="15"></td>
                </tr>
                <tr> 
                  <td height="25">地址(中文)</td>
                  <td><input name="address" type="text" id="address" value="<%=rs("address")%>" size="25"></td>
                </tr>
                <tr> 
                  <td height="25">地址(英文)</td>
                  <td><input name="eaddress" type="text" id="eaddress" value="<%=rs("eaddress")%>" size="25"></td>
                </tr>
                <tr>
                  <td height="25">单 位:</td> 
                  <td><input name="Unit" type="text" id="Unit" value="<%=rs("Unit")%>" size="15">
                    单位英文: 
                    <input name="eUnit" type="text" id="eUnit" value="<%=rs("eUnit")%>" size="15"></td>
                </tr>
                <tr> 
                  <td height="25">邮政编码;</td>
                  <td><input name="zip" type="text" id="zip" value="<%=rs("zip")%>" size="15"></td>
                </tr>
                <tr> 
                  <td height="25">电子邮件: </td>
                  <td><input name="email" type="text" id="email" value="<%=rs("email")%>" size="15"></td>
                </tr>
                <tr> 
                  <td height="24">电话:</td>
                  <td><input name="tel" type="text" id="tel" value="<%=rs("tel")%>" size="15"></td>
                </tr>
                <tr> 
                  <td height="28">传真:</td>
                  <td><input name="cz" type="text" id="cz" value="<%=rs("cz")%>" size="15"></td>
                </tr>
                <tr> 
                  <td height="28">QQ/icq:</td>
                  <td><input name="qq" type="text" id="qq" value="<%=rs("qq")%>" size="15"></td>
                </tr>
                <tr> 
                  <td colspan="2"><input type="submit" name="Submit2" value="确定修改"></td>
                </tr>
              </table>
            </form></td>
        </tr>
      </table></td>
  </tr>
  <tr> 
    <td>&nbsp;</td>
    <td colspan="2">&nbsp;</td>
  </tr>
</table>
<% rs.close  %>
<%
call CloseDatabase '关闭数据库链接
%>
<!--#include file="top.asp" -->

</body>
</html>





























