64 lines
2.7 KiB
HTML
64 lines
2.7 KiB
HTML
|
|
<!DOCTYPE html>
|
|||
|
|
<html lang="en">
|
|||
|
|
<head>
|
|||
|
|
<meta charset="UTF-8">
|
|||
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|||
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|||
|
|
<title>房间礼物周榜统计</title>
|
|||
|
|
</head>
|
|||
|
|
|
|||
|
|
<body>
|
|||
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="10">
|
|||
|
|
<!-- <tr>
|
|||
|
|
<td height="50" align="center" valign="middle" bgcolor="#87ceeb" style="color:#fff"><a href="/index/index/ranking" style="text-decoration:none">点击查看热门新秀排行</a></td>
|
|||
|
|
</tr>-->
|
|||
|
|
<!--<tr>
|
|||
|
|
<td height="50" align="center" valign="middle" bgcolor="#15a589" style="color:#fff">【<a href="/api/week/index?uid={$Request.get.uid}&type=3">上周流水</a>】【<a href="/api/week/index?uid={$Request.get.uid}&type=1">本周流水</a>】【<a href="/api/week/index?uid={$Request.get.uid}&type=2">本月流水</a>】</td>
|
|||
|
|
</tr>-->
|
|||
|
|
<tr>
|
|||
|
|
<td height="50" align="center" valign="middle" bgcolor="#15a589" style="color:#fff">【<a href="/api/week/index?uid={$Request.get.uid}&type=2">上周流水</a>】【<a href="/api/week/index?uid={$Request.get.uid}&type=1">本周流水</a>】【<a href="/api/week/index?uid={$Request.get.uid}&type=3">本月流水</a>】【<a href="/api/week/index?uid={$Request.get.uid}&type=4">上月流水</a>】</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr>
|
|||
|
|
<td bgcolor="#ededed"><table width="100%" border="0" cellspacing="0" cellpadding="10">
|
|||
|
|
<tr>
|
|||
|
|
<td width="100%" height="50">ID:<?php echo $result['userinfo']['uid'];?><br>房主:<?php echo $result['userinfo']['nickname'];?></td>
|
|||
|
|
|
|||
|
|
</tr>
|
|||
|
|
|
|||
|
|
</table></td>
|
|||
|
|
</tr>
|
|||
|
|
<tr>
|
|||
|
|
<td><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#f9f9f9">
|
|||
|
|
<tr>
|
|||
|
|
<td height="50" align="center" valign="middle" bgcolor="#f9f9f9">时间</td>
|
|||
|
|
<td height="50" align="center" valign="middle" bgcolor="#f9f9f9">价值</td>
|
|||
|
|
|
|||
|
|
</tr>
|
|||
|
|
<?php
|
|||
|
|
$total_one=$total_two=0;
|
|||
|
|
foreach($result['rows'] as $val){?>
|
|||
|
|
<tr>
|
|||
|
|
<td height="50" align="center" valign="middle" bgcolor="#FFFFFF"><?php echo $val['ct']?></td>
|
|||
|
|
<td height="50" align="center" valign="middle" bgcolor="#FFFFFF"><?php
|
|||
|
|
|
|||
|
|
$total_one+=$val['total_price'];
|
|||
|
|
echo $val['total_price'];
|
|||
|
|
|
|||
|
|
?></td>
|
|||
|
|
|
|||
|
|
</tr>
|
|||
|
|
<?php }?>
|
|||
|
|
<tr>
|
|||
|
|
<td height="50" align="center" valign="middle" bgcolor="#f9f9f9">小计:</td>
|
|||
|
|
<td height="50" align="center" valign="middle" bgcolor="#f9f9f9"><?php echo $total_one;?></td>
|
|||
|
|
|
|||
|
|
</tr>
|
|||
|
|
</table></td>
|
|||
|
|
</tr>
|
|||
|
|
<tr>
|
|||
|
|
<td>总计:<?php echo $result['total']?></td>
|
|||
|
|
</tr>
|
|||
|
|
</table>
|
|||
|
|
</body>
|
|||
|
|
</html>
|