📄 sz_cbdj.php
字号:
<? include "my_l.php";?>
<? include "hanshui.php";?>
<?
#⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒#
##########################################################
### WEBHNMY 梦缘个人理财系统1.0 ###
## 主 页:http://www.webhnmy.com ##
## 邮 箱:liudeshengaa@163.com ##
## Q Q:80507419 ##
## 联系 人:追风青年 ##
## 手 机:13539227807 ##
## 本站服务:本站免费提供网络源程序、电脑基础教程、广告招##
### 租、并设有讨论区。 ###
##########################################################
?>
<? include "img/coon.php";?>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>梦缘山庄-管理页面</title>
<style type=text/css>
body {
background:#799AE1;
margin:0px;
font:normal 12px 宋体;
SCROLLBAR-FACE-COLOR: #FF9966;
SCROLLBAR-HIGHLIGHT-COLOR: #FF9966;
SCROLLBAR-SHADOW-COLOR: #FF9966;
SCROLLBAR-DARKSHADOW-COLOR: #FF9966;
SCROLLBAR-3DLIGHT-COLOR: #FF9966;
SCROLLBAR-ARROW-COLOR: #FFFFFF;
SCROLLBAR-TRACK-COLOR: #FFCC66;
background-color: #FFEBE1;
}
table { border:0px; }
td { font:normal 12px 宋体; }
img { vertical-align:bottom; border:0px; }
a { font:normal 12px 宋体; color:#000000; text-decoration:none; }
a:hover { color:#428EFF;text-decoration:underline; }
.sec_menu { border-left:1px solid white; border-right:1px solid white; border-bottom:1px solid white; overflow:hidden; background:#FFE6BF; }
.menu_title { }
.menu_title span { position:relative; top:2px; left:8px; color:#FF6600; font-weight:bold; }
.menu_title2 { }
.menu_title2 span { position:relative; top:2px; left:8px; color:#FFCC00; font-weight:bold; }
body,td,th {
font-family: ;
}
.style2 {color: #FF0000}
.style3 {color: #FF0000; font-weight: bold; }
.style5 {color: #000000}
</style>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1">
<tr>
<td height="580" valign="top" bgcolor="#FFEBE1"><div align="center">
<table width="97%" height="119" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#FF0000">
<tr>
<td height="117" valign="top" bgcolor="#FFEBE1"><table width="100%" border="0" cellpadding="0" cellspacing="1">
<tr>
<td height="25" bgcolor="#FFCC00"><div align="center" class="style3"> 全部统计 </div></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="25" bgcolor="#CCCC66"><div align="center">注:此操作显示本用户的全部流水账</div></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FF6600">
<tr valign="bottom" bgcolor="#FFFF20">
<td width="153" height="25" valign="middle"><div align="center">用户名</div></td>
<td width="153" height="25" valign="middle"><div align="center">流水账(金额)</div></td>
<td width="153" height="25" valign="middle"><div align="center">操作时间</div></td>
<td width="76" height="25" valign="middle"><div align="center">类型</div></td>
<td height="25" valign="middle"><div align="center"></div>
<div align="center">说明</div></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#000000">
<tr>
<td height="1"></td>
</tr>
</table>
<?
$user=($HTTP_SESSION_VARS["session_userr"]);
$limit=17;
$start=@$HTTP_GET_VARS["start"];
if(empty($start)) $start=0;
$result=mysql_query("select * from expenses where user = '$user'");
$num_max=mysql_numrows($result);
$result=mysql_query("select * from expenses where user = '$user' order by id DESC limit $start,$limit");
$num=mysql_numrows($result);
if (!empty($num)) {
for ($i=0;$i<$num;$i++) {
$id=mysql_result($result,$i,"id");
$j=mysql_result($result,$i,"j");
$sm=mysql_result($result,$i,"sm");
$lx=mysql_result($result,$i,"lx");
$mydata=mysql_result($result,$i,"mydata");
$user=mysql_result($result,$i,"user");
if(($i%2)==0) { $red="#FFFFE1"; } else { $red="#CCFFCC"; }
if($lx=="zc") { $lxa="支去"; } else { $lxa="收入"; }
echo <<<EOD
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FF6600">
<tr valign="bottom" bgcolor="$red">
<td width="153" height="25" valign="middle"><div align="center">$user</div></td>
<td width="153" height="25" valign="middle"><div align="center">$j/元</div></td>
<td width="153" height="25" valign="middle"><div align="center">$mydata</div></td>
<td width="76" height="25" valign="middle"><div align="center">$lxa</div></td>
<td height="25" valign="middle"><div align="center"></div>
<div align="center">$sm</div></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="1" background="img/xd1.gif"></td>
</tr>
</table>
EOD;
}
}
?>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#FF9900">
<tr>
<td bgcolor="#FFFFE1">
<div align="left"><a href="sz_cbdj.php"><<</a>
<?
$prve=$start-$limit;
if ($prve>=0) {
echo "<a href=sz_cbdj.php?start=$prve>上一页</a>";
echo " ";
}
//设置向后翻页的跳转
$next=$start+$limit;
if ($next<$num_max) {
echo "<a href=sz_cbdj.php?start=$next>下一页</a>";
}
?>
共<font color=red><?php echo "$num_max" ?></font>条记录 </div></td>
</tr>
</table>
</td>
</tr>
</table>
<br>
</div>
<? include "yj.php";?></td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -