Judi Bola Online, Bandar Bola, Agen Bola, Taruhan Bola Terpercaya
Bandar Judi Bola Online, Bandar Bola, Agen Bola, Taruhan Bola Terpercaya di Indonesia
Agen Judi Bola Online, Bandar Bola, Agen Bola, Taruhan Bola Terpercaya Support 24 Jam online


Copyright © TaruhanKu. All rights reserved.
'; }); if($('#show-multi-wallets div').length == 0){ $('#show-multi-wallets').append(html); } } }); } function updateBalance() { jQuery('.refreshing').attr('class', 'fa fa-spinner fa-pulse refreshing'); jQuery.ajax({ type: 'GET', url: '/amount?', dataType: "json", success: function(data) { document.getElementById('animate').style.display="inline-block"; document.getElementById('load').style.display="none"; setTimeout(function(){ document.getElementById('animate').style.display="none"; document.getElementById('load').style.display="inline-block"; jQuery('.refreshing').removeClass('fa fa-spinner fa-pulse'); }, 800); const betBalance = parseFloat(data.foundBalance.BetCredit); jQuery('.balance-amount').text( betBalance.toFixed(2) ); const wallets = data.wallets; let html = ""; wallets.forEach(wallet => { html += '
'+ wallet.WalletName +'' + ''+ (wallet.BetCredit).toFixed(2) +' 
'; }); setTimeout(function(){ $('#show-multi-wallets').html('').append(html); }, 800); }, error: function () { document.getElementById('animate').style.display="inline-block"; document.getElementById('load').style.display="none"; setTimeout(function(){ document.getElementById('animate').style.display="none"; document.getElementById('load').style.display="inline-block"; jQuery('.refreshing').removeClass('fa fa-spinner fa-pulse'); }, 800); } }); jQuery.ajax({ type: 'GET', url: '/gameProviderGetBalance?', dataType: "json", data: { WalletType: 2 }, async:false, success: function(data) { const balance = parseFloat(data.balance); jQuery('#SboWallet').text( balance.toFixed(2) ); } }); transferBalance(); } date_time('date_time'); function pad2(n) { return n 11) { representString = 'PM'; } let minute = pad2(singaporeTime.getMinutes()); let second = pad2(singaporeTime.getSeconds()); let result = year + '/' + month + '/' + day +' '+ hour + ':' + minute + ':' + second + '' + representString +' GMT+8'; var ele = document.getElementById(id); if(ele !== null){ ele.innerHTML = result; } setTimeout('date_time("'+id+'");','1000'); return true; } function myFunction() { let lang = $("#promotion").attr("title"); let displayEn = 'none'; let displayKh = 'inline'; if(lang == 'en'){ displayEn = 'inline'; displayKh = 'none'; } var myWindow = window.open("http://www.playtku.com/promotion", "promotion", "width=792,height=872"); } function joinNow(url) { popupWindow = window.open( "http://www.playtku.com/join-now","joinnow",'height=780,width=850,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=center,directories=no,status=yes') } function myBet(url) { popupWindow = window.open( "http://www.playtku.com/mybet","mybets",'height=520,width=1020,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=center,directories=no,status=yes') } function Referral(url) { popupWindow = window.open( "http://www.playtku.com/referral","referral",'height=800,width=850,resizable=no,scrollbars=yes,toolbar=yes,menubar=no,location=center,directories=no,status=yes'); } function deposit() { popupWindow = window.open( "http://www.playtku.com/deposit","deposit",'height=780,width=1000,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=center,directories=no,status=yes') } function balance() { popupWindow = window.open( "http://www.playtku.com/balance","balance",'height=520,width=1000,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=center,directories=no,status=yes') } function clickamount(){ popupWindow = window.open( "http://www.playtku.com/profile","amount",'height=520,width=1000,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=center,directories=no,status=yes') } // new function clikcpromo(){ popupWindow = window.open( "http://www.playtku.com/statement","promotion",'height=520,width=1000,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=center,directories=no,status=yes') } function clickGameDetail(url){ popupWindow = window.open(url, "gamedetail", 'height=680,width=850,resizable=no,scrollbars=yes,toolbar=yes,menubar=no,location=center,directories=no,status=yes'); } function initialGameLoading() { let game_tab = 'casino' ; if (game_tab === 'sports') { var loading_img = 'http://www.playtku.com/common/image/loading.gif'; var wrap_imagewth = '320px'; var image_width = '320px'; var bg = '#172027'; }else if (game_tab === 'virtual') { var loading_img = 'http://www.playtku.com/common/image/virtual_sport.gif'; var wrap_imagewth = '255px'; var image_width = '255px'; var bg = '#000000'; $('.loading_indicator').css('background-color','#000000'); }else if (game_tab === 'casino') { var loading_img = 'http://www.playtku.com/common/image/live_casino.gif'; var wrap_imagewth = '150px'; var image_width = '150px'; var bg = '#172027'; } $('.main-loading').append( '
Loading...
' ); } $('.choose-version').on('click', function(){ $(this).next('.hover-version-check').attr('style', 'display:flex'); }); $('.close-choose-version').on('click', function(){ $('.hover-version-check').hide(); }); $('.load-mobile-game').on('click', function() { const game_name = $(this).data('game-name'); const url = 'http://www.playtku.com/mobile/game/detail'+'/'+game_name; window.open(url, '_blank', 'scrollbars=yes, resizable=0,top=-1500,left=0,width=600,height=800'); // $.ajax({ // method: 'get', // url: url, // beforeSend: () => { // // $('.loading_indicator').nextAll().remove(); // // $('.loading_indicator').show(); // }, // success: () => { // //window.open(url); // window.open(url, "gamedetail", 'height=800,width=600,resizable=no,scrollbars=no,toolbar=no,menubar=no,location=center,directories=no,status=no'); // //window.location.href=url // }, // error: () => { // window.history.back(); // } // }); }); $('.load-game-mobile-version').on('click', function() { const game_name = $(this).data('game-name'); const game_version = $(this).data('game-version'); const url = 'http://www.playtku.com/game/detail/version'+'/'+game_name +'/'+game_version; window.open(url, '_blank', 'scrollbars=yes, resizable=0,top=-1500,left=0,width=600,height=800'); }); function clickGameLink(url){ if(url.includes("detail/15?")){ $.ajax({ url : url, beforeSend: function() { popupWindow = window.open('loading', "gamedetail", 'height=800,width=600,resizable=no,scrollbars=no,toolbar=no,menubar=no,location=center,directories=no,status=no'); }, success: function(data){ popupWindow = window.open(data['dataUrl'], "gamedetail", 'height=800,width=600,resizable=no,scrollbars=no,toolbar=no,menubar=no,location=center,directories=no,status=no'); } }); } else{ $.ajax({ url : url, beforeSend: function() { popupWindow = window.open('loading', "gamedetail", 'height=800,width=1200,resizable=no,scrollbars=no,toolbar=no,menubar=no,location=center,directories=no,status=no'); }, success: function(data){ popupWindow = window.open(data['dataUrl'], "gamedetail", 'height=800,width=1200,resizable=no,scrollbars=no,toolbar=no,menubar=no,location=center,directories=no,status=no'); } }); } } function clickLanguage(){ var el = document.getElementById('lang-drop-down-ul'); el.style.display = ( el.style.display == 'none' ) ? 'block' : 'none'; } function clickDeposit(nameURL) { if(nameURL=='withdrawal'){ $(".xhistory").removeClass("active"); $(".xwithdrawal").addClass("active"); $(".xdeposit").removeClass("active"); }else{ $(".xhistory").addClass("active"); $(".xwithdrawal").removeClass("active"); $(".xdeposit").removeClass("active"); } var i; var x = document.getElementsByClassName("message"); for (i = 0; i { if (data.status == "Success") { toastr.success(data.message, '', { timeOut: 2000 }); }else { toastr.error(data.message, '', { timeOut: 2000 }); } } }); }); $( document ).ready(function() { $('.cancel_promotion_request').on('click', function() { const promotion = $(this).data('promotion'); const RequestId = promotion['RequestId']; const Amount = promotion['VerifiedAmount']; const Turnover = promotion['CurrentTurnover']; const FromStatus = promotion['Status']; const ToStatus = "Cancelled"; const Remark = promotion['Remark']; const obj = { RequestId, Amount, Turnover, FromStatus, ToStatus, Remark, _token: $('meta[name="csrf-token"]').attr('content') }; $.ajax({ type: 'post', url: '/statement/proceed-promotion?', data: obj, success: (data) => { if( data.ErrorCode == 0 ) { toastr.success(data.Message, '', { timeOut: 1000, onHidden: function () { location.reload(); } }); }else { toastr.error( data.ErrorCode == 999 ? data.ErrorMessage : data.Message ); } }, error: (data) => { toastr.error('Failed to cancel promotion request.'); } }); }); }); function isEllipsisActive(element) { return element.offsetWidth { if (isEllipsisActive(element)) { element.querySelector('.wrap-detail').innerHTML = ''; } }); $('.wrap-more').popover({ html: true, trigger: 'hover', placement: 'top', content: function(){ return $(this).attr("title"); } }); $.ajaxPrefilter(function( options, original_Options, jqXHR ) { options.async = true; }); // js for loading view window.addEventListener("load", function(){ $('.loading').addClass('hidden'); }); $('#btn-submit-to-login').click(function(){ getAjaxModalLogin(); }); function getAjaxModalLogin(){ let frmData = $('#login_modal_frm').serialize(); var geturl = $('.geturl').val(); if(!geturl){ geturl ='/'; } $.ajax({ type: 'post', url: 'login', data: frmData, success:function (data) { if(data.success === true) { window.location.href = geturl; }else { $('#user').addClass('is-invalid'); $('#passwd').addClass('is-invalid'); $('#err_msg').text(data.error); } }, error:function(resp){ const err = JSON.parse(resp.responseText); for(var i in err.errors) { toastr.error(err.errors[i][0]); } } }); }