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

📄 huiyuan.asp

📁 电子商务系统Easy_Buy是一个在线销售系统
💻 ASP
字号:
<!--#include file="0.asp"--><!--#include file="../../conn/conn.asp"-->
<link href="../css/css.css" rel="stylesheet" type="text/css">
<STYLE>
BODY {
	SCROLLBAR-FACE-COLOR: #799ae1;
	SCROLLBAR-HIGHLIGHT-COLOR: #799ae1;
	SCROLLBAR-SHADOW-COLOR: #799ae1;
	SCROLLBAR-3DLIGHT-COLOR: #799ae1;
	SCROLLBAR-ARROW-COLOR: #fcfcfc;
	SCROLLBAR-TRACK-COLOR: #aabfec;
	SCROLLBAR-DARKSHADOW-COLOR: #799ae1;
	SCROLLBAR-BASE-COLOR: #799ae1;
	background-color: #CAD7F7;
}
.STYLE3 {
	color: #FFFFFF;
	font-weight: bold;
}
</STYLE>
<title>会员列表</title>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr> 
    <td bgcolor="#CAD7F7"> 
      <%
Set rs= Server.CreateObject("ADODB.Recordset")
sql="select * from huiyuan where userid in(select id from user_name where name='"&session("www.wygk.cn")&"') order by id DESC"
rs.open sql,conn,1,1
if rs.eof then
response.write "<br>暂无"
end if
 rs.pagesize = 15
if request("page")=""  or isempty(request("page")) then
page = 1
else
page=int(request("page"))
end if
if page>rs.pagecount then
page=rs.pagecount
end if
if not rs.BOF then
Rs.Move Rs.PageSize*(page-1)
end if%>
      <br>
      <table width="100%" border="0" cellpadding="2" cellspacing="1" bgcolor="#FFFFFF">
        <tr valign="middle"> 
          <td width="100" height="25" align="center" background="../../images/admin_bg_11.gif" bgcolor="#CCCCCC"><span class="STYLE3">会员账号</span></td>
          <td width="100" height="25" align="center" background="../../images/admin_bg_11.gif" bgcolor="#CCCCCC"><span class="STYLE3">真实姓名</span></td>
          <td height="25" align="center" background="../../images/admin_bg_11.gif" bgcolor="#CCCCCC"><span class="STYLE3">联系电话</span></td>
          <td width="100" height="25" align="center" background="../../images/admin_bg_11.gif" bgcolor="#CCCCCC"><span class="STYLE3">购物总金额</span></td>
        </tr>
        <%
i=1
while not rs.eof and i<=rs.pagesize
%>
        <tr valign="middle"> 
          <td width="100" align="center" bgcolor="#E8F1FF"><%=rs("huiyuan")%></td>
          <td width="100" align="center" bgcolor="#E8F1FF"><%=rs("name")%></td>
          <td bgcolor="#E8F1FF"><%=rs("tel")%></td>
          <td width="100" align="center" bgcolor="#E8F1FF"><%=rs("je")%></td> 
        </tr>
        <%
i=i+1
 rs.MoveNext                                              
 wend 
%>
        <tr valign="middle"> 
          <td colspan="5" align="center" bgcolor="#E8F1FF"> 
            <%
if rs.recordcount<>0 then
if page-1 mod 10=0 then
		p=(page-1) \ 10
	else
		p=(page-1) \ 10
	end if

	response.write "<form name=form method=post action=?xlbid="&request("xlbid")&">页次:"& page &"/"& rs.pagecount &"页 每页"& rs.pagesize &" 共"& rs.recordcount &"条记录"&_
					" 分页:"

	if p*10>0 then response.write "<a href='?xlbid="&request("xlbid")&"&page="&p*10&"' title=上十页>[&lt;&lt;]</a>   "
    uming_i=1
	for ii=p*10+1 to P*10+10
		   if ii=page then
	          response.write "<font color=#ff0000>["+Cstr(ii)+"]</font> "
		   else
		      response.write "<a href='?xlbid="&request("xlbid")&"&page="&ii&"'>["+Cstr(ii)+"]</a>   "
		   end if
		if ii=rs.pagecount then exit for
		 uming_i=uming_i+1
	next
	if ii<=rs.pagecount and uming_i=11 then response.write "<a href='?xlbid="&request("xlbid")&"&page="&ii&"' title=下十页>[&gt;&gt;]</a>   "
response.write("  跳页:<input type=text name=page size=2 maxlength=3 > <input type=submit name=Submit2 value=Go></form>")
end if%> </td>
        </tr>
      </table> 
    </td>
  </tr>
</table>

⌨️ 快捷键说明

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