PageSourceSearch

https://alibaba33top.com/web/index

html alibaba33top.com collected 2026-10-08 07:38:10 UTC 170,919 bytes, 3,458 lines download raw bytes

1
2
3<!DOCTYPE html>
4
5<html>
6<head><meta http-equiv="content-type" content="text/html;charset=utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /><meta http-equiv="X-UA-Compatible" content="IE=EDGE" /><link rel="icon" href="images/common/favi.png" /><title>
7	Trusted Online Casino Malaysia|Slot|Live|Sports|Mega888-Ewallet Tng DuitNow
8</title><meta name="robots" content="" /><meta name="description" content="Most trusted 24 hours tng ewallet DuitNow online casino in Malaysia - Alibaba33. Play slots: 918Kiss, Mega888, Joker123, Pussy888, XE88, Super 8 Ways Ultimate, live casino, sports betting, etc" /><meta name="keywords" content="mega888, online casino malaysia, casino malaysia, online slots malaysia, slots malaysia, online slot malaysia, slot malaysia, trusted online casino malaysia, alibaba33, alibaba 33, ewallet mega888, mega ewallet, tng ewallet casino, duitnow casino Malaysia, duitnow ewallet casino" /><meta property="og:type" content="website" /><meta property="og:title"  content="Trusted Online Casino Malaysia|Slot|Live|Sports|Mega888-Ewallet Tng DuitNow" /><meta property="og:description"  content="Most trusted 24 hours tng ewallet DuitNow online casino in Malaysia - Alibaba33. Play slots: 918Kiss, Mega888, Joker123, Pussy888, XE88, Super 8 Ways Ultimate, live casino, sports betting, etc" />
9    
9<script src="bootstrap-4.3.1/jquery-3.3.1.min.js"></script>
9
10    
10<script src="js/flickity.pkgd.js"></script>
10
11    
11<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js'></script>
11
12    
12<script src='https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js'></script>
12
13    
13<script src="js/index.js?v1"></script>
13
14    
14<script src="js/script-slide.js"></script>
14
15    
15<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.17.0/jquery.validate.min.js"></script>
15
16    
16<script type="text/javascript" src="/js/base64.min.js"></script>
16
17    
17<script type="text/javascript" src="/js/jquery.qrcode.js"></script>
17
18    
18<script type="text/javascript" language="javascript" src="/js/web.js"></script>
18
19    
19<script type="text/javascript" src="/js/ajax_r.js"></script>
19
20    
20<script type="text/javascript" src="/js/moment.js"></script>
20
21    
21<script type="text/javascript" src="/js/js-cookie.js"></script>
21
22
23    <!-- Bootstrap-->
24    <link rel="stylesheet" href="bootstrap-4.3.1/css/bootstrap.min.css" /><link rel="stylesheet" href="css/bootstrap-side-modals.css" /><link rel="stylesheet" href="css/fontawesome.css?v=1.1" /><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" /><link rel="stylesheet" type="text/css" href="css/master.css?v=1.11" /><link rel="stylesheet" type="text/css" href="css/header.css?v=1.12" /><link rel="stylesheet" href="css/owl.carousel.min.css" /><link rel="stylesheet" href="css/style.css?v=4.1" /><link rel="stylesheet" href="css/flickity.css" /><link rel="stylesheet" href="css/push_slide.css" /><link rel="stylesheet" href="css/countdown.css?v=1.1" /><link href="css/programmer.css?v=1.4" rel="stylesheet" />
25    <!--SignalR -->
26    
26<script src="/js/signalr/jquery.signalR-2.3.0.min.js"></script>
26
27    <!-- real-time data retrieving client side script file -->
28    
28<script src="/js/signalr/sr-client.js"></script>
28
29
30    <link href="../rewardgame/css/rewardgame.css" rel="stylesheet" type="text/css" />
31
32    <style>
33        /* reward game overriding css */
34        .mg-reward-init {
35            background: url(https://file.32828a.com/images/ALIBABA33/203b433f66dd29decf1f1b4b7f7c1186_7483766.png) no-repeat center /100% 100%;
36        }
37
38        .mg-reward-content {
39    top: 0px; color: #333; font-size: 20px;
40}
41
42.mg-reward-prize-amount {
43    top: 0px; color: #333; width: 270px; font-size: 18px;
44}
45
46.mg-reward-btn-play-again {
47    top: 400px
48}
49    </style>
50    
51
52    <!-- Meta Pixel Code -->
53    
53<script>
54        !function (f, b, e, v, n, t, s) {
55            if (f.fbq) return;
56            n = f.fbq = function () {
57                n.callMethod ?
58                    n.callMethod.apply(n, arguments) : n.queue.push(arguments)
59            };
60            if (!f._fbq) f._fbq = n;
61            n.push = n;
62            n.loaded = !0;
63            n.version = '2.0';
64            n.queue = [];
65            t = b.createElement(e);
66            t.async = !0;
67            t.src = 'https://connect.facebook.net/en_US/fbevents.js';
68            s = b.getElementsByTagName(e)[0];
69            s.parentNode.insertBefore(t, s);
70        }(window, document, 'script');
71
72        fbq('init', '1996089047934840');
73        fbq('track', 'PageView');
74    </script>
74
75
76    <noscript>
77        <img height="1" width="1" style="display: none"
78            src="https://www.facebook.com/tr?id=1996089047934840&ev=PageView&noscript=1" />
79    </noscript>
80    <!-- End Meta Pixel Code -->
81
82    <!-- Meta Pixel Code - Pixel ID: 1687730532278099 -->
83    
83<script>
84        !function (f, b, e, v, n, t, s) {
85            if (f.fbq) return;
86            n = f.fbq = function () {
87                n.callMethod ?
88                    n.callMethod.apply(n, arguments) : n.queue.push(arguments)
89            };
90            if (!f._fbq) f._fbq = n;
91            n.push = n;
92            n.loaded = !0;
93            n.version = '2.0';
94            n.queue = [];
95            t = b.createElement(e);
96            t.async = !0;
97            t.src = 'https://connect.facebook.net/en_US/fbevents.js';
98            s = b.getElementsByTagName(e)[0];
99            s.parentNode.insertBefore(t, s);
100        }(window, document, 'script');
101
102        fbq('init', '1687730532278099');
103        fbq('track', 'PageView');
104    </script>
104
105
106    <noscript>
107        <img height="1" width="1" style="display: none"
108            src="https://www.facebook.com/tr?id=1687730532278099&ev=PageView&noscript=1" />
109    </noscript>
110    <!-- End Meta Pixel Code -->
111
112    <!-- float icon -->
113    <link href="../jcmm-float-icon/jcmm-float-icon.css" rel="stylesheet" />
114    
114<script src="../jcmm-float-icon/jcmm-float-icon.js?v=2"></script>
114
115    <!-- mg lucky dice -->
116    <link href="/luckydice/luckydice.css?v=1" rel="stylesheet" type="text/css" />
117    
117<script>
118        $(document).ready(function () {
119            // start reward game
120            var mgr_modal = $('.mg-reward-modal');
121
122            setMGR_Html(mgr_modal);
123
124            mgr_modal.on('click', '#mgr-btn-play-again', function (e) {
125                e.preventDefault();
126                setMGR_Html(mgr_modal);
127            });
128
129            mgr_modal.on('click', '.mg-reward-init', function (e) {
130                e.preventDefault();
131                if (!$(this).hasClass('mg-reward-clicked')) {
132                    $(this).addClass('mg-reward-clicked');
133                    ClaimRewardGame();
134                }
135            });
136
137            mgr_modal.on('click', '.mg-body-close', function (e) {
138                e.preventDefault();
139                mgr_modal.toggleClass('mg-reward-show-modal');
140                setTimeout(function () {
141                    setMGR_Html(mgr_modal);
142                }, 500);
143            });
144            // another reward game script below
145            // end reward game
146
147            Tawk_API.onLoad = function () {
148                setTimeout(function () {
149                    // Target 1st iframe inside .widget-visible
150                    $('.widget-visible iframe:nth-child(1)').css('bottom', '70px');
151
152                    // Target 3rd iframe inside .widget-visible
153                    $('.widget-visible iframe:nth-child(3)').css('bottom', '140px');
154
155                    console.log('Bottom position adjusted for Tawk.to iframes');
156                }, 1000);
157            };
158        });
159
160        // start reward game
161        function ClaimRewardGame() {
162            var url = "../ajaxData/proc_rewardGameClaim";
163            ajaxRequest("GET", url, null, ClaimRewardGameDone, ajaxFail, ajaxAlways, false, false);
164        }
165
166        function ClaimRewardGameDone(res, status, xhr) {
167            var mgr_modal = $('.mg-reward-modal');
168
169            if (res.errCode == "0") {
170                if (res.data != null) {
171                    var d = JSON.parse(res.data)[0];
172                    var win_amount = 'RM ' + parseFloat(d.winning_amount).toFixed(2);
173
174                    var result_img = document.createElement('img');
175                    result_img.src = mgr_modal.find('.mg-reward-init').attr('data-result-img') + '?d=' + new Date().getTime();
176
177                    $(result_img).on('load', function () {
178                        mgr_modal.find('.mg-reward-init').css({
179                            'z-index': '7',
180                            'background': 'url(' + result_img.src + ') no-repeat center /100% 100%'
181                        });
182                    });
183
184                    mgr_modal.find('.mg-reward-prize-amount').text(win_amount);
185                    var prize_top = parseInt(mgr_modal.find('.mg-reward-prize-amount').css('top'));
186
187                    // let animated result image finish
188                    setTimeout(function () {
189                        mgr_modal.find('.mg-reward-prize-amount').animate({ opacity: '1', top: (prize_top) + 'px !important' }, 1000);
190                        mgr_modal.find('#mgr-btn-play-again').css('display', 'inline-block');
191                    }, 1000);
192                } else {
193                    mgr_modal.find('.mg-reward-init').removeClass('mg-reward-clicked');
194                    alert("Unknown error, Please contact our customer service");
195                }
196            }
197            else {
198                alert(res.errCode + " - " + res.errMsg);
199            }
200        }
201
202        function setMGR_Html(m) {
203            var mgr_template = $('#mgr-template').clone().html();
204            m.empty();
205            m.html(mgr_template);
206        }
207        // end reward game script
208
209        checkAgent();
210
211    </script>
211
212
213    <style>
214        select:disabled {
215            color: red;
216        }
217
218        .loading-panel {
219            background-color: rgba(0, 0, 0, 0.5);
220            height: 100%;
221            width: 100%;
222            position: fixed;
223            z-index: 99999999999;
224        }
225
226        .loading-logo {
227            margin: auto;
228            position: absolute;
229            top: 0;
230            bottom: 0;
231            left: 0;
232            right: 0;
233            height: 60px;
234        }
235
236        .loading-gif {
237            margin: auto;
238            position: absolute;
239            top: 130px;
240            bottom: 0;
241            left: 0;
242            right: 0;
243            width: 150px;
244        }
245
246        .pregame_Transfer {
247            margin: auto;
248            position: absolute;
249            top: 0;
250            bottom: 0;
251            left: 0;
252            right: 0;
253            height: 200px;
254        }
255
256        button:disabled {
257            color: #fff;
258            background-color: #6c757d;
259            border-color: #6c757d;
260            opacity: .65;
261        }
262
263        label.error {
264            display: block;
265            margin-top: 10px;
266            font-size: small;
267        }
268
269        #l_username-error {
270            display: block;
271            margin-top: -30px;
272            font-size: small;
273        }
274
275        #l_password-error {
276            display: block;
277            margin-top: -30px;
278            font-size: small;
279        }
280
281        .small-text {
282            font-size: 9px;
283        }
284
285        @media (max-width: 1023.5px) {
286            .af-tab-dwn-mn ul li a {
287                padding: 10px 0px;
288                width: 100%;
289                font-size: 9px;
290                text-align: center;
291            }
292        }
293
294        .new-ico {
295            background: none;
296        }
297
298        .close1 {
299            color: #fff;
300            top: -19px;
301            right: -18px;
302            font-size: 30px;
303            position: absolute;
304            background: transparent;
305        }
306
307        .mg-reward-prize-amount {
308            top: 340px !important;
309            color: red;
310            width: 260px;
311            font-size: 265%;
312            font-weight: 700;
313        }
314
315        .btn-danger {
316            color: #fff;
317            background-color: #dc3545;
318            border-color: #dc3545;
319        }
320
321        .modal-open .modal {
322            z-index: 100000;
323        }
324
325        .modal-backdrop {
326            z-index: -1;
327        }
328
329        .af-tab-dwn-mn ul li a {
330            padding: 10px 8px;
331        }
332    </style>
333    <style>
334        .icon-cockfighting {
335            background: url("../images/common/mobile/slide menu icons/icon-cf.svg") !important;
336            height: 25px;
337            width: 25px;
338        }
339    </style>
340    
341</head>
342<body>
343    
344    <h2 style='display:none'></h2>
345    <form></form>
346
347    <div id="freezescreen" class="loading-panel" style="display: none;">
348        <img src="images/common/logo_web.png" class="loading-logo" /><br />
349        <img src="images/common/preload_indicator.gif" class="loading-gif" />
350    </div>
351
352    <!-- float icon -->
353    <div id="float-icon" style="display: none;">
354        <button class="close1" onclick="document.getElementById('float-icon').style.display='none'"><i class="fa fa-times-circle close1" aria-hidden="true"></i></button>
355    </div>
356
357    <!-- reward game -->
358    
359    <div style="display: none;" id="mgr-template">
360        <div class="mg-reward-modal-content" id="reward_div">
361            <!-- first bg -->
362            <div class="mg-reward mg-reward-init" data-result-img="https://file.32828a.com/images/ALIBABA33/203b433f66dd29decf1f1b4b7f7c1186_7484331.png">
363            </div>
364
365            <!-- display result -->
366            <div class="mg-reward-prize-amount mg-reward-hide">-</div>
367
368            <!-- display msg -->
369            <div class="mg-reward-content">
370                <h3></h3>
371            </div>
372
373            <div class="mg-reward-btn-play-again">
374                <button class="btn btn-danger" id="mgr-btn-play-again" style="display: none;">PLAY AGAIN</button>
375            </div>
376        </div>
377
378        <a href="#" class="mg-body-close"><i class="fas fa-plus"></i></a>
379
380    </div>
381    
382    <div class="mg-reward-modal" id="mg-reward">
383    </div>
384    <div id="lucky-dice-div"></div>
385    <div id="slide_right" class="slide_right_close srl_menu" style="top:-49px">
386        <ul class="list_menu">
387            <li>
388                <div class="in-box livechat in-contact" onclick="Tawk_API.toggle();">
389                    
390                    <button type="button" onclick="Tawk_API.toggle();" class="btn-gold"><i class="fas fa-comment-dots"></i><strong>Live Chat</strong></button>
391                </div>
392                <div class="in-box">
393                    <a href="#">
394                        <div class="side-ic">
395                            <i class="fab fa-weixin"></i>
396                            <h4>Wechat</h4>
397                        </div>
398                        <div class="side-ifn">
399                            <p>Aliba3333</p>
400                        </div>
401                    </a>
402                </div>
403                <div class="in-box">
404                    <a href="https://t.me/Ali33of" target="_blank">
405                        <div class="side-ic">
406                            <i class="fab fa-telegram-plane"></i>
407                            <h4>Telegram</h4>
408                        </div>
409                        <div class="side-ifn">
410                            <p>@Alibaba33_Official</p>
411                        </div>
412                    </a>
413                </div>
414            </li>
415        </ul>
416        <button id="button_right" class="button sbutton">
417            
418            <img id="bsright" src="images/common/side.png" alt="">
419            
420        </button>
421    </div>
422    <aside class="hg-float hg-float--slide" aria-label="Hot Games slider">
423        <button type="button" class="hg-float__close" aria-label="Close Hot Games">
423&times;</button>
424        <h2 class="hg-float__title">HOTGAMES</h2>
425        <div class="hg-float__viewport">
426            <ul class="hg-float__list">
427                <li class="hg-float__item">
428                    <div class="hg-float__card" data-game-id="HANDS_UP">
429                        <img src="images/common/index/hg-hand.png" alt="Hands Up">
430                        <div class="hg-float__actions">
431                            <a href="javascript:void(0)" onclick="popUpGameLink('EQ','CB','0','HANDS_UP',1000,600)" class="hg-float__btn hg-float__btn--play">Play Now</a>
432                            <a href="https://demo.mpmagicpoker.com/Game/HANDS_UP/" class="hg-float__btn hg-float__btn--demo" target="_blank" rel="noopener noreferrer">Demo Play</a>
433                        </div>
434                    </div>
435                    <span class="hg-float__provider">Hands Up</span>
436                </li>
437                
438                <li class="hg-float__item">
439                    <div class="hg-float__card" data-game-id="FINAL_TABLE">
440                        <img src="images/common/index/hg-final.png" alt="Final Table">
441                        <div class="hg-float__actions">
442                            <a href="javascript:void(0)" onclick="popUpGameLink('EQ','CB','0','FINAL_TABLE',1000,600)" class="hg-float__btn hg-float__btn--play">Play Now</a>
443                            <a href="https://demo.mpmagicpoker.com/Game/FINAL_TABLE/" class="hg-float__btn hg-float__btn--demo" target="_blank" rel="noopener noreferrer">Demo Play</a>
444                        </div>
445                    </div>
446                    <span class="hg-float__provider">Final Table</span>
447                </li>
448            </ul>
449        </div>
450        <div class="hg-float__dots"></div>
451    </aside>
452    <div class="layout-main wide" id="layout-main">
453        
454    <style>
455        .custom-floating-img {
456            width: 120px;
457            height: 120px;
458        }
459
460        @media (max-width: 1023.5px) {
461            .af-all .slider-wrap {
462                margin-top: 87px;
463            }
464
465            .custom-floating-img {
466                width: 100px;
467                height: 100px;
468            }
469        }
470
471        .close1 {
472            border: none;
473            background: transparent;
474            outline: none; /* Removes default focus styling */
475        }
476    </style>
477
478    
479
480
481    <div class="header-partial-conatiner">
482        
483<div class="header-ribbon " id="main-header">
484    <div class="header-container">
485        <div class="header-logo-mobile"><a id="header-logo-mobile" href="index">
486            <img src="images/common/logo_web.png" alt="home" />
487        </a></div>
488        <div class="header-logo"><a id="header-logo" href="index">
489            <img src="images/common/logo_web.png" alt="home" />
490        </a></div>
491        <div class="header-content">
492            <div class="header-right">
493                
494                
495                <form class="login_bar" id="form_login1">
496                    <div class="log-group">
497                        <input type="text" placeholder="Username" name="username" id="frusername1">
498                    </div>
499                    <div class="log-group">
500                        <input type="password" placeholder="Password" id="l_password1" name="password">
501                    </div>
502                    <button type="submit" class="login_btn m-desktop-show">
503                        Login
504                    </button>
505                    <button type="button" class="login_btn m-mobile-show">
506                        <a href="login">Login</a>
507                    </button>
508                    <button type="button" class="join_btn">
509                        <a href="register">Register</a>
510                    </button>
511                    <div class="lang-box languageToggle">
512                        <div class="dropdown">
513                            <button class="lang-btn dropdown-toggle" type="button" id="language-menu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
514                                <div class="languageToggle"><span>
515                                    <img src="images/common/flag-en-big.png" id="showLangFlag"></span> <span><i class="fas fa-ellipsis-v"></i></span></div>
516                            </button>
517                            <div class="dropdown-menu language" aria-labelledby="language-menu" x-placement="bottom-start">
518                                <a class="dropdown-item" href="#" onclick="setlanguage('en-US')">
519                                    <img src="images/common/flag-en-big.png"></a>
520                                <a class="dropdown-item" href="#" onclick="setlanguage('ms-MY')">
521                                    <img src="images/common/flag-my-big.png"></a>
522                                <a class="dropdown-item" href="#" onclick="setlanguage('zh-CN')">
523                                    <img src="images/common/flag-cn-big.png"></a>
524
525                            </div>
526                        </div>
527                    </div>
528                </form>
529                <div class="btmtools">
530                    <div class="forgot-link">Forgot <a href="forgotPass">Username or Password ? </a></div>
531                    <div class="timezone"><span id="currentDate"></span>(GMT+8) </div>
532                </div>
533                
534            </div>
535            <label name="Hamburger" for="side-menu-toggle" class="header-menu-mobile" onclick="trackEvents('Click - ' + this.getAttribute('name'), 'Header', 1)">
536                <img src="images/common/icon-menu.svg" class="hamburger-menu" alt="Menu" />
537            </label>
538        </div>
539    </div>
540    
541</div>
542<section class="header-menu">
543    <div class="container-fluid header-nav-bar">
544        <div class="row">
545            <div class="col-12 position-inherit">
546                <div class="main-menu">
547                    <ul class="nav main-nav">
548                        <li class="nav-item menuimg active"><a href="index" class="navlink img-home"><i class="fas fa-home"></i></a></li>
549                        <li class="nav-item menuimg"><a href="download" class="navlink img-home"><i class="fas fa-mobile-alt"></i></a></li>
550                        <li class="nav-item"><a href="sports" class="navlink">Sports</a></li>
551                        <li class="nav-item"><a href="esports" class="navlink">E-Sport</a></li>
552                        <li class="nav-item"><a href="casino" class="navlink">Casino</a></li>
553                        <li class="nav-item"><a href="slots" class="navlink">Slots</a></li>
554                        <li class="nav-item"><a href="fish" class="navlink">Fishing</a></li>
555                        <li class="nav-item"><a href="cockfighting" class="navlink">Cock</a></li>
556                        <li class="nav-item"><a href="poker" class="navlink">Poker</a></li>
557                        <li class="nav-item"><a href="other" class="navlink">Others</a> </li>
558                        <li class="nav-item"><a href="promotion" class="navlink">Promos</a> </li>
559                        <li class="nav-item"><a href="vip" class="navlink">VIP</a> </li>
560                        <li class="nav-item"><a href="wheel" class="navlink">Fortune Wheel</a> </li>
561                        <li class="nav-item"><a data-toggle="modal" data-target="#winner-modal" class="navlink">Winner List</a></li>
562                        <li class="nav-item"><a href="tournament" class="navlink">Tournament</a> </li>
563                        <li class="nav-item"><a href="livestream" class="navlink">Livestream</a> </li>
564                    </ul>
565                </div>
566            </div>
567        </div>
568    </div>
569</section>
570
571
572
573
574
575        <div class="slider-wrap">
576            <div id="carouselExampleControls" class="carousel slide desktop-slider" data-ride="carousel">
577                <div class="carousel-inner" id="webBanner">
578                </div>
579                <a class="carousel-control-prev" href="#carouselExampleControls" role="button" data-slide="prev"><span class="carousel-control-prev-icon" aria-hidden="true"></span><span class="sr-only">Previous</span> </a><a class="carousel-control-next" href="#carouselExampleControls" role="button" data-slide="next"><span class="carousel-control-next-icon" aria-hidden="true"></span><span class="sr-only">Next</span> </a>
580            </div>
581        </div>
582        <div class="step-bar">
583            <div class="container">
584                <div class="step-in">
585                    <ul>
586                        <li>
587                            <div class="step-icon">
588                                <img src="images/common/step-1.png" alt="" />
589                            </div>
590                            <div class="step-text">
591                                <h4>JOIN Alibaba33</h4>
592                <p>Quick & Easy Sign Up!</p>
593                            </div>
594                        </li>
595                        <li>
596                            <div class="step-icon">
597                                <img src="images/common/step-2.png" alt="" />
598                            </div>
599                            <div class="step-text">
600                                <h4>Deposit</h4>
601                <p>Fast & Secure Deposit Time!</p>
602                            </div>
603                        </li>
604                        <li>
605                            <div class="step-icon">
606                                <img src="images/common/step-3.png" alt="" />
607                            </div>
608                            <div class="step-text">
609                                <h4>Play & Win</h4>
610                <p>Start Your Winning Journey Now!</p>
611                            </div>
612                        </li>
613                    </ul>
614                </div>
615            </div>
616        </div>
617        
618<div class="menu-tab">
619    <div class="carousel"
620        data-flickity='{ "contain": true }'>
621        <!-- , "initialIndex":4-->
622        <div class="carousel-cell">
623            <div class="tab-box " id="index1">
624                <div class="tab-ico"><a href="index">
625                    <img src="images/common/mobile/icon-home.png" alt="" /></a></div>
626                <div class="tab-ttl">HOME</div>
627            </div>
628        </div>
629        <div class="carousel-cell">
630            <div class="tab-box" id="slot1">
631                <div class="tab-ico"><a href="slots">
632                    <img src="images/common/mobile/icon-slots.png" alt="" /></a></div>
633                <div class="tab-ttl">SLOTS</div>
634            </div>
635        </div>
636        <div class="carousel-cell">
637            <div class="tab-box" id="slot11">
638                <div class="tab-ico"><a href="download.aspx">
639                    <img src="images/common/mobile/icon-mega.png" alt="" /></a></div>
640                <div class="tab-ttl">MEGA888</div>
641            </div>
642        </div>
643        <div class="carousel-cell">
644            <div class="tab-box" id="sport1">
645                <div class="tab-ico"><a href="sports">
646                    <img src="images/common/mobile/icon-sports.png" alt="" /></a></div>
647                <div class="tab-ttl">SPORTS</div>
648            </div>
649        </div>
650        <div class="carousel-cell">
651            <div class="tab-box" id="casino1">
652                <div class="tab-ico"><a href="casino">
653                    <img src="images/common/mobile/icon-casino.png" alt="" /></a></div>
654                <div class="tab-ttl">CASINO</div>
655            </div>
656        </div>
657        <div class="carousel-cell">
658            <div class="tab-box" id="esport1">
659                <div class="tab-ico"><a href="esports">
660                    <img src="images/common/mobile/icon-esport.png" alt="" /></a></div>
661                <div class="tab-ttl">E-SPORT</div>
662            </div>
663        </div>
664
665
666        <div class="carousel-cell">
667            <div class="tab-box" id="fish1">
668                <div class="tab-ico"><a href="fish">
669                    <img src="images/common/mobile/icon-fish.png" alt="" /></a></div>
670                <div class="tab-ttl">FISHING</div>
671            </div>
672        </div>
673        <div class="carousel-cell">
674            <div class="tab-box" id="cockfighting1">
675                <div class="tab-ico"><a href="cockfighting">
676                    <img class="icon-cockfighting" style="height: 35px; width: 33px;" src="images/common/mobile/slide menu icons/icon-cf.svg" alt="" /></a></div>
677                <div class="tab-ttl">COCK</div>
678            </div>
679        </div>
680        <div class="carousel-cell">
681            <div class="tab-box" id="poker1">
682                <div class="tab-ico"><a href="poker">
683                    <img src="images/common/mobile/icon-p2p.png" alt="" /></a></div>
684                <div class="tab-ttl">POKER</div>
685            </div>
686        </div>
687        <div class="carousel-cell">
688            <div class="tab-box" id="other1">
689                <div class="tab-ico"><a href="other">
690                    <img src="images/common/mobile/icon-others.png" alt="" /></a></div>
691                <div class="tab-ttl">OTHERS</div>
692            </div>
693        </div>
694        <div class="carousel-cell">
695            <div class="tab-box" id="promotion1">
696                <div class="tab-ico"><a href="promotion">
697                    <img src="images/common/mobile/icon-promos.png" alt="" /></a></div>
698                <div class="tab-ttl">PROMOS</div>
699            </div>
700        </div>
701        <div class="carousel-cell">
702            <div class="tab-box " id="vip1">
703                <div class="tab-ico"><a href="vip">
704                    <img src="images/common/mobile/icon-vip.png" alt="" /></a></div>
705                <div class="tab-ttl">VIP</div>
706            </div>
707        </div>
708        <div class="carousel-cell">
709            <div class="tab-box">
710                <div class="tab-ico"><a data-toggle="modal" data-target="#winner-modal">
711                    <img src="images/common/mobile/icon-winner.png" alt="" /></a></div>
712                <div class="tab-ttl">Winner</div>
713            </div>
714        </div>
715        <div class="carousel-cell">
716            <div class="tab-box " id="tournament">
717                <div class="tab-ico"><a href="tournament">
718                    <img src="images/common/mobile/icon-tournament.png" alt="" /></a></div>
719                <div class="tab-ttl">Tournament</div>
720            </div>
721        </div>
722        <div class="carousel-cell">
723            <div class="tab-box " id="livestream">
724                <div class="tab-ico"><a href="livestream">
725                    <img src="images/common/mobile/icon-live.png?v2" alt="" /></a></div>
726                <div class="tab-ttl">Livestream</div>
727            </div>
728        </div>
729    </div>
730</div>
731
732    </div>
733    <div class="hm-content">
734        
735        <div class="container">
736            <div class="inc-item-all">
737                <div class="lby-box">
738                    <ul>
739                        
740                        <li><a href="sports">
741                            <img src="images/common/index/index-sports.png?v=1.1" alt="" /><div class="btn-plynow">Play Now</div>
742                        </a></li>
743                        <li><a href="slots">
744                            <img src="images/common/index/index-slots.png?v=1.1" alt="" /><div class="btn-plynow">Play Now</div>
745                        </a></li>
746                        <li><a href="casino">
747                            <img src="images/common/index/index-casino.png" alt="" /><div class="btn-plynow">Play Now</div>
748                        </a></li>
749                        <li><a href="download">
750                            <img src="images/common/index/index-mega.png" alt="" /><div class="new-ico">
751                                <img src="images/hot-icon.png?v=1.1" alt="" />
752                            </div>
753                            <div class="btn-plynow">Play Now</div>
754                        </a></li>
755                        <li><a href="download">
756                            <img src="images/common/index/index-918.png" alt="" /><div class="btn-plynow">Play Now</div>
757                        </a></li>
758                        <li><a href="esports">
759                            <img src="images/common/index/index-esports.png" alt="" /><div class="btn-plynow">Play Now</div>
760                        </a></li>
761                        <li><a href="other">
762                            <img src="images/common/index/index-others.png" alt="" /><div class="btn-plynow">Play Now</div>
763                        </a></li>
764                        <li><a href="promotion">
765                            <img src="images/common/index/index-promo.png" alt="" /><div class="btn-plynow">Play Now</div>
766                        </a></li>
767                        
768                    </ul>
769                </div>
770                <div class="inc-item">
771                    <div class="ttl-inx">
772                        <div class="ttl-inx-l">
773                            <span>
774                                <img src="images/common/hot-sale.png" alt="" /></span>Slots Games
775                        </div>
776                        <a href="slots" class="btn-find">Find Out More</a>
777                    </div>
778                    <div class="index-content">
779                        <div class="indx-5">
780                            <ul>
781                                <li>
782                                    <figure class="btn-slot">
783                                        <img src="images/common/prov-suite/prov-1.png?v=1.1" class="img-fluid" alt="" />
784                                        <figcaption>
785                                            <h3>
786                                                <button class="btn-ply1" onclick="popUpGameLink('PR','SL','0','0',1000,600)">Play Now</button>
787                                            </h3>
788
789                                        </figcaption>
790                                    </figure>
791                                </li>
792                                <li>
793                                    <figure class="btn-slot">
794                                        <img src="images/common/prov-suite/prov-2.png?v=1.1" class="img-fluid" alt="" />
795                                        <figcaption>
796                                            <h3>
797                                                <button class="btn-ply1" onclick="popUpGameLink('PR','SL','0','0',1000,600)">Play Now</button>
798                                            </h3>
799
800                                        </figcaption>
801                                    </figure>
802                                </li>
803                                <li>
804                                    <figure class="btn-slot">
805                                        <img src="images/common/prov-suite/prov-3.png?v=1.1" class="img-fluid" alt="" />
806                                        <figcaption>
807                                            <h3>
808                                                <button class="btn-ply1" onclick="popUpGameLink('PZ','SL','0','0',1000,600)">Play Now</button>
809                                            </h3>
810
811                                        </figcaption>
812                                    </figure>
813                                </li>
814                                <li>
815                                    <figure class="btn-slot">
816                                        <img src="images/common/prov-suite/prov-4.png?v=1.1" class="img-fluid" alt="" />
817                                        <figcaption>
818                                            <h3>
819                                                <button class="btn-ply1" onclick="popUpGameLink('PR','SL','0','0',1000,600)">Play Now</button>
820                                            </h3>
821
822                                        </figcaption>
823                                    </figure>
824                                </li>
825                                <li>
826                                    <figure class="btn-slot">
827                                        <img src="images/common/prov-suite/prov-5.png?v=1.1" class="img-fluid" alt="" />
828                                        <figcaption>
829                                            <h3>
830                                                <button class="btn-ply1" onclick="popUpGameLink('PR','SL','0','0',1000,600)">Play Now</button>
831                                            </h3>
832
833                                        </figcaption>
834                                    </figure>
835                                </li>
836                                <li>
837                                    <figure class="btn-slot">
838                                        <img src="images/common/prov-suite/prov-6.png?v=1.1" class="img-fluid" alt="" />
839                                        <figcaption>
840                                            <h3>
841                                                <button class="btn-ply1" onclick="popUpGameLink('JE','SL','0','0',1000,600)">Play Now</button>
842                                            </h3>
843
844                                        </figcaption>
845                                    </figure>
846                                </li>
847                                <li>
848                                    <figure class="btn-slot">
849                                        <img src="images/common/prov-suite/prov-7.png?v=1.1" class="img-fluid" alt="" />
850                                        <figcaption>
851                                            <h3>
852                                                <button class="btn-ply1" onclick="popUpGameLink('RE','SL','0','0',1000,600)">Play Now</button>
853                                            </h3>
854
855                                        </figcaption>
856                                    </figure>
857                                </li>
858                            </ul>
859                        </div>
860                    </div>
861                </div>
862                <div class="transaction_bg d-desktop-show">
863                    <div class="transaction_container">
864                        <div class="transaction_title_box">
865                            <div class="transaction_box">
866                                <div class="transaction_content">
867                                    <div class="btn-live">
868                                        <div class="transc-l">
869                                            <img src="images/common/index/icon-light.png" class="img-sh" alt=""><img src="images/common/index/deposit.png" class="img-sh2" alt=""></div>
870                                        <div class="text-trs">Live<div class="fnt-wh">Deposit</div>
871                                        </div>
872                                    </div>
873                                </div>
874                                <div class="wrap-live">
875                                    <div class="transaction_content_box_title">
876                                        <div class="transaction_content_1_title">Deposit</div>
877                                        <div class="transaction_content_2_title">Amount</div>
878                                    </div>
879                                    <div class="transaction_list live_deposit">
880                                    </div>
881                                </div>
882                            </div>
883                            <div class="transaction_box">
884                                <div class="transaction_content">
885                                    <div class="btn-live">
886                                        <div class="transc-l">
887                                            <img src="images/common/index/icon-light.png" class="img-sh" alt=""><img src="images/common/index/money-withdrawal.png" class="img-sh2" alt=""></div>
888                                        <div class="text-trs">Live<div class="fnt-wh">Withdrawal</div>
889                                        </div>
890                                    </div>
891                                </div>
892                                <div class="wrap-live">
893                                    <div class="transaction_content_box_title">
894                                        <div class="transaction_content_1_title">Withdrawal</div>
895                                        <div class="transaction_content_2_title">Amount</div>
896                                    </div>
897                                    <div class="transaction_list live_withdrawal">
898                                    </div>
899                                </div>
900                            </div>
901                        </div>
902                        <div class="transaction_time"></div>
903                    </div>
904                </div>
905
906                <div class="inc-item">
907                    <div class="live-stream">
908                        <div class="iframeCustom">
909                            <div class="tourmnt-bg">
910                                <div class="index_con_bg index_con_warp01">
911                                    <h4>Slot Tournament</h4>
912                                    <div class="countdown_main">
913                                        <div class="countdown_main02">
914                                            <div class="countdown_main_wrap">
915                                                <div class="countdown_main_time" id="t_day"></div>
916                                                <img src="images/common/index/countdown_time.png">
917                                                <div class="countdown_main_words">DAYS</div>
918                                            </div>
919                                            <div class="countdown_main_wrap">
920                                                <div class="countdown_main_time" id="t_hour"></div>
921                                                <img src="images/common/index/countdown_time.png">
922                                                <div class="countdown_main_words">HOURS</div>
923                                            </div>
924                                            <div class="countdown_main_wrap">
925                                                <div class="countdown_main_time" id="t_min"></div>
926                                                <img src="images/common/index/countdown_time.png">
927                                                <div class="countdown_main_words">MINS</div>
928                                            </div>
929                                        </div>
930                                        <img src="images/common/index/countdown_bg.png">
931                                    </div>
932                                    <div class="rank_main">
933                                        <div class="rank_wrap rank_wrap01">
934                                            <div class="rank_flag">
935                                                <div class="rank_flag_txt"></div>
936                                                <img src="images/common/index/top1.png">
937                                            </div>
938                                            <div class="rank_tag">
939                                                <div class="rank_id" id="first_t">-</div>
940                                                <div class="rank_price">MYR 1000.00</div>
941                                            </div>
942                                        </div>
943                                        <div class="rank_wrap rank_wrap02">
944                                            <div class="rank_flag">
945                                                <div class="rank_flag_txt"></div>
946                                                <img src="images/common/index/top2.png">
947                                            </div>
948                                            <div class="rank_tag">
949                                                <div class="rank_id" id="second_t">-</div>
950                                                <div class="rank_price">MYR 500.00</div>
951                                            </div>
952                                        </div>
953                                        <div class="rank_wrap rank_wrap03">
954                                            <div class="rank_flag">
955                                                <div class="rank_flag_txt"></div>
956                                                <img src="images/common/index/top3.png">
957                                            </div>
958                                            <div class="rank_tag">
959                                                <div class="rank_id" id="third_t">-</div>
960                                                <div class="rank_price">MYR 300.00</div>
961                                            </div>
962                                        </div>
963                                    </div>
964                                    <div class="view_more">
965                                        <button class="view_btn" onclick="location.href='tournament'" type="button">View More Result</button>
966                                        <div class="view_more_txt" id="today_t"></div>
967                                    </div>
968                                </div>
969                            </div>
970                        </div>
971                        <div class="transaction_bg m-mobile-show">
972                            <div class="transaction_container">
973                                <div class="transaction_title_box">
974                                    <div class="transaction_box">
975                                        <div class="transaction_content">
976                                            <div class="btn-live">
977                                                <div class="transc-l">
978                                                    <img src="images/common/index/icon-light.png" class="img-sh" alt=""><img src="images/common/index/deposit.png" class="img-sh2" alt="">
979                                                </div>
980                                                <div class="text-trs">Live<div class="fnt-wh">Deposit</div>
981                                                </div>
982                                            </div>
983                                        </div>
984                                        <div class="wrap-live">
985                                            <div class="transaction_content_box_title">
986                                                <div class="transaction_content_1_title">Deposit</div>
987                                                <div class="transaction_content_2_title">Amount</div>
988                                            </div>
989                                            <div class="transaction_list live_deposit">
990                                            </div>
991                                        </div>
992                                    </div>
993                                    <div class="transaction_box">
994                                        <div class="transaction_content">
995                                            <div class="btn-live">
996                                                <div class="transc-l">
997                                                    <img src="images/common/index/icon-light.png" class="img-sh" alt=""><img src="images/common/index/money-withdrawal.png" class="img-sh2" alt="">
998                                                </div>
999                                                <div class="text-trs">Live<div class="fnt-wh">Withdrawal</div>
1000                                                </div>
1001                                            </div>
1002                                        </div>
1003                                        <div class="wrap-live">
1004                                            <div class="transaction_content_box_title">
1005                                                <div class="transaction_content_1_title">Withdrawal</div>
1006                                                <div class="transaction_content_2_title">Amount</div>
1007                                            </div>
1008                                            <div class="transaction_list live_withdrawal">
1009                                            </div>
1010                                        </div>
1011                                    </div>
1012                                </div>
1013                                <div class="transaction_time"></div>
1014                            </div>
1015                        </div>
1016                        <div class="spotlight">
1017                            <iframe width="100%" height="713px" id="wbethighlightsec" src="https://wft.uat002.com/highlight?theme=7&lang=en"></iframe>
1018                        </div>
1019                    </div>
1020                </div>
1021                <div class="inc-item">
1022                    <div class="ttl-inx">
1023                        <div class="ttl-inx-l">
1024                            <span>
1025                                <img src="images/common/Layer 243.png" alt="" /></span> Infomation
1026                        </div>
1027                        <!--<a href="lotto.html" class="btn-find">Find Out More</a>-->
1028                    </div>
1029                    <div class="index-info">
1030                        <div class="inx-bnr">
1031                            <div class="embed-container">
1032                                <iframe src="https://www.youtube.com/embed/j11TGkhOZ2Y" frameborder="0"></iframe>
1033                            </div>
1034                        </div>
1035                        <div class="inx-bnr-2">
1036                            <div class="in-info">
1037                                <ul>
1038                                    
1039                                    <li><a href="download">
1040                                        <img src="images/common/index/mobile.png" alt="" /><div class="btn-plynow">Download Link</div>
1041                                    </a></li>
1042                                    <li><a href="about_us">
1043                                        <img src="images/common/index/info.png" alt="" /><div class="btn-plynow">More Info</div>
1044                                    </a></li>
1045                                    <li><a href="blog">
1046                                        <img src="images/common/index/info-about.png" alt="" /><div class="btn-plynow">More Detail</div>
1047                                    </a></li>
1048                                    <li><a href="contact">
1049                                        <img src="images/common/index/contactus.png" alt="" /><div class="btn-plynow">Live Chat</div>
1050                                    </a></li>
1051                                    
1052                                </ul>
1053                            </div>
1054                        </div>
1055                    </div>
1056                </div>
1057            </div>
1058        </div>
1059    </div>
1060    
1061<div class="footer-wrapper">
1062    <footer class="layout-footer">
1063        <div class="footer-top">
1064            <div class="payment-methods">
1065                <div class="title">Payment Methods: </div>
1066                <div class="methods">
1067                    <div class="method-container">
1068                        <img class="payment-method" src="images/common/pay/GSPay-plus.png?v=1.12" alt="">
1069                    </div>
1070                    <div class="method-container">
1071                        <img class="payment-method" src="images/common/pay/vaderpay-white.png?v=1.12" alt="">
1072                    </div>
1073                    <div class="method-container">
1074                        <img class="payment-method" src="images/common/surepay2.png?V1.1" alt="">
1075                    </div>
1076                    
1077                    <div class="method-container">
1078                        <img class="payment-method" src="images/common/pay/tng.png?v=1.12" alt="">
1079                    </div>
1080                    <div class="method-container">
1081                        <img class="payment-method" src="images/common/paypro.png?v=1.12" alt="" style="width: 45%;">
1082                    </div>
1083                </div>
1084            </div>
1085            
1086            <div class="navigation-menu">
1087                <a href="about_us">About Us</a>
1088                <div class="link-seperator">|</div>
1089                <a href="banking">Banking</a>
1090                <div class="link-seperator">|</div>
1091                <a href="tnc">Terms & Conditions</a>
1092                <div class="link-seperator">|</div>
1093                <a href="policy">Privacy Policy</a>
1094                <div class="link-seperator">|</div>
1095                <a href="responsible_gaming">Responsible Gaming</a>
1096                <div class="link-seperator">|</div>
1097                <a href="contact">Contact Us</a>
1098            </div>
1099        </div>
1100        <div class="footer-middle">
1101            <div class="game-providers">
1102                <div class="providers-wrapper">
1103                    <div class="prov-img">
1104                        <ul>
1105                            <li>
1106                                <img src="images/common/footer-logo/ai.png" alt="" /></li>
1107                            <li>
1108                            <li>
1109                                <img src="images/common/footer-logo/wow.png" alt="" /></li>
1110                            <li>
1111                                
1112                            <li>
1113                                <img src="images/common/footer-logo/918kiss.png?v=1.21" alt="" /></li>
1114                            
1115                            <li>
1116                                <img src="images/common/footer-logo/choice.png?v=1.21" alt="" /></li>
1117                            <li>
1118                                <img src="images/common/footer-logo/allbet.png?v=1.21" alt="" /></li>
1119                            <li>
1120                                <img src="images/common/footer-logo/apollo.png?v=1.21" alt="" /></li>
1121                            <li>
1122                                <img src="images/common/footer-logo/bgaming.png?v=1.21" alt="" /></li>
1123                            <li>
1124                                <img src="images/common/footer-logo/biggaming.png?v=1.21" alt="" /></li>
1125                            <li>
1126                                <img src="images/common/footer-logo/booongo.png?v=1.21" alt="" /></li>
1127                            <li>
1128                                <img src="images/common/footer-logo/chris.png?v=1.21" alt="" /></li>
1129                            <li>
1130                                <img src="images/common/footer-logo/cmd.png?v=1.21" alt="" /></li>
1131                            <li>
1132                                <img src="images/common/footer-logo/cq9.png?v=1.21" alt="" /></li>
1133                            <li>
1134                                <img src="images/common/footer-logo/evo.png?v=1.21" alt="" /></li>
1135                            <li>
1136                                <img src="images/common/footer-logo/fazi.png?v=1.21" alt="" /></li>
1137                            <li>
1138                                <img src="images/common/footer-logo/gameplay.png?v=1.21" alt="" /></li>
1139                            <li>
1140                                <img src="images/common/footer-logo/gamshy.png?v=1.21" alt="" /></li>
1141                            
1142                            <li>
1143                                <img src="images/common/footer-logo/ia.png?v=1.21" alt="" /></li>
1144                            <li>
1145                                <img src="images/common/footer-logo/idnlive.png?v=1.21" alt="" /></li>
1146                            
1147                            <li>
1148                                <img src="images/common/footer-logo/jdb.png?v=1.21" alt="" /></li>
1149                            <li>
1150                                <img src="images/common/footer-logo/jili.png?v=1.21" alt="" /></li>
1151                            <li>
1152                                <img src="images/common/footer-logo/joker.png?v=1.21" alt="" /></li>
1153                            <li>
1154                                <img src="images/common/footer-logo/king.png?v=1.21" alt="" /></li>
1155                            <li>
1156                                <img src="images/common/footer-logo/kiron.png?v=1.21" alt="" /></li>
1157                            <li>
1158                                <img src="images/common/footer-logo/live22.png?v=1.22" alt="" /></li>
1159                            <li>
1160                                <img src="images/common/footer-logo/m8bet.png?v=1.21" alt="" /></li>
1161                            <li>
1162                                <img src="images/common/footer-logo/maxbet.png?v=1.21" alt="" /></li>
1163                            <li>
1164                                <img src="images/common/footer-logo/mega.png?v=1.21" alt="" /></li>
1165                            <li>
1166                                <img src="images/common/footer-logo/micro.png?v=1.21" alt="" /></li>
1167                            <li>
1168                                <img src="images/common/footer-logo/miki.png?v=1.21" alt="" /></li>
1169                            <li>
1170                                <img src="images/common/footer-logo/mrslotty.png?v=1.21" alt="" /></li>
1171                            <li>
1172                                <img src="images/common/footer-logo/netent.png?v=1.12" alt="" /></li>
1173                            <li>
1174                                <img src="images/common/footer-logo/netgame.png?v=1.21" alt="" /></li>
1175                            <li>
1176                                <img src="images/common/footer-logo/pg.png?v=1.21" alt="" /></li>
1177                            <li>
1178                                <img src="images/common/footer-logo/play.png?v=1.21" alt="" /></li>
1179                            <li>
1180                                <img src="images/common/footer-logo/plyatech.png?v=1.21" alt="" /></li>
1181                            <li>
1182                                <img src="images/common/footer-logo/pragmatic.png?v=1.21" alt="" /></li>
1183                            <li>
1184                                <img src="images/common/footer-logo/pretty.png?v=1.21" alt="" /></li>
1185                            <li>
1186                                <img src="images/common/footer-logo/psbet.png?v=1.21" alt="" /></li>
1187                            <li>
1188                                <img src="images/common/footer-logo/pussy.png?v=1.21" alt="" /></li>
1189                            <li>
1190                                <img src="images/common/footer-logo/qtech.png?v=1.21" alt="" /></li>
1191                            <li>
1192                                <img src="images/common/footer-logo/redrake.png?v=1.21" alt="" /></li>
1193                            <li>
1194                                <img src="images/common/footer-logo/sa.png?v=1.21" alt="" /></li>
1195                            <li>
1196                                <img src="images/common/footer-logo/sbo.png?v=1.21" alt="" /></li>
1197                            <li>
1198                                <img src="images/common/footer-logo/tf.png?v=1.21" alt="" /></li>
1199                            <li>
1200                                <img src="images/common/footer-logo/truelab.png?v=1.21" alt="" /></li>
1201                            <li>
1202                                <img src="images/common/footer-logo/v2g.png?v=1.21" alt="" /></li>
1203                            
1204                            <li>
1205                                <img src="images/common/footer-logo/wazdan.png?v=1.21" alt="" /></li>
1206                            <li>
1207                                <img src="images/common/footer-logo/wbet.png?v=1.21" alt="" /></li>
1208                            <li>
1209                                <img src="images/common/footer-logo/wearecasino.png?v=1.21" alt="" /></li>
1210                            <li>
1211                                <img src="images/common/footer-logo/xe88.png?v=1.21" alt="" /></li>
1212                            <li>
1213                                <img src="images/common/footer-logo/xpro.png?v=1.22" alt="" /></li>
1214                            <li>
1215                                <img src="images/common/footer-logo/dreamtech.png?v=1.21" alt="" /></li>
1216                            <li>
1217                                <img src="images/common/footer-logo/spade.png?v=1.21" alt="" /></li>
1218                            <li>
1219                                <img src="images/common/footer-logo/habanero.png?v=1.21" alt="" /></li>
1220                            <li>
1221                                <img src="images/common/footer-logo/playngo.png?v=1.21" alt="" /></li>
1222                            <li>
1223                                <img src="images/common/footer-logo/genesis.png?v=1.21" alt="" /></li>
1224                            <li>
1225                                <img src="images/common/footer-logo/playstar.png?v=1.21" alt="" /></li>
1226                            <li>
1227                                <img src="images/common/footer-logo/worldmatch.png?v=1.21" alt="" /></li>
1228                            <li>
1229                                <img src="images/common/footer-logo/simpleplay.png?v=1.21" alt="" /></li>
1230                            <li>
1231                                <img src="images/common/footer-logo/bbin.png?v=1.21" alt="" /></li>
1232                            <li>
1233                                <img src="images/common/footer-logo/ttp.png?v=1.21" alt="" /></li>
1234                            <li>
1235                                <img src="images/common/footer-logo/gamatron.png?v=1.21" alt="" /></li>
1236                            <li>
1237                                <img src="images/common/footer-logo/betsoft.png?v=1.21" alt="" /></li>
1238                            <li>
1239                                <img src="images/common/footer-logo/gameart.png?v=1.21" alt="" /></li>
1240                            <li>
1241                                <img src="images/common/footer-logo/redtiger.png?v=1.21" alt="" /></li>
1242                            <li>
1243                                <img src="images/common/footer-logo/ameba.png?v=1.21" alt="" /></li>
1244                            <li>
1245                                <img src="images/common/footer-logo/ygg.png?v=1.21" alt="" /></li>
1246                            <li>
1247                                <img src="images/common/suites/sta.png" /></li>
1248                            <li>
1249                                <img src="images/common/footer-logo/ft-megah5.png" alt=""></li>
1250                            <li>
1251                                <img src="images/common/footer-logo/ft-ka.png" alt=""></li>
1252                            <li>
1253                                <img src="images/common/footer-logo/ft-ht.png" alt=""></li>
1254                            <li>
1255                                <img src="images/common/footer-logo/amigo.png" alt=""></li>
1256                            <li>
1257                                <img src="images/common/footer-logo/sexy.png" alt=""></li>
1258                            <li>
1259                                <img src="images/common/footer-logo/db.png" alt=""></li>
1260                            <li>
1261                                <img src="images/common/footer-logo/magic.png?v2" alt=""></li>
1262                        </ul>
1263                    </div>
1264                </div>
1265            </div>
1266        </div>
1267        <div class="footer-bottom">
1268            <div class="footer-content-bottom seo-all">
1269                <h3>5 Reasons Why You Should Try Alibaba33 - Online Casino Malaysia</h3>
1270                <div class="seo-info">
1271                    <p>
1272                        <strong>Alibaba33 - Online Casino Malaysia Introduction</strong><br>
1273                        If you’re bored with the usual casino scene, you should try Alibaba33 - online casino Malaysia.
1274                        <br>
1275                        <br>
1276                        There are many reasons why you should give this new form of gaming a shot, including that it has more game variety, better payouts, and faster payouts than land-based casinos.
1277                        <br>
1278                        <br>
1279                        There are also bonuses and promotions galore when playing at an online casino Malaysia site.<br>
1280                        <br>
1281                        <strong>Alibaba33 - Online Casino Malaysia: You Get More Game Variety</strong><br>
1282                        When you play at an online casino in Malaysia, you get various games to choose from. You can easily find games for all types of players, such as slots and table games.
1283                        <br>
1284                        <br>
1285                        There are hundreds of different online casinos in Malaysia that offer thousands of other game titles.
1286                        <br>
1287                        <br>
1288                        The best part is that these online casinos keep adding new ones every month, so there's always something new to discover.<br>
1289                        <br>
1290                        If you're looking for traditional casino malaysia games like blackjack 
1290or roulette or if you prefer video slots with exciting bonus features and animations, then an online casino in Malaysia has what you need.<br>
1291                        <br>
1292                        If playing against other players is more your thing, why not try some poker? Or maybe bingo appeals to your inner winner?
1293                        <br>
1294                        <br>
1295                        There's no need for any download since most modern smartphones support HTML5 technology, which allows them to access any website instantly without having to install any software first.<br>
1296                        <br>
1297                        The variety doesn't stop there, though, because the platforms used by these online casinos also vary widely depending on where we're based in terms of the software companies behind them.
1298                        <br>
1299                        <br>
1300                        You could try some live dealer action, while others may use instant play versions instead; either way, we will be happy. -This means no matter what type of gaming experience(s)<br>
1301                        <br>
1302                        <strong>Alibaba33 - Online Casino Malaysia: Has Great Bonuses And Promotions</strong><br>
1303                        In this section, we will discuss the benefits of bonuses and promotions you can get when playing online casinos in Malaysia.
1304                        <br>
1305                        <br>
1306                        -This is one of the reasons why people should try online casinos in Malaysia.<br>
1307                        <br>
1308                        BONUSES AND PROMOTIONS CAN HELP YOU WIN MORE MONEY:<br>
1309                        <br>
1310                        You might have noticed that many online casinos offer different kinds of bonuses and promotions to their players, and some even give away free money just for signing up with their sites.
1311                        <br>
1312                        <br>
1313                        When you win money during a game, it is possible to use your winnings to bet again using your bonus money, and it’s like getting double benefit out of one transaction.
1314                        <br>
1315                        <br>
1316                        -This means that if you manage your bankroll well enough, then it is possible for everyone playing at an online casino to make more profit than usual because we can use their winnings from playing games as well as other bonuses we get from signing up with online casinos firstly into betting again later down the line.<br>
1317                        <br>
1318                        It’s not just about making more profit, though; there are also other benefits associated with having access to these kinds of offers too, such as:<br>
1319                        <br>
1320                        <ul>
1321                            <li>Getting free cash deposits into your account so long as there aren't any restrictions placed on them by site owners themselves about how much or which types/kinds, etcetera, then this means anyone who has received them will have access today but won't necessarily tomorrow unless another person hasn't already taken advantage yet today?</li>
1322                        </ul>
1323                        <br>
1324                        <strong>Alibaba33 - Online Casino Malaysia: Payouts Are Better</strong><br>
1325                        You're probably wondering why online casinos offer better payouts than land-based ones.
1326                        <br>
1327                        <br>
1328                        It's pretty simple: the technology that powers them is superior to what you'll find in brick-and-mortar establishments, so there are fewer technical issues when calculating wins and losses.<br>
1329                        <br>
1330                        While this might not seem like much of a difference on the surface level, think about how having better technology impacts your daily life.
1331                        <br>
1332                        <br>
1333                        For example, if you have been using a mobile phone for ten years or more, chances are you've experienced firsthand how quickly phones become outdated after two or three years of use because newer versions come out every year.
1334                        <br>
1335                        <br>
1336                        But even though we stop being useful after a while, we usually work well enough.<br>
1337                        <br>
1338                        —and any problems can usually be fixed by restarting your phone or reinstalling some software updates.<br>
1339                        <br>
1340                        Do you see? Better tech ensures that everything runs smoothly with minimal downtime;<br>
1341                        <br>
1342                        -this kind of consistency leads directly into better payouts because players' experiences with their devices are consistently positive throughout their entire time playing at an online casino Malaysia site like ours."<br>
1343                        <br>
1344                        <strong>Alibaba33 - Online Casino Malaysia: Safe And Secure For Online Transactions</strong><br>
1345                        Online casino Malaysia is safe and secure for online transactions. The Ministry of Finance regulates the online gambling industry in Malaysia through the Malaysian Remote Gaming Association (MRGA). The association ensures that all licensed operators comply with strict guidelines which provide consumer protection and responsible gaming.<br>
1346                        <br>
1347                        Each site has its independent rating system, but all of them are audited to ensure security, fairness, and transparency.<br>
1348                        <br>
1349                        As part of this process, each operator undergoes regular audits by professional companies to ensure we meet these standards on an ongoing basis.<br>
1350                        <br>
1351                        <strong>Alibaba33 - Online Casino Malaysia: The Comfort Of Playing At Your Home Or Anywhere</strong><br>
1352                        You don’t have to leave the comfort of your home or your room. You can play from anywhere in the world, as long as you have an internet connection and a laptop or desktop computer.
1353                        <br>
1354                        <br>
1355                        -This is especially helpful for those who live in remote areas with 
1355no casinos nearby or those who enjoy gaming but don't want to travel far from home.<br>
1356                        <br>
1357                        You can play any time of day and night without worrying about getting dressed up and traveling across town just to play at a casino table with other players that may be more experienced than you are and could take all your money if we win too much.<br>
1358                        <br>
1359                        The cost of playing online varies by casino site, but it's generally cheaper than playing live.
1360                        <br>
1361                        <br>
1362                        Many people prefer online gambling because we don't need to pay taxes on their winnings.<br>
1363                        <br>
1364                        —plus, we don't have to worry about losing track of how much money we're spending when we're out gambling since everything is recorded electronically anyway.<br>
1365                        <br>
1366                        <strong>Try Alibaba33 - Online Casino Malaysia.</strong><br>
1367                        If you’re bored with the usual casino scene, you should try online casino Malaysia.
1368            There are many reasons why online casinos are more convenient than their brick-and-mortar counterparts.
1369                        <br>
1370                        <br>
1371                        We offer better games, better bonuses, and promotions, and we provide a safe and secure environment for your money transactions. Here’s how:<br>
1372                        <br>
1373                        <ul>
1374                            <li>Convenience is one of the main benefits of playing at an online casino in Malaysia over its traditional counterpart. 
1375                You can play anytime, anywhere, without leaving your home or office. On top of that, there are no lines to wait at an online casino in Malaysia.</li>
1376                            <br>
1377                            <br>
1378                            <li>The number of games available in an online casino in Malaysia is much higher than what you see on land-based ones; this means that there’s something for everybody, regardless of their personal preferences.
1379                You can choose from table games like poker or blackjack; slot machines such as Mega888, 918Kiss, Super 8 Ways Ultimate, Joker123, XE88, Pussy888, Live22, ; 
1380                -video poker machines like Playtech, Pragmatic Play, QTech, Spadegaming, 918Kaya, AG Asia Gaming, Apollo Games, B Gaming, CQ9, Fazi, Gameplay Interactive, Gamingsoft Slots, Netent, Netgame, Mr Slotty, PlayPearls, TrueLab, Wazdan, WeAreCasino, Jili, JDB, Microgaming, Dreamtech, Habanero, PlaynGo; </li>
1381                        </ul>
1382                        <br>
1383                        <strong>Conclusion</strong><br>
1384                        In summary, at trusted online casino in Malaysia like Alibaba33 is a great way to enjoy your favorite games and win big.
1385                        <br>
1386                        <br>
1387                        We have everything you want in an online casino Malaysia: a wide variety of games, great bonuses, promotions, fast payouts, and security when you make deposits or withdrawals from your account. So why not give Alibaba33 - online casino Malaysia a try today?
1388                    </p>
1389                </div>
1390            </div>
1391        </div>
1392        <div class="footer-bottom">
1393            <div class="footer-content-bottom game-providers">
1394                <div id="be-support" style="margin-top: 0px; justify-content: flex-start; border-top: dashed; border-width: 1px; border-color: var(--neutral-3);">
1395                    <div class="be-support-content">Alibaba33 is committed to supporting&nbsp;<a href="responsible_gaming" id="footer-responsible-gaming">Responsible Gaming</a> </div>
1396                </div>
1397                <div class="bottom-element">
1398                    <div id="be-age-limit" class="age-limit">
1399                        <img src="images/common/eighteen.svg" alt="eighteen" />
1400                    </div>
1401                    <div class="copyright-element">
1402                        <span>&nbsp;| Alibaba33.com&nbsp;</span>
1403                        <time>2022</time>
1404                    </div>
1405                </div>
1406                <div class="terms-info">
1407                    * Terms and conditions apply; please refer to the promotions page for more details.
1408                    <br>
1409                    <br>
1410                    Alibaba33.com uses certain browser cookies to ensure you receive the best gaming experience. By accessing and continuing to use the site you accept the use of these cookies. For information on our use of cookies and how to prevent them please refer to Alibaba33´s terms of use.</a>
1411                </div>
1412            </div>
1413        </div>
1414    </footer>
1415</div>
1416<div class="footer-menu">
1417    <div class="footer-menu-in">
1418        <ul class="ft-menu">
1419            <li class="nav-item">
1420                <a class="nav-link" href="index" aria-label="Home">
1421                    <i class="fas fa-home"></i>Home
1422                </a>
1423            </li>
1424            
1425            <li class="nav-item">
1426                <a class="nav-link" href="login" aria-label="My Account">
1427                    <i class="fas fa-user"></i>Account
1428                </a>
1429            </li>
1430            
1431            <li class="nav-item">
1432                <a class="nav-link" href="https://wa.link/0p0p89" aria-label="WhatsApp">
1433                    <i class="fab fa-whatsapp"></i>Whatsapp
1434                </a>
1435            </li>
1436            <li class="nav-item">
1437                <a class="nav-link" href="promotion" aria-label="Promo">
1438                    <i class="fas fa-gift"></i>Promos
1439                </a>
1440            </li>
1441            <li class="nav-item">
1442
1443                <label name="Hamburger" for="side-menu-toggle" class="header-menu-mobile"
1444                    onclick="trackEvents('Click - ' + this.getAttribute('name'), 'Header', 1)">
1445                    <i class="fas fa-bars"></i>Menu
1446                </label>
1447            </li>
1448        </ul>
1449    </div>
1450</div>
1451
1452
1453    
1453<script>
1454        
1455
1456        $(document).ready(function () {
1457            // to init float icon
1458            
1459            $("#index1").addClass("active");
1460            getBannerList();
1461            getTournamentList();
1462            getLiveDeposit('live-deposit');
1463            getLiveWithdrawal('live-withdrawal');
1464            getTransactionTime('live-trans-time');
1465            //  getAnnouncement();
1466            //   getPopupAnnouncement();
1467            getPopupAnnouncementList();
1468                   
1469            /********** BEGIN: Init lucky dice **********/
1470            var $ld = $('#lucky-dice-div');
1471            initLuckyDice($ld, null);
1472            /********** END: Init lucky dice **********/
1473            var today = new Date();
1474            var dd = String(today.getDate()).padStart(2, '0');
1475            var mm = String(today.getMonth() + 1).padStart(2, '0'); //January is 0!
1476            var yyyy = today.getFullYear();
1477
1478            today = mm + '/' + dd + '/' + yyyy;
1479            $("#today_t").html("Current Result taken on " + today);
1480        });
1481
1482        function getBannerList() {
1483            var url = "../ajaxData/proc_getBannerList";
1484
1485            ajaxRequest("GET", url, null, getBannerListDone, getBannerListFail, ajaxAlways, false, false);
1486        }
1487
1488        function getBannerListDone(res) {
1489            if (res.errCode == "0") {
1490                var count = 0;
1491                var count1 = 0;
1492                $(res.data).each(function (idx) {
1493                    var link = this.link;
1494                    var image = replaceHTTPS(this.image);
1495                    var image2 = replaceHTTPS(this.image2);
1496                    var ind = '';
1497                    if (!(image.includes("ffccc52b393d6a9b366eb7fe3dff9ab5_650245.jpg") || image2.includes("ffccc52b393d6a9b366eb7fe3dff9ab5_650245.jpg"))) {
1498                        if (screen.width <= 720) {
1499
1500                            if (count == 0) {
1501                                count += 1;
1502                                var html = '';
1503                                html += '<div class="carousel-item active"><picture>';
1504                                if (link) {
1505                                    html += '<a href="' + link + '">';
1506                                }
1507                                else {
1508                                    html += '<a href="#">';
1509                                }
1510                                html += ' <img  src="' + image2 + '"  alt="First slide">';
1511                                html += '</a>';
1512                                html += '</picture></div>';
1513
1514                                $("#webBanner").append(html);
1515                            }
1516                            else {
1517                                count += 1;
1518                                var html = '';
1519                                html += '<div class="carousel-item"><picture>';
1520                                if (link) {
1521                                    html += '<a href="' + link + '">';
1522                                }
1523                                else {
1524                                    html += '<a href="#">';
1525                                }
1526                                html += ' <img  src="' + image2 + '"  alt="First slide">';
1527                                html += '</a>';
1528                                html += '</picture></div>';
1529
1530                                $("#webBanner").append(html);
1531                            }
1532                        } else {
1533                            if (count1 == 0) {
1534                                var html = '';
1535                                count1 += 1;
1536                                html += '<div class="carousel-item active"><picture>';
1537                                if (link) {
1538                                    html += '<a href="' + link + '">';
1539                                }
1540                                else {
1541                                    html += '<a href="#">';
1542                                }
1543                                html += '<img  src="' + image + '"  alt="First slide">';
1544                                html += '</a>';
1545                                html += '</picture></div>';
1546
1547                                $("#webBanner").append(html);
1548                            }
1549                            else {
1550                                count1 += 1;
1551                                var html = '';
1552                                html += '<div class="carousel-item"><picture>';
1553                                if (link) {
1554                                    html += '<a href="' + link + '">';
1555                                }
1556                                else {
1557                                    html += '<a href="#">';
1558                                }
1559                                html += ' <img  src="' + image + '"  alt="First slide">';
1560                                html += '</a>';
1561                                html += '</picture></div>';
1562
1563                                $("#webBanner").append(html);
1564                            }
1565                        }
1566                    }
1567
1568                });
1569
1570            }
1571            else {
1572                alert(res.errMsg);
1573            }
1574        }
1575
1576        function getBannerListFail() {
1577            alert("Unknown error, Please contact our customer service");
1578        }
1579
1580        function getPopupAnnouncementList() {��            $.ajax({�                type: 'GET',�                url: '/ajaxData/proc_getPopupAnnouncementList',�                success: function (d) {�                    if (d.errCode == "0") {�                        $(d.data).each(function (idx) {�                            var desktopImg = this.d_image;�                            var mobileImg = this.m_image;�                            var alt = this.alt;�                            var description = this.description;�                            var title = this.title;��                            if (!this.is_active) return;��                            var html = '';��                            html += '  <div class="modal-dialog modal-payout" role="document">';�                            html += '   <div class="modal-content" >';�                            html += '    <div class="modal-header" style="background: linear-gradient(to bottom, rgba(215,155,52,1) 0%, rgba(249,229,129,1) 15%, rgba(238,201,91,1) 58%, rgba(215,152,42,1) 83%, rgba(215,162,65,1) 100%)">';�                            html += '        <h4 class="modal-title" id="myModalLabel" style="color:black;">' + title + '</h4>            ';�                            html += '       <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>';�                            html += '     </div>';�                            html += '     <div class="modal-body" style="background:black;">';�                            html += '         <img class="d-desktop img-responsive" src="' + desktopImg + '"  />';�                            html += '<div id="modalDescription" >' + description + '</div>';�                            html += '      </div>';�                            html += '       </div>';�                            html += '    </div>';�                            $('#popupAnnouncementModal').append(html);�                        });��                        $('#popupAnnouncementModal').modal();�                    }�                    else {�                        console.log("getPopupAnnouncementList: " + d.errMsg);�                    }�                },�                error: function (jqXHR, textStatus, errorThrown) {�                    alert("Unknown error, Please contact our customer service");�                }�            });�        }
1581
1582        function getTournamentList() {
1583            var url = "../ajaxData/proc_getTournamentList";
1584            ajaxRequest("GET", url, null, getTournamentListDone, getTournamentListFail, ajaxAlways, false, false);
1585        }
1586
1587        function getTournamentListDone(res, status, xhr) {
1588            if (res.errCode == 0) {
1589
1590                var counter = 0;
1591                //var counter1 = 0;
1592                $(res.data.reverse()).each(function () {
1593                    if (this.t_status == true) {
1594                        var title = this.t_title;
1595                        var content = this.t_content;
1596                        var image_des = this.t_image_des; // this.p_image2
1597                        var prod_code = this.p_code;
1598                        var splited = title.split(' ');
1599                        var html1 = '';
1600
1601
1602                        CreateTournamentList(this.p_id, content, image_des, this.start_time_local, this.end_time_local, prod_code);
1603                        //var diff = moment.duration(moment(this.start_time_local, "YYYY/MM/DD HH:mm:ss").diff(new Date().getTime()));
1604                        //var msec = Math.abs(diff);
1605                        //var dd = Math.floor(msec / 1000 / 60 / 60 / 24);
1606                        //msec -= dd * 1000 * 60 * 60 * 24;
1607                        //var hh = Math.floor(msec / 1000 / 60 / 60);
1608                        //msec -= hh * 1000 * 60 * 60;
1609                        //var mm = Math.floor(msec / 1000 / 60);
1610                        //msec -= mm * 1000 * 60;
1611
1612                        //// convert value to 2 digit
1613                        //if (hh < 10)
1614                        //    hh = "0" + hh.toString();
1615                        //if (mm < 10)
1616                        //    mm = "0" + mm.toString();
1617                        //if (dd < 10)
1618                        //    dd = "0" + dd.toString();
1619
1620
1621                        counter++;
1622                    }
1623
1624                });
1625            }
1626            else {
1627                // alert(res.errMsg);
1628            }
1629        }
1630
1631        function CreateTournamentList(tid, content, image, startTime, endTime, prod_code) {
1632            var dtNow = moment();
1633            var dtEnd = moment(endTime, "YYYY/MM/DD HH:mm:ss");
1634            var dtStart = moment(startTime, "YYYY/MM/DD HH:mm:ss");
1635            var id = "tnm_" + tid;
1636            $.ajax({
1637                type: 'POST',
1638                url: '../ajaxData/proc_getWinnerList',
1639                data: { "tournament_id": tid },
1640                cache: false,
1641                dataType: 'json',
1642                success: function (d) {
1643                    if (d.errCode == "0") {
1644                        var wlist = JSON.stringify(d.data);
1645                        var object = JSON.parse(wlist);
1646
1647                        object.forEach(function (key, index) {
1648                            if (index == 0) {
1649                                $("#first_t").html(key.username);
1650                            }
1651                            else if (index == 1) {
1652
1653                                $("#second_t").html(key.username);
1654                            }
1655                            else if (index == 2) {
1656                                $("#third_t").html(key.username);
1657                            }
1658
1659                        });
1660
1661                        TournamentCountdown(id, dtStart, dtEnd);
1662                    }
1663                },
1664                error: function (jqXHR, textStatus, errorThrown) {
1665                    console.log("Unknown error, Please contact our customer service");
1666                }
1667            });
1668
1669        }
1670
1671        function TournamentCountdown(id, dtStart, dtEnd) {
1672            //if (tCountdown != null)
1673            //    clearInterval(tCountdown);
1674            var dtNow;
1675            var cdStart;
1676            var cdEnd;
1677            var tCountdown = setInterval(function () {
1678                dtNow = new Date().getTime();
1679                if (dtNow < dtStart) {
1680                    // display countdown to match start
1681                    cdStart = dtNow;
1682                    cdEnd = dtStart;
1683                } else if (dtNow >= dtStart && dtNow <= dtEnd) {
1684                    // display countdown to match end
1685                    cdStart = dtNow;
1686                    cdEnd = dtEnd;
1687                }
1688                // get duration between 
1689                var duration = Math.abs(cdEnd - cdStart) / 1000;
1690                var day = Math.floor(duration / 86400);
1691                var hr = (Math.floor(duration / 3600) % 24);
1692                var min = Math.floor(duration / 60) % 60;
1693                var sec = Math.floor(duration) % 60;
1694                // convert value to 2 digit
1695                if (day < 10)
1696                    day = "0" + day.toString();
1697                if (hr < 10)
1698                    hr = "0" + hr.toString();
1699                if (min < 10)
1700                    min = "0" + min.toString();
1701                if (sec < 10)
1702                    sec = "0" + sec.toString();
1703                // insert value to element
1704                $("#t_hour").html(hr);
1705                $("#t_min").html(min);
1706                $("#t_day").html(day);
1707                // If the count down is overwrite some text 
1708
1709            }, 1000);
1710        }
1711
1712        function getLiveDeposit(infoId) {
1713            if (infoId) {
1714                var url = "/ajaxData/proc_getInfoDetail?infoId=" + infoId;
1715                ajaxRequest("POST", url, null, getLiveDepositDone, getInfoDetailFail, ajaxAlways, false, false);
1716            }
1717        }
1718
1719        function getLiveDepositDone(res, status, xhr) {
1720            if (res.errCode == 0) {
1721                $(".live_deposit").html(res.data.content);
1722            }
1723            else {
1724                if (res.errCode != "100015") {
1725                    alert(res.errMsg);
1726                }
1727            }
1728        }
1729
1730        function getLiveWithdrawal(infoId) {
1731            if (infoId) {
1732                var url = "/ajaxData/proc_getInfoDetail?infoId=" + infoId;
1733                ajaxRequest("POST", url, null, getLiveWithdrawalDone, getInfoDetailFail, ajaxAlways, false, false);
1734            }
1735        }
1736
1737        function getLiveWithdrawalDone(res, status, xhr) {
1738            if (res.errCode == 0) {
1739                $(".live_withdrawal").html(res.data.content);
1740            }
1741            else {
1742                if (res.errCode != "100015") {
1743                    alert(res.errMsg);
1744                }
1745            }
1746        }
1747
1748        function getInfoDetailFail(err, status, xhr) {
1749            alert("Unknown error, Please contact our customer service");
1750        }
1751
1752        function getTransactionTime(infoId) {
1753            if (infoId) {
1754                var url = "/ajaxData/proc_getInfoDetail?infoId=" + infoId;
1755                ajaxRequest("POST", url, null, getTransactionTimeDone, getInfoDetailFail, ajaxAlways, false, false);
1756            }
1757        }
1758
1759        function getTransactionTimeDone(res, status, xhr) {
1760            if (res.errCode == 0) {
1761                $(".transaction_time").html(res.data.content);
1762            }
1763            else {
1764                if (res.errCode != "100015") {
1765                    alert(res.errMsg);
1766                }
1767            }
1768        }
1769
1770        function initAutoScroll(list, options = {}) {
1771            const itemHeight = options.itemHeight || 40;
1772            const intervalTime = options.interval || 1800;
1773            const duration = options.duration || 600;
1774
1775            let timer = null;
1776            let paused = false;
1777
1778            function scrollOnce() {
1779                if (paused) return;
1780
1781                list.style.transform = `translateY(-${itemHeight}px)`;
1782
1783                setTimeout(() => {
1784                    if (paused) return;
1785
1786                    list.style.transition = "none";
1787                    list.appendChild(list.children[0]);
1788                    list.style.transform = "translateY(0)";
1789
1790                    list.offsetHeight; // force reflow
1791                    list.style.transition = `transform ${duration}ms ease-in-out`;
1792                }, duration);
1793            }
1794
1795            function start() {
1796                if (!timer) {
1797                    timer = setInterval(scrollOnce, intervalTime);
1798                }
1799            }
1800
1801            function stop() {
1802                paused = true;
1803                clearInterval(timer);
1804                timer = null;
1805            }
1806
1807            function resume() {
1808                paused = false;
1809                start();
1810            }
1811
1812            // hover 控制(每一组独立)
1813            list.addEventListener("mouseenter", stop);
1814            list.addEventListener("mouseleave", resume);
1815
1816            start();
1817        }
1818
1819        document.querySelectorAll(".transaction_list").forEach(list => {
1820            initAutoScroll(list, {
1821                itemHeight: 40,
1822                interval: 1800,
1823                duration: 600
1824            });
1825        });
1826    </script>
1826
1827    
1827<script>
1828
1829            
1830
1831        gameUrl = encodeURI(window.location.hostname + "/web/index");
1832
1833        $("#wbetlivestreamsec").attr('src', "https://wbetwidget.com/livestream?theme=7&lang=en&backurl=" + gameUrl);
1834        $("#wbethotmatchsec").attr('src', "https://wbetwidget.com/upcomingmatch?theme=7&lang=en&backurl=" + gameUrl);
1835        $("#wbethighlightsec").attr('src', "https://wbetwidget.com/highlight?theme=7&lang=en&backurl=" + gameUrl);
1836
1837        
1838    </script>
1838
1839
1840    </div>
1841    <a id="button"></a>
1842    <input id="side-menu-toggle" type="checkbox" style="display: none;" />
1843    <label for="side-menu-toggle" class="layout-side-menu-overlay"></label>
1844    <div class="layout-side-menu">
1845        <nav class="side-menu-elements">
1846            <div class="side-menu-element header">
1847                <div class="side-menu-icon">
1848                    <label for="side-menu-toggle">
1849                        <div class="icon-side-menu"></div>
1850                    </label>
1851                </div>
1852                <div class="side-menu-text"></div>
1853                <div class="lang-box languageToggle">
1854                    <div class="dropdown">
1855                        <button class="lang-btn dropdown-toggle" type="button" id="language-menu2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
1856                            <div class="languageToggle">
1857                                <span>
1858                                    <img src="images/common/flag-en-big.png" id="showLangFlag2"></span> <span><i class="fas fa-chevron-down"></i></span>
1859                            </div>
1860                        </button>
1861                        <div class="dropdown-menu language" aria-labelledby="language-menu2" x-placement="bottom-start">
1862                            <a class="dropdown-item" href="#" onclick="setlanguage('en-US')">
1863                                <img src="images/common/flag-en-big.png"></a>
1864                            <a class="dropdown-item" href="#" onclick="setlanguage('ms-MY')">
1865                                <img src="images/common/flag-my-big.png"></a>
1866                            <a class="dropdown-item" href="#" onclick="setlanguage('zh-CN')">
1867                                <img src="images/common/flag-cn-big.png"></a>
1868
1869                        </div>
1870                    </div>
1871                </div>
1872            </div>
1873            
1874            <a class="side-menu-element" href="index">
1875                <div class="side-menu-icon">
1876                    <div class="icon-home"></div>
1877                </div>
1878                <div class="side-menu-text">Home </div>
1879            </a>
1880            
1881            <a class="side-menu-element" href="register">
1882                <div class="side-menu-icon">
1883                    <div class="icon-register"></div>
1884                </div>
1885                <div class="side-menu-text">Register </div>
1886            </a><a class="side-menu-element" href="login">
1887                <div class="side-menu-icon">
1888                    <div class="icon-login"></div>
1889                </div>
1890                <div class="side-menu-text">Login </div>
1891            </a>
1892            
1893            <a class="side-menu-element" href="sports">
1894                <div class="side-menu-icon">
1895                    <div class="icon-sports"></div>
1896                </div>
1897                <div class="side-menu-text bottom-border-invisible">Sports </div>
1898            </a><a class="side-menu-element" href="esports">
1899                <div class="side-menu-icon">
1900                    <div class="icon-esports"></div>
1901                </div>
1902                <div class="side-menu-text bottom-border-invisible">E-Sport </div>
1903            </a><a class="side-menu-element" href="casino">
1904                <div class="side-menu-icon">
1905                    <div class="icon-livecasino"></div>
1906                </div>
1907                <div class="side-menu-text">Casino</div>
1908            </a><a class="side-menu-element" href="slots">
1909                <div class="side-menu-icon">
1910                    <div class="icon-games"></div>
1911                </div>
1912                <div class="side-menu-text">Slots </div>
1913            </a><a class="side-menu-element" href="fish">
1914                <div class="side-menu-icon">
1915                    <div class="icon-fish"></div>
1916                </div>
1917                <div class="side-menu-text">Fish Hunter </div>
1918            </a><a class="side-menu-element" href="cockfighting">
1919                <div class="side-menu-icon">
1920                    <div>
1921                        <img class="icon-cockfighting" style="height: 25px; width: 25px;" src="images/common/mobile/slide menu icons/icon-cf.svg" />
1922                    </div>
1923                </div>
1924                <div class="side-menu-text">Cock Fighting </div>
1925            </a>
1926            <a class="side-menu-element" href="other">
1927                <div class="side-menu-icon">
1928                    <div class="icon-other"></div>
1929                </div>
1930                <div class="side-menu-text">Others </div>
1931            </a><a class="side-menu-element" href="promotion">
1932                <div class="side-menu-icon">
1933                    <div class="icon-promotions"></div>
1934                </div>
1935                <div class="side-menu-text">Promos </div>
1936            </a><a class="side-menu-element" href="download">
1937                <div class="side-menu-icon">
1938                    <div class="icon-download"></div>
1939                </div>
1940                <div class="side-menu-text">Download Link </div>
1941            </a><a class="side-menu-element" href="vip">
1942                <div class="side-menu-icon">
1943                    <div class="icon-vip"></div>
1944                </div>
1945                <div class="side-menu-text">VIP </div>
1946            </a><a class="side-menu-element" href="wheel">
1947                <div class="side-menu-icon">
1948                    <div class="icon-wheel"></div>
1949                </div>
1950                <div class="side-menu-text">Fortune Wheel</div>
1951            </a><a class="side-menu-element" href="#" data-toggle="modal" data-target="#winner-modal">
1952                <div class="side-menu-icon">
1953                    <div class="icon-win"></div>
1954                </div>
1955                <div class="side-menu-text">Winner List </div>
1956            </a>
1957            <a class="side-menu-element" href="tournament">
1958                <div class="side-menu-icon">
1959                    <div class="icon-tour"></div>
1960                </div>
1961                <div class="side-menu-text">Tournament </div>
1962            </a>
1963            <a class="side-menu-element" href="livestream">
1964                <div class="side-menu-icon">
1965                    <div class="icon-live"></div>
1966                </div>
1967                <div class="side-menu-text">Livestream </div>
1968                <span class="hot-tag">Hot</span>
1969            </a>
1970            <a class="side-menu-element" href="contact">
1971                <div class="side-menu-icon">
1972                    <div class="icon-contactus"></div>
1973                </div>
1974                <div class="side-menu-text">Contact Us</div>
1975            </a><a class="side-menu-element" href="about_us">
1976                <div class="side-menu-icon">
1977                    <div class="icon-helpcenter"></div>
1978                </div>
1979                <div class="side-menu-text">About Us </div>
1980            </a>
1981            
1982        </nav>
1983    </div>
1984    <div class="modal fade" id="wheel-modal" style="display: none;" aria-hidden="true">
1985        <div class="modal-dialog  fortune-box">
1986            <div class="modal-content">
1987                <div class="modal-content promo">
1988                    <button type="button" class="close-promo" data-dismiss="modal" aria-hidden="true">X</button>
1989                    <div class="pm-title-wrapper">Fortune Wheel </div>
1990                    <div class="promo-pop-cont">
1991                        <div class="wheel-box">
1992                            <ul>
1993                                <li>Members will receive 1 Token for every successful minimum normal deposit of RM100.</li>
1994<li>The bonus must fulfill a minimum 1x wagering requirement before any withdrawal can be made.</li>
1995<li>Each member is entitled to a maximum of 1 Token per day.</li>
1996<li>All Tokens received must be used before 23:59 on the same day. Any unused Tokens will be automatically forfeited by the system.</li>
1997<li>Physical prizes are limited in quantity and are available on a first-come, first-served basis. Alibaba33 reserves the right to replace any out-of-stock prize with an item of similar value.</li>
1998<li>The bonus can be used on all games across the platform.</li>
1999<li>Each member is only allowed to register one Alibaba33 account.
2000    <ul>
2001        <li>If a member is found to have multiple accounts or multiple accounts registered under the same IP address, all such accounts will be treated as group / organizational accounts.</li>
2002        <li>Alibaba33 reserves the right to terminate all related accounts and permanently freeze all balances.</li>
2003    </ul>
2004</li>
2005<li>All Alibaba33 offers, bonuses and promotions are intended for recreational members only. Alibaba33 reserves the right to modify, amend or cancel this promotion at any time without prior notice.</li>
2006                            </ul>
2007                        </div>
2008                    </div>
2009                </div>
2010            </div>
2011        </div>
2012    </div>
2013    <input id="lang-side-menu-toggle" type="checkbox" style="display: none;" />
2014    <label for="lang-side-menu-toggle" class="languages-side-menu-overlay"></label>
2015    <div class="layout-side-menu-languages">
2016        <div class="side-menu-elements">
2017            <div id="mobile-selected-language" class="selected-language side-menu-element"></div>
2018            <a class="side-menu-element" onclick="changeDisplayLanguage('en-US')" id="mobile-en-US">
2019                <div class="side-menu-text">English (UK) </div>
2020                <div class="side-menu-icon">
2021                    <img src="images/common/flag-en-big.png" alt="English">
2022                </div>
2023            </a><a class="side-menu-element" onclick="changeDisplayLanguage('vi-VN')" id="mobile-vi-VN">
2024                <div class="side-menu-text">Tiếng Việt </div>
2025                <div class="side-menu-icon">
2026                    <img src="images/common/flag-mob-viet.png" alt="Vietnamese">
2027                </div>
2028            </a>
2029        </div>
2030    </div>
2031    <div class="modal modal-bottom fade" id="slot-pop" tabindex="-1" role="dialog" aria-labelledby="bottom_modal">
2032        <div class="modal-dialog" role="document">
2033            <div class="modal-content">
2034                <div class="modal-header">
2035                    <h5 class="modal-title">Game Name</h5>
2036                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span> </button>
2037                </div>
2038                <div class="modal-body">
2039                    <div class="slot-pop">
2040                        <div class="slot-img">
2041                            <img src="images/common/game1.jpg" class="img-fluid" alt="" />
2042                        </div>
2043                        <div class="slot-pop-wrap">
2044                            <button class="btn-ply1">PLAY NOW</button>
2045                            <button class="btn-ply2">TRy NOW</button>
2046                        </div>
2047                    </div>
2048                </div>
2049                <div class="modal-footer modal-footer-fixed d-none">
2050                    <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
2051                    <button type="button" class="btn btn-primary">Save changes</button>
2052                </div>
2053            </div>
2054        </div>
2055    </div>
2056    <div class="modal fade joinnow" id="joinnow-modal" style="display: none;" aria-hidden="true">
2057        <div class="modal-dialog">
2058            <div class="modal-content">
2059                <button type="button" class="close-x" data-dismiss="modal">X</button>
2060                <div class="join-cnt">
2061                    <div class="join-r">
2062                        <div class="join-r-top">
2063                            <div class="join-ttl">REGISTER TO Alibaba33 !!!</div>
2064                            <div class="flag-ttl">
2065                                <div class="lang-box languageToggle">
2066                                    <div class="dropdown">
2067                                        <button class="lang-btn dropdown-toggle" type="button" id="language-menu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
2068                                            <div class="languageToggle">
2069                                                <span>
2070                                                    <img src="images/common/flag-en-big.png"></span> <span><i class="fas fa-chevron-down"></i></span>
2071                                            </div>
2072                                        </button>
2073                                        <div class="dropdown-menu language" aria-labelledby="language-menu" x-placement="bottom-start">
2074                                            <a class="dropdown-item" href="#">
2075                                                <img src="images/common/flag-my-big.png"></a> <a class="dropdown-item" href="#">
2076                                                    <img src="images/common/flag-cn-big.png"></a>
2077                                        </div>
2078                                    </div>
2079                                </div>
2080                            </div>
2081                        </div>
2082                        <div class="join-r-cnt">
2083                            <form class="fg-form">
2084                                <div class="bk-title">Create Account</div>
2085                                <div class="regfield">
2086                                    <div class="label">Username<span class="manred">*</span></div>
2087                                    <div class="rgfeild">
2088                                        <input type="text">
2089                                    </div>
2090                                </div>
2091                                <div class="regfield">
2092                                    <div class="label">Full Name<span class="manred">*</span></div>
2093                                    <div class="rgfeild">
2094                                        <input type="text">
2095                                    </div>
2096                                </div>
2097                                <div class="regfield">
2098                                    <div class="label">Email<span class="manred">*</span></div>
2099                                    <div class="rgfeild">
2100                                        <input type="email">
2101                                    </div>
2102                                </div>
2103                                <div class="regfield">
2104                                    <div class="label">Contact No.<span class="manred">*</span></div>
2105                                    <div class="rgfeild">
2106                                        <input type="text">
2107                                    </div>
2108                                </div>
2109                                <div class="regfield">
2110                                    <div class="label">Password<span class="manred">*</span></div>
2111                                    <div class="rgfeild">
2112                                        <input type="password">
2113                                    </div>
2114                                </div>
2115                                <div class="regfield">
2116                                    <div class="label">Confirm Password<span class="manred">*</span></div>
2117                                    <div class="rgfeild">
2118                                        <input type="password">
2119                                    </div>
2120                                </div>
2121                                <div class="regfield">
2122                                    <div class="label"></div>
2123                                    <div>
2124                                        <button type="submit" class="reg-btn">Register</button>
2125                                    </div>
2126                                </div>
2127                                <div class="accept-field">By clicking the REGISTER button, I hereby acknowledge that I am above 18 years old and have read and accepted your terms &amp; conditions. </div>
2128                            </form>
2129                        </div>
2130                    </div>
2131                </div>
2132            </div>
2133        </div>
2134    </div>
2135    <div class="modal fade blnce" id="balance-modal" style="display: none;" aria-hidden="true">
2136        <div class="modal-dialog">
2137            <div class="modal-content">
2138                <button type="button" class="close-x" data-dismiss="modal">X</button>
2139                <div class="main-wallet">
2140                    <ul id="dropdown_balance">
2141                    </ul>
2142                </div>
2143            </div>
2144        </div>
2145    </div>
2146    <div class="modal fade" id="popupAnnouncementModal" style="top: 5%;">
2147    </div>
2148    <div class="modal fade" id="winner-modal" style="display: none;" aria-hidden="true">
2149        <div class="modal-dialog  winner-box">
2150            <div class="modal-content">
2151                <div class="modal-content promo">
2152                    <button type="button" class="close-promo" data-dismiss="modal" aria-hidden="true">X</button>
2153                    <div class="promo-pop-cont">
2154                        <div id="popupWinnerbtn"></div>
2155                        <h1>LAST WEEK WINNERLIST</h1>
2156                        <div class="pop-winner">
2157                            <div class="priz-wrap2">
2158
2159                                <div class="winlist">
2160                                    <div class="box-1" id="second1">
2161                                    </div>
2162                                    <div class="box-2" id="first1">
2163                                    </div>
2164                                    <div class="box-3" id="third1">
2165                                    </div>
2166                                </div>
2167                                <div class="table-borad">
2168                                    <div class="table-responsive">
2169                                        <table id="popupWinner">
2170                                        </table>
2171                                    </div>
2172                                </div>
2173                            </div>
2174                        </div>
2175                    </div>
2176                </div>
2177            </div>
2178        </div>
2179    </div>
2180    
2180<script src="bootstrap-4.3.1/popper.min.js"></script>
2180
2181    
2181<script src="bootstrap-4.3.1/js/bootstrap.min.js"></script>
2181
2182    
2182<script src="js/smooth.scroll.js"></script>
2182
2183    
2183<script src="js/aos.js"></script>
2183
2184    
2184<script src="/Scripts/jcmm-luckydice.js?v=5"></script>
2184
2185    
2186    
2186<script>
2187        AOS.init({
2188            once: true,
2189            disable: 'mobile'
2190        });
2191
2192    </script>
2192
2193    
2193<script>
2194        var btn = $('#button');
2195
2196        $(window).scroll(function () {
2197            if ($(window).scrollTop() > 300) {
2198                btn.addClass('show');
2199            } else {
2200                btn.removeClass('show');
2201            }
2202        });
2203
2204        btn.on('click', function (e) {
2205            e.preventDefault();
2206            $('html, body').animate({ scrollTop: 0 }, '300');
2207        });
2208
2209    </script>
2209
2210    
2210<script>
2211        $(document).ready(function () {
2212
2213            if (getCookie("selected-lang") == "en-US") {
2214                $("#showLangFlag").attr("src", "images/common/flag-en-big.png");
2215                $("#showLangFlag1").attr("src", "images/common/flag-en-big.png");
2216                $("#showLangFlag2").attr("src", "images/common/flag-en-big.png");
2217            }
2218            else if (getCookie("selected-lang") == "ms-MY") {
2219                $("#showLangFlag").attr("src", "images/common/flag-my-big.png");
2220                $("#showLangFlag1").attr("src", "images/common/flag-my-big.png");
2221                $("#showLangFlag2").attr("src", "images/common/flag-my-big.png");
2222            } else if (getCookie("selected-lang") == "zh-CN") {
2223                $("#showLangFlag").attr("src", "images/common/flag-cn-big.png");
2224                $("#showLangFlag1").attr("src", "images/common/flag-cn-big.png");
2225                $("#showLangFlag2").attr("src", "images/common/flag-cn-big.png");
2226            }
2227            $("#webHome").addClass("active");
2228            refreshVCode("fp", "fpVeriCode");
2229            getDateTime();
2230            getWinnerList();
2231            //v1                             
2232            $("#grade-2").attr("src", "images/common/vip/vip-basic.png");
2233            $("#grade-3").attr("src", "images/common/vip/vip-semipro.png");
2234            $("#grade-4").attr("src", "images/common/vip/vip-pro.png");
2235            $("#grade-5").attr("src", "images/common/vip/vip-bronze.png");
2236            $("#grade-6").attr("src", "images/common/vip/vip-sliver.png");
2237            $("#grade-7").attr("src", "images/common/vip/vip-gold.png");
2238            $("#grade-8").attr("src", "images/common/vip/vip-platinum.png");
2239            $("#grade-9").attr("src", "images/common/vip/vip-diamond.png");
2240
2241
2242            //v2
2243            $("#ggrade-2").attr("src", "images/common/vip/vip-basic.png");
2244            $("#ggrade-3").attr("src", "images/common/vip/vip-semipro.png");
2245            $("#ggrade-4").attr("src", "images/common/vip/vip-pro.png");
2246            $("#ggrade-5").attr("src", "images/common/vip/vip-bronze.png");
2247            $("#ggrade-6").attr("src", "images/common/vip/vip-sliver.png");
2248            $("#ggrade-7").attr("src", "images/common/vip/vip-gold.png");
2249            $("#ggrade-8").attr("src", "images/common/vip/vip-platinum.png");
2250            $("#grade-9").attr("src", "images/common/vip/vip-diamond.png");
2251
2252            //v3
2253            // $("#gg3rade-1").attr("src", "images/common/vip/vip-basic.png");
2254            $("#gg3rade-2").attr("src", "images/common/vip/vip-basic.png");
2255            $("#gg3rade-3").attr("src", "images/common/vip/vip-semipro.png");
2256            $("#gg3rade-4").attr("src", "images/common/vip/vip-pro.png");
2257            $("#gg3rade-5").attr("src", "images/common/vip/vip-bronze.png");
2258            $("#gg3rade-6").attr("src", "images/common/vip/vip-sliver.png");
2259            $("#gg3rade-7").attr("src", "images/common/vip/vip-gold.png");
2260            $("#gg3rade-8").attr("src", "images/common/vip/vip-platinum.png");
2261            $("#gg3rade-9").attr("src", "images/common/vip/vip-diamond.png");
2262
2263            // $("#gm3rade-1").attr("src", "images/common/vip/vip-basic.png");
2264            $("#gm3rade-2").attr("src", "images/common/vip/vip-basic.png");
2265            $("#gm3rade-3").attr("src", "images/common/vip/vip-semipro.png");
2266            $("#gm3rade-4").attr("src", "images/common/vip/vip-pro.png");
2267            $("#gm3rade-5").attr("src", "images/common/vip/vip-bronze.png");
2268            $("#gm3rade-6").attr("src", "images/common/vip/vip-sliver.png");
2269            $("#gm3rade-7").attr("src", "images/common/vip/vip-gold.png");
2270            $("#gm3rade-8").attr("src", "images/common/vip/vip-platinum.png");
2271            $("#gm3rade-9").attr("src", "images/common/vip/vip-diamond.png");
2272
2273            $("#level-1").html("NEW MEMBER");
2274            $("#level-2").html("BASIC");
2275            $("#level-3").html("IRON");
2276            $("#level-4").html("BRONZE");
2277            $("#level-5").html("SILVER");
2278            $("#level-6").html("GOLD");
2279            $("#level-7").html("PLATINUM");
2280            $("#level-8").html("DIAMOND");
2281            $("#level-9").html("EMPEROR");
2282
2283            if (screen.width <= 720) {
2284                $(".img_hide").css("display", "none");
2285            }
2286            $(document).on("click", ".all-in2", function () {
2287                var from = "main";
2288                var to = $(this).attr("data-p_code");
2289                var amt = $("#dropdown_main").text();
2290
2291                AllInAllOut(from, to, amt);
2292            });
2293
2294            $(document).on("click", ".all-out", function () {
2295                var from = $(this).attr("data-p_code");
2296                var to = "main";
2297                var amt = $("#dropdown_bal_" + $(this).attr("data-p_code")).text();
2298
2299                AllInAllOut(from, to, amt);
2300            });
2301             
2302        });
2303
2304        //last week tournament
2305        function getWinnerList() {
2306            var url = "../ajaxData/proc_getTournamentList";
2307            //var url = "../ajaxData/proc_getTournamentList?offsetTime=" + listOffsettime;
2308            ajaxRequest("GET", url, null, getWinnerListDone, getTournamentListFail, ajaxAlways, false, false);
2309        }
2310
2311        function getTournamentListFail(err, status, xhr) {
2312            alert("Unknown error, Please contact our customer service");
2313        }
2314
2315        function getWinnerListDone(res, status, xhr) {
2316            if (res.errCode == 0) {
2317                var counter1 = 0;
2318                $(res.data.reverse()).each(function () {
2319                    if (this.t_status == true) {
2320                        var title1 = this.t_title;
2321                        var content1 = this.t_content;
2322                        var image_des1 = this.t_image_des; // this.p_image2
2323                        var prod_code1 = this.p_code;
2324                        var splited1 = title1.split(' ');
2325                        var html = '';
2326
2327                        if (counter1 == 0) {
2328                            html += '<button class="btn-tour"><a class="nav-link png-2-btn active" data-toggle="tab" href="#t' + this.p_id + '" role="tab" aria-controls="t' + this.p_id + '">ALL Tournament</a></button>';
2329                        }
2330                        else {
2331                            html += ' <button class="btn-tour"><a class="nav-link png-2-btn " data-toggle="tab" href="#t' + this.p_id + '" role="tab" aria-controls="t' + this.p_id + '">ALL1 Tournament</a></button>';
2332                        }
2333
2334
2335                        $("#popupWinnerbtn").append(html);
2336                        //$("#tourToptions").append(html1);
2337
2338                        CreateWinnerList(this.p_id, content1, image_des1, this.start_time_local, this.end_time_local, prod_code1);
2339
2340                        //counter++;
2341                        counter1++;
2342                    }
2343
2344                });
2345            }
2346            else {
2347                // alert(res.errMsg);
2348            }
2349        }
2350
2351        var count1 = 0;
2352        function CreateWinnerList(tid1, content1, image1, startTime1, endTime1, prod_code1) {
2353            var tour_id = "t" + tid1;
2354            //var tour_id2 = "tt" + tid;
2355            var html = '';
2356            var html1 = '';
2357            var div1 = ""; // default list
2358            var div2 = ""; // tournament list
2359            var div3 = ""; // winner list
2360            var html2 = '';
2361            var html3 = '';
2362            var html4 = '';
2363            var html5 = '';
2364            var html6 = '';
2365
2366            if (count1 == 0)
2367                html += '<div class="tab-pane fade show active" id="' + tour_id + '" role="tabpanel" aria-labelledby="playtech-tab">';
2368            else
2369                html += '<div class="tab-pane fade" id="' + tour_id + '" role="tabpanel" aria-labelledby="joker-tab">';
2370
2371            div1 = content1;
2372
2373            if (prod_code1 != "KISS918") {
2374                $.ajax({
2375                    type: 'POST',
2376                    url: '../ajaxData/proc_getWinnerList',
2377                    data: { "tournament_id": "2" },
2378                    cache: false,
2379                    dataType: 'json',
2380                    success: function (d) {
2381                        if (d.errCode == "0") {
2382
2383                            var wlist = JSON.stringify(d.data);
2384                            var object = JSON.parse(wlist);
2385                            var temp1 = 0;
2386                            object.forEach(function (key, index) {
2387                                if (index == 0) {
2388
2389                                    html4 += '   <img src="images/common/wheel/first-crown.png" alt=""/>';
2390                                    html4 += ' <div class="wrap-win">';
2391                                    html4 += '   <div class="ttil">' + key.username + '</div>';
2392                                    html4 += '  <div class="win-info">';
2393                                    html4 += '    <p>Turnover ' + key.total_turnover + '</p>';
2394                                    html4 += '    <h4>PRIZE MYR 1000</h4>';
2395                                    html4 += '  </div>';
2396                                    html4 += ' </div>';
2397                                }
2398                                else if (index == 1) {
2399
2400                                    html5 += '   <img src="images/common/wheel/second-crown.png" alt=""/>';
2401                                    html5 += ' <div class="wrap-win">';
2402                                    html5 += '   <div class="ttil">' + key.username + '</div>';
2403                                    html5 += '  <div class="win-info">';
2404                                    html5 += '    <p>Turnover ' + key.total_turnover + '</p>';
2405                                    html5 += '    <h4>PRIZE MYR 500</h4>';
2406                                    html5 += '  </div>';
2407                                    html5 += ' </div>';
2408                                }
2409                                else if (index == 2) {
2410                                    html6 += '   <img src="images/common/wheel/third-crown.png" alt=""/>';
2411                                    html6 += ' <div class="wrap-win">';
2412                                    html6 += '   <div class="ttil">' + key.username + '</div>';
2413                                    html6 += '  <div class="win-info">';
2414                                    html6 += '    <p>Turnover ' + key.total_turnover + '</p>';
2415                                    html6 += '    <h4>PRIZE MYR 300</h4>';
2416                                    html6 += '  </div>';
2417                                    html6 += ' </div>';
2418                                }
2419                                else if (index == 3) {
2420                                    temp = index + 1;
2421
2422                                    html3 += '  <tr>';
2423                                    html3 += ' <th colspan="3">Leaderboard</th>';
2424                                    html3 += '  </tr>';
2425                                    html3 += '  <tr class="tour-tb">';
2426                                    html3 += '   <td>ID</td>';
2427                                    html3 += '   <td>Turnover</td>';
2428                                    html3 += '   <td>PRIZE(MYR) </td>';
2429                                    html3 += ' </tr>';
2430                                    html3 += '<tr>';
2431                                    html3 += '    <td>' + temp + 'th ' + key.username + '</td>';
2432                                    html3 += '   <td>' + key.total_turnover + '</td>';
2433                                    html3 += '   <td>150</td>';
2434                                    html3 += '    </tr>';
2435                                }
2436                                else if (index == 4) {
2437                                    temp = index + 1;
2438                                    html3 += '<tr>';
2439                                    html3 += '<td>' + temp + 'th ' + key.username + '</td>';
2440                                    html3 += ' <td>' + key.total_turnover + '</td>';
2441                                    html3 += '<td>100</td>';
2442                                    html3 += '</tr>';
2443                                }
2444                                else if (index == 5) {
2445                                    temp = index + 1;
2446                                    html3 += '<tr>';
2447                                    html3 += '<td>' + temp + 'th ' + key.username + '</td>';
2448                                    html3 += ' <td>' + key.total_turnover + '</td>';
2449                                    html3 += '<td>90</td>';
2450                                    html3 += '</tr>';
2451                                }
2452                                else if (index == 6) {
2453                                    temp = index + 1;
2454                                    html3 += '<tr>';
2455                                    html3 += '<td>' + temp + 'th ' + key.username + '</td>';
2456                                    html3 += ' <td>' + key.total_turnover + '</td>';
2457                                    html3 += '<td>80</td>';
2458                                    html3 += '</tr>';
2459                                }
2460                                else if (index == 7) {
2461                                    temp = index + 1;
2462                                    html3 += '<tr>';
2463                                    html3 += '<td>' + temp + 'th ' + key.username + '</td>';
2464                                    html3 += ' <td>' + key.total_turnover + '</td>';
2465                                    html3 += '<td>70</td>';
2466                                    html3 += '</tr>';
2467                                }
2468                                else if (index == 8) {
2469                                    temp = index + 1;
2470                                    html3 += '<tr>';
2471                                    html3 += '<td>' + temp + 'th ' + key.username + '</td>';
2472                                    html3 += ' <td>' + key.total_turnover + '</td>';
2473                                    html3 += '<td>60</td>';
2474                                    html3 += '</tr>';
2475                                }
2476                                else if (index == 9) {
2477                                    temp = index + 1;
2478                                    html3 += '<tr>';
2479                                    html3 += '<td>' + temp + 'th ' + key.username + '</td>';
2480                                    html3 += ' <td>' + key.total_turnover + '</td>';
2481                                    html3 += '<td>50</td>';
2482                                    html3 += '</tr>';
2483                                }
2484                            });
2485                            $("#popupWinner").append(html3);
2486                            $("#first1").append(html4);
2487                            $("#second1").append(html5);
2488                            $("#third1").append(html6);
2489
2490                        }
2491                    },
2492                    error: function (jqXHR, textStatus, errorThrown) {
2493                        console.log("Unknown error, Please contact our customer service");
2494                    }
2495                });
2496            }
2497            count1 = 1;
2498        }
2499
2500
2501        function getInboxMsgTotalCount() {
2502            $.ajax({
2503                type: 'POST',
2504                url: '/ajaxData/proc_inboxMsgFunction',
2505                data: { "action": "getTotalCount" },
2506                success: function (d) {
2507                    if (d.errCode == "0") {
2508                        if (d.data != null) {
2509                            if (d.data.total_count > 0) {
2510                                $('#inboxMsgCount').text(d.data.total_count);
2511                                $('#inboxMsgCount1').text(d.data.total_count);
2512                            }
2513                            else {
2514                                $('#inboxMsgCount').text("0");
2515                                $('#inboxMsgCount1').text("0")
2516                            }
2517                        }
2518                    }
2519                    else
2520                        alert(d.errCode + " - " + d.errMsg);
2521                },
2522                error: function (jqXHR, textStatus, errorThrown) {
2523                    console.log("Unknown error, Please contact our customer service");
2524                },
2525                complete: function (res, status, xhr) {
2526                    // will auto run this part code no matter the ajax request is success or error
2527                    ajaxAlways(res, status, xhr);
2528                }
2529            });
2530        }
2531
2532        function refreshVCode(s_name, ele_id) {
2533            $('#' + ele_id).attr('src', '../ajaxData/proc_captchaCode?s=' + s_name + '&v=' + Math.floor(Math.random() * 100));
2534        }
2535
2536        //////// Start GET INBOX NUMBER
2537        function getInboxNumber() {
2538            $.ajax({
2539                type: 'POST',
2540                url: '../ajaxData/proc_getInboxMsg',
2541                cache: false,
2542                data: {},
2543                dataType: 'json',
2544                success: function (d) {
2545
2546                    if (d.errCode == "0") {
2547
2548                        if (d.data != null) {
2549
2550                            var inboxNoLoop = 0;
2551
2552                            $.each(d.data, function (i, d) {
2553                                if (d.status == 0)
2554                                    inboxNoLoop += 1;
2555                            });
2556
2557                            if (inboxNoLoop > 0) {
2558                                $("#inboxDot").html(inboxNoLoop);
2559                            }
2560                            else {
2561                                $("#inboxDot").empty();
2562                            }
2563                        } else {
2564                            $("#inboxDot").empty();
2565                        }
2566
2567                    } else {
2568                        //showErrorMessage(d.errCode, d.errMsg);
2569                        $("#inboxDot").empty();
2570                    }
2571                },
2572                error: function (jqXHR, textStatus, errorThrown) {
2573                    console.log("Unknown error, Please contact our customer service");
2574                }
2575
2576            });
2577        }
2578        //////// End GET INBOX NUMBER
2579        ////////// Start LOGIN
2580        $("#form_login").validate({
2581            rules: {
2582                username: {
2583            required: true,
2584        },
2585                password: {
2586                required: true,
2587            },
2588            },
2589            messages: {
2590                username: {
2591            required: "Please insert Username.",
2592        },
2593                password: {
2594                required: "Please insert Password.",
2595            },
2596            },
2597
2598            submitHandler: function (form) {
2599                $("#freezescreen").css("display", "");
2600                $("#loginloadingbtn").css("display", "");
2601                $("#loginsubmitbtn").css("display", "none");
2602                $.ajax({
2603                    type: 'POST',
2604                    url: '../ajaxData/proc_memLogin', //PLEASE DO NOT CHANGE THIS BACK TO ORIGINAL ONE
2605                    data: $('#form_login').serialize(),
2606                    cache: false,
2607                    dataType: 'json',
2608                    success: function (d) {
2609                        $("#freezescreen").css("display", "none");
2610                        $("#loginloadingbtn").css("display", "none");
2611                        $("#loginsubmitbtn").css("display", "");
2612                        if (d.errCode == "0") {
2613                            $('#form_login')[0].reset();
2614
2615                            window.location.href = "deposit-gspay";
2616                        } else {
2617                            if (d.errCode == "0123456789") {
2618                                $("#changeusername").modal();
2619                            }
2620                            else if (d.errCode == "0987654321") {
2621                                $("#changeusername").modal();
2622                            }
2623                            else if (d.errCode == "100006") {
2624                                document.getElementById("a_username").value = document.getElementById("l_username").value;
2625                                $("#resend_activation").modal();
2626                            }
2627                            else {
2628                                showErrorMessage(d.errCode, d.errMsg);
2629                            }
2630                        }
2631                    },
2632                    error: function (jqXHR, textStatus, errorThrown) {
2633                        $("#freezescreen").css("display", "none");
2634                        $("#loginloadingbtn").css("display", "none");
2635                        $("#loginsubmitbtn").css("display", "");
2636                        alert("Unknown error, Please contact our customer service");
2637                    }
2638                });
2639        }
2640        });
2641        $("#form_login1").validate({
2642            rules: {
2643                username: {
2644            required: true,
2645        },
2646                password: {
2647                required: true,
2648            },
2649            },
2650            messages: {
2651                username: {
2652            required: "Please insert Username.",
2653        },
2654                password: {
2655                required: "Please insert Password.",
2656            },
2657            },
2658
2659            submitHandler: function (form) {
2660                $("#freezescreen").css("display", "");
2661                $("#loginloadingbtn").css("display", "");
2662                $("#loginsubmitbtn").css("display", "none");
2663                $.ajax({
2664                    type: 'POST',
2665                    url: '../ajaxData/proc_memLogin', //PLEASE DO NOT CHANGE THIS BACK TO ORIGINAL ONE
2666                    data: $('#form_login1').serialize(),
2667                    cache: false,
2668                    dataType: 'json',
2669                    success: function (d) {
2670                        $("#freezescreen").css("display", "none");
2671                        $("#loginloadingbtn").css("display", "none");
2672                        $("#loginsubmitbtn").css("display", "");
2673                        if (d.errCode == "0") {
2674                            $('#form_login1')[0].reset();
2675
2676                            window.location.href = "deposit-gspay";
2677                        } else {
2678                            if (d.errCode == "0123456789") {
2679                                $("#changeusername").modal();
2680                            }
2681                            else if (d.errCode == "0987654321") {
2682                                $("#changeusername").modal();
2683                            }
2684                            else if (d.errCode == "100006") {
2685                                document.getElementById("a_username").value = document.getElementById("l_username").value;
2686                                $("#resend_activation").modal();
2687                            }
2688                            else {
2689                                showErrorMessage(d.errCode, d.errMsg);
2690                            }
2691                        }
2692                    },
2693                    error: function (jqXHR, textStatus, errorThrown) {
2694                        $("#freezescreen").css("display", "none");
2695                        $("#loginloadingbtn").css("display", "none");
2696                        $("#loginsubmitbtn").css("display", "");
2697                        alert("Unknown error, Please contact our customer service");
2698                    }
2699                });
2700        }
2701        });
2702        ////////// End LOGIN
2703
2704        ////////// Start LOGOUT
2705        function logout() {
2706            $.ajax({
2707                type: 'POST',
2708                url: '../ajaxData/proc_memLogout',
2709                cache: false,
2710                dataType: 'json',
2711                success: function (d) {
2712                    if (d.errCode == "0")
2713                        window.location.href = "index";
2714                    else
2715                        showErrorMessage(d.errCode, d.errMsg);
2716                },
2717                error: function (jqXHR, textStatus, errorThrown) {
2718                    alert("Unknown error, Please contact our customer service");
2719                }
2720            });
2721        }
2722        ////////// End LOGOUT
2723
2724        ////////// forget password
2725        $("#form_forgetpassword").validate({
2726            rules: {
2727                email: {
2728            required: true,
2729            maxlength: 200,
2730            email: true
2731        },
2732            username: {
2733                required: true,
2734                maxlength: 200,
2735
2736            },
2737             contact: {
2738                required: true,
2739                maxlength: 200,
2740
2741            },
2742                v_code: {
2743                required: true,
2744            }
2745            },
2746            messages: {
2747                email: {
2748            required: "Please insert email.",
2749                maxlength: "Please enter at most {0} character",
2750                email: "Please insert valid email, e.g. : [email protected].",
2751        },
2752            username: {
2753                required: "This field is required.",
2754            },
2755            contact: {
2756                required: "This field is required.",
2757            },
2758                v_code: {
2759                required: "This field is required.",
2760            }
2761            },
2762            submitHandler: function (form) {
2763                $("#freezescreen").css("display", "");
2764                $("#loadingbtn").css("display", "");
2765                $("#fpsubmitbtn").css("display", "none");
2766
2767                $.ajax({
2768                    type: 'POST',
2769                    url: '../ajaxData/proc_forgetPassword',
2770                    data: $('#form_forgetpassword').serialize(),
2771                    cache: false,
2772                    dataType: 'json',
2773                    success: function (d) {
2774                        $("#freezescreen").css("display", "none");
2775                        $("#loadingbtn").css("display", "none");
2776                        $("#fpsubmitbtn").css("display", "");
2777                        if (d.errCode == "0") {
2778                            $('#form_forgetpassword')[0].reset();
2779                            alert("Reset Password Successful");
2780                            window.location.href = "index";
2781                        } else {
2782                            alert(d.errCode + "-" + d.errMsg);
2783                        }
2784                    },
2785                    error: function (jqXHR, textStatus, errorThrown) {
2786                        $("#freezescreen").css("display", "none");
2787                        $("#loadingbtn").css("display", "none");
2788                        $("#fpsubmitbtn").css("display", "");
2789                        alert("Unknown error, Please contact our customer service");
2790                    }
2791                });
2792        }
2793        });
2794        ///////// end forget password
2795        ////////// Start DROPDOWN BALANCE
2796        function populateDropdownProductBalance() {
2797            $.ajax({
2798                type: 'POST',
2799                url: '../ajaxData/proc_getProductList',
2800                cache: false,
2801                dataType: 'json',
2802                success: function (d) {
2803                    if (d.errCode == "0") {
2804
2805                        var txt_node = "";
2806                        txt_node += ' <li><div class="prov-name">Main Wallet</div><div class="am-prov"><div class="prov-am"><span id="dropdown_main"><img src="images/common/load-indicator.gif" style="width: 20px;"></span></div></div></li>';
2807                        $.each(d.data, function (i, d) {
2808                            if (!(d.p_code == "GX" || d.p_code == "KR" || d.p_code == "BN" || d.p_code == "K8" || d.p_code == "PY" || d.p_code == "SM" || d.p_code == "VM" || d.p_code == "MK" || d.p_code == "AI" || d.p_code == "G3" || d.p_code == "MS" || d.p_code == "TR" || d.p_code == "FZ" || d.p_code == "NG" || d.p_code == "AO" || d.p_code == "RK" || d.p_code == "WR" || d.p_code == "YS" || d.p_code == "WZ" || d.p_code == "PE" || d.p_code == "ON" || d.p_code == "C9")) {
2809                                if (d.isMaintenance)
2810                                    txt_node += '<li><div class="prov-name">' + d.p_name + '</div><div class="am-prov"><div class="prov-am"><span id="dropdown_bal_' + d.p_code + '"><img src="images/common/load-indicator.gif" style="width: 20px;"></span></div></div></li>';
2811                                else
2812                                    txt_node += '<li><div class="prov-name">' + d.p_name + '</div><div class="am-prov"><div class="prov-am"><span id="dropdown_bal_' + d.p_code + '"><img src="images/common/load-indicator.gif" style="width: 20px;"></span></div><div class="prov-in"><button class="btn-in all-in2" data-p_code="' + d.p_code + '" id="in_btn_' + d.p_code + '" disabled><i class="fas fa-arrow-up"></i></button></div><div class="prov-out"><button data-p_code="' + d.p_code + '" id="out_btn_' + d.p_code + '" class="btn-out all-out" disabled><i class="fas fa-arrow-down"></i></button></div></div></li>';
2813                            }
2814                        });
2815
2816                        $("#dropdown_balance").html(txt_node);
2817                        getDropdownMainWallet();
2818                        $.each(d.data, function (i, d) {
2819                            if (!d.isMaintenance)
2820                                getDropdownProductBalance(d.p_code);
2821                            else
2822                                $("#dropdown_bal_" + d.p_code).html("Maintenance");
2823                        });
2824                    } else {
2825                        showErrorMessage(d.errCode, d.errMsg);
2826                    }
2827                },
2828                error: function (jqXHR, textStatus, errorThrown) {
2829                    alert("Unknown error, Please contact our customer service");
2830                }
2831            });
2832        }
2833
2834        function getDropdownMainWallet() {
2835            $.ajax({
2836                type: 'POST',
2837                url: '../ajaxData/proc_getMemberBalance',
2838                cache: false,
2839                dataType: 'json',
2840                success: function (d) {
2841                    if (d.errCode == "0") {
2842                        $("#dropdown_main").html(parseFloat(d.data).toFixed(2));
2843
2844                        if (parseFloat(d.data) > 0) {
2845                            $("[id^=in_btn_]").removeAttr('disabled');
2846                        }
2847                    }
2848                    else
2849                        showErrorMessage(d.errCode, d.errMsg);
2850                },
2851                error: function (jqXHR, textStatus, errorThrown) {
2852                    $("#dropdown_main" + productCode).html("Maintenance");
2853                }
2854            });
2855        }
2856
2857        function getDropdownProductBalance(productCode) {
2858            $.ajax({
2859                type: 'POST',
2860                url: '../ajaxData/proc_getCCLBalance',
2861                cache: false,
2862                data: { "p_code": productCode },
2863                dataType: 'json',
2864                success: function (d) {
2865                    if (d.errCode == 0) {
2866                        $("#dropdown_bal_" + productCode).html(parseFloat(d.data).toFixed(2));
2867
2868                        if (parseFloat(d.data) > 0) {
2869                            $("#out_btn_" + productCode).removeAttr('disabled');
2870                        }
2871                    }
2872                    else
2873                        $("#dropdown_bal_" + productCode).html("Maintenance");
2874                },
2875                error: function (jqXHR, textStatus, errorThrown) {
2876                    $("#dropdown_bal_" + productCode).html("Maintenance");
2877                }
2878            });
2879        }
2880
2881        function AllInAllOut(FROM, TO, AMT) {
2882            $("#freezescreen").css("display", "");
2883            console.log(AMT);
2884            var data = {
2885                "trans_from": FROM,
2886                "trans_to": TO,
2887                "trans_amount": parseFloat(AMT)
2888            };
2889
2890            $.ajax({
2891                type: 'POST',
2892                url: '../ajaxData/proc_makeTransfer',
2893                data: data,
2894                cache: false,
2895                dataType: 'json',
2896                success: function (d) {
2897                    if (d.errCode == "0") {
2898                        alert("Transfer Successful");
2899                        location.reload();
2900                    } else {
2901                        alert(d.errCode + "-" + d.errMsg);
2902                    }
2903                },
2904                error: function (jqXHR, textStatus, errorThrown) {
2905                    $("#freezescreen").css("display", "none");
2906                    alert("Unknown error, Please contact our customer service");
2907                },
2908                complete: function () {
2909                    $("#freezescreen").css("display", "none");
2910                }
2911            });
2912        }
2913        ////////// End DROPDOWN BALANCE
2914        var aProductList = []; // array list of available product code for get balance purpose
2915        var aProductListCount = 0; // total count of available product code
2916        var aProductListCounter = 0; // counter to compare whether the current counter is last item or not
2917        var aProductTotalBalance = 0;
2918
2919
2920        function getTotalBalance() {
2921            $("#after_balance").html('<img src="/web/images/common/load-indicator.gif" />');
2922            $("#after_balance1").html('<img src="/web/images/common/load-indicator.gif" />');
2923            $("#after_balance2").html('<img src="/web/images/common/load-indicator.gif" />');
2924            var url = "/ajaxData/proc_getProductList";
2925            ajaxRequest("GET", url, null, getProductBalanceListDone, null, ajaxAlways);
2926        }
2927
2928        function getProductBalanceListDone(res, status, xhr) {
2929            aProductList = [];
2930            aProductListCount = 0;
2931            aProductListCounter = 0;
2932            aProductTotalBalance = 0;
2933
2934            $(res.data).each(function (idx) {
2935                if (!this.isMaintenance) {
2936                    aProductList.push(this.p_code);
2937                    aProductListCount++;
2938                }
2939            });
2940
2941            getMainWalletBalance();
2942            getTotalProductBalance();
2943        }
2944
2945        function getMainWalletBalance() {
2946            var url = "/ajaxData/proc_getMemberBalance";
2947            ajaxRequest("GET", url, null, getMainWalletBalanceDone, null, ajaxAlways);
2948        }
2949
2950        function getMainWalletBalanceDone(res, status, xhr) {
2951            if (res.errCode == "0")
2952                aProductTotalBalance += res.data;
2953        }
2954
2955        function getProductBalanceListFail(err, status, xhr) {
2956            alert("Unknown error, Please contact our customer service");
2957        }
2958
2959        function getTotalProductBalance(_this) {
2960            $(aProductList).each(function () {
2961                var url = "/ajaxData/proc_getCCLBalance";
2962                var data = { "p_code": this.toUpperCase() };
2963                ajaxRequest("POST", url, data, getTotalProductBalanceDone, null, ajaxAlways);
2964            });
2965        }
2966
2967        function getTotalProductBalanceDone(res, status, xhr) {
2968            if (res.errCode == "0") {
2969                aProductTotalBalance += res.data;
2970            }
2971            aProductListCounter++;
2972            if (aProductListCounter == aProductListCount) {
2973                $("#after_balance").html(aProductTotalBalance.toFixed(2));
2974                $("#after_balance1").html(aProductTotalBalance.toFixed(2));
2975                $("#after_balance2").html(aProductTotalBalance.toFixed(2));
2976            }
2977        }
2978        ////////// Start POPUP GAME LINK
2979        var popUpWin;
2980
2981        popUpGameLink = function (prod_code, prod_type, prod_html5, gID, width, height) {
2982             
2983            alert("Please login first.");
2984             
2985        }
2986
2987        popUpGameLink5 = function (prod_code, prod_type, prod_html5, gID, width, height) {
2988           
2989            alert("Please login first.");
2990             
2991        }
2992
2993        popUpGameLinkS2 = function (prod_code, prod_type, prod_html5, gID, width, height) {
2994             
2995            alert("Please login first.");
2996             
2997        }
2998
2999        // FOR SPORTSBOOK
3000        popUpGameLink2 = function (prod_code, prod_type, width, height) {
3001            
3002            alert("Please login first.");
3003             
3004        }
3005        ////////// End POPUP GAME LINK
3006        // FOR SPORTSBOOK
3007        popUpGameLink3 = function (prod_code, prod_type, width, height) {
3008            
3009            alert("Please login first.");
3010             
3011        }
3012        ////////// End POPUP GAME LINK
3013        //////seamless game launch
3014        popUpSGameLink = function (prod_code, prod_type, prod_html5, game_id, width, height) {
3015            
3016            alert("Please login first.");
3017             
3018        }
3019
3020        ////////// Start TRANSACTION
3021        function transferAll() {
3022            $("#freezescreen").css("display", "");
3023            $.ajax({
3024                type: 'POST',
3025                url: '../ajaxData/proc_TransferAllProductBalanceAsync',
3026                cache: false,
3027                dataType: 'json',
3028                success: function (d) {
3029                    if (d.errCode == "0") {
3030                        alert("Transfer Successful");
3031                        location.reload();
3032                    } else {
3033                        alert("Unknown error, Please contact our customer service");
3034                    }
3035                },
3036                error: function (jqXHR, textStatus, errorThrown) {
3037                    alert("Unknown error, Please contact our customer service");
3038                },
3039                complete: function () {
3040                    $("#freezescreen").css("display", "none");
3041                }
3042            });
3043        }
3044
3045        function getMemberTotalToken() {
3046            $("#total_token").html("<img src='images/common/load-indicator.gif' style='width:15px'>");
3047
3048            $.ajax({
3049                type: 'POST',
3050                url: '../ajaxData/proc_getMemberToken',
3051                cache: false,
3052                dataType: 'json',
3053                success: function (d) {
3054                    if (d.errCode == "0") {
3055                        $("#top_token").html(parseFloat(d.data));
3056                        $("#total_token").html(parseFloat(d.data));
3057                    }
3058                    else {
3059                        showErrorMessage(d.errCode, d.errMsg);
3060                    }
3061                },
3062                error: function (jqXHR, textStatus, errorThrown) {
3063                    $("#total_token").html("Under Maintenance");
3064                },
3065                complete: function () {
3066                    //$("#clicktoviewtoken").css("display", "");
3067                }
3068            });
3069        }
3070
3071        function getMemberTotalPoint() {
3072            $("#total_point").html("<img src='images/common/load-indicator.gif' style='width:15px'>");
3073
3074            $.ajax({
3075                type: 'POST',
3076                url: '../ajaxData/proc_getMemberPoint',
3077                cache: false,
3078                dataType: 'json',
3079                success: function (d) {
3080                    if (d.errCode == "0")
3081                        $("#total_point").html(parseFloat(d.data));
3082                    //$("#total_point").html(parseFloat(d.data).toFixed(2));
3083                    else
3084                        showErrorMessage(d.errCode, d.errMsg);
3085                },
3086                error: function (jqXHR, textStatus, errorThrown) {
3087                    $("#total_point").html("Under Maintenance");
3088                },
3089                complete: function () {
3090                    //$("#clicktoviewtoken").css("display", "");
3091                }
3092            });
3093        }
3094
3095        function getMainWallet() {
3096            $("#transfer_main3").html("<img src='images/common/load-indicator.gif' style='width:15px'>");
3097            $.ajax({
3098                type: 'POST',
3099                url: '../ajaxData/proc_getMemberBalance',
3100                cache: false,
3101                dataType: 'json',
3102                success: function (d) {
3103                    if (d.errCode == "0") {
3104                        $("#w_bal_main").html(parseFloat(d.data).toFixed(2));
3105                        $("#w_bal_main1").html(parseFloat(d.data).toFixed(2));
3106                        $("#w_bal_main2").html(parseFloat(d.data).toFixed(2));
3107                        $("#w_bal_main3").html(parseFloat(d.data).toFixed(2));
3108                        $("#transfer_main").val(parseFloat(d.data).toFixed(2));
3109                        $("#transfer_main2").html(parseFloat(d.data).toFixed(2));
3110                        $("#transfer_main3").html(parseFloat(d.data).toFixed(2));
3111                        $("#quick_transfer_max").html(parseFloat(d.data).toFixed(2));
3112                        $("#quick_transfer_range").attr("max", parseFloat(d.data).toFixed(2));
3113                    }
3114                    else {
3115                        showErrorMessage(d.errCode, d.errMsg);
3116                    }
3117                },
3118                error: function (jqXHR, textStatus, errorThrown) {
3119                    $("#w_bal_main").html("Maintenance");
3120                    $("#transfer_main").val("Maintenance");
3121                }
3122            });
3123        }
3124
3125        function getProductBalance(productCode) {
3126            $.ajax({
3127                type: 'POST',
3128                url: '../ajaxData/proc_getCCLBalance',
3129                async: true,
3130                cache: false,
3131                data: { "p_code": productCode },
3132                dataType: 'json',
3133                success: function (d) {
3134                    if (d.errCode == 0)
3135                        $("#w_bal_" + productCode).html(parseFloat(d.data).toFixed(2));
3136                    else
3137                        $("#w_bal_" + productCode).html("Maintenance");
3138                },
3139                error: function (jqXHR, textStatus, errorThrown) {
3140                    $("#w_bal_" + productCode).html("Maintenance");
3141                }
3142            });
3143        }
3144        ////////// End TRANSACTION
3145
3146        ////////// Start PRODUCT CREDENTIAL
3147        function getGameUsername(prod_code) {
3148            $.ajax({
3149                type: 'POST',
3150                url: '../ajaxData/proc_getProductUsername',
3151                cache: false,
3152                dataType: 'json',
3153                data: { "p_code": prod_code },
3154                success: function (d) {
3155                    if (d.errCode == "0") {
3156                        $('#' + prod_code + '_username').html(d.data);
3157                        $('#' + prod_code + '_username1').html(d.data);
3158                    } else {
3159                        alert(d.errMsg);
3160                    }
3161                },
3162                error: function (jqXHR, textStatus, errorThrown) {
3163                    alert("Unknown error, Please contact our customer service");
3164                }
3165            });
3166        }
3167
3168        function getGamePassword(prod_code) {
3169            $.ajax({
3170                type: 'POST',
3171                url: '../ajaxData/proc_getdlClientInfo',
3172                cache: false,
3173                dataType: 'json',
3174                data: { "p_code": prod_code },
3175                success: function (d) {
3176                    if (d.errCode == "0") {
3177                        $('#' + prod_code + '_password').html(d.data);
3178                        $('#' + prod_code + '_password1').html(d.data);
3179                    } else {
3180                        alert(d.errMsg);
3181                    }
3182                },
3183                error: function (jqXHR, textStatus, errorThrown) {
3184                    alert("Unknown error, Please contact our customer service");
3185                }
3186            });
3187        }
3188
3189        function getSlotUsername(prod_code) {
3190            $.ajax({
3191                type: 'POST',
3192                url: '../ajaxData/proc_getProductUsername',
3193                cache: false,
3194                dataType: 'json',
3195                data: { "p_code": prod_code },
3196                success: function (d) {
3197                    if (d.errCode == "0") {
3198                        $('#' + prod_code + '_slot_username').html(d.data);
3199                    } else {
3200                        alert(d.errMsg);
3201                    }
3202                },
3203                error: function (jqXHR, textStatus, errorThrown) {
3204                    alert("Unknown error, Please contact our customer service");
3205                }
3206            });
3207        }
3208
3209        function getSlotPassword(prod_code) {
3210            $.ajax({
3211                type: 'POST',
3212                url: '../ajaxData/proc_getdlClientInfo',
3213                cache: false,
3214                dataType: 'json',
3215                data: { "p_code": prod_code },
3216                success: function (d) {
3217                    if (d.errCode == "0") {
3218                        $('#' + prod_code + '_slot_password').html(d.data);
3219                    } else {
3220                        alert(d.errMsg);
3221                    }
3222                },
3223                error: function (jqXHR, textStatus, errorThrown) {
3224                    alert("Unknown error, Please contact our customer service");
3225                }
3226            });
3227        }
3228
3229        function setGamePassword(prod_code) {
3230            $("#freezescreen").css("display", "");
3231
3232            if (prod_code == "K1") {
3233                var inputVal = $('#' + prod_code + '_new_password').val();
3234
3235                var hasUppercase = /[A-Z]/.test(inputVal);
3236                var hasLowercase = /[a-z]/.test(inputVal);
3237
3238                if (!hasUppercase) {
3239                    alert("Password must contain at least one uppercase letter.");
3240                    $("#freezescreen").css("display", "none");
3241                    return; // stop further execution
3242                }
3243
3244                if (!hasLowercase) {
3245                    alert("Password must contain at least one lowercase letter.");
3246                    $("#freezescreen").css("display", "none");
3247                    return; // stop further execution
3248                }
3249            }
3250
3251            $.ajax({
3252                type: 'POST',
3253                url: '../ajaxData/proc_setdlClientInfo',
3254                cache: false,
3255                dataType: 'json',
3256                data: {
3257                    "p_code": prod_code, "p_pw": $('#' + prod_code + '_new_password').val()
3258                },
3259                success: function (d) {
3260                    if (d.errCode == "0") {
3261                        $("#" + prod_code + "_new_password").val();
3262                        $("#" + prod_code + "_new_password1").val();
3263                        getGamePassword(prod_code);
3264                    } else {
3265                        alert(d.errMsg);
3266                    }
3267                    $("#freezescreen").css("display", "none");
3268                },
3269                error: function (jqXHR, textStatus, errorThrown) {
3270                    alert("Unknown error, Please contact our customer service");
3271                    $("#freezescreen").css("display", "none");
3272                }
3273            });
3274
3275        }
3276
3277        function setGamePassword1(prod_code) {
3278            $("#freezescreen").css("display", "");
3279
3280            if (prod_code == "K1") {
3281                var inputVal = $('#' + prod_code + '_new_password1').val();
3282
3283                var hasUppercase = /[A-Z]/.test(inputVal);
3284                var hasLowercase = /[a-z]/.test(inputVal);
3285
3286                if (!hasUppercase) {
3287                    alert("Password must contain at least one uppercase letter.");
3288                    $("#freezescreen").css("display", "none");
3289                    return; // stop further execution
3290                }
3291
3292                if (!hasLowercase) {
3293                    alert("Password must contain at least one lowercase letter.");
3294                    $("#freezescreen").css("display", "none");
3295                    return; // stop further execution
3296                }
3297            }
3298
3299            $.ajax({
3300                type: 'POST',
3301                url: '../ajaxData/proc_setdlClientInfo',
3302                cache: false,
3303                dataType: 'json',
3304                data: {
3305                    "p_code": prod_code, "p_pw": $('#' + prod_code + '_new_password1').val()
3306                },
3307                success: function (d) {
3308                    if (d.errCode == "0") {
3309                        $("#" + prod_code + "_new_password").val();
3310                        $("#" + prod_code + "_new_password1").val();
3311                        getGamePassword(prod_code);
3312                    } else {
3313                        alert(d.errMsg);
3314                    }
3315                    $("#freezescreen").css("display", "none");
3316                },
3317                error: function (jqXHR, textStatus, errorThrown) {
3318                    alert("Unknown error, Please contact our customer service");
3319                    $("#freezescreen").css("display", "none");
3320                }
3321            });
3322
3323        }
3324        ////////// End PRODUCT CREDENTIAL
3325        function getPopupAnnouncement() {
3326
3327            var url = "../ajaxData/proc_getPopupAnnouncement";
3328            ajaxRequest("GET", url, null, getPopupAnnouncementDone, ajaxFail, ajaxAlways, false, false);
3329        }
3330
3331
3332        function getPopupAnnouncementDone(res, status, xhr) {
3333
3334            if (res.errCode == "0") {
3335                setCookies("push-noti", new Date().toTimeString(), 1);
3336
3337                if (!res.data.is_active) return;
3338
3339                if (res.data.d_image)
3340                    $("#popupAnnouncementModal .modal-body img").attr("src", res.data.d_image);
3341                else
3342                    $("#popupAnnouncementModal .modal-body img").hide();
3343
3344                if (res.data.title)
3345                    $("#popupAnnouncementModal .modal-title").text(res.data.title);
3346                if (res.data.description)
3347
3348                    $("#popupAnnouncementModal #modalDescription").html(res.data.description);
3349
3350                $("#popupAnnouncementModal").modal();
3351                $(".modal-backdrop.in").css({ opacity: 0 });
3352            }
3353        }
3354
3355        function ajaxFail(err, status, xhr) {
3356            $("#freezescreen").hide();
3357            alert("Unknown error, Please contact our customer service");
3358        }
3359
3360        function ajaxAlways(res, status, xhr) {
3361            if (res.errCode == "99") {
3362                alert("Session timeout. Please login again.");
3363                window.location = "/web/index";
3364            }
3365        }
3366
3367        function setlanguage(language) {
3368            clearCookies("selected-lang");
3369            setCookies("selected-lang", language, "720");
3370            location.reload();
3371        }
3372
3373        function getLanguage() {
3374            var menu = "";
3375            var currentLanguage = "";
3376
3377            if (getCookie("selected-lang") == "en-US") {
3378
3379                currentLanguage = "<img src='images/common/flg-en.png'/>";
3380                menu = "<li><a href='#' id = " + "zh-CN" + "><img src='images/common/flg-cn.png' alt='' /></a></li>";
3381                menu += "<li><a href='#' id = " + "ms-MY" + "><img src='images/common/flg-my.png' alt='' /></a></li>";
3382            }
3383            else if (getCookie("selected-lang") == "zh-CN") {
3384                currentLanguage = "<img src='images/common/flg-cn.png' alt='' />";
3385                menu = "<li><a href='#' id = " + "en-US" + "><img src='images/common/flg-en.png' alt='' /></a></li>";
3386                menu += "<li><a href='#' id = " + "ms-MY" + "><img src='images/common/flg-my.png' alt='' /</a></li>";
3387            }
3388
3389            else {
3390                currentLanguage = "<img src='images/common/flg-my.png' alt='' />";
3391                menu = "<li><a href='#' id = " + "en-US" + "><img src='images/common/flg-en.png' alt='' /></a></li>";
3392                menu += "<li><a href='#' id = " + "zh-CN" + "><img src='images/common/flg-cn.png' alt='' /></a></li>";
3393            }
3394
3395            $("#lang-menu").html(menu);
3396
3397            $("#selected-lang").html(currentLanguage);
3398            //$("#selected-lang").append("<div class='btn-caret'><b class='caret' ></b ></div>");
3399
3400            $("#lang-menu li a").click(function () {
3401                var value = $(this).attr("id");
3402                setlanguage(value);
3403            });
3404        }
3405
3406        function redirectGS1Page() {
3407                 
3408            alert("Please login first.");
3409     
3410        }
3411
3412        function checkEligibleForLivestream() {
3413            $.ajax({
3414                type: 'POST',
3415                url: '/ajaxData/proc_checkSABAStreamerQuota',
3416                success: function (d) {
3417                    if (d.data.isExist) {
3418                        var $fi = $('#float-icon');
3419                        var size = {
3420                            width: '150px',
3421                            height: '150px'
3422                        }
3423                        initFloatIcon($fi, size);
3424
3425                        var targetDate = '2026-06-19'; // YYYY-MM-DD
3426                        var now = new Date();
3427                        if (now.toDateString() === new Date(targetDate).toDateString()) {
3428                            var fiEl = document.getElementById('float-icon');
3429                            fiEl.addEventListener('click', function (e) {
3430                                if (e.target.closest('.close1')) return; // let X still close
3431                                e.preventDefault();
3432                                e.stopImmediatePropagation();          // kills executeCommand's handler
3433                                window.location.href = '/web/launchGames2?url=/SB/IB/0/0';
3434                            }, true); // <-- capture phase = the whole trick
3435                        }
3436                    }
3437                },
3438                error: function () {
3439                    showStreamerError('99', 'Unable to load matches. Please try again.');
3440                }
3441            });
3442        }
3443    </script>
3443
3444    <!--Start of Tawk.to Script-->
3445<script type="text/javascript">
3446var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date();
3447(function(){
3448var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0];
3449s1.async=true;
3450s1.src='https://embed.tawk.to/619de4116885f60a50bd47dd/1fl8c5q33';
3451s1.charset='UTF-8';
3452s1.setAttribute('crossorigin','*');
3453s0.parentNode.insertBefore(s1,s0);
3454})();
3455</script>
3455
3456<!--End of Tawk.to Script-->
3457</body>
3458</html>

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.