-
Notifications
You must be signed in to change notification settings - Fork 0
/
happywinlist.php
101 lines (101 loc) · 4.68 KB
/
happywinlist.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<?php
include_once("inc/conn.php");
include_once("inc/function.php");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Luck16-Games Center-<?=$web_name;?></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta name="keywords" content="<?=$web_keywords;?>" />
<meta name="description" content="<?=$web_description;?>" />
<META http-equiv=X-UA-Compatible content=IE=EmulateIE7>
<link href="style/default.css" rel="stylesheet" type="text/css" />
</head>
<?php include_once("top.php");?>
<script language="javascript">
qiehuan(2);
document.getElementById("qh_con2").getElementsByTagName('li')[2].className="current";
</script>
<DIV class="wrapper">
<DIV class="page_content">
<DIV class="webgame-info-title">
<UL>
<LI class="current"><A href="happy.php">Luck16 home</A></LI>
<LI><A href="happyhelp.php">Luck16 guide</A></LI>
<LI><A href="happymylist.php">My press history</A></LI>
<LI><A href="happymodel.php">Edit press pattern</A></LI>
<LI><A href="happyautoset.php">Autopress</A></LI>
<LI><A href="happydirection.php">Trend chart</A></LI>
</UL>
</DIV>
<DIV class="webgame-info">
<DIV class="webgame-info-tabs">
<table width="100%" height="27" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="12"><img src="images/game2_03.jpg" width="12" height="27" /></td>
<td background="images/game2_04.jpg" class="font14">Winners of Draw# <?=$_GET["happyno"]?></td>
<td width="13"><img src="images/game2_06.jpg" width="13" height="27" /></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="5"></td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#9F4F18"><table width="100%" border="0" cellpadding="0" cellspacing="1">
<tr>
<td height="28" align="center" background="images/happy16_40.jpg" bgcolor="#FFFFFF" class="font-white">user</td>
<td align="center" background="images/happy16_40.jpg" bgcolor="#FFFFFF" class="font-white">pressed (<?=$web_moneyname?>)</td>
<td align="center" background="images/happy16_40.jpg" bgcolor="#FFFFFF" class="font-white">gained (<?=$web_moneyname?>)</td>
</tr>
<?php
$intpage = 30;
if (isset($_GET['page'])) {
$rsnum = (intval($_GET['page']) -1)*$intpage;
}
else {
$rsnum = 0;
}
$sql="Select points,hdpoints,uid from {$web_dbtop}game16_users_tz where NO=".intval($_GET["happyno"])." and hdpoints>0 Order by hdpoints desc";
$query=$db->query($sql);
if($db->fetch_array($query))
$intnum=$db->num_rows($query);
$query=$db->query($sql." limit $rsnum,$intpage");
while($rs=$db->fetch_array($query)){
$query_f=$db->query("Select vip,maxexperience from {$web_dbtop}users where id=".$rs["uid"]);
if($rs_f=$db->fetch_array($query_f)){
$vip=$rs_f["vip"];
$maxexperience=$rs_f["maxexperience"];
}
?>
<tr>
<td height="32" align="center" bgcolor="#FCF5E1" class="font12game"><a href="user.php?id=<?=$rs["uid"]?>" style="color:green;"><?=$rs["uid"]?></a><?// if($vip){?><!--<img src="images/vip.gif" />--><? //}?> <? showstars(userslive($maxexperience));?></td>
<td align="center" bgcolor="#FFFFFF" class="font12game"><?=number_format($rs["points"])?> <img src="<?=$web_moneypic?>" /></td>
<td align="center" bgcolor="#FFFFFF" class="font-red font12game"><?=number_format($rs["hdpoints"])?> <img src="<?=$web_moneypic?>" /></td>
</tr>
<?
}
?>
</table></td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="4">
<tr>
<td align="center"><?php
include_once("inc/page_class.php");
$page=new page(array('total'=>$intnum,'perpage'=>$intpage));
echo $page->show(5,"","");?></td>
</tr>
</table>
</DIV>
<DIV class=cl></DIV>
</DIV>
<DIV class="area960-b h5px"></DIV>
<!--Flink End-->
<div class="blank10"></div>
<!--Footer Start-->
<?php include_once("footer.php");?>
</DIV>