📄 ustate.php
字号:
<?php
session_start();
include("../inc/conn.php");
include_once($_SESSION["inclanguage"]);
include("../inc/drop_date.inc.php");
include("check.php");
$user=$_SESSION["user"];
include_once("ref_common.php");
$dates=$_SESSION["downdate"];
$opendate=$_SESSION["opendate"];
$credit=$_SESSION["credit"];
$copy=$_SESSION["copyright"];
$menu=$pn_downstate;
include_once("../inc/reduce.inc.php");
$reduced=reduce($user,$dates);
mysql_query("update online set title='$menu' where user_account='$user'",$conn);
$sqlr=mysql_query("select * from drop_bill where user_name='$user' and drop_date='$dates' order by id desc",$conn);
$sqlp=mysql_query("select opens from results where dates='$dates'",$conn);
$sk=mysql_result($sqlp,0,"opens");
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../styles/css_g/css2.CSS" rel="stylesheet" type="text/css">
<title></title><style type="text/css">
<!--
body {
margin-left: 8px;
background-image: url(../styles/nimg_g/main.gif);
}
.style1 {font-size: 16px}
-->
</style>
</head>
<script language="javascript">
var null_col='';
var over_col='#cccccc';
var click_col='#aadddd';
function light_bar(st,act){
switch(act){
case 'ovr':
if( st.style.backgroundColor==null_col ) st.style.backgroundColor=over_col;
break;
case 'out':
if( st.style.backgroundColor==over_col ) st.style.backgroundColor=null_col;
break;
case 'clk':
if( st.style.backgroundColor!=click_col ) st.style.backgroundColor=click_col;
else st.style.backgroundColor=over_col;
break;
}
}
</script>
<body oncontextmenu="return false" onselectstart="return false"
onkeydown="return (event.ctrlKey && event.keyCode == 78) ? false : true"
ondragstart="return false" onmouseover="window.status=''; return true"><table width="95%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="5" ></td>
</tr>
</table>
<?php include("../inc/linemsg.php");?><table width="95%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="5" ></td>
</tr>
</table>
<table width="688" height="24" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="1%" height="24"><img src="../styles/nimg/menu_l.gif" width="10" height="29"></td>
<td width="97%" valign="middle" background="../styles/nimg/menu_c.gif">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><span class="fw12"><?=$pn_downstate?></span></td>
</tr>
</table></td>
<td width="2%"><img src="../styles/nimg/menu_r.gif" width="10" height="29"></td>
</tr>
</table>
<table width="685" border="0" cellpadding="0" cellspacing="1" class="t11">
<tr>
<td height="107" valign="top" class="t17"><table width="100%" height="67" border="0" cellpadding="1" cellspacing="1" class="t11" >
<tr class="t12">
<td width="102" height="20" ><div align="center" class="fw12"><?=$pn_ordernumbers?></div></td>
<td width="131" ><div class="fw12">
<div align="center"><?=$pn_pourtime?></div>
</div></td>
<td width="216"><div class="fw12">
<div align="center"><?=$pn_pourcontent?></div>
</div></td>
<td width="50"><div align="center" class="fw12"><?=$pn_rate?></div></td>
<td width="82"><div>
<div align="center"><span class="fw12"><?=$pn_pourmoney?></span></div>
</div></td>
<td width="83"><div class="fw12">
<div align="center"><?=$pn_winmoney?></div>
</div></td>
</tr>
<?php
$i=0;
while($rowr=mysql_fetch_array($sqlr))
{ ?>
<tr class="t20" onmousedown="light_bar(this,'clk')" onmouseover="light_bar(this,'ovr')" onmouseout="light_bar(this,'out')">
<td height="22"><div align="center" class="fh12">
<?php echo substr(str_replace("-","",$rowr["drop_time"]),0,8).$rowr["ID"];?>
</div></td>
<td><div align="center" class="fh12">
<?=substr($rowr["drop_time"],5)?>
</div></td>
<td><div align="center"><span class="fh12">
<?=$rowr["drop_date"]?>
<?=$pn_dates?> /
<font color="red"><?=$rowr["drop_type"]?></font><span class="style1"> @ </span> <font color="red"><?=$rowr["drop_content"]?></font>
<? if($rowr["drop_details"]<>"0") echo $rowr["drop_details"]; ?>
</span></div></td>
<td align="center" > <font color="red">
<?=$rowr["drop_rate"]?>
</font></td>
<td ><div align="right" class="fh12">
<?=$rowr["drop_money"]?>
</div></td>
<td align="right" >
<?php
$bf=$rowr["drop_rate"]*$rowr["drop_money"]-$rowr["drop_money"];
$all_bf+=$bf;
echo $bf;
?>
</td>
</tr>
<?
$my+=$rowr["drop_money"];
$all_rate+=$rowr["drop_rate"];
$i++;
}
$my+=$reduced;
$all_bf+=$reduced;
?>
<tr class="t20">
<td height="21" colspan="4"><div align="right"></div>
<div align="right" class="fbback"></div>
<div align="right"><span class="fbback"><?=$pn_count?>:
<?=$i?>
<?=$pn_note?></span> </div>
<div align="right" class="fbback"> </div></td>
<td ><div align="right" class="fbback">
<?=$my?>
</div></td>
<td ><div align="right" class="fbback">
<?=$all_bf?>
</div></td>
</tr>
</table> </td>
</tr>
</table>
</body>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -