⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 myinfo.asp

📁 一个非常好的旅游网站程序.
💻 ASP
字号:
 <%@ language="vbscript"%>
<%response.Expires = 0%>
<!--#include file="conn.asp"-->
<%
 If Session("LoginSuccess")="" Then
	Response.Redirect"login.asp"
End If
%>
<% 
set rs=server.createobject("adodb.recordset")
sqltext2="select * from RegUser where UserId='" & Session("LoginSuccess") & "'"
rs.open sqltext2,conn,1,1
%>
<% 
set rs_order=server.createobject("adodb.recordset")
sqltext3="select * from OrderList where User_Id='" & Session("LoginSuccess") & "'"
rs_order.open sqltext3,conn,1,1
%>
<% 
set rs_order_ok=server.createobject("adodb.recordset")
sqltext4="select * from OrderList where User_Id='" & Session("LoginSuccess") & "' and Flag='已经发货 '"
rs_order_ok.open sqltext4,conn,1,1
%>
<html>
<head>
<title>会员管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<STYLE>BODY {
	FONT-SIZE: 9pt
}
TD {
	FONT-SIZE: 9pt
}
a            { text-decoration: none; color: #000000 }
a:hover      { text-decoration: underline; color: #0000FF }
</STYLE>
<SCRIPT language=JavaScript>
<!--
function openbag(url,name){
		window.open(url,name,"height=200,width=600,left=190,top=0,resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no")}
-->
</SCRIPT>
</head>

<body bgcolor="#FFFFFF" text="#000000" background="../pic/bg.jpg" leftmargin="0" topmargin="0">
<div align="center">
  <table width="778" border="0" cellspacing="0" cellpadding="0" align="center">
    <tr> 
      <td><iframe src=../top.asp noresize scrolling=no frameborder=0 width=778 height=100 hspace="0" vspace="0" marginheight="0"></iframe> 
      </td>
    </tr>
  </table>
  <table width="778" border="0" cellspacing="0" cellpadding="0">
    <tr> 
      <td height="423" background="../pic/user/images/user_06.gif" valign="top"><img src="../pic/user/images/user_01.gif" width="162" height="343" align="top" usemap="#Map" border="0"></td>
      <td width="616" valign="top"> 
        <table width="616" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td background="../pic/user/images/user_03.gif"><img src="../pic/user/images/user_03.gif" width="21" height="18"></td>
          </tr>
        </table>
        <div align="center"><br>
          <br>
          <p><font color="#FF0000"><b>我 的 统 计 信 息</b></font></p>
          <table width="591" border="0" cellspacing="0" cellpadding="0">
            <tr> 
              <td> 
                <div align="center"> 
                  <table width="580" border="0" cellspacing="2" cellpadding="0">
                    <tr> 
                      <td width="543"> 
                        <DIV align=center> 
                          <TABLE class=main cellPadding=3 width=569 height="184" border="1" bordercolor="#FFD5AA" cellspacing="0" bordercolorlight="#FFB871" bordercolordark="#FFF7EE">
                            <TBODY> 
                            <TR> 
                              <TD width=139 bgColor=#ffffff align="right" height="30">我的会员申请日期:</TD>
                              <TD bgColor=#ffffff width="412" height="30">   <%=rs("RegTime")%></TD>
                            </TR>
                            <tr> 
                              <TD width=139 bgColor=#ffffff align="right" height="30"><FONT color=#000000>最后一次访问时间:</FONT></TD>
                              <TD bgColor=#ffffff width="412" height="30">  <%=rs("lastTime")%></TD>
                            </tr>
                            <TR> 
                              <TD width=139 bgColor=#ffffff align="right" height="31">登陆网站次数:</TD>
                              <TD bgColor=#ffffff width="412" height="31">   <%=rs("look_count")%> 
                                 (次)</TD>
                            </TR>
                            <TR> 
                              <TD width=139 bgColor=#ffffff align="right" height="31">发出的订单数:</TD>
                              <TD bgColor=#ffffff width="412" height="31">   <%=rs_order.recordcount%> 
                                 (张)</TD>
                            </TR>
                            <TR> 
                              <TD width=139 bgColor=#ffffff align="right" height="31">我的成交笔数:</TD>
                              <TD bgColor=#ffffff width="412" height="31">  <%=rs_order_ok.recordcount%> 
                                 (笔)</TD>
                            </TR>
                            <TR> 
                              <TD width=139 bgColor=#ffffff align="right" height="31">我的全部购物金额:</TD>
                              <TD bgColor=#ffffff width="412" height="31">   <%=rs("shop_sum")%> 
                                 (元) </TD>
                            </TR>
                            </TBODY> 
                          </TABLE>
                        </DIV>
                      </td>
                    </tr>
                  </table>
                </div>
              </td>
            </tr>
          </table>
          <br>
        </div>
      </td>
    </tr>
  </table>
  <map name="Map"> 
    <area shape="rect" coords="19,126,114,149" href="javascript:openbag('../check.asp?shopname=<%=session("shop")%>')">
    <area shape="rect" coords="19,160,112,184" href="default.asp">
    <area shape="rect" coords="19,194,114,217" href="myinfo.asp">
    <area shape="rect" coords="19,228,113,251" href="odrsrchset.asp">
    <area shape="rect" coords="23,262,113,283" href="cctsrch.asp">
  </map>
</div>
</body>
</html>
<%
rs.close
rs_order.close
rs_order_ok.close
conn.close
%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -