-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
executable file
·271 lines (264 loc) · 12.2 KB
/
index.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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
<!DOCTYPE HTML>
<html>
<head>
<title>World Cup 2018 Lottery</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="assets/css/main.css" />
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css">
<script src="https://cdn.jsdelivr.net/gh/ethereum/web3.js/dist/web3.min.js"></script>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.3.1.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js"></script>
</head>
<body class="subpage">
<!-- Header -->
<header id="header">
<h1><a href="#">Created <span>by Z.A.L Union Technology.</span></a></h1>
<a href="#menu">Menu</a>
</header>
<!-- Nav -->
<nav id="menu">
<ul class="links">
<li><a href="index.php">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="faq.html">Faq</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
<!-- Main -->
<div id="main">
<section class="wrapper style1">
<div class="inner">
<!-- Intro -->
<div class="row">
<div class="10u 12u$(medium)">
</div>
<div class="2u 12u$(medium)">
<select id="langSelect" onchange='doTranslateTo(this.value)'>
<option class="translatable" value='EN'>English</option>
<option class="translatable" value='ZH'>中文</option>
<option class="translatable" value='JA'>日本語</option>
</select>
</div>
</div>
<div class="row">
<div class="2u 12u$(small)">
<span class="image fit"><img src="images/logo.png" alt="" />
</div>
<div class="10u$ 12u$(small)">
<h2 id="content" class="translatable">World Cup 2018 Lottery</h2>
</div>
</div>
<br />
<font color="red"><span class="translatable" id="msgArea"></span></font>
<br />
<hr class="major" />
<div class="row">
<div class="5u 12u$(small)">
<span class="translatable">My Account Info</span>
<div class="box">
<div>
<span class="translatable">Total amount of wager</span>
<span> : </span>
<span id="userAccountInfo_Invested"></span>
<br/>
<span class="translatable">Total winning bonus</span>
<span> : </span>
<span id="userAccountInfo_Prize"></span>
<br/>
<span class="translatable">No convertible amount</span>
<span> : </span>
<span id="userAccountInfo_Balance"></span>
<br/>
<br/>
<a href="javascript:getUserAccountInfo();" class="button alt"><span class="translatable">Refresh</span></a>
<span> </span>
<button class="translatable" type="button" id="withdrawBalance" onClick="doWithdrawBalance();" disabled="disabled">Withdraw My bonus</button>
</div>
</div>
</div>
</div>
<font color="red"><span class="translatable" id="userAccountInfo"></span></font>
<div class="row">
<div class="5u 12u$(small)">
<span class='translatable'>Enter Your Prediction</span>
<div class="box">
<div class="row uniform">
<div class="3u 12u$(small)">
<span class="translatable">No.</span>
</div>
<div class="4u 12u$(small)">
<input type="text" style="text-align:center;" size="3" maxlength="2" id="inputMatchNo"/>
</div>
<div class="5u$ 12u$(small)"> </div>
<div class="3u 12u$(small)">
<span class="translatable">Prediction</span>
</div>
<div class="3u 12u$(small)">
<input type="radio" id="win" name="inputPrediction" value="1" checked>
<label for="win"><span class="translatable">Win</span></label>
</div>
<div class="3u 12u$(small)">
<input type="radio" id="Draw" name="inputPrediction" value="3">
<label for="Draw"><span class="translatable">Draw</span></label>
</div>
<div class="3u$ 12u$(small)">
<input type="radio" id="Fail" name="inputPrediction" value="2">
<label for="Fail"><span class="translatable">Fail</span></label>
</div>
<div class="3u 12u$(small)">
<span class="translatable">Wager</span>
</div>
<div class="4u 12u$(small)">
<input type="text" style="text-align:right;" size="8" maxlength="6" id="inputInvest" name="inputInvest"/>
</div>
<div class="5u$ 12u$(small)">
<span>ETH<br>[0.001 ETH ~ 100 ETH].</span>
</div>
<div class="2u 12u$(small)"> </div>
<div class="7u 12u$(small)">
<span> </span>
</div>
<div class="3u$ 12u$(small)">
<a href="javascript:doPrediction();" class="button alt"><span class="translatable">BUY</span></a>
</div>
</div>
</div>
</div>
<font color="red"><span class="translatable" id="doPredictionInfo"></span></font>
</div>
<a href="javascript:getMatchInfoList01();" class="button alt"><span class="translatable">Refresh</span></a>
<hr class="major" />
<div class="row">
<div class="flex flex-tabs">
<ul class="tab-list">
<li><a href="#" data-tab="Group" class="active"><span class="translatable">Group</span></a></li>
<li><a href="#" data-tab="RoundOf16"><span class="translatable">RoundOf16</span></a></li>
<li><a href="#" data-tab="QuarterFinals"><span class="translatable">QuarterFinals</span></a></li>
<li><a href="#" data-tab="SemiFinals"><span class="translatable">SemiFinals</span></a></li>
<li><a href="#" data-tab="PlayOffForThirdPlace"><span class="translatable">PlayOffForThirdPlace</span></a></li>
<li><a href="#" data-tab="Final"><span class="translatable">Final</span></a></li>
</ul>
<div class="tabs">
<div class="tab Group flex flex-3 active">
<div class="table-wrapper">
<table class="alt" id="matchInfoList">
<tbody>
<tr style="font-weight: bold; text-align: center">
<th style="width:100px"><span class="translatable">No.</span></th>
<th style="width:300px"><span class="translatable">Match</span></th>
<th style="width:235px"><span class="translatable">Start Time(Local)</span></th>
<th style="width:300px"><span class="translatable">My holdings</span></th>
<th style="width:300px"><span class="translatable">Bonus pool</span></th>
<th style="width:80px"><span class="translatable">Result</span></th>
</tr>
</tbody>
</table>
</div>
</div>
<div class="tab RoundOf16 flex flex-3 ">
<div class="table-wrapper">
<table class="alt" id="matchInfoList_1">
<tbody>
<tr style="font-weight: bold; text-align: center">
<th style="width:100px"><span class="translatable">No.</span></th>
<th style="width:300px"><span class="translatable">Match</span></th>
<th style="width:235px"><span class="translatable">Start Time(Local)</span></th>
<th style="width:300px"><span class="translatable">My holdings</span></th>
<th style="width:300px"><span class="translatable">Bonus pool</span></th>
<th style="width:80px"><span class="translatable">Result</span></th>
</tr>
</tbody>
</table>
</div>
</div>
<div class="tab QuarterFinals flex flex-3 ">
<div class="table-wrapper">
<table class="alt" id="matchInfoList_2">
<tbody>
<tr style="font-weight: bold; text-align: center">
<th style="width:100px"><span class="translatable">No.</span></th>
<th style="width:300px"><span class="translatable">Match</span></th>
<th style="width:235px"><span class="translatable">Start Time(Local)</span></th>
<th style="width:300px"><span class="translatable">My holdings</span></th>
<th style="width:300px"><span class="translatable">Bonus pool</span></th>
<th style="width:80px"><span class="translatable">Result</span></th>
</tr>
</tbody>
</table>
</div>
</div>
<div class="tab SemiFinals flex flex-3 ">
<div class="table-wrapper">
<table class="alt" id="matchInfoList_3">
<tbody>
<tr style="font-weight: bold; text-align: center">
<th style="width:100px"><span class="translatable">No.</span></th>
<th style="width:300px"><span class="translatable">Match</span></th>
<th style="width:235px"><span class="translatable">Start Time(Local)</span></th>
<th style="width:300px"><span class="translatable">My holdings</span></th>
<th style="width:300px"><span class="translatable">Bonus pool</span></th>
<th style="width:80px"><span class="translatable">Result</span></th>
</tr>
</tbody>
</table>
</div>
</div>
<div class="tab PlayOffForThirdPlace flex flex-3 ">
<div class="table-wrapper">
<table class="alt" id="matchInfoList_4">
<tbody>
<tr style="font-weight: bold; text-align: center">
<th style="width:100px"><span class="translatable">No.</span></th>
<th style="width:300px"><span class="translatable">Match</span></th>
<th style="width:235px"><span class="translatable">Start Time(Local)</span></th>
<th style="width:300px"><span class="translatable">My holdings</span></th>
<th style="width:300px"><span class="translatable">Bonus pool</span></th>
<th style="width:80px"><span class="translatable">Result</span></th>
</tr>
</tbody>
</table>
</div>
</div>
<div class="tab Final flex flex-3 ">
<div class="table-wrapper">
<table class="alt" id="matchInfoList_5">
<tbody>
<tr style="font-weight: bold; text-align: center">
<th style="width:100px"><span class="translatable">No.</span></th>
<th style="width:300px"><span class="translatable">Match</span></th>
<th style="width:235px"><span class="translatable">Start Time(Local)</span></th>
<th style="width:300px"><span class="translatable">My holdings</span></th>
<th style="width:300px"><span class="translatable">Bonus pool</span></th>
<th style="width:80px"><span class="translatable">Result</span></th>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
<!-- Footer -->
<footer id="footer">
<div class="copyright">
<ul class="icons">
<li><a href="#" class="icon fa-twitter"><span class="label">Twitter</span></a></li>
<li><a href="#" class="icon fa-facebook"><span class="label">Facebook</span></a></li>
<li><a href="#" class="icon fa-instagram"><span class="label">Instagram</span></a></li>
<li><a href="#" class="icon fa-snapchat"><span class="label">Snapchat</span></a></li>
</ul>
© Z.A.L Union Techology. Created
</div>
</footer>
<!-- Scripts -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/jquery.scrolly.min.js"></script>
<script src="assets/js/skel.min.js"></script>
<script src="assets/js/util.js"></script>
<script src="assets/js/main.js"></script>
<script src="assets/js/worldcup.js"></script>
</body>
</html>