<!--#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>

<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") %> 
              <% rs.close  %>
              </font></p></td>
        </tr>
        <tr>
          <td height="1" background="images/2.jpg"> </td>
        </tr>
      </table> 
	  <div align="center"> 
       <!--#include file="user_inc.asp" -->
      </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">
            <p align="center"><a href="user.asp"><img src="images/mameger.gif" width="437" height="43"></a></p>
          </td>
        </tr>
        <tr> 
          <td><div align="left">会员<font color="#FF0000"><strong><%= session("us") %></strong></font>的财务收支记录</div></td>
        </tr>
        <tr>
          <td><table width="573" height="37" border="0" cellpadding="0" cellspacing="1">
              <tr bgcolor="#0080C0"> 
                <td width="82" height="16"> 
                  <div align="center"><font color="#FFFFFF">操 作</font></div></td>
                <td width="224"> 
                  <div align="center"><font color="#FFFFFF">项 目</font></div></td>
                <td width="62"> 
                  <div align="center"><font color="#FFFFFF"> 入 账</font></div></td>
                <td width="45"> 
                  <div align="center"><font color="#FFFFFF">支 出</font></div></td>
                <td width="46"> 
                  <div align="center"><font color="#FFFFFF">余 额</font></div></td>
                <td width="107"> 
                  <div align="center"><font color="#FFFFFF">交 易 
                    日 期</font></div></td>
              </tr>
              <% 
			  sql="select * from memo where userid='"&session("us")&"' order by id desc"
			  pp=20
  
rs.open sql,conn,1,1 

if not rs.eof then
  count=rs.recordcount
    if count=empty then
      count=0
    end if
    if count/pp>(count\pp) then
        totalpage=(count\pp)+1
  else
   totalpage=(count\pp)
    end if
end if 
 pagecount=cint(request.querystring("topage"))                              
 if pagecount<=0 then pagecount=1
 if pagecount>totalpage then pagecount=totalpage
 
 
 
if not rs.eof then
  rs.movefirst
 rs.move (pagecount-1)*pp
 i=0
 while not rs.eof and i<pp
 i=I+1
			  
			   %>
              <tr bgcolor="#FAFAFA"onmouseover="this.style.backgroundColor='#D7E7FF';return true;" onmouseout="this.style.backgroundColor='#F5F5F5';"
> 
                <td height="18"> 
                  <div align="center"><font color="#FF0000"><%= rs("log") %></font></div></td>
                <td> <%= rs("body") %></td>
                <td> <div align="center"><font color="#000066"> 
                    <% if rs("je")<0 then 
				 Response.Write("/")
				 else 
				 Response.Write(rs("je"))
				 end if%>
                    </font></div></td>
                <td><div align="center"><font color="#000066"> 
                    <% if rs("je")>=0 then 
				 Response.Write("/")
				 else 
				 Response.Write(rs("je"))
				 end if%>
                    </font></div></td>
                <td><div align="center"><font color="#000099"><%= rs("zje") %></font></div></td>
                <td> <div align="center"><font color="#FF0000"><%= rs("dat") %></font></div></td>
              </tr>
              <% 
			  rs.movenext
			  wend
			  
			  rs.close
			  end if %>
            </table></td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr bgcolor="#0080C0"> 
          <td width="46%"><font color="#FFFFFF">一共有:<%= count %> 条　一共:<%= totalpage %> 页 当前: <%= pagecount %> 页</font></td> 
          <td width="54%"> <font color="#FFFFFF"> 
            <% 
	  if totalpage>1 then
	     if totalpage-pagecount>0 then
	  %>
            <a href="user8.asp?topage=<%=pagecount+1%>"><font color=#FFFFFF>下一页</font></a> 
            <% 
	   
	  end if
	  if pagecount<>1 and totalpage-pagecount>0 then 
	   response.write "<font color=#FFFFFF>/</font>"
	   end if
	   
	   if pagecount<>"1" then %>
            <a href="user8.asp?topage=<%=pagecount-1%>"><font color=#FFFFFF>上一页</font></a>　 
            <% 
	  end if
	  end if
	  %>
            　</font></td>
        </tr>
      </table>
      <p><font color="#F5F5F5">ff</font></p></td>
  </tr>
  <tr> 
    <td>&nbsp;</td>
    <td colspan="2">&nbsp;</td>
  </tr>
</table>
<%
call CloseDatabase '关闭数据库链接
%>
<!--#include file="top.asp" -->

</body>
</html>





























