forked from jd5688/online-sports-betting
-
Notifications
You must be signed in to change notification settings - Fork 0
/
details_coming.php
672 lines (572 loc) · 22 KB
/
details_coming.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
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
<?php
$baseurl='.';
$homemenu='active';
?>
<!DOCTYPE HTML>
<html>
<?php include ''.$baseurl.'/common/header.php'; ?>
<body>
<?php include ''.$baseurl.'/common/head.php'; ?>
<p class="notice">This game will start at 2013/9/21 12:00</p>
<div class="container row">
<main role="main" class="row details">
<article class="col span_8">
<div class="box">
<div class="row">
<div class="gmlabel">
<label class="new">NEW</label>
<label class="free">FREE BET</label>
<label class="rec">Recommend</label>
</div>
<h1>Real Madrid vs FC Barcelona Which team will get a first goal?</h1>
<ul class="taglist row">
<li class="cat"><a href="/">SOCCER</a></li>
<li class="tags"><a href="/">LEGA13/14</a><a href="/">BARCA</a><a href="/">CLASICO</a></li>
</ul>
<div class="gmimg" style="background-image:url('/images/blur-background08.jpg');"></div>
<div class="desc">
<p>Monday, Sep 20th Liga BBVA Match 20, Which team will get a first goal?</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent quis facilisis arcu. Aenean sollicitudin ligula vel imperdiet accumsan. Pellentesque vitae lectus nec nisl commodo mollis.</p>
</div>
<div class="ftshare row">
<div class="col span_12"><a class="like">9 Like</a><a class="bookmark">Bookmark</a><a href="#share" class="share">Share</a></div>
</div><!-- .ftshare END -->
</div>
<div class="gmstatus row">
<label>Current Game Status</label>
<div class="status row">
<div class="col span_4">
<span class="title time">BET end time</span>
<div class="timer_cd" id="game001">Time Up</div>
<script language="JavaScript" type="text/javascript">
cdTimer1();
function cdTimer1() {
var elemID = 'game001';
var year = 2014;
var month = 6;
var day = 19;
var hour = 19;
var minutes = 0;
var timeLimit = new Date( year, month - 1, day, hour, minutes );
var timer = new CountdownTimer( elemID, timeLimit );
timer.countDown();
}
</script>
</div>
<div class="col span_4">
<span class="title coin">Placed</span>
35,760<span class="count">COIN</span>
</div>
<div class="col span_4">
<span class="title coin">Join</span>
824<span class="count">USERS</span>
</div>
</div><!-- .status END -->
<table class="table">
<thead>
<tr>
<th>#</th>
<th>Items</th>
<th>Placed COIN</th>
<th>BET Users</th>
<th>Ratio</th>
</tr>
</thead>
<tbody>
<tr data-href="#share">
<td>1</td>
<td>Real Madrid</td>
<td>239</td>
<td>209</td>
<td>49.8<span>%</span></td>
</tr>
<tr data-href="#share">
<td>2</td>
<td>FC Barcelona</td>
<td>131</td>
<td>58</td>
<td>27.3<span>%</span></td>
</tr>
<tr data-href="#share">
<td>3</td>
<td>Both teams scoreless</td>
<td>109</td>
<td>46</td>
<td>22.7<span>%</span></td>
</tr>
</tbody>
</table><!-- .table END -->
</div>
<div class="gmstatus bd row">
<div class="col span_6">
<label>Game Info</label>
<ul class="gminfo-box row">
<li class="row">
<div class="col span_6">
Game ID
</div>
<div class="col span_6 txt-r">
000001
</div>
</li>
<li class="row">
<div class="col span_6">
BET Start time
</div>
<div class="col span_6 txt-r">
05/11/2014 12:00 AM
</div>
</li>
<li class="row">
<div class="col span_6">
BET End time
</div>
<div class="col span_6 txt-r">
05/11/2014 12:00 AM
</div>
</li>
<li class="row">
<div class="col span_6">
COIN / 1BET
</div>
<div class="col span_6 txt-r">
10<span>COIN</span>
</div>
</li>
<li class="row">
<div class="col span_6">
House Commission
</div>
<div class="col span_6 txt-r">
10<span>%</span>
</div>
</li>
</ul>
<p class="req-txt">This Game require atleast more<span class="odds">500<span>COIN</span></span> on table. It will be canceled automatically if coin until the close time.</p>
</div><!-- .span_6 END -->
<div class="col span_6">
<label>High Betting Users</label>
<ul class="user-list-box row">
<li class="row">
<a href="#">
<div class="user-panel col span_9">
<div class="pull-left image">
<img src="/images/avatar3.png" class="img-circle" alt="Username">
</div>
<div class="pull-left info">
<h6>Username001</h6>
<p>Real Madrid</p>
</div>
</div>
<div class="col span_3">
239<span>COIN</span>
</div>
</a>
</li>
<li class="row">
<a href="#">
<div class="user-panel col span_9">
<div class="pull-left image">
<img src="/images/avatar3.png" class="img-circle" alt="Username">
</div>
<div class="pull-left info">
<h6>Username001</h6>
<p>Real Madrid</p>
</div>
</div>
<div class="col span_3">
239<span>COIN</span>
</div>
</a>
</li>
<li class="row">
<a href="#">
<div class="user-panel col span_9">
<div class="pull-left image">
<img src="/images/avatar3.png" class="img-circle" alt="Username">
</div>
<div class="pull-left info">
<h6>Username001</h6>
<p>Real Madrid</p>
</div>
</div>
<div class="col span_3">
239<span>COIN</span>
</div>
</a>
</li>
</ul>
<div class="seemore"><a id="see_more" href="#share">See more</a></div>
</div><!-- .span_6 END -->
</div><!-- .status END -->
</div>
<div class="box">
<h4>Match Betting</h4>
<ul>
<li>Mon, Sep 20th Liga BBVA 2013-14 Match 20</li>
<li>Real Madrid vs FC Barcelona</li>
<li>Mon, Sep 20th 19:00 Kick Off (GMT+8)</li>
</ul>
<h4>Game Condition</h4>
<ul>
<li>Book closes Mon, Sep 20th 18:00 (GMT+8)</li>
<li>An unplayed or postponed match will be treated as a non-runner for settling purposes unless it is played within the same week (ending on Sunday) in which case the bet will stand unless cancelled by mutual consent.</li>
</ul>
</div><!-- .box END -->
</article>
<aside id="sidebar" role="betform" class="col span_4">
<div class="floating-widget">
<div class="betbox">
<h3 class="title">
<span class="title time">BET start time</span>
<div class="timer_cd" id="game105">Time Up</div>
<script language="JavaScript" type="text/javascript">
cdTimer1();
function cdTimer1() {
var elemID = 'game105';
var year = 2014;
var month = 6;
var day = 30;
var hour = 14;
var minutes = 30;
var timeLimit = new Date( year, month - 1, day, hour, minutes );
var timer = new CountdownTimer( elemID, timeLimit );
timer.countDown();
}
</script>
<span>Choose Item and BET this below</span>
</h3>
<div class="inner">
<h4>BET Item</h4>
<div class="item_radio">
<label class="cbxbd"><input type="radio" name="item_radio" id="item_radio1" value="item1">Real Madrid</label>
<label class="cbxbd"><input type="radio" name="item_radio" id="item_radio2" value="item2">FC Barcelona</label>
<label class="cbxbd"><input type="radio" name="item_radio" id="item_radio3" value="item3">Both teams scoreless</label>
</div>
<h4>How Many COIN You want place?</h4>
<div class="bet_radio row">
<label class="cbxbd"><input type="radio" name="bet_radio" id="bet_radio" value="bet1">10<span>COIN</span></label>
<label class="cbxbd"><input type="radio" name="bet_radio" id="bet_radio" value="bet2">20<span>COIN</span></label>
<label class="cbxbd"><input type="radio" name="bet_radio" id="bet_radio" value="bet3">30<span>COIN</span></label>
<label class="cbxbd"><input type="radio" name="bet_radio" id="bet_radio" value="bet4">40<span>COIN</span></label>
<label class="cbxbd"><input type="radio" name="bet_radio" id="bet_radio" value="bet5">50<span>COIN</span></label>
<label class="cbxbd"><input type="radio" name="bet_radio" id="bet_radio" value="bet10">100<span>COIN</span></label>
</div>
<div class="notify">
<label class="cbxbd"><input type="checkbox" name="notify_radio" id="notify_radio" value="notify_result">Notify me when found the game result</label>
</div><!-- .notify END -->
<p class="rate">このゲームは1BETあたり<span class="odds">500<span>COIN</span></span>必要です。<br>うち100 COIN(25%)はテラ銭となります。</p>
</div><!-- .inner END -->
</div><!-- .betbox END -->
<a href="" class="bet btn disabled">Coming soon</a>
<a href="./details.php">on Live</a>
<a href="./details_betted.php">After Betted / Judging</a>
<a href="./details_coming.php">future game</a>
<a href="./details_result.php">result game</a>
</div><!-- .floating-widget END -->
</aside>
</main>
<div class="related">
<h4>Related Game</h4>
<ul class="row gmlist">
<li>
<a href="./details.php" class="gametbl">
<div class="bet-overlay"><span class="btn animated fadeInUp">BET NOW</span></div>
<span class="icon"><i class="soccer">icon</i></span>
<div class="gmimg" style="background-image:url('/images/blur-background08.jpg');"></div>
<div class="gmtxt">
<h3>Real Madrid vs FC Barcelona Which team will get a first goal?</h3>
<p class="gid">Game ID : 005</p>
<p class="desc">Monday, Sep 20th Liga BBVA Match 20, Which team will get a first goal?</p>
<ul class="betitem row">
<li>Real Madrid</li>
<li>FC Barcelona</li>
<li>Both teams scoreless</li>
</ul>
</div><!-- .gmtxt END -->
<div class="status row">
<div class="col span_6">
<span class="title time">BET end time</span>
<div class="timer_cd" id="game005">Time Up</div>
<script language="JavaScript" type="text/javascript">
cdTimer1();
function cdTimer1() {
var elemID = 'game005';
var year = 2014;
var month = 6;
var day = 20;
var hour = 14;
var minutes = 30;
var timeLimit = new Date( year, month - 1, day, hour, minutes );
var timer = new CountdownTimer( elemID, timeLimit );
timer.countDown();
}
</script>
</div>
<div class="col span_6">
<span class="title coin">Placed</span>
5,567<span class="count">COIN</span>
</div>
</div><!-- .status END -->
<div class="barbase row">
<div class="betvol itm-1" style="width: 30%"></div>
<div class="betvol itm-2" style="width: 55%"></div>
<div class="betvol itm-3" style="width: 15%"></div>
</div><!-- .barbase END -->
</a>
<div class="ftshare row">
<div class="col span_8"><a class="like">9 Like</a><a class="bookmark">Bookmark</a></div>
<div class="col span_4"><a href="#share" class="share">Share</a></div>
</div><!-- .ftshare END -->
</li><!-- gameitem END -->
<li>
<a href="./details.php" class="gametbl">
<div class="bet-overlay"><span class="btn animated fadeInUp">BET NOW</span></div>
<span class="icon"><i class="soccer">icon</i></span>
<div class="gmimg" style="background-image:url('/images/blur-background09.jpg');"></div>
<div class="gmtxt">
<h3>ダルビッシュ投手は次の登板試合でいくつ奪三振を獲得できる?</h3>
<p class="gid">Game ID : 006</p>
<p class="desc">2013/9/18 登板予定のMLB アスレチックス戦でダルビッシュ選手はいくつの奪三振を奪えるでしょうか?</p>
<ul class="betitem row">
<li>Real Madrid</li>
<li>FC Barcelona</li>
<li>Both teams scoreless</li>
</ul>
</div><!-- .gmtxt END -->
<div class="status row">
<div class="col span_6">
<span class="title time">BET end time</span>
<div class="timer_cd" id="game006">Time Up</div>
<script language="JavaScript" type="text/javascript">
cdTimer1();
function cdTimer1() {
var elemID = 'game006';
var year = 2014;
var month = 6;
var day = 18;
var hour = 10;
var minutes = 30;
var timeLimit = new Date( year, month - 1, day, hour, minutes );
var timer = new CountdownTimer( elemID, timeLimit );
timer.countDown();
}
</script>
</div>
<div class="col span_6">
<span class="title coin">Placed</span>
35,700<span class="count">COIN</span>
</div>
</div><!-- .status END -->
<div class="barbase row">
<div class="betvol itm-1" style="width: 30%"></div>
<div class="betvol itm-2" style="width: 55%"></div>
<div class="betvol itm-3" style="width: 15%"></div>
</div><!-- .barbase END -->
</a>
<div class="ftshare row">
<div class="col span_8"><a class="like">9 Like</a><a class="bookmark">Bookmark</a></div>
<div class="col span_4"><a href="#share" class="share">Share</a></div>
</div><!-- .ftshare END -->
</li><!-- gameitem END -->
<li>
<a href="./details.php" class="gametbl">
<div class="bet-overlay"><span class="btn animated fadeInUp">BET NOW</span></div>
<span class="icon"><i class="soccer">icon</i></span>
<div class="gmimg" style="background-image:url('/images/blur-background04.jpg');"></div>
<div class="gmtxt">
<h3>セレッソ大阪 vs 鹿島アントラーズで両チームのイエローカード枚数は全部で何枚出るでしょうか?</h3>
<p class="gid">Game ID : 007</p>
<p class="desc">Monday, Sep 20th Liga BBVA Match 20, Which team will get a first goal?</p>
<ul class="betitem row">
<li>Real Madrid</li>
<li>FC Barcelona</li>
<li>Both teams scoreless</li>
</ul>
</div><!-- .gmtxt END -->
<div class="status row">
<div class="col span_6">
<span class="title time">BET end time</span>
<div class="timer_cd" id="game007">Time Up</div>
<script language="JavaScript" type="text/javascript">
cdTimer1();
function cdTimer1() {
var elemID = 'game007';
var year = 2014;
var month = 6;
var day = 18;
var hour = 12;
var minutes = 30;
var timeLimit = new Date( year, month - 1, day, hour, minutes );
var timer = new CountdownTimer( elemID, timeLimit );
timer.countDown();
}
</script>
</div>
<div class="col span_6">
<span class="title coin">Placed</span>
3,634<span class="count">COIN</span>
</div>
</div><!-- .status END -->
<div class="barbase row">
<div class="betvol itm-1" style="width: 30%"></div>
<div class="betvol itm-2" style="width: 55%"></div>
<div class="betvol itm-3" style="width: 15%"></div>
</div><!-- .barbase END -->
</a>
<div class="ftshare row">
<div class="col span_8"><a class="like">9 Like</a><a class="bookmark">Bookmark</a></div>
<div class="col span_4"><a href="#share" class="share">Share</a></div>
</div><!-- .ftshare END -->
</li><!-- gameitem END -->
<li>
<a href="./details.php" class="gametbl">
<div class="bet-overlay"><span class="btn animated fadeInUp">BET NOW</span></div>
<span class="icon"><i class="soccer">icon</i></span>
<div class="gmimg" style="background-image:url('/images/blur-background08.jpg');"></div>
<div class="gmtxt">
<h3>亀田興毅は次の試合で何ラウンドKOさせる事ができるでしょうか?</h3>
<p class="gid">Game ID : 008</p>
<p class="desc">Monday, Sep 20th Liga BBVA Match 20, Which team will get a first goal?</p>
<ul class="betitem row">
<li>Real Madrid</li>
<li>FC Barcelona</li>
<li>Both teams scoreless</li>
</ul>
</div><!-- .gmtxt END -->
<div class="status row">
<div class="col span_6">
<span class="title time">BET end time</span>
<div class="timer_cd" id="game008">Time Up</div>
<script language="JavaScript" type="text/javascript">
cdTimer1();
function cdTimer1() {
var elemID = 'game008';
var year = 2014;
var month = 6;
var day = 20;
var hour = 9;
var minutes = 0;
var timeLimit = new Date( year, month - 1, day, hour, minutes );
var timer = new CountdownTimer( elemID, timeLimit );
timer.countDown();
}
</script>
</div>
<div class="col span_6">
<span class="title coin">Placed</span>
14,080<span class="count">COIN</span>
</div>
</div><!-- .status END -->
<div class="barbase row">
<div class="betvol itm-1" style="width: 30%"></div>
<div class="betvol itm-2" style="width: 55%"></div>
<div class="betvol itm-3" style="width: 15%"></div>
</div><!-- .barbase END -->
</a>
<div class="ftshare row">
<div class="col span_8"><a class="like">9 Like</a><a class="bookmark">Bookmark</a></div>
<div class="col span_4"><a href="#share" class="share">Share</a></div>
</div><!-- .ftshare END -->
</li><!-- gameitem END -->
</ul>
</div>
</div>
<?php include ''.$baseurl.'/common/foot.php'; ?>
<?php include ''.$baseurl.'/common/share_modal.php'; ?>
<script src="/js/jquery-1.11.0.min.js"></script>
<script src="/js/jquery.remodal.js"></script>
<script type="text/javascript" src="/js/main_frontend.js"></script>
<!-- JS for page top scroll -->
<script>
$(document).ready(function() {
$(window).scroll(function() {
if ($(this).scrollTop() > 200) {
$('#pagetop').fadeIn(200);
} else {
$('#pagetop').fadeOut(200);
}
});
$('#pagetop').click(function(event) {
event.preventDefault();
$('html, body').animate({scrollTop: 0}, 300);
})
});
</script>
<script type='text/javascript'>
$(function () {
$(".item_radio input[type='radio']").change(function(){
if($(this).is(":checked")){
$('.item_radio .cbxbd').removeClass("c_on");
$(this).parent().addClass("c_on");
}else{
$(this).parent().removeClass("c_on");
}
});
$(".bet_radio input[type='radio']").change(function(){
if($(this).is(":checked")){
$('.bet_radio .cbxbd').removeClass("c_on");
$(this).parent().addClass("c_on");
}else{
$(this).parent().removeClass("c_on");
}
});
$(".notify input[type='checkbox']").change(function(){
if($(this).is(":checked")){
$('.notify .cbxbd').removeClass("c_on");
$(this).parent().addClass("c_on");
}else{
$(this).parent().removeClass("c_on");
}
});
});
</script>
<script type='text/javascript'>
jQuery(function($) {
//data-hrefの属性を持つtrを選択しclassにclickableを付加
$('tr[data-href]').addClass('clickable')
//クリックイベント
.click(function(e) {
//e.targetはクリックした要素自体、それがa要素以外であれば
if(!$(e.target).is('a')){
//その要素の先祖要素で一番近いtrの
//data-href属性の値に書かれているURLに遷移する
window.location = $(e.target).closest('tr').data('href');}
});
});
</script>
<script type='text/javascript'>
$(function () {
$('.floating-widget').floatingWidget();
});
(function ($) {
$.fn.floatingWidget = function () {
return this.each(function () {
var $this = $(this),
$parent = $this.offsetParent(),
$window = $(window),
top = $this.offset().top - parseFloat($this.css('marginTop').replace(/auto/, 0)),
bottom = $parent.offset().top + $parent.height() - $this.outerHeight(true),
floatingClass = 'floating',
pinnedBottomClass = 'pinned-bottom';
if ($parent.height() > $this.outerHeight(true)) {
$window.scroll(function () {
var y = $window.scrollTop();
if (y > top) {
$this.addClass(floatingClass);
if (y > bottom) {
$this.removeClass(floatingClass).addClass(pinnedBottomClass);
} else {
$this.removeClass(pinnedBottomClass);
}
} else {
$this.removeClass(floatingClass);
}
});
}
});
};
})(jQuery);
</script>
</body>
</html>