📄 inc29.php
字号:
<table width="780" border="0" cellpadding="3" cellspacing="2">
<tr>
<td height="24">
货量:
<a href="home.php?id=29">总量</a>
<a href="home.php?id=33">特号</a>
<?php Echo date("Y-m-d H:i:s",time());?></td>
</tr>
</table>
<table width="380" border="0" cellpadding="4" cellspacing="1" bgcolor="#000066">
<tr>
<td colspan="2" bgcolor="#FFFFFF" style="Line-height:20px">
期数: <?php Echo $qi2;?><br>
开奖日期: <?php Echo $shi2;?></td>
</tr>
<tr>
<td align="center" bgcolor="#375d9e" width="200"><font color="#FFFFFF">游戏种类</font></td>
<td align="center" bgcolor="#375d9e"><font color="#FFFFFF">总注额</font></td>
</tr>
<?php
$exec="Select * from s where name='".$_SESSION['web']."' order by id";
mysql_query("set names gbk");
$resu=mysql_query($exec);
$counz=0;
while($rs=mysql_fetch_object($resu))
{
?>
<tr>
<td align="center" bgcolor="#FFFFFF"><?php Echo $rs->s;?></td>
<td align="right" bgcolor="#FFFFFF">
<?php
//列出所有会员
$exec2="Select * from hy3 where hy2='".$_SESSION['web']."' order by id";
mysql_query("set names gbk");
$resu2=mysql_query($exec2);
$coun=0;
while($rs2=mysql_fetch_object($resu2))
{
//某个会员
$exec3="Select * from z where name='".$rs2->name."' and s='".$rs->s."' and qi='".$qi2."' order by id";
mysql_query("set names gbk");
$resu3=mysql_query($exec3);
$jin=0;
while($rs3=mysql_fetch_object($resu3))
{
$jin=$jin+$rs3->jin;
}
$coun=$coun+$jin;
}
?>
<?php Echo $coun;?></td>
</tr>
<?php
$counz=$counz+$coun;
}
mysql_close();
?>
<tr>
<td align="center" bgcolor="#FFFFFF"><strong>注额总数</strong></td>
<td align="right" bgcolor="#FFFFFF"><strong><?php Echo $counz;?></strong></td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -