PageSourceSearch

https://alibaba33top.com/web/blog

html alibaba33top.com collected 2026-10-08 07:38:12 UTC 127,865 bytes, 2,643 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	Login To Start Winning| Online Casino Malaysia
8</title><meta name="robots" content="" /><meta name="description" content="Login now to win big at Alibaba33. Enjoy best online casino and online slots game in Malaysia. High winning rate just at Alibaba33. We accept ewallet like tng, duitnow, qr pay." /><meta name="keywords" content="" /><meta property="og:type" content="website" /><meta property="og:title"  content="Login To Start Winning| Online Casino Malaysia" /><meta property="og:description"  content="Login now to win big at Alibaba33. Enjoy best online casino and online slots game in Malaysia. High winning rate just at Alibaba33. We accept ewallet like tng, duitnow, qr pay." />
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      <div class="header-partial-conatiner">
455          
456<div class="header-ribbon " id="main-header">
457    <div class="header-container">
458        <div class="header-logo-mobile"><a id="header-logo-mobile" href="index">
459            <img src="images/common/logo_web.png" alt="home" />
460        </a></div>
461        <div class="header-logo"><a id="header-logo" href="index">
462            <img src="images/common/logo_web.png" alt="home" />
463        </a></div>
464        <div class="header-content">
465            <div class="header-right">
466                
467                
468                <form class="login_bar" id="form_login1">
469                    <div class="log-group">
470                        <input type="text" placeholder="Username" name="username" id="frusername1">
471                    </div>
472                    <div class="log-group">
473                        <input type="password" placeholder="Password" id="l_password1" name="password">
474                    </div>
475                    <button type="submit" class="login_btn m-desktop-show">
476                        Login
477                    </button>
478                    <button type="button" class="login_btn m-mobile-show">
479                        <a href="login">Login</a>
480                    </button>
481                    <button type="button" class="join_btn">
482                        <a href="register">Register</a>
483                    </button>
484                    <div class="lang-box languageToggle">
485                        <div class="dropdown">
486                            <button class="lang-btn dropdown-toggle" type="button" id="language-menu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
487                                <div class="languageToggle"><span>
488                                    <img src="images/common/flag-en-big.png" id="showLangFlag"></span> <span><i class="fas fa-ellipsis-v"></i></span></div>
489                            </button>
490                            <div class="dropdown-menu language" aria-labelledby="language-menu" x-placement="bottom-start">
491                                <a class="dropdown-item" href="#" onclick="setlanguage('en-US')">
492                                    <img src="images/common/flag-en-big.png"></a>
493                                <a class="dropdown-item" href="#" onclick="setlanguage('ms-MY')">
494                                    <img src="images/common/flag-my-big.png"></a>
495                                <a class="dropdown-item" href="#" onclick="setlanguage('zh-CN')">
496                                    <img src="images/common/flag-cn-big.png"></a>
497
498                            </div>
499                        </div>
500                    </div>
501                </form>
502                <div class="btmtools">
503                    <div class="forgot-link">Forgot <a href="forgotPass">Username or Password ? </a></div>
504                    <div class="timezone"><span id="currentDate"></span>(GMT+8) </div>
505                </div>
506                
507            </div>
508            <label name="Hamburger" for="side-menu-toggle" class="header-menu-mobile" onclick="trackEvents('Click - ' + this.getAttribute('name'), 'Header', 1)">
509                <img src="images/common/icon-menu.svg" class="hamburger-menu" alt="Menu" />
510            </label>
511        </div>
512    </div>
513    
514</div>
515<section class="header-menu">
516    <div class="container-fluid header-nav-bar">
517        <div class="row">
518            <div class="col-12 position-inherit">
519                <div class="main-menu">
520                    <ul class="nav main-nav">
521                        <li class="nav-item menuimg active"><a href="index" class="navlink img-home"><i class="fas fa-home"></i></a></li>
522                        <li class="nav-item menuimg"><a href="download" class="navlink img-home"><i class="fas fa-mobile-alt"></i></a></li>
523                        <li class="nav-item"><a href="sports" class="navlink">Sports</a></li>
524                        <li class="nav-item"><a href="esports" class="navlink">E-Sport</a></li>
525                        <li class="nav-item"><a href="casino" class="navlink">Casino</a></li>
526                        <li class="nav-item"><a href="slots" class="navlink">Slots</a></li>
527                        <li class="nav-item"><a href="fish" class="navlink">Fishing</a></li>
528                        <li class="nav-item"><a href="cockfighting" class="navlink">Cock</a></li>
529                        <li class="nav-item"><a href="poker" class="navlink">Poker</a></li>
530                        <li class="nav-item"><a href="other" class="navlink">Others</a> </li>
531                        <li class="nav-item"><a href="promotion" class="navlink">Promos</a> </li>
532                        <li class="nav-item"><a href="vip" class="navlink">VIP</a> </li>
533                        <li class="nav-item"><a href="wheel" class="navlink">Fortune Wheel</a> </li>
534                        <li class="nav-item"><a data-toggle="modal" data-target="#winner-modal" class="navlink">Winner List</a></li>
535                        <li class="nav-item"><a href="tournament" class="navlink">Tournament</a> </li>
536                        <li class="nav-item"><a href="livestream" class="navlink">Livestream</a> </li>
537                    </ul>
538                </div>
539            </div>
540        </div>
541    </div>
542</section>
543
544
545
546
547
548  </div>
549  <div class="hm-content">
550    <div class="container">
551      <div class="blog-wrapper">
552        <div class="blog-title-box"> <i class="fab fa-facebook-f"></i> <i class="fab fa-instagram"></i> <i class="fab fa-youtube"></i> </div>
553        <div id="blogContent"></div>
554    
555      </div>
556    </div>
557  </div>
558    
559<div class="footer-wrapper">
560    <footer class="layout-footer">
561        <div class="footer-top">
562            <div class="payment-methods">
563                <div class="title">Payment Methods: </div>
564                <div class="methods">
565                    <div class="method-container">
566                        <img class="payment-method" src="images/common/pay/GSPay-plus.png?v=1.12" alt="">
567                    </div>
568                    <div class="method-container">
569                        <img class="payment-method" src="images/common/pay/vaderpay-white.png?v=1.12" alt="">
570                    </div>
571                    <div class="method-container">
572                        <img class="payment-method" src="images/common/surepay2.png?V1.1" alt="">
573                    </div>
574                    
575                    <div class="method-container">
576                        <img class="payment-method" src="images/common/pay/tng.png?v=1.12" alt="">
577                    </div>
578                    <div class="method-container">
579                        <img class="payment-method" src="images/common/paypro.png?v=1.12" alt="" style="width: 45%;">
580                    </div>
581                </div>
582            </div>
583            
584            <div class="navigation-menu">
585                <a href="about_us">About Us</a>
586                <div class="link-seperator">|</div>
587                <a href="banking">Banking</a>
588                <div class="link-seperator">|</div>
589                <a href="tnc">Terms & Conditions</a>
590                <div class="link-seperator">|</div>
591                <a href="policy">Privacy Policy</a>
592                <div class="link-seperator">|</div>
593                <a href="responsible_gaming">Responsible Gaming</a>
594                <div class="link-seperator">|</div>
595                <a href="contact">Contact Us</a>
596            </div>
597        </div>
598        <div class="footer-middle">
599            <div class="game-providers">
600                <div class="providers-wrapper">
601                    <div class="prov-img">
602                        <ul>
603                            <li>
604                                <img src="images/common/footer-logo/ai.png" alt="" /></li>
605                            <li>
606                            <li>
607                                <img src="images/common/footer-logo/wow.png" alt="" /></li>
608                            <li>
609                                
610                            <li>
611                                <img src="images/common/footer-logo/918kiss.png?v=1.21" alt="" /></li>
612                            
613                            <li>
614                                <img src="images/common/footer-logo/choice.png?v=1.21" alt="" /></li>
615                            <li>
616                                <img src="images/common/footer-logo/allbet.png?v=1.21" alt="" /></li>
617                            <li>
618                                <img src="images/common/footer-logo/apollo.png?v=1.21" alt="" /></li>
619                            <li>
620                                <img src="images/common/footer-logo/bgaming.png?v=1.21" alt="" /></li>
621                            <li>
622                                <img src="images/common/footer-logo/biggaming.png?v=1.21" alt="" /></li>
623                            <li>
624                                <img src="images/common/footer-logo/booongo.png?v=1.21" alt="" /></li>
625                            <li>
626                                <img src="images/common/footer-logo/chris.png?v=1.21" alt="" /></li>
627                            <li>
628                                <img src="images/common/footer-logo/cmd.png?v=1.21" alt="" /></li>
629                            <li>
630                                <img src="images/common/footer-logo/cq9.png?v=1.21" alt="" /></li>
631                            <li>
632                                <img src="images/common/footer-logo/evo.png?v=1.21" alt="" /></li>
633                            <li>
634                                <img src="images/common/footer-logo/fazi.png?v=1.21" alt="" /></li>
635                            <li>
636                                <img src="images/common/footer-logo/gameplay.png?v=1.21" alt="" /></li>
637                            <li>
638                                <img src="images/common/footer-logo/gamshy.png?v=1.21" alt="" /></li>
639                            
640                            <li>
641                                <img src="images/common/footer-logo/ia.png?v=1.21" alt="" /></li>
642                            <li>
643                                <img src="images/common/footer-logo/idnlive.png?v=1.21" alt="" /></li>
644                            
645                            <li>
646                                <img src="images/common/footer-logo/jdb.png?v=1.21" alt="" /></li>
647                            <li>
648                                <img src="images/common/footer-logo/jili.png?v=1.21" alt="" /></li>
649                            <li>
650                                <img src="images/common/footer-logo/joker.png?v=1.21" alt="" /></li>
651                            <li>
652                                <img src="images/common/footer-logo/king.png?v=1.21" alt="" /></li>
653                            <li>
654                                <img src="images/common/footer-logo/kiron.png?v=1.21" alt="" /></li>
655                            <li>
656                                <img src="images/common/footer-logo/live22.png?v=1.22" alt="" /></li>
657                            <li>
658                                <img src="images/common/footer-logo/m8bet.png?v=1.21" alt="" /></li>
659                            <li>
660                                <img src="images/common/footer-logo/maxbet.png?v=1.21" alt="" /></li>
661                            <li>
662                                <img src="images/common/footer-logo/mega.png?v=1.21" alt="" /></li>
663                            <li>
664                                <img src="images/common/footer-logo/micro.png?v=1.21" alt="" /></li>
665                            <li>
666                                <img src="images/common/footer-logo/miki.png?v=1.21" alt="" /></li>
667                            <li>
668                                <img src="images/common/footer-logo/mrslotty.png?v=1.21" alt="" /></li>
669                            <li>
670                                <img src="images/common/footer-logo/netent.png?v=1.12" alt="" /></li>
671                            <li>
672                                <img src="images/common/footer-logo/netgame.png?v=1.21" alt="" /></li>
673                            <li>
674                                <img src="images/common/footer-logo/pg.png?v=1.21" alt="" /></li>
675                            <li>
676                                <img src="images/common/footer-logo/play.png?v=1.21" alt="" /></li>
677                            <li>
678                                <img src="images/common/footer-logo/plyatech.png?v=1.21" alt="" /></li>
679                            <li>
680                                <img src="images/common/footer-logo/pragmatic.png?v=1.21" alt="" /></li>
681                            <li>
682                                <img src="images/common/footer-logo/pretty.png?v=1.21" alt="" /></li>
683                            <li>
684                                <img src="images/common/footer-logo/psbet.png?v=1.21" alt="" /></li>
685                            <li>
686                                <img src="images/common/footer-logo/pussy.png?v=1.21" alt="" /></li>
687                            <li>
688                                <img src="images/common/footer-logo/qtech.png?v=1.21" alt="" /></li>
689                            <li>
690                                <img src="images/common/footer-logo/redrake.png?v=1.21" alt="" /></li>
691                            <li>
692                                <img src="images/common/footer-logo/sa.png?v=1.21" alt="" /></li>
693                            <li>
694                                <img src="images/common/footer-logo/sbo.png?v=1.21" alt="" /></li>
695                            <li>
696                                <img src="images/common/footer-logo/tf.png?v=1.21" alt="" /></li>
697                            <li>
698                                <img src="images/common/footer-logo/truelab.png?v=1.21" alt="" /></li>
699                            <li>
700                                <img src="images/common/footer-logo/v2g.png?v=1.21" alt="" /></li>
701                            
702                            <li>
703                                <img src="images/common/footer-logo/wazdan.png?v=1.21" alt="" /></li>
704                    
704        <li>
705                                <img src="images/common/footer-logo/wbet.png?v=1.21" alt="" /></li>
706                            <li>
707                                <img src="images/common/footer-logo/wearecasino.png?v=1.21" alt="" /></li>
708                            <li>
709                                <img src="images/common/footer-logo/xe88.png?v=1.21" alt="" /></li>
710                            <li>
711                                <img src="images/common/footer-logo/xpro.png?v=1.22" alt="" /></li>
712                            <li>
713                                <img src="images/common/footer-logo/dreamtech.png?v=1.21" alt="" /></li>
714                            <li>
715                                <img src="images/common/footer-logo/spade.png?v=1.21" alt="" /></li>
716                            <li>
717                                <img src="images/common/footer-logo/habanero.png?v=1.21" alt="" /></li>
718                            <li>
719                                <img src="images/common/footer-logo/playngo.png?v=1.21" alt="" /></li>
720                            <li>
721                                <img src="images/common/footer-logo/genesis.png?v=1.21" alt="" /></li>
722                            <li>
723                                <img src="images/common/footer-logo/playstar.png?v=1.21" alt="" /></li>
724                            <li>
725                                <img src="images/common/footer-logo/worldmatch.png?v=1.21" alt="" /></li>
726                            <li>
727                                <img src="images/common/footer-logo/simpleplay.png?v=1.21" alt="" /></li>
728                            <li>
729                                <img src="images/common/footer-logo/bbin.png?v=1.21" alt="" /></li>
730                            <li>
731                                <img src="images/common/footer-logo/ttp.png?v=1.21" alt="" /></li>
732                            <li>
733                                <img src="images/common/footer-logo/gamatron.png?v=1.21" alt="" /></li>
734                            <li>
735                                <img src="images/common/footer-logo/betsoft.png?v=1.21" alt="" /></li>
736                            <li>
737                                <img src="images/common/footer-logo/gameart.png?v=1.21" alt="" /></li>
738                            <li>
739                                <img src="images/common/footer-logo/redtiger.png?v=1.21" alt="" /></li>
740                            <li>
741                                <img src="images/common/footer-logo/ameba.png?v=1.21" alt="" /></li>
742                            <li>
743                                <img src="images/common/footer-logo/ygg.png?v=1.21" alt="" /></li>
744                            <li>
745                                <img src="images/common/suites/sta.png" /></li>
746                            <li>
747                                <img src="images/common/footer-logo/ft-megah5.png" alt=""></li>
748                            <li>
749                                <img src="images/common/footer-logo/ft-ka.png" alt=""></li>
750                            <li>
751                                <img src="images/common/footer-logo/ft-ht.png" alt=""></li>
752                            <li>
753                                <img src="images/common/footer-logo/amigo.png" alt=""></li>
754                            <li>
755                                <img src="images/common/footer-logo/sexy.png" alt=""></li>
756                            <li>
757                                <img src="images/common/footer-logo/db.png" alt=""></li>
758                            <li>
759                                <img src="images/common/footer-logo/magic.png?v2" alt=""></li>
760                        </ul>
761                    </div>
762                </div>
763            </div>
764        </div>
765        <div class="footer-bottom">
766            <div class="footer-content-bottom seo-all">
767                <h3>5 Reasons Why You Should Try Alibaba33 - Online Casino Malaysia</h3>
768                <div class="seo-info">
769                    <p>
770                        <strong>Alibaba33 - Online Casino Malaysia Introduction</strong><br>
771                        If you’re bored with the usual casino scene, you should try Alibaba33 - online casino Malaysia.
772                        <br>
773                        <br>
774                        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.
775                        <br>
776                        <br>
777                        There are also bonuses and promotions galore when playing at an online casino Malaysia site.<br>
778                        <br>
779                        <strong>Alibaba33 - Online Casino Malaysia: You Get More Game Variety</strong><br>
780                        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.
781                        <br>
782                        <br>
783                        There are hundreds of different online casinos in Malaysia that offer thousands of other game titles.
784                        <br>
785                        <br>
786                        The best part is that these online casinos keep adding new ones every month, so there's always something new to discover.<br>
787                        <br>
788                        If you're looking for traditional casino malaysia games like blackjack or roulette or if you prefer video slots with exciting bonus features and animations, then an online casino in Malaysia has what you need.<br>
789                        <br>
790                        If playing against other players is more your thing, why not try some poker? Or maybe bingo appeals to your inner winner?
791                        <br>
792                        <br>
793                        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>
794                        <br>
795                        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 softw
795are companies behind them.
796                        <br>
797                        <br>
798                        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>
799                        <br>
800                        <strong>Alibaba33 - Online Casino Malaysia: Has Great Bonuses And Promotions</strong><br>
801                        In this section, we will discuss the benefits of bonuses and promotions you can get when playing online casinos in Malaysia.
802                        <br>
803                        <br>
804                        -This is one of the reasons why people should try online casinos in Malaysia.<br>
805                        <br>
806                        BONUSES AND PROMOTIONS CAN HELP YOU WIN MORE MONEY:<br>
807                        <br>
808                        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.
809                        <br>
810                        <br>
811                        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.
812                        <br>
813                        <br>
814                        -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>
815                        <br>
816                        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>
817                        <br>
818                        <ul>
819                            <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>
820                        </ul>
821                        <br>
822                        <strong>Alibaba33 - Online Casino Malaysia: Payouts Are Better</strong><br>
823                        You're probably wondering why online casinos offer better payouts than land-based ones.
824                        <br>
825                        <br>
826                        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>
827                        <br>
828                        While this might not seem like much of a difference on the surface level, think about how having better technology impacts your daily life.
829                        <br>
830                        <br>
831                        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.
832                        <br>
833                        <br>
834                        But even though we stop being useful after a while, we usually work well enough.<br>
835                        <br>
836                        —and any problems can usually be fixed by restarting your phone or reinstalling some software updates.<br>
837                        <br>
838                        Do you see? Better tech ensures that everything runs smoothly with minimal downtime;<br>
839                        <br>
840                        -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>
841                        <br>
842                        <strong>Alibaba33 - Online Casino Malaysia: Safe And Secure For Online Transactions</strong><br>
843                        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>
844                        <br>
845                        Each site has its independent rating system, but all of them are audited to ensure security, fairness, and transparency.<br>
846                        <br>
847                        As part of this process, each operator undergoes regular audits by professional companies to ensure we meet these standards on an ongoing basis.<br>
848                        <br>
849                        <strong>Alibaba33 - Online Casino Malaysia: The Comfort Of Playing At Your Home Or Anywhere</strong><br>
850                        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.
851                        <br>
852                        <br>
853                        -This is especially helpful for those who live in remote areas with 
853no casinos nearby or those who enjoy gaming but don't want to travel far from home.<br>
854                        <br>
855                        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>
856                        <br>
857                        The cost of playing online varies by casino site, but it's generally cheaper than playing live.
858                        <br>
859                        <br>
860                        Many people prefer online gambling because we don't need to pay taxes on their winnings.<br>
861                        <br>
862                        —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>
863                        <br>
864                        <strong>Try Alibaba33 - Online Casino Malaysia.</strong><br>
865                        If you’re bored with the usual casino scene, you should try online casino Malaysia.
866            There are many reasons why online casinos are more convenient than their brick-and-mortar counterparts.
867                        <br>
868                        <br>
869                        We offer better games, better bonuses, and promotions, and we provide a safe and secure environment for your money transactions. Here’s how:<br>
870                        <br>
871                        <ul>
872                            <li>Convenience is one of the main benefits of playing at an online casino in Malaysia over its traditional counterpart. 
873                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>
874                            <br>
875                            <br>
876                            <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.
877                You can choose from table games like poker or blackjack; slot machines such as Mega888, 918Kiss, Super 8 Ways Ultimate, Joker123, XE88, Pussy888, Live22, ; 
878                -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>
879                        </ul>
880                        <br>
881                        <strong>Conclusion</strong><br>
882                        In summary, at trusted online casino in Malaysia like Alibaba33 is a great way to enjoy your favorite games and win big.
883                        <br>
884                        <br>
885                        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?
886                    </p>
887                </div>
888            </div>
889        </div>
890        <div class="footer-bottom">
891            <div class="footer-content-bottom game-providers">
892                <div id="be-support" style="margin-top: 0px; justify-content: flex-start; border-top: dashed; border-width: 1px; border-color: var(--neutral-3);">
893                    <div class="be-support-content">Alibaba33 is committed to supporting&nbsp;<a href="responsible_gaming" id="footer-responsible-gaming">Responsible Gaming</a> </div>
894                </div>
895                <div class="bottom-element">
896                    <div id="be-age-limit" class="age-limit">
897                        <img src="images/common/eighteen.svg" alt="eighteen" />
898                    </div>
899                    <div class="copyright-element">
900                        <span>&nbsp;| Alibaba33.com&nbsp;</span>
901                        <time>2022</time>
902                    </div>
903                </div>
904                <div class="terms-info">
905                    * Terms and conditions apply; please refer to the promotions page for more details.
906                    <br>
907                    <br>
908                    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>
909                </div>
910            </div>
911        </div>
912    </footer>
913</div>
914<div class="footer-menu">
915    <div class="footer-menu-in">
916        <ul class="ft-menu">
917            <li class="nav-item">
918                <a class="nav-link" href="index" aria-label="Home">
919                    <i class="fas fa-home"></i>Home
920                </a>
921            </li>
922            
923            <li class="nav-item">
924                <a class="nav-link" href="login" aria-label="My Account">
925                    <i class="fas fa-user"></i>Account
926                </a>
927            </li>
928            
929            <li class="nav-item">
930                <a class="nav-link" href="https://wa.link/0p0p89" aria-label="WhatsApp">
931                    <i class="fab fa-whatsapp"></i>Whatsapp
932                </a>
933            </li>
934            <li class="nav-item">
935                <a class="nav-link" href="promotion" aria-label="Promo">
936                    <i class="fas fa-gift"></i>Promos
937                </a>
938            </li>
939            <li class="nav-item">
940
941                <label name="Hamburger" for="side-menu-toggle" class="header-menu-mobile"
942                    onclick="trackEvents('Click - ' + this.getAttribute('name'), 'Header', 1)">
943                    <i class="fas fa-bars"></i>Menu
944                </label>
945            </li>
946        </ul>
947    </div>
948</div>
949
950    
950<script type="text/javascript">
951        
952        $(document).ready(function () {
953            getInfoList();
954        });
955
956        function getInfoList() {
957            var url = "/ajaxData/proc_getInfoList";
958            ajaxRequest("GET", url, null, getInfoListDone, getInfoListFail, ajaxAlways, false, false);
959        }
960
961        function getInfoListDone(res, status, xhr) {
962            if (res.errCode == 0) {
963                $(res.data).each(function () {
964                    
965                    var id = this.id;
966                    var title = this.title;
967                    var subTitle = this.sub_title;
968                    var url = this.meta_url || "undefined";
969                    var domain = this.domain;
970                    var image = replaceHTTPS(this.image_des);
971                    var created_on = this.created_on_local;
972
973                    // append promotion to "All" category
974					var html = '';
975
976                    html += '<div class="blog-boxer">';
977					html += '<div>';
978					html += '<img src="'+ image +'">';
979                    html += '</div>';
980                    html += '<div class="blog-boxer_inner">';
981                    html += '<div class="row">';
982                    html += '<div class="col-12">';
983                    html += '<div class="blog-time-title">';
984                    html += '<h4>' + title + '</h4>';
985                    html += '<p><i class="far fa-calendar-alt"></i>' + created_on +'</p>';
986                    html += '</div>';
987                    html += '<div class="blog-content">'+ subTitle +'</div>';
988                    html += '</div>';
989                    html += '</div>';
990                    html += '<div class="row blog-boxer_inner_sec">';
991                    html += '<div class="col-12">';
992                    html += '<a href="/web/blog-content?info=' + url + '">';
993                    html += '<button class="moreinfo_btn">';
994                    html += 'READ MORE';
995                    html += '<i class="fas fa-angle-right">';
996                    html += '</i></button>';
997					html += '</a>';
998                    html += '</div>';
999                    html += '</div>';
1000                    html += '</div>';
1001                    html += '</div>';
1002                    html += '    <div class="seperate-line"></div>';
1003                    
1004                    if (this.meta_url != 'events') {
1005                        $("#blogContent").append(html);
1006
1007                    }
1008                });
1009
1010               
1011            }
1012            else {
1013                if (res.errCode != "100015") {
1014                    alert(res.errMsg);
1015                }
1016            }
1017        }
1018
1019        function getInfoListFail(err, status, xhr) {
1020            alert("Unknown error, Please contact our customer service");
1021        }
1022
1023</script>
1023
1024
1025    </div>
1026    <a id="button"></a>
1027    <input id="side-menu-toggle" type="checkbox" style="display: none;" />
1028    <label for="side-menu-toggle" class="layout-side-menu-overlay"></label>
1029    <div class="layout-side-menu">
1030        <nav class="side-menu-elements">
1031            <div class="side-menu-element header">
1032                <div class="side-menu-icon">
1033                    <label for="side-menu-toggle">
1034                        <div class="icon-side-menu"></div>
1035                    </label>
1036                </div>
1037                <div class="side-menu-text"></div>
1038                <div class="lang-box languageToggle">
1039                    <div class="dropdown">
1040                        <button class="lang-btn dropdown-toggle" type="button" id="language-menu2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
1041                            <div class="languageToggle">
1042                                <span>
1043                                    <img src="images/common/flag-en-big.png" id="showLangFlag2"></span> <span><i class="fas fa-chevron-down"></i></span>
1044                            </div>
1045                        </button>
1046                        <div class="dropdown-menu language" aria-labelledby="language-menu2" x-placement="bottom-start">
1047                            <a class="dropdown-item" href="#" onclick="setlanguage('en-US')">
1048                                <img src="images/common/flag-en-big.png"></a>
1049                            <a class="dropdown-item" href="#" onclick="setlanguage('ms-MY')">
1050                                <img src="images/common/flag-my-big.png"></a>
1051                            <a class="dropdown-item" href="#" onclick="setlanguage('zh-CN')">
1052                                <img src="images/common/flag-cn-big.png"></a>
1053
1054                        </div>
1055                    </div>
1056                </div>
1057            </div>
1058            
1059            <a class="side-menu-element" href="index">
1060                <div class="side-menu-icon">
1061                    <div class="icon-home"></div>
1062                </div>
1063                <div class="side-menu-text">Home </div>
1064            </a>
1065            
1066            <a class="side-menu-element" href="register">
1067                <div class="side-menu-icon">
1068                    <div class="icon-register"></div>
1069                </div>
1070                <div class="side-menu-text">Register </div>
1071            </a><a class="side-menu-element" href="login">
1072                <div class="side-menu-icon">
1073                    <div class="icon-login"></div>
1074                </div>
1075                <div class="side-menu-text">Login </div>
1076            </a>
1077            
1078            <a class="side-menu-element" href="sports">
1079                <div class="side-menu-icon">
1080                    <div class="icon-sports"></div>
1081                </div>
1082                <div class="side-menu-text bottom-border-invisible">Sports </div>
1083            </a><a class="side-menu-element" href="esports">
1084                <div class="side-menu-icon">
1085                    <div class="icon-esports"></div>
1086                </div>
1087                <div class="side-menu-text bottom-border-invisible">E-Sport </div>
1088            </a><a class="side-menu-element" href="casino">
1089                <div class="side-menu-icon">
1090                    <div class="icon-livecasino"></div>
1091                </div>
1092                <div class="side-menu-text">Casino</div>
1093            </a><a class="side-menu-element" href="slots">
1094                <div class="side-menu-icon">
1095                    <div class="icon-games"></div>
1096                </div>
1097                <div class="side-menu-text">Slots </div>
1098            </a><a class="side-menu-element" href="fish">
1099                <div class="side-menu-icon">
1100                    <div class="icon-fish"></div>
1101                </div>
1102                <div class="side-menu-text">Fish Hunter </div>
1103            </a><a class="side-menu-element" href="cockfighting">
1104                <div class="side-menu-icon">
1105                    <div>
1106                        <img class="icon-cockfighting" style="height: 25px; width: 25px;" src="images/common/mobile/slide menu icons/icon-cf.svg" />
1107                    </div>
1108                </div>
1109                <div class="side-menu-text">Cock Fighting </div>
1110            </a>
1111            <a class="side-menu-element" href="other">
1112                <div class="side-menu-icon">
1113                    <div class="icon-other"></div>
1114                </div>
1115                <div class="side-menu-text">Others </div>
1116            </a><a class="side-menu-element" href="promotion">
1117                <div class="side-menu-icon">
1118                    <div class="icon-promotions"></div>
1119                </div>
1120                <div class="side-menu-text">Promos </div>
1121            </a><a class="side-menu-element" href="download">
1122                <div class="side-menu-icon">
1123                    <div class="icon-download"></div>
1124                </div>
1125                <div class="side-menu-text">Download Link </div>
1126            </a><a class="side-menu-element" href="vip">
1127                <div class="side-menu-icon">
1128                    <div class="icon-vip"></div>
1129                </div>
1130                <div class="side-menu-text">VIP </div>
1131            </a><a class="side-menu-element" href="wheel">
1132                <div class="side-menu-icon">
1133                    <div class="icon-wheel"></div>
1134                </div>
1135                <div class="side-menu-text">Fortune Wheel</div>
1136            </a><a class="side-menu-element" href="#" data-toggle="modal" data-target="#winner-modal">
1137                <div class="side-menu-icon">
1138                    <div class="icon-win"></div>
1139                </div>
1140                <div class="side-menu-text">Winner List </div>
1141            </a>
1142            <a class="side-menu-element" href="tournament">
1143                <div class="side-menu-icon">
1144                    <div class="icon-tour"></div>
1145                </div>
1146                <div class="side-menu-text">Tournament </div>
1147            </a>
1148            <a class="side-menu-element" href="livestream">
1149                <div class="side-menu-icon">
1150                    <div class="icon-live"></div>
1151                </div>
1152                <div class="side-menu-text">Livestream </div>
1153                <span class="hot-tag">Hot</span>
1154            </a>
1155            <a class="side-menu-element" href="contact">
1156                <div class="side-menu-icon">
1157                    <div class="icon-contactus"></div>
1158                </div>
1159                <div class="side-menu-text">Contact Us</div>
1160            </a><a class="side-menu-element" href="about_us">
1161                <div class="side-menu-icon">
1162                    <div class="icon-helpcenter"></div>
1163                </div>
1164                <div class="side-menu-text">About Us </div>
1165            </a>
1166            
1167        </nav>
1168    </div>
1169    <div class="modal fade" id="wheel-modal" style="display: none;" aria-hidden="true">
1170        <div class="modal-dialog  fortune-box">
1171            <div class="modal-content">
1172                <div class="modal-content promo">
1173                    <button type="button" class="close-promo" data-dismiss="modal" aria-hidden="true">X</button>
1174                    <div class="pm-title-wrapper">Fortune Wheel </div>
1175                    <div class="promo-pop-cont">
1176                        <div class="wheel-box">
1177                            <ul>
1178                                <li>Members will receive 1 Token for every successful minimum normal deposit of RM100.</li>
1179<li>The bonus must fulfill a minimum 1x wagering requirement before any withdrawal can be made.</li>
1180<li>Each member is entitled to a maximum of 1 Token per day.</li>
1181<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>
1182<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>
1183<li>The bonus can be used on all games across the platform.</li>
1184<li>Each member is only allowed to register one Alibaba33 account.
1185    <ul>
1186        <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>
1187        <li>Alibaba33 reserves the right to terminate all related accounts and permanently freeze all balances.</li>
1188    </ul>
1189</li>
1190<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>
1191                            </ul>
1192                        </div>
1193                    </div>
1194                </div>
1195            </div>
1196        </div>
1197    </div>
1198    <input id="lang-side-menu-toggle" type="checkbox" style="display: none;" />
1199    <label for="lang-side-menu-toggle" class="languages-side-menu-overlay"></label>
1200    <div class="layout-side-menu-languages">
1201        <div class="side-menu-elements">
1202            <div id="mobile-selected-language" class="selected-language side-menu-element"></div>
1203            <a class="side-menu-element" onclick="changeDisplayLanguage('en-US')" id="mobile-en-US">
1204                <div class="side-menu-text">English (UK) </div>
1205                <div class="side-menu-icon">
1206                    <img src="images/common/flag-en-big.png" alt="English">
1207                </div>
1208            </a><a class="side-menu-element" onclick="changeDisplayLanguage('vi-VN')" id="mobile-vi-VN">
1209                <div class="side-menu-text">Tiếng Việt </div>
1210                <div class="side-menu-icon">
1211                    <img src="images/common/flag-mob-viet.png" alt="Vietnamese">
1212                </div>
1213            </a>
1214        </div>
1215    </div>
1216    <div class="modal modal-bottom fade" id="slot-pop" tabindex="-1" role="dialog" aria-labelledby="bottom_modal">
1217        <div class="modal-dialog" role="document">
1218            <div class="modal-content">
1219                <div class="modal-header">
1220                    <h5 class="modal-title">Game Name</h5>
1221                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span> </button>
1222                </div>
1223                <div class="modal-body">
1224                    <div class="slot-pop">
1225                        <div class="slot-img">
1226                            <img src="images/common/game1.jpg" class="img-fluid" alt="" />
1227                        </div>
1228                        <div class="slot-pop-wrap">
1229                            <button class="btn-ply1">PLAY NOW</button>
1230                            <button class="btn-ply2">TRy NOW</button>
1231                        </div>
1232                    </div>
1233                </div>
1234                <div class="modal-footer modal-footer-fixed d-none">
1235                    <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
1236                    <button type="button" class="btn btn-primary">Save changes</button>
1237                </div>
1238            </div>
1239        </div>
1240    </div>
1241    <div class="modal fade joinnow" id="joinnow-modal" style="display: none;" aria-hidden="true">
1242        <div class="modal-dialog">
1243            <div class="modal-content">
1244                <button type="button" class="close-x" data-dismiss="modal">X</button>
1245                <div class="join-cnt">
1246                    <div class="join-r">
1247                        <div class="join-r-top">
1248                            <div class="join-ttl">REGISTER TO Alibaba33 !!!</div>
1249                            <div class="flag-ttl">
1250                                <div class="lang-box languageToggle">
1251                                    <div class="dropdown">
1252                                        <button class="lang-btn dropdown-toggle" type="button" id="language-menu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
1253                                            <div class="languageToggle">
1254                                                <span>
1255                                                    <img src="images/common/flag-en-big.png"></span> <span><i class="fas fa-chevron-down"></i></span>
1256                                            </div>
1257                                        </button>
1258                                        <div class="dropdown-menu language" aria-labelledby="language-menu" x-placement="bottom-start">
1259                                            <a class="dropdown-item" href="#">
1260                                                <img src="images/common/flag-my-big.png"></a> <a class="dropdown-item" href="#">
1261                                                    <img src="images/common/flag-cn-big.png"></a>
1262                                        </div>
1263                                    </div>
1264                                </div>
1265                            </div>
1266                        </div>
1267                        <div class="join-r-cnt">
1268                            <form class="fg-form">
1269                                <div class="bk-title">Create Account</div>
1270                                <div class="regfield">
1271                                    <div class="label">Username<span class="manred">*</span></div>
1272                                    <div class="rgfeild">
1273                                        <input type="text">
1274                                    </div>
1275                                </div>
1276                                <div class="regfield">
1277                                    <div class="label">Full Name<span class="manred">*</span></div>
1278                                    <div class="rgfeild">
1279                                        <input type="text">
1280                                    </div>
1281                                </div>
1282                                <div class="regfield">
1283                                    <div class="label">Email<span class="manred">*</span></div>
1284                                    <div class="rgfeild">
1285                                        <input type="email">
1286                                    </div>
1287                                </div>
1288                                <div class="regfield">
1289                                    <div class="label">Contact No.<span class="manred">*</span></div>
1290                                    <div class="rgfeild">
1291                                        <input type="text">
1292                                    </div>
1293                                </div>
1294                                <div class="regfield">
1295                                    <div class="label">Password<span class="manred">*</span></div>
1296                                    <div class="rgfeild">
1297                                        <input type="password">
1298                                    </div>
1299                                </div>
1300                                <div class="regfield">
1301                                    <div class="label">Confirm Password<span class="manred">*</span></div>
1302                                    <div class="rgfeild">
1303                                        <input type="password">
1304                                    </div>
1305                                </div>
1306                                <div class="regfield">
1307                                    <div class="label"></div>
1308                                    <div>
1309                                        <button type="submit" class="reg-btn">Register</button>
1310                                    </div>
1311                                </div>
1312                                <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>
1313                            </form>
1314                        </div>
1315                    </div>
1316                </div>
1317            </div>
1318        </div>
1319    </div>
1320    <div class="modal fade blnce" id="balance-modal" style="display: none;" aria-hidden="true">
1321        <div class="modal-dialog">
1322            <div class="modal-content">
1323                <button type="button" class="close-x" data-dismiss="modal">X</button>
1324                <div class="main-wallet">
1325                    <ul id="dropdown_balance">
1326                    </ul>
1327                </div>
1328            </div>
1329        </div>
1330    </div>
1331    <div class="modal fade" id="popupAnnouncementModal" style="top: 5%;">
1332    </div>
1333    <div class="modal fade" id="winner-modal" style="display: none;" aria-hidden="true">
1334        <div class="modal-dialog  winner-box">
1335            <div class="modal-content">
1336                <div class="modal-content promo">
1337                    <button type="button" class="close-promo" data-dismiss="modal" aria-hidden="true">X</button>
1338                    <div class="promo-pop-cont">
1339                        <div id="popupWinnerbtn"></div>
1340                        <h1>LAST WEEK WINNERLIST</h1>
1341                        <div class="pop-winner">
1342                            <div class="priz-wrap2">
1343
1344                                <div class="winlist">
1345                                    <div class="box-1" id="second1">
1346                                    </div>
1347                                    <div class="box-2" id="first1">
1348                                    </div>
1349                                    <div class="box-3" id="third1">
1350                                    </div>
1351                                </div>
1352                                <div class="table-borad">
1353                                    <div class="table-responsive">
1354                                        <table id="popupWinner">
1355                                        </table>
1356                                    </div>
1357                                </div>
1358                            </div>
1359                        </div>
1360                    </div>
1361                </div>
1362            </div>
1363        </div>
1364    </div>
1365    
1365<script src="bootstrap-4.3.1/popper.min.js"></script>
1365
1366    
1366<script src="bootstrap-4.3.1/js/bootstrap.min.js"></script>
1366
1367    
1367<script src="js/smooth.scroll.js"></script>
1367
1368    
1368<script src="js/aos.js"></script>
1368
1369    
1369<script src="/Scripts/jcmm-luckydice.js?v=5"></script>
1369
1370    
1371    
1371<script>
1372        AOS.init({
1373            once: true,
1374            disable: 'mobile'
1375        });
1376
1377    </script>
1377
1378    
1378<script>
1379        var btn = $('#button');
1380
1381        $(window).scroll(function () {
1382            if ($(window).scrollTop() > 300) {
1383                btn.addClass('show');
1384            } else {
1385                btn.removeClass('show');
1386            }
1387        });
1388
1389        btn.on('click', function (e) {
1390            e.preventDefault();
1391            $('html, body').animate({ scrollTop: 0 }, '300');
1392        });
1393
1394    </script>
1394
1395    
1395<script>
1396        $(document).ready(function () {
1397
1398            if (getCookie("selected-lang") == "en-US") {
1399                $("#showLangFlag").attr("src", "images/common/flag-en-big.png");
1400                $("#showLangFlag1").attr("src", "images/common/flag-en-big.png");
1401                $("#showLangFlag2").attr("src", "images/common/flag-en-big.png");
1402            }
1403            else if (getCookie("selected-lang") == "ms-MY") {
1404                $("#showLangFlag").attr("src", "images/common/flag-my-big.png");
1405                $("#showLangFlag1").attr("src", "images/common/flag-my-big.png");
1406                $("#showLangFlag2").attr("src", "images/common/flag-my-big.png");
1407            } else if (getCookie("selected-lang") == "zh-CN") {
1408                $("#showLangFlag").attr("src", "images/common/flag-cn-big.png");
1409                $("#showLangFlag1").attr("src", "images/common/flag-cn-big.png");
1410                $("#showLangFlag2").attr("src", "images/common/flag-cn-big.png");
1411            }
1412            $("#webHome").addClass("active");
1413            refreshVCode("fp", "fpVeriCode");
1414            getDateTime();
1415            getWinnerList();
1416            //v1                             
1417            $("#grade-2").attr("src", "images/common/vip/vip-basic.png");
1418            $("#grade-3").attr("src", "images/common/vip/vip-semipro.png");
1419            $("#grade-4").attr("src", "images/common/vip/vip-pro.png");
1420            $("#grade-5").attr("src", "images/common/vip/vip-bronze.png");
1421            $("#grade-6").attr("src", "images/common/vip/vip-sliver.png");
1422            $("#grade-7").attr("src", "images/common/vip/vip-gold.png");
1423            $("#grade-8").attr("src", "images/common/vip/vip-platinum.png");
1424            $("#grade-9").attr("src", "images/common/vip/vip-diamond.png");
1425
1426
1427            //v2
1428            $("#ggrade-2").attr("src", "images/common/vip/vip-basic.png");
1429            $("#ggrade-3").attr("src", "images/common/vip/vip-semipro.png");
1430            $("#ggrade-4").attr("src", "images/common/vip/vip-pro.png");
1431            $("#ggrade-5").attr("src", "images/common/vip/vip-bronze.png");
1432            $("#ggrade-6").attr("src", "images/common/vip/vip-sliver.png");
1433            $("#ggrade-7").attr("src", "images/common/vip/vip-gold.png");
1434            $("#ggrade-8").attr("src", "images/common/vip/vip-platinum.png");
1435            $("#grade-9").attr("src", "images/common/vip/vip-diamond.png");
1436
1437            //v3
1438            // $("#gg3rade-1").attr("src", "images/common/vip/vip-basic.png");
1439            $("#gg3rade-2").attr("src", "images/common/vip/vip-basic.png");
1440            $("#gg3rade-3").attr("src", "images/common/vip/vip-semipro.png");
1441            $("#gg3rade-4").attr("src", "images/common/vip/vip-pro.png");
1442            $("#gg3rade-5").attr("src", "images/common/vip/vip-bronze.png");
1443            $("#gg3rade-6").attr("src", "images/common/vip/vip-sliver.png");
1444            $("#gg3rade-7").attr("src", "images/common/vip/vip-gold.png");
1445            $("#gg3rade-8").attr("src", "images/common/vip/vip-platinum.png");
1446            $("#gg3rade-9").attr("src", "images/common/vip/vip-diamond.png");
1447
1448            // $("#gm3rade-1").attr("src", "images/common/vip/vip-basic.png");
1449            $("#gm3rade-2").attr("src", "images/common/vip/vip-basic.png");
1450            $("#gm3rade-3").attr("src", "images/common/vip/vip-semipro.png");
1451            $("#gm3rade-4").attr("src", "images/common/vip/vip-pro.png");
1452            $("#gm3rade-5").attr("src", "images/common/vip/vip-bronze.png");
1453            $("#gm3rade-6").attr("src", "images/common/vip/vip-sliver.png");
1454            $("#gm3rade-7").attr("src", "images/common/vip/vip-gold.png");
1455            $("#gm3rade-8").attr("src", "images/common/vip/vip-platinum.png");
1456            $("#gm3rade-9").attr("src", "images/common/vip/vip-diamond.png");
1457
1458            $("#level-1").html("NEW MEMBER");
1459            $("#level-2").html("BASIC");
1460            $("#level-3").html("IRON");
1461            $("#level-4").html("BRONZE");
1462            $("#level-5").html("SILVER");
1463            $("#level-6").html("GOLD");
1464            $("#level-7").html("PLATINUM");
1465            $("#level-8").html("DIAMOND");
1466            $("#level-9").html("EMPEROR");
1467
1468            if (screen.width <= 720) {
1469                $(".img_hide").css("display", "none");
1470            }
1471            $(document).on("click", ".all-in2", function () {
1472                var from = "main";
1473                var to = $(this).attr("data-p_code");
1474                var amt = $("#dropdown_main").text();
1475
1476                AllInAllOut(from, to, amt);
1477            });
1478
1479            $(document).on("click", ".all-out", function () {
1480                var from = $(this).attr("data-p_code");
1481                var to = "main";
1482                var amt = $("#dropdown_bal_" + $(this).attr("data-p_code")).text();
1483
1484                AllInAllOut(from, to, amt);
1485            });
1486             
1487        });
1488
1489        //last week tournament
1490        function getWinnerList() {
1491            var url = "../ajaxData/proc_getTournamentList";
1492            //var url = "../ajaxData/proc_getTournamentList?offsetTime=" + listOffsettime;
1493            ajaxRequest("GET", url, null, getWinnerListDone, getTournamentListFail, ajaxAlways, false, false);
1494        }
1495
1496        function getTournamentListFail(err, status, xhr) {
1497            alert("Unknown error, Please contact our customer service");
1498        }
1499
1500        function getWinnerListDone(res, status, xhr) {
1501            if (res.errCode == 0) {
1502                var counter1 = 0;
1503                $(res.data.reverse()).each(function () {
1504                    if (this.t_status == true) {
1505                        var title1 = this.t_title;
1506                        var content1 = this.t_content;
1507                        var image_des1 = this.t_image_des; // this.p_image2
1508                        var prod_code1 = this.p_code;
1509                        var splited1 = title1.split(' ');
1510                        var html = '';
1511
1512                        if (counter1 == 0) {
1513                            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>';
1514                        }
1515                        else {
1516                            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>';
1517                        }
1518
1519
1520                        $("#popupWinnerbtn").append(html);
1521                        //$("#tourToptions").append(html1);
1522
1523                        CreateWinnerList(this.p_id, content1, image_des1, this.start_time_local, this.end_time_local, prod_code1);
1524
1525                        //counter++;
1526                        counter1++;
1527                    }
1528
1529                });
1530            }
1531            else {
1532                // alert(res.errMsg);
1533            }
1534        }
1535
1536        var count1 = 0;
1537        function CreateWinnerList(tid1, content1, image1, startTime1, endTime1, prod_code1) {
1538            var tour_id = "t" + tid1;
1539            //var tour_id2 = "tt" + tid;
1540            var html = '';
1541            var html1 = '';
1542            var div1 = ""; // default list
1543            var div2 = ""; // tournament list
1544            var div3 = ""; // winner list
1545            var html2 = '';
1546            var html3 = '';
1547            var html4 = '';
1548            var html5 = '';
1549            var html6 = '';
1550
1551            if (count1 == 0)
1552                html += '<div class="tab-pane fade show active" id="' + tour_id + '" role="tabpanel" aria-labelledby="playtech-tab">';
1553            else
1554                html += '<div class="tab-pane fade" id="' + tour_id + '" role="tabpanel" aria-labelledby="joker-tab">';
1555
1556            div1 = content1;
1557
1558            if (prod_code1 != "KISS918") {
1559                $.ajax({
1560                    type: 'POST',
1561                    url: '../ajaxData/proc_getWinnerList',
1562                    data: { "tournament_id": "2" },
1563                    cache: false,
1564                    dataType: 'json',
1565                    success: function (d) {
1566                        if (d.errCode == "0") {
1567
1568                            var wlist = JSON.stringify(d.data);
1569                            var object = JSON.parse(wlist);
1570                            var temp1 = 0;
1571                            object.forEach(function (key, index) {
1572                                if (index == 0) {
1573
1574                                    html4 += '   <img src="images/common/wheel/first-crown.png" alt=""/>';
1575                                    html4 += ' <div class="wrap-win">';
1576                                    html4 += '   <div class="ttil">' + key.username + '</div>';
1577                                    html4 += '  <div class="win-info">';
1578                                    html4 += '    <p>Turnover ' + key.total_turnover + '</p>';
1579                                    html4 += '    <h4>PRIZE MYR 1000</h4>';
1580                                    html4 += '  </div>';
1581                                    html4 += ' </div>';
1582                                }
1583                                else if (index == 1) {
1584
1585                                    html5 += '   <img src="images/common/wheel/second-crown.png" alt=""/>';
1586                                    html5 += ' <div class="wrap-win">';
1587                                    html5 += '   <div class="ttil">' + key.username + '</div>';
1588                                    html5 += '  <div class="win-info">';
1589                                    html5 += '    <p>Turnover ' + key.total_turnover + '</p>';
1590                                    html5 += '    <h4>PRIZE MYR 500</h4>';
1591                                    html5 += '  </div>';
1592                                    html5 += ' </div>';
1593                                }
1594                                else if (index == 2) {
1595                                    html6 += '   <img src="images/common/wheel/third-crown.png" alt=""/>';
1596                                    html6 += ' <div class="wrap-win">';
1597                                    html6 += '   <div class="ttil">' + key.username + '</div>';
1598                                    html6 += '  <div class="win-info">';
1599                                    html6 += '    <p>Turnover ' + key.total_turnover + '</p>';
1600                                    html6 += '    <h4>PRIZE MYR 300</h4>';
1601                                    html6 += '  </div>';
1602                                    html6 += ' </div>';
1603                                }
1604                                else if (index == 3) {
1605                                    temp = index + 1;
1606
1607                                    html3 += '  <tr>';
1608                                    html3 += ' <th colspan="3">Leaderboard</th>';
1609                                    html3 += '  </tr>';
1610                                    html3 += '  <tr class="tour-tb">';
1611                                    html3 += '   <td>ID</td>';
1612                                    html3 += '   <td>Turnover</td>';
1613                                    html3 += '   <td>PRIZE(MYR) </td>';
1614                                    html3 += ' </tr>';
1615                                    html3 += '<tr>';
1616                                    html3 += '    <td>' + temp + 'th ' + key.username + '</td>';
1617                                    html3 += '   <td>' + key.total_turnover + '</td>';
1618                                    html3 += '   <td>150</td>';
1619                                    html3 += '    </tr>';
1620                                }
1621                                else if (index == 4) {
1622                                    temp = index + 1;
1623                                    html3 += '<tr>';
1624                                    html3 += '<td>' + temp + 'th ' + key.username + '</td>';
1625                                    html3 += ' <td>' + key.total_turnover + '</td>';
1626                                    html3 += '<td>100</td>';
1627                                    html3 += '</tr>';
1628                                }
1629                                else if (index == 5) {
1630                                    temp = index + 1;
1631                                    html3 += '<tr>';
1632                                    html3 += '<td>' + temp + 'th ' + key.username + '</td>';
1633                                    html3 += ' <td>' + key.total_turnover + '</td>';
1634                                    html3 += '<td>90</td>';
1635                                    html3 += '</tr>';
1636                                }
1637                                else if (index == 6) {
1638                                    temp = index + 1;
1639                                    html3 += '<tr>';
1640                                    html3 += '<td>' + temp + 'th ' + key.username + '</td>';
1641                                    html3 += ' <td>' + key.total_turnover + '</td>';
1642                                    html3 += '<td>80</td>';
1643                                    html3 += '</tr>';
1644                                }
1645                                else if (index == 7) {
1646                                    temp = index + 1;
1647                                    html3 += '<tr>';
1648                                    html3 += '<td>' + temp + 'th ' + key.username + '</td>';
1649                                    html3 += ' <td>' + key.total_turnover + '</td>';
1650                                    html3 += '<td>70</td>';
1651                                    html3 += '</tr>';
1652                                }
1653                                else if (index == 8) {
1654                                    temp = index + 1;
1655                                    html3 += '<tr>';
1656                                    html3 += '<td>' + temp + 'th ' + key.username + '</td>';
1657                                    html3 += ' <td>' + key.total_turnover + '</td>';
1658                                    html3 += '<td>60</td>';
1659                                    html3 += '</tr>';
1660                                }
1661                                else if (index == 9) {
1662                                    temp = index + 1;
1663                                    html3 += '<tr>';
1664                                    html3 += '<td>' + temp + 'th ' + key.username + '</td>';
1665                                    html3 += ' <td>' + key.total_turnover + '</td>';
1666                                    html3 += '<td>50</td>';
1667                                    html3 += '</tr>';
1668                                }
1669                            });
1670                            $("#popupWinner").append(html3);
1671                            $("#first1").append(html4);
1672                            $("#second1").append(html5);
1673                            $("#third1").append(html6);
1674
1675                        }
1676                    },
1677                    error: function (jqXHR, textStatus, errorThrown) {
1678                        console.log("Unknown error, Please contact our customer service");
1679                    }
1680                });
1681            }
1682            count1 = 1;
1683        }
1684
1685
1686        function getInboxMsgTotalCount() {
1687            $.ajax({
1688                type: 'POST',
1689                url: '/ajaxData/proc_inboxMsgFunction',
1690                data: { "action": "getTotalCount" },
1691                success: function (d) {
1692                    if (d.errCode == "0") {
1693                        if (d.data != null) {
1694                            if (d.data.total_count > 0) {
1695                                $('#inboxMsgCount').text(d.data.total_count);
1696                                $('#inboxMsgCount1').text(d.data.total_count);
1697                            }
1698                            else {
1699                                $('#inboxMsgCount').text("0");
1700                                $('#inboxMsgCount1').text("0")
1701                            }
1702                        }
1703                    }
1704                    else
1705                        alert(d.errCode + " - " + d.errMsg);
1706                },
1707                error: function (jqXHR, textStatus, errorThrown) {
1708                    console.log("Unknown error, Please contact our customer service");
1709                },
1710                complete: function (res, status, xhr) {
1711                    // will auto run this part code no matter the ajax request is success or error
1712                    ajaxAlways(res, status, xhr);
1713                }
1714            });
1715        }
1716
1717        function refreshVCode(s_name, ele_id) {
1718            $('#' + ele_id).attr('src', '../ajaxData/proc_captchaCode?s=' + s_name + '&v=' + Math.floor(Math.random() * 100));
1719        }
1720
1721        //////// Start GET INBOX NUMBER
1722        function getInboxNumber() {
1723            $.ajax({
1724                type: 'POST',
1725                url: '../ajaxData/proc_getInboxMsg',
1726                cache: false,
1727                data: {},
1728                dataType: 'json',
1729                success: function (d) {
1730
1731                    if (d.errCode == "0") {
1732
1733                        if (d.data != null) {
1734
1735                            var inboxNoLoop = 0;
1736
1737                            $.each(d.data, function (i, d) {
1738                                if (d.status == 0)
1739                                    inboxNoLoop += 1;
1740                            });
1741
1742                            if (inboxNoLoop > 0) {
1743                                $("#inboxDot").html(inboxNoLoop);
1744                            }
1745                            else {
1746                                $("#inboxDot").empty();
1747                            }
1748                        } else {
1749                            $("#inboxDot").empty();
1750                        }
1751
1752                    } else {
1753                        //showErrorMessage(d.errCode, d.errMsg);
1754                        $("#inboxDot").empty();
1755                    }
1756                },
1757                error: function (jqXHR, textStatus, errorThrown) {
1758                    console.log("Unknown error, Please contact our customer service");
1759                }
1760
1761            });
1762        }
1763        //////// End GET INBOX NUMBER
1764        ////////// Start LOGIN
1765        $("#form_login").validate({
1766            rules: {
1767                username: {
1768            required: true,
1769        },
1770                password: {
1771                required: true,
1772            },
1773            },
1774            messages: {
1775                username: {
1776            required: "Please insert Username.",
1777        },
1778                password: {
1779                required: "Please insert Password.",
1780            },
1781            },
1782
1783            submitHandler: function (form) {
1784                $("#freezescreen").css("display", "");
1785                $("#loginloadingbtn").css("display", "");
1786                $("#loginsubmitbtn").css("display", "none");
1787                $.ajax({
1788                    type: 'POST',
1789                    url: '../ajaxData/proc_memLogin', //PLEASE DO NOT CHANGE THIS BACK TO ORIGINAL ONE
1790                    data: $('#form_login').serialize(),
1791                    cache: false,
1792                    dataType: 'json',
1793                    success: function (d) {
1794                        $("#freezescreen").css("display", "none");
1795                        $("#loginloadingbtn").css("display", "none");
1796                        $("#loginsubmitbtn").css("display", "");
1797                        if (d.errCode == "0") {
1798                            $('#form_login')[0].reset();
1799
1800                            window.location.href = "deposit-gspay";
1801                        } else {
1802                            if (d.errCode == "0123456789") {
1803                                $("#changeusername").modal();
1804                            }
1805                            else if (d.errCode == "0987654321") {
1806                                $("#changeusername").modal();
1807                            }
1808                            else if (d.errCode == "100006") {
1809                                document.getElementById("a_username").value = document.getElementById("l_username").value;
1810                                $("#resend_activation").modal();
1811                            }
1812                            else {
1813                                showErrorMessage(d.errCode, d.errMsg);
1814                            }
1815                        }
1816                    },
1817                    error: function (jqXHR, textStatus, errorThrown) {
1818                        $("#freezescreen").css("display", "none");
1819                        $("#loginloadingbtn").css("display", "none");
1820                        $("#loginsubmitbtn").css("display", "");
1821                        alert("Unknown error, Please contact our customer service");
1822                    }
1823                });
1824        }
1825        });
1826        $("#form_login1").validate({
1827            rules: {
1828                username: {
1829            required: true,
1830        },
1831                password: {
1832                required: true,
1833            },
1834            },
1835            messages: {
1836                username: {
1837            required: "Please insert Username.",
1838        },
1839                password: {
1840                required: "Please insert Password.",
1841            },
1842            },
1843
1844            submitHandler: function (form) {
1845                $("#freezescreen").css("display", "");
1846                $("#loginloadingbtn").css("display", "");
1847                $("#loginsubmitbtn").css("display", "none");
1848                $.ajax({
1849                    type: 'POST',
1850                    url: '../ajaxData/proc_memLogin', //PLEASE DO NOT CHANGE THIS BACK TO ORIGINAL ONE
1851                    data: $('#form_login1').serialize(),
1852                    cache: false,
1853                    dataType: 'json',
1854                    success: function (d) {
1855                        $("#freezescreen").css("display", "none");
1856                        $("#loginloadingbtn").css("display", "none");
1857                        $("#loginsubmitbtn").css("display", "");
1858                        if (d.errCode == "0") {
1859                            $('#form_login1')[0].reset();
1860
1861                            window.location.href = "deposit-gspay";
1862                        } else {
1863                            if (d.errCode == "0123456789") {
1864                                $("#changeusername").modal();
1865                            }
1866                            else if (d.errCode == "0987654321") {
1867                                $("#changeusername").modal();
1868                            }
1869                            else if (d.errCode == "100006") {
1870                                document.getElementById("a_username").value = document.getElementById("l_username").value;
1871                                $("#resend_activation").modal();
1872                            }
1873                            else {
1874                                showErrorMessage(d.errCode, d.errMsg);
1875                            }
1876                        }
1877                    },
1878                    error: function (jqXHR, textStatus, errorThrown) {
1879                        $("#freezescreen").css("display", "none");
1880                        $("#loginloadingbtn").css("display", "none");
1881                        $("#loginsubmitbtn").css("display", "");
1882                        alert("Unknown error, Please contact our customer service");
1883                    }
1884                });
1885        }
1886        });
1887        ////////// End LOGIN
1888
1889        ////////// Start LOGOUT
1890        function logout() {
1891            $.ajax({
1892                type: 'POST',
1893                url: '../ajaxData/proc_memLogout',
1894                cache: false,
1895                dataType: 'json',
1896                success: function (d) {
1897                    if (d.errCode == "0")
1898                        window.location.href = "index";
1899                    else
1900                        showErrorMessage(d.errCode, d.errMsg);
1901                },
1902                error: function (jqXHR, textStatus, errorThrown) {
1903                    alert("Unknown error, Please contact our customer service");
1904                }
1905            });
1906        }
1907        ////////// End LOGOUT
1908
1909        ////////// forget password
1910        $("#form_forgetpassword").validate({
1911            rules: {
1912                email: {
1913            required: true,
1914            maxlength: 200,
1915            email: true
1916        },
1917            username: {
1918                required: true,
1919                maxlength: 200,
1920
1921            },
1922             contact: {
1923                required: true,
1924                maxlength: 200,
1925
1926            },
1927                v_code: {
1928                required: true,
1929            }
1930            },
1931            messages: {
1932                email: {
1933            required: "Please insert email.",
1934                maxlength: "Please enter at most {0} character",
1935                email: "Please insert valid email, e.g. : [email protected].",
1936        },
1937            username: {
1938                required: "This field is required.",
1939            },
1940            contact: {
1941                required: "This field is required.",
1942            },
1943                v_code: {
1944                required: "This field is required.",
1945            }
1946            },
1947            submitHandler: function (form) {
1948                $("#freezescreen").css("display", "");
1949                $("#loadingbtn").css("display", "");
1950                $("#fpsubmitbtn").css("display", "none");
1951
1952                $.ajax({
1953                    type: 'POST',
1954                    url: '../ajaxData/proc_forgetPassword',
1955                    data: $('#form_forgetpassword').serialize(),
1956                    cache: false,
1957                    dataType: 'json',
1958                    success: function (d) {
1959                        $("#freezescreen").css("display", "none");
1960                        $("#loadingbtn").css("display", "none");
1961                        $("#fpsubmitbtn").css("display", "");
1962                        if (d.errCode == "0") {
1963                            $('#form_forgetpassword')[0].reset();
1964                            alert("Reset Password Successful");
1965                            window.location.href = "index";
1966                        } else {
1967                            alert(d.errCode + "-" + d.errMsg);
1968                        }
1969                    },
1970                    error: function (jqXHR, textStatus, errorThrown) {
1971                        $("#freezescreen").css("display", "none");
1972                        $("#loadingbtn").css("display", "none");
1973                        $("#fpsubmitbtn").css("display", "");
1974                        alert("Unknown error, Please contact our customer service");
1975                    }
1976                });
1977        }
1978        });
1979        ///////// end forget password
1980        ////////// Start DROPDOWN BALANCE
1981        function populateDropdownProductBalance() {
1982            $.ajax({
1983                type: 'POST',
1984                url: '../ajaxData/proc_getProductList',
1985                cache: false,
1986                dataType: 'json',
1987                success: function (d) {
1988                    if (d.errCode == "0") {
1989
1990                        var txt_node = "";
1991                        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>';
1992                        $.each(d.data, function (i, d) {
1993                            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")) {
1994                                if (d.isMaintenance)
1995                                    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>';
1996                                else
1997                                    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>';
1998                            }
1999                        });
2000
2001                        $("#dropdown_balance").html(txt_node);
2002                        getDropdownMainWallet();
2003                        $.each(d.data, function (i, d) {
2004                            if (!d.isMaintenance)
2005                                getDropdownProductBalance(d.p_code);
2006                            else
2007                                $("#dropdown_bal_" + d.p_code).html("Maintenance");
2008                        });
2009                    } else {
2010                        showErrorMessage(d.errCode, d.errMsg);
2011                    }
2012                },
2013                error: function (jqXHR, textStatus, errorThrown) {
2014                    alert("Unknown error, Please contact our customer service");
2015                }
2016            });
2017        }
2018
2019        function getDropdownMainWallet() {
2020            $.ajax({
2021                type: 'POST',
2022                url: '../ajaxData/proc_getMemberBalance',
2023                cache: false,
2024                dataType: 'json',
2025                success: function (d) {
2026                    if (d.errCode == "0") {
2027                        $("#dropdown_main").html(parseFloat(d.data).toFixed(2));
2028
2029                        if (parseFloat(d.data) > 0) {
2030                            $("[id^=in_btn_]").removeAttr('disabled');
2031                        }
2032                    }
2033                    else
2034                        showErrorMessage(d.errCode, d.errMsg);
2035                },
2036                error: function (jqXHR, textStatus, errorThrown) {
2037                    $("#dropdown_main" + productCode).html("Maintenance");
2038                }
2039            });
2040        }
2041
2042        function getDropdownProductBalance(productCode) {
2043            $.ajax({
2044                type: 'POST',
2045                url: '../ajaxData/proc_getCCLBalance',
2046                cache: false,
2047                data: { "p_code": productCode },
2048                dataType: 'json',
2049                success: function (d) {
2050                    if (d.errCode == 0) {
2051                        $("#dropdown_bal_" + productCode).html(parseFloat(d.data).toFixed(2));
2052
2053                        if (parseFloat(d.data) > 0) {
2054                            $("#out_btn_" + productCode).removeAttr('disabled');
2055                        }
2056                    }
2057                    else
2058                        $("#dropdown_bal_" + productCode).html("Maintenance");
2059                },
2060                error: function (jqXHR, textStatus, errorThrown) {
2061                    $("#dropdown_bal_" + productCode).html("Maintenance");
2062                }
2063            });
2064        }
2065
2066        function AllInAllOut(FROM, TO, AMT) {
2067            $("#freezescreen").css("display", "");
2068            console.log(AMT);
2069            var data = {
2070                "trans_from": FROM,
2071                "trans_to": TO,
2072                "trans_amount": parseFloat(AMT)
2073            };
2074
2075            $.ajax({
2076                type: 'POST',
2077                url: '../ajaxData/proc_makeTransfer',
2078                data: data,
2079                cache: false,
2080                dataType: 'json',
2081                success: function (d) {
2082                    if (d.errCode == "0") {
2083                        alert("Transfer Successful");
2084                        location.reload();
2085                    } else {
2086                        alert(d.errCode + "-" + d.errMsg);
2087                    }
2088                },
2089                error: function (jqXHR, textStatus, errorThrown) {
2090                    $("#freezescreen").css("display", "none");
2091                    alert("Unknown error, Please contact our customer service");
2092                },
2093                complete: function () {
2094                    $("#freezescreen").css("display", "none");
2095                }
2096            });
2097        }
2098        ////////// End DROPDOWN BALANCE
2099        var aProductList = []; // array list of available product code for get balance purpose
2100        var aProductListCount = 0; // total count of available product code
2101        var aProductListCounter = 0; // counter to compare whether the current counter is last item or not
2102        var aProductTotalBalance = 0;
2103
2104
2105        function getTotalBalance() {
2106            $("#after_balance").html('<img src="/web/images/common/load-indicator.gif" />');
2107            $("#after_balance1").html('<img src="/web/images/common/load-indicator.gif" />');
2108            $("#after_balance2").html('<img src="/web/images/common/load-indicator.gif" />');
2109            var url = "/ajaxData/proc_getProductList";
2110            ajaxRequest("GET", url, null, getProductBalanceListDone, null, ajaxAlways);
2111        }
2112
2113        function getProductBalanceListDone(res, status, xhr) {
2114            aProductList = [];
2115            aProductListCount = 0;
2116            aProductListCounter = 0;
2117            aProductTotalBalance = 0;
2118
2119            $(res.data).each(function (idx) {
2120                if (!this.isMaintenance) {
2121                    aProductList.push(this.p_code);
2122                    aProductListCount++;
2123                }
2124            });
2125
2126            getMainWalletBalance();
2127            getTotalProductBalance();
2128        }
2129
2130        function getMainWalletBalance() {
2131            var url = "/ajaxData/proc_getMemberBalance";
2132            ajaxRequest("GET", url, null, getMainWalletBalanceDone, null, ajaxAlways);
2133        }
2134
2135        function getMainWalletBalanceDone(res, status, xhr) {
2136            if (res.errCode == "0")
2137                aProductTotalBalance += res.data;
2138        }
2139
2140        function getProductBalanceListFail(err, status, xhr) {
2141            alert("Unknown error, Please contact our customer service");
2142        }
2143
2144        function getTotalProductBalance(_this) {
2145            $(aProductList).each(function () {
2146                var url = "/ajaxData/proc_getCCLBalance";
2147                var data = { "p_code": this.toUpperCase() };
2148                ajaxRequest("POST", url, data, getTotalProductBalanceDone, null, ajaxAlways);
2149            });
2150        }
2151
2152        function getTotalProductBalanceDone(res, status, xhr) {
2153            if (res.errCode == "0") {
2154                aProductTotalBalance += res.data;
2155            }
2156            aProductListCounter++;
2157            if (aProductListCounter == aProductListCount) {
2158                $("#after_balance").html(aProductTotalBalance.toFixed(2));
2159                $("#after_balance1").html(aProductTotalBalance.toFixed(2));
2160                $("#after_balance2").html(aProductTotalBalance.toFixed(2));
2161            }
2162        }
2163        ////////// Start POPUP GAME LINK
2164        var popUpWin;
2165
2166        popUpGameLink = function (prod_code, prod_type, prod_html5, gID, width, height) {
2167             
2168            alert("Please login first.");
2169             
2170        }
2171
2172        popUpGameLink5 = function (prod_code, prod_type, prod_html5, gID, width, height) {
2173           
2174            alert("Please login first.");
2175             
2176        }
2177
2178        popUpGameLinkS2 = function (prod_code, prod_type, prod_html5, gID, width, height) {
2179             
2180            alert("Please login first.");
2181             
2182        }
2183
2184        // FOR SPORTSBOOK
2185        popUpGameLink2 = function (prod_code, prod_type, width, height) {
2186            
2187            alert("Please login first.");
2188             
2189        }
2190        ////////// End POPUP GAME LINK
2191        // FOR SPORTSBOOK
2192        popUpGameLink3 = function (prod_code, prod_type, width, height) {
2193            
2194            alert("Please login first.");
2195             
2196        }
2197        ////////// End POPUP GAME LINK
2198        //////seamless game launch
2199        popUpSGameLink = function (prod_code, prod_type, prod_html5, game_id, width, height) {
2200            
2201            alert("Please login first.");
2202             
2203        }
2204
2205        ////////// Start TRANSACTION
2206        function transferAll() {
2207            $("#freezescreen").css("display", "");
2208            $.ajax({
2209                type: 'POST',
2210                url: '../ajaxData/proc_TransferAllProductBalanceAsync',
2211                cache: false,
2212                dataType: 'json',
2213                success: function (d) {
2214                    if (d.errCode == "0") {
2215                        alert("Transfer Successful");
2216                        location.reload();
2217                    } else {
2218                        alert("Unknown error, Please contact our customer service");
2219                    }
2220                },
2221                error: function (jqXHR, textStatus, errorThrown) {
2222                    alert("Unknown error, Please contact our customer service");
2223                },
2224                complete: function () {
2225                    $("#freezescreen").css("display", "none");
2226                }
2227            });
2228        }
2229
2230        function getMemberTotalToken() {
2231            $("#total_token").html("<img src='images/common/load-indicator.gif' style='width:15px'>");
2232
2233            $.ajax({
2234                type: 'POST',
2235                url: '../ajaxData/proc_getMemberToken',
2236                cache: false,
2237                dataType: 'json',
2238                success: function (d) {
2239                    if (d.errCode == "0") {
2240                        $("#top_token").html(parseFloat(d.data));
2241                        $("#total_token").html(parseFloat(d.data));
2242                    }
2243                    else {
2244                        showErrorMessage(d.errCode, d.errMsg);
2245                    }
2246                },
2247                error: function (jqXHR, textStatus, errorThrown) {
2248                    $("#total_token").html("Under Maintenance");
2249                },
2250                complete: function () {
2251                    //$("#clicktoviewtoken").css("display", "");
2252                }
2253            });
2254        }
2255
2256        function getMemberTotalPoint() {
2257            $("#total_point").html("<img src='images/common/load-indicator.gif' style='width:15px'>");
2258
2259            $.ajax({
2260                type: 'POST',
2261                url: '../ajaxData/proc_getMemberPoint',
2262                cache: false,
2263                dataType: 'json',
2264                success: function (d) {
2265                    if (d.errCode == "0")
2266                        $("#total_point").html(parseFloat(d.data));
2267                    //$("#total_point").html(parseFloat(d.data).toFixed(2));
2268                    else
2269                        showErrorMessage(d.errCode, d.errMsg);
2270                },
2271                error: function (jqXHR, textStatus, errorThrown) {
2272                    $("#total_point").html("Under Maintenance");
2273                },
2274                complete: function () {
2275                    //$("#clicktoviewtoken").css("display", "");
2276                }
2277            });
2278        }
2279
2280        function getMainWallet() {
2281            $("#transfer_main3").html("<img src='images/common/load-indicator.gif' style='width:15px'>");
2282            $.ajax({
2283                type: 'POST',
2284                url: '../ajaxData/proc_getMemberBalance',
2285                cache: false,
2286                dataType: 'json',
2287                success: function (d) {
2288                    if (d.errCode == "0") {
2289                        $("#w_bal_main").html(parseFloat(d.data).toFixed(2));
2290                        $("#w_bal_main1").html(parseFloat(d.data).toFixed(2));
2291                        $("#w_bal_main2").html(parseFloat(d.data).toFixed(2));
2292                        $("#w_bal_main3").html(parseFloat(d.data).toFixed(2));
2293                        $("#transfer_main").val(parseFloat(d.data).toFixed(2));
2294                        $("#transfer_main2").html(parseFloat(d.data).toFixed(2));
2295                        $("#transfer_main3").html(parseFloat(d.data).toFixed(2));
2296                        $("#quick_transfer_max").html(parseFloat(d.data).toFixed(2));
2297                        $("#quick_transfer_range").attr("max", parseFloat(d.data).toFixed(2));
2298                    }
2299                    else {
2300                        showErrorMessage(d.errCode, d.errMsg);
2301                    }
2302                },
2303                error: function (jqXHR, textStatus, errorThrown) {
2304                    $("#w_bal_main").html("Maintenance");
2305                    $("#transfer_main").val("Maintenance");
2306                }
2307            });
2308        }
2309
2310        function getProductBalance(productCode) {
2311            $.ajax({
2312                type: 'POST',
2313                url: '../ajaxData/proc_getCCLBalance',
2314                async: true,
2315                cache: false,
2316                data: { "p_code": productCode },
2317                dataType: 'json',
2318                success: function (d) {
2319                    if (d.errCode == 0)
2320                        $("#w_bal_" + productCode).html(parseFloat(d.data).toFixed(2));
2321                    else
2322                        $("#w_bal_" + productCode).html("Maintenance");
2323                },
2324                error: function (jqXHR, textStatus, errorThrown) {
2325                    $("#w_bal_" + productCode).html("Maintenance");
2326                }
2327            });
2328        }
2329        ////////// End TRANSACTION
2330
2331        ////////// Start PRODUCT CREDENTIAL
2332        function getGameUsername(prod_code) {
2333            $.ajax({
2334                type: 'POST',
2335                url: '../ajaxData/proc_getProductUsername',
2336                cache: false,
2337                dataType: 'json',
2338                data: { "p_code": prod_code },
2339                success: function (d) {
2340                    if (d.errCode == "0") {
2341                        $('#' + prod_code + '_username').html(d.data);
2342                        $('#' + prod_code + '_username1').html(d.data);
2343                    } else {
2344                        alert(d.errMsg);
2345                    }
2346                },
2347                error: function (jqXHR, textStatus, errorThrown) {
2348                    alert("Unknown error, Please contact our customer service");
2349                }
2350            });
2351        }
2352
2353        function getGamePassword(prod_code) {
2354            $.ajax({
2355                type: 'POST',
2356                url: '../ajaxData/proc_getdlClientInfo',
2357                cache: false,
2358                dataType: 'json',
2359                data: { "p_code": prod_code },
2360                success: function (d) {
2361                    if (d.errCode == "0") {
2362                        $('#' + prod_code + '_password').html(d.data);
2363                        $('#' + prod_code + '_password1').html(d.data);
2364                    } else {
2365                        alert(d.errMsg);
2366                    }
2367                },
2368                error: function (jqXHR, textStatus, errorThrown) {
2369                    alert("Unknown error, Please contact our customer service");
2370                }
2371            });
2372        }
2373
2374        function getSlotUsername(prod_code) {
2375            $.ajax({
2376                type: 'POST',
2377                url: '../ajaxData/proc_getProductUsername',
2378                cache: false,
2379                dataType: 'json',
2380                data: { "p_code": prod_code },
2381                success: function (d) {
2382                    if (d.errCode == "0") {
2383                        $('#' + prod_code + '_slot_username').html(d.data);
2384                    } else {
2385                        alert(d.errMsg);
2386                    }
2387                },
2388                error: function (jqXHR, textStatus, errorThrown) {
2389                    alert("Unknown error, Please contact our customer service");
2390                }
2391            });
2392        }
2393
2394        function getSlotPassword(prod_code) {
2395            $.ajax({
2396                type: 'POST',
2397                url: '../ajaxData/proc_getdlClientInfo',
2398                cache: false,
2399                dataType: 'json',
2400                data: { "p_code": prod_code },
2401                success: function (d) {
2402                    if (d.errCode == "0") {
2403                        $('#' + prod_code + '_slot_password').html(d.data);
2404                    } else {
2405                        alert(d.errMsg);
2406                    }
2407                },
2408                error: function (jqXHR, textStatus, errorThrown) {
2409                    alert("Unknown error, Please contact our customer service");
2410                }
2411            });
2412        }
2413
2414        function setGamePassword(prod_code) {
2415            $("#freezescreen").css("display", "");
2416
2417            if (prod_code == "K1") {
2418                var inputVal = $('#' + prod_code + '_new_password').val();
2419
2420                var hasUppercase = /[A-Z]/.test(inputVal);
2421                var hasLowercase = /[a-z]/.test(inputVal);
2422
2423                if (!hasUppercase) {
2424                    alert("Password must contain at least one uppercase letter.");
2425                    $("#freezescreen").css("display", "none");
2426                    return; // stop further execution
2427                }
2428
2429                if (!hasLowercase) {
2430                    alert("Password must contain at least one lowercase letter.");
2431                    $("#freezescreen").css("display", "none");
2432                    return; // stop further execution
2433                }
2434            }
2435
2436            $.ajax({
2437                type: 'POST',
2438                url: '../ajaxData/proc_setdlClientInfo',
2439                cache: false,
2440                dataType: 'json',
2441                data: {
2442                    "p_code": prod_code, "p_pw": $('#' + prod_code + '_new_password').val()
2443                },
2444                success: function (d) {
2445                    if (d.errCode == "0") {
2446                        $("#" + prod_code + "_new_password").val();
2447                        $("#" + prod_code + "_new_password1").val();
2448                        getGamePassword(prod_code);
2449                    } else {
2450                        alert(d.errMsg);
2451                    }
2452                    $("#freezescreen").css("display", "none");
2453                },
2454                error: function (jqXHR, textStatus, errorThrown) {
2455                    alert("Unknown error, Please contact our customer service");
2456                    $("#freezescreen").css("display", "none");
2457                }
2458            });
2459
2460        }
2461
2462        function setGamePassword1(prod_code) {
2463            $("#freezescreen").css("display", "");
2464
2465            if (prod_code == "K1") {
2466                var inputVal = $('#' + prod_code + '_new_password1').val();
2467
2468                var hasUppercase = /[A-Z]/.test(inputVal);
2469                var hasLowercase = /[a-z]/.test(inputVal);
2470
2471                if (!hasUppercase) {
2472                    alert("Password must contain at least one uppercase letter.");
2473                    $("#freezescreen").css("display", "none");
2474                    return; // stop further execution
2475                }
2476
2477                if (!hasLowercase) {
2478                    alert("Password must contain at least one lowercase letter.");
2479                    $("#freezescreen").css("display", "none");
2480                    return; // stop further execution
2481                }
2482            }
2483
2484            $.ajax({
2485                type: 'POST',
2486                url: '../ajaxData/proc_setdlClientInfo',
2487                cache: false,
2488                dataType: 'json',
2489                data: {
2490                    "p_code": prod_code, "p_pw": $('#' + prod_code + '_new_password1').val()
2491                },
2492                success: function (d) {
2493                    if (d.errCode == "0") {
2494                        $("#" + prod_code + "_new_password").val();
2495                        $("#" + prod_code + "_new_password1").val();
2496                        getGamePassword(prod_code);
2497                    } else {
2498                        alert(d.errMsg);
2499                    }
2500                    $("#freezescreen").css("display", "none");
2501                },
2502                error: function (jqXHR, textStatus, errorThrown) {
2503                    alert("Unknown error, Please contact our customer service");
2504                    $("#freezescreen").css("display", "none");
2505                }
2506            });
2507
2508        }
2509        ////////// End PRODUCT CREDENTIAL
2510        function getPopupAnnouncement() {
2511
2512            var url = "../ajaxData/proc_getPopupAnnouncement";
2513            ajaxRequest("GET", url, null, getPopupAnnouncementDone, ajaxFail, ajaxAlways, false, false);
2514        }
2515
2516
2517        function getPopupAnnouncementDone(res, status, xhr) {
2518
2519            if (res.errCode == "0") {
2520                setCookies("push-noti", new Date().toTimeString(), 1);
2521
2522                if (!res.data.is_active) return;
2523
2524                if (res.data.d_image)
2525                    $("#popupAnnouncementModal .modal-body img").attr("src", res.data.d_image);
2526                else
2527                    $("#popupAnnouncementModal .modal-body img").hide();
2528
2529                if (res.data.title)
2530                    $("#popupAnnouncementModal .modal-title").text(res.data.title);
2531                if (res.data.description)
2532
2533                    $("#popupAnnouncementModal #modalDescription").html(res.data.description);
2534
2535                $("#popupAnnouncementModal").modal();
2536                $(".modal-backdrop.in").css({ opacity: 0 });
2537            }
2538        }
2539
2540        function ajaxFail(err, status, xhr) {
2541            $("#freezescreen").hide();
2542            alert("Unknown error, Please contact our customer service");
2543        }
2544
2545        function ajaxAlways(res, status, xhr) {
2546            if (res.errCode == "99") {
2547                alert("Session timeout. Please login again.");
2548                window.location = "/web/index";
2549            }
2550        }
2551
2552        function setlanguage(language) {
2553            clearCookies("selected-lang");
2554            setCookies("selected-lang", language, "720");
2555            location.reload();
2556        }
2557
2558        function getLanguage() {
2559            var menu = "";
2560            var currentLanguage = "";
2561
2562            if (getCookie("selected-lang") == "en-US") {
2563
2564                currentLanguage = "<img src='images/common/flg-en.png'/>";
2565                menu = "<li><a href='#' id = " + "zh-CN" + "><img src='images/common/flg-cn.png' alt='' /></a></li>";
2566                menu += "<li><a href='#' id = " + "ms-MY" + "><img src='images/common/flg-my.png' alt='' /></a></li>";
2567            }
2568            else if (getCookie("selected-lang") == "zh-CN") {
2569                currentLanguage = "<img src='images/common/flg-cn.png' alt='' />";
2570                menu = "<li><a href='#' id = " + "en-US" + "><img src='images/common/flg-en.png' alt='' /></a></li>";
2571                menu += "<li><a href='#' id = " + "ms-MY" + "><img src='images/common/flg-my.png' alt='' /</a></li>";
2572            }
2573
2574            else {
2575                currentLanguage = "<img src='images/common/flg-my.png' alt='' />";
2576                menu = "<li><a href='#' id = " + "en-US" + "><img src='images/common/flg-en.png' alt='' /></a></li>";
2577                menu += "<li><a href='#' id = " + "zh-CN" + "><img src='images/common/flg-cn.png' alt='' /></a></li>";
2578            }
2579
2580            $("#lang-menu").html(menu);
2581
2582            $("#selected-lang").html(currentLanguage);
2583            //$("#selected-lang").append("<div class='btn-caret'><b class='caret' ></b ></div>");
2584
2585            $("#lang-menu li a").click(function () {
2586                var value = $(this).attr("id");
2587                setlanguage(value);
2588            });
2589        }
2590
2591        function redirectGS1Page() {
2592                 
2593            alert("Please login first.");
2594     
2595        }
2596
2597        function checkEligibleForLivestream() {
2598            $.ajax({
2599                type: 'POST',
2600                url: '/ajaxData/proc_checkSABAStreamerQuota',
2601                success: function (d) {
2602                    if (d.data.isExist) {
2603                        var $fi = $('#float-icon');
2604                        var size = {
2605                            width: '150px',
2606                            height: '150px'
2607                        }
2608                        initFloatIcon($fi, size);
2609
2610                        var targetDate = '2026-06-19'; // YYYY-MM-DD
2611                        var now = new Date();
2612                        if (now.toDateString() === new Date(targetDate).toDateString()) {
2613                            var fiEl = document.getElementById('float-icon');
2614                            fiEl.addEventListener('click', function (e) {
2615                                if (e.target.closest('.close1')) return; // let X still close
2616                                e.preventDefault();
2617                                e.stopImmediatePropagation();          // kills executeCommand's handler
2618                                window.location.href = '/web/launchGames2?url=/SB/IB/0/0';
2619                            }, true); // <-- capture phase = the whole trick
2620                        }
2621                    }
2622                },
2623                error: function () {
2624                    showStreamerError('99', 'Unable to load matches. Please try again.');
2625                }
2626            });
2627        }
2628    </script>
2628
2629    <!--Start of Tawk.to Script-->
2630<script type="text/javascript">
2631var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date();
2632(function(){
2633var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0];
2634s1.async=true;
2635s1.src='https://embed.tawk.to/619de4116885f60a50bd47dd/1fl8c5q33';
2636s1.charset='UTF-8';
2637s1.setAttribute('crossorigin','*');
2638s0.parentNode.insertBefore(s1,s0);
2639})();
2640</script>
2640
2641<!--End of Tawk.to Script-->
2642</body>
2643</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.