forked from guwensen/ssc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsGame_l_gx.php
86 lines (80 loc) · 3.03 KB
/
sGame_l_gx.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
<?php
define('Copyright', '作者QQ:1834219632');
define('ROOT_PATH', $_SERVER["DOCUMENT_ROOT"].'/');
include_once ROOT_PATH.'function/global.php';
$ConfigModel = configModel("`g_gx_game_lock`, `g_game_gx_9`");
if ($ConfigModel['g_gx_game_lock'] !=1 || $ConfigModel['g_game_gx_9'] !=1)exit(href('right.php'));
$types = '總和、龍虎';
$onclick = 'onclick="getResult(this)" href="javascript:void(0)" ';
$getResult = 'class="nv_a" '.$onclick;
//获取当前盘口
$name = base64_decode($_COOKIE['g_user']);
$db=new DB();
$sql = "SELECT g_panlu,g_panlus FROM g_user where g_name='$name' LIMIT 1";
$result = $db->query($sql, 1);
$pan = explode (',', $result[0]['g_panlus']);
$gurl='sGame_l_gx';
$g = $_GET['g'];
?>
<?php include_once 'inc/top_gx.php';?>
<?php include_once 'inc/file_gx.php';?>
<form id="dp" action="" method="post" target="leftFrame">
<input type="hidden" name="actions" value="fn1" />
<input type="hidden" name="gtypes" value="1" />
<table class="wq" border="0" cellpadding="0" cellspacing="0">
<tr class="t_list_caption">
<td colspan="6" background="images/lh.jpg">
<embed src="images/l.swf" width="100%" height="420" align="middle" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" quality="High" wmode="transparent"></OBJECT>
</td>
</tr>
<tr class="t_list_caption">
<td width="120">項目</td>
<td>賠率</td>
<td>金額</td>
<td width="120">項目</td>
<td>賠率</td>
<td>金額</td>
</tr>
<tr class="t_td_text">
<td class="caption_1">龍</td>
<td class="o" id="h6"></td>
<td class="tt" id="t6"></td>
<td class="caption_1">虎</td>
<td class="o" id="h8"></td>
<td class="tt" id="t8"></td>
</tr>
</table>
<table border="0" width="700">
<tr height="30">
<td align="right" style="padding-right:10px"><input type="button" onclick="reset()" class="inputs" value="重填" /></td>
<td align="left" style="padding-left:10px"><input type="submit" id="submits" class="inputs" value="下註" /></td>
<td width="0" class="actiionn"></td>
</tr>
</table>
</form>
<br />
<table class="wq" border="0" cellpadding="0" cellspacing="0">
<tr class="t_list_caption">
<td><a class="nv" <?php echo $onclick?>>總和大小</a></td>
<td><a class="nv" <?php echo $onclick?>>總和單雙</a></td>
<td><a class="nv" <?php echo $onclick?>>總和尾數大小</a></td>
<td><a class="nv_a" <?php echo $onclick?>>龍虎</a></td>
</tr>
<tr>
<td colspan="4" class="t_td_text" align="center">
<table class="hj" border="0" cellpadding="0" cellspacing="1">
<tr class="t_td_text" id="z_cl"></tr>
</table>
</td>
</tr>
</table>
<?php include_once 'inc/cl_file.php';?>
<?php
$db = new DB();
$text =$db->query("SELECT g_text FROM g_set_user_news WHERE g_name = '{$user[0]['g_name']}' LIMIT 1", 0);
if ($text){
alert($text[0][0]);
}
?>
</body>
</html>