📄 hisinc.php
字号:
<table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="34"><strong>帐户历史</strong></td>
</tr>
</table>
<table width="340" border="0" cellpadding="4" cellspacing="1" bgcolor="#000066">
<tr>
<td align="center" bgcolor="#57526b"><font color="#FFFFFF">日期</font></td>
<td align="center" bgcolor="#57526b"><font color="#FFFFFF">注额</font></td>
<td align="center" bgcolor="#57526b"><font color="#FFFFFF">赢/输</font></td>
</tr>
<?php
$exec="Select * from his order by id LIMIT 0,8";
mysql_query("set names gbk");
$resu=mysql_query($exec);
while($rs=mysql_fetch_object($resu))
{
$qi=$rs->qi;
$aa=str_replace("#","",$qi);
?>
<tr>
<td align="center" bgcolor="#e9e9e9">
<a href="zhu.php?qi=<?php Echo $aa;?>">
<?php Echo $rs->qi;?>
<?php Echo $rs->shi;?>
<?php Echo $rs->we;?></a></td>
<td aLign="center" bgcolor="#FFFFe0">
<?php
$jin=0;
$jie=0;
$jie2=0;
$jiez=0;
$exec2="Select * from z where name='".$_SESSION['name']."' and qi='".$qi."' order by id";
mysql_query("set names gbk");
$resu2=mysql_query($exec2);
while($rs2=mysql_fetch_object($resu2))
{
$jin=$jin+$rs2->jin;
$jie=$jie+$rs2->jie;
$jie2=$jie2+$rs2->jie2;
$jiez=$jie+$jie2;
}
$jinz=$jinz+$jin;
$yingz=$yingz+$jiez;
?>
<?php Echo $jin;?></td>
<td aLign="center" bgcolor="#FFFFe0"><?php Echo $jiez;?></td>
</tr>
<?php
}
?>
<tr>
<td aLign="center" bgcolor="#e9e9e9"> </td>
<td aLign="center" bgcolor="#FFFFe0">
<strong style="font-size:14px; color:#CC0000"><?php Echo $jinz;?></strong></td>
<td aLign="center" bgcolor="#FFFFe0">
<strong style="font-size:14px; color:#CC0000"><?php Echo $yingz;?></strong></td>
</tr>
</table>
<table width="600" border="0" aLign="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<br><br>
<font style="font-size:12px; color:#808080">
(c) 保留所有权利 更多六合程序请访问:www.winsk.com QQ:58424431<BR>
21.5 0.0232s REP207</font></td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -