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

📄 inc45.php

📁 六合特码投注系统
💻 PHP
字号:
<script type="text/JavaScript">
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
</script>

<?php
if (!empty($_POST['qi']))
{
$qi2=$_POST['qi']; 
}
?>
	<table width="480" border="0" cellpadding="3" cellspacing="2">
      <tr>
        <td width="60">报表</td>
        <td>
		<form name="form" method="post" action="" style="margin:0">
          <input name="qi" type="text" id="qi" value="<?php Echo $qi2;?>" size="8">
		  <input type="submit" name="Submit" value="查询" style="color:#000080">
		</form>
		</td>
      </tr>
    </table>

	<table width="480" border="0" cellpadding="2" cellspacing="1" bgcolor="#000066">
      <tr>
        <td align="center" bgcolor="#375d9e"><font color="#FFFFFF">期数</font></td>
        <td align="center" bgcolor="#375d9e"><font color="#FFFFFF">会员</font></td>
        <td align="center" bgcolor="#375d9e"><font color="#FFFFFF">注额</font></td>
        <td align="center" bgcolor="#375d9e"><font color="#FFFFFF">结果</font></td>
      </tr>
<?php

$exec="Select * from hy3 where hy2='".$_SESSION['web']."' order by id"; 
mysql_query("set names gbk");
$resu=mysql_query($exec); 
while($rs=mysql_fetch_object($resu)) 
{ 
?>
      <tr>
        <td align="center" bgcolor="#FFFFFF"><?php Echo $qi2;?></td>
        <td align="center" bgcolor="#FFFFFF">
		<a href="#" onClick="MM_openBrWindow('inc46.php?name=<?php Echo $rs->name;?>&qi=<?php Echo str_replace("#","",$qi2);?>','','LEFT=50,TOP=200,scrollbars=yes,width=920,height=400')">
		<?php Echo $rs->name;?></a></td>
<?php
$exec2="Select * from z where name='".$rs->name."' and qi='".$qi2."' order by id"; 
mysql_query("set names gbk");
$resu2=mysql_query($exec2); 
$jin=0;
$jie=0;
$jie2=0;
$jiez=0;
while($rs2=mysql_fetch_object($resu2)) 
{ 
$jin=$jin+$rs2->jin;
$jie=$jie+$rs2->jie;
$jie2=$jie2+$rs2->jie2;
$jiez=$jie+$jie2;
}
?>
        <td align="center" bgcolor="#FFFFFF"><?php Echo $jin;?></td>
        <td align="center" bgcolor="#FFFFFF"><?php Echo $jiez;?></td>
      </tr>
<?php
$jinz=$jinz+$jin;
$jiez2=$jiez2+$jiez;
} 
?>
      <tr>
        <td align="center" bgcolor="#FFFFFF">&nbsp;</td>
        <td align="center" bgcolor="#FFFFFF">&nbsp;</td>
        <td align="center" bgcolor="#FFFFFF"><strong style="color:#FF0000"><?php Echo $jinz;?></strong></td>
        <td align="center" bgcolor="#FFFFFF"><strong style="color:#FF0000"><?php Echo $jiez2;?></strong></td>
      </tr>
	</table>

⌨️ 快捷键说明

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