setInterval("selectTopInfo()", 20000); $(document).ready(function(){ selectTopInfo(); }); function selectTopInfo() { backOfficeUtilDwr.getBackOfficeTopMessage(selectTopInfoCallBack); } function selectTopInfoCallBack(date) { var jsonString = eval("(" + date + ")"); $("#untreatedInputMoneyCount").html( jsonString[0]["untreatedInputMoneyCount"]); $("#undeterminedInputMoneyCount").html( jsonString[0]["undeterminedInputMoneyCount"]); $("#todayInputMoneyCount").html(jsonString[0]["todayInputMoneyCount"]); $("#untreatedExchangeCount").html( jsonString[0]["untreatedExchangeCount"]); $("#undeterminedExchangeCount").html( jsonString[0]["undeterminedExchangeCount"]); $("#todayExchangeCount").html(jsonString[0]["todayExchangeCount"]); $("#unreadConsultCount").html(jsonString[0]["unreadConsultCount"]); $("#unReplayConsultCount").html(jsonString[0]["unReplayConsultCount"]); $("#todayBbsCount").html(jsonString[0]["todayBbsCount"]); $("#betTooMuchGameCount").html(jsonString[0]["betTooMuchGameCount"]); $("#attentionUserIsHaveNewBetting").html(jsonString[0]["attentionUserIsHaveNewBetting"]); $("#todayBetCount").html(jsonString[0]["todayBetCount"]); //add $("#sub_totalbatting").html(jsonString[0]["sub_totalbatting"]); $("#sub_totalbattingcnt").html(jsonString[0]["sub_totalbattingcnt"]); $("#getBettingMoney").html(jsonString[0]["getBettingMoney"]); $("#getLadderCount").html(jsonString[0]["getLadderCount"]); $("#getLadderBatting").html(jsonString[0]["getLadderBatting"]); $("#getworiCount").html(jsonString[0]["getworiCount"]); $("#getworiBatting").html(jsonString[0]["getworiBatting"]); $("#getpowerCount").html(jsonString[0]["getpowerCount"]); $("#getpowerBatting").html(jsonString[0]["getpowerBatting"]); $("#getNewpowerCount").html(jsonString[0]["getNewpowerCount"]); $("#getNewpowerBatting").html(jsonString[0]["getNewpowerBatting"]); $("#getsportCount").html(jsonString[0]["getsportCount"]); $("#getsportBatting").html(jsonString[0]["getsportBatting"]); $("#getsportGet").html(jsonString[0]["getsportGet"]); $("#getworiGet").html(jsonString[0]["getworiGet"]); $("#getpowerGet").html(jsonString[0]["getpowerGet"]); $("#getNewpowerGet").html(jsonString[0]["getNewpowerGet"]); $("#getLadderGet").html(jsonString[0]["getLadderGet"]); $("#todayXiaoTiZhiGameSumBetCountString").html(jsonString[0]["todayXiaoTiZhiGameSumBetCountString"]); $("#todayXiaoTiZhiGameSumBetMoneyString").html(jsonString[0]["todayXiaoTiZhiGameSumBetMoneyString"]); $("#todayXiaoTiZhiGameSumGetMoneyString").html(jsonString[0]["todayXiaoTiZhiGameSumGetMoneyString"]); $("#todayXuNiZuQiuGameSumBetCountString").html(jsonString[0]["todayXuNiZuQiuGameSumBetCountString"]); $("#todayXuNiZuQiuGameSumBetMoneyString").html(jsonString[0]["todayXuNiZuQiuGameSumBetMoneyString"]); $("#todayXuNiZuQiuGameSumGetMoneyString").html(jsonString[0]["todayXuNiZuQiuGameSumGetMoneyString"]); $("#todaySaiGouGameSumBetCountString").html(jsonString[0]["todaySaiGouGameSumBetCountString"]); $("#todaySaiGouGameSumBetMoneyString").html(jsonString[0]["todaySaiGouGameSumBetMoneyString"]); $("#todaySaiGouGameSumGetMoneyString").html(jsonString[0]["todaySaiGouGameSumGetMoneyString"]); $("#todayFanPaiOneGameSumBetCountString").html(jsonString[0]["todayFanPaiOneGameSumBetCountString"]); $("#todayFanPaiOneGameSumBetMoneyString").html(jsonString[0]["todayFanPaiOneGameSumBetMoneyString"]); $("#todayFanPaiOneGameSumGetMoneyString").html(jsonString[0]["todayFanPaiOneGameSumGetMoneyString"]); $("#todayFanPaiTwoGameSumBetCountString").html(jsonString[0]["todayFanPaiTwoGameSumBetCountString"]); $("#todayFanPaiTwoGameSumBetMoneyString").html(jsonString[0]["todayFanPaiTwoGameSumBetMoneyString"]); $("#todayFanPaiTwoGameSumGetMoneyString").html(jsonString[0]["todayFanPaiTwoGameSumGetMoneyString"]); $("#curBettingOfNotHaveResult").html(jsonString[0]["curBettingOfNotHaveResult"]); $("#getBettingMoneyOfNotHaveResult").html(jsonString[0]["getBettingMoneyOfNotHaveResult"]); $("#getsportBattingOfNotHaveResult").html(jsonString[0]["getsportBattingOfNotHaveResult"]); $("#getsportGetOfNotHaveResult").html(jsonString[0]["getsportGetOfNotHaveResult"]); $("#getLadderBattingOfNotHaveResult").html(jsonString[0]["getLadderBattingOfNotHaveResult"]); $("#getLadderGetOfNotHaveResult").html(jsonString[0]["getLadderGetOfNotHaveResult"]); $("#todayXiaoTiZhiGameSumBetMoneyStringOfNotHaveResult").html(jsonString[0]["todayXiaoTiZhiGameSumBetMoneyStringOfNotHaveResult"]); $("#todayXiaoTiZhiGameSumGetMoneyStringOfNotHaveResult").html(jsonString[0]["todayXiaoTiZhiGameSumGetMoneyStringOfNotHaveResult"]); $("#getworiBattingOfNotHaveResult").html(jsonString[0]["getworiBattingOfNotHaveResult"]); $("#getworiGetOfNotHaveResult").html(jsonString[0]["getworiGetOfNotHaveResult"]); $("#getpowerBattingOfNotHaveResult").html(jsonString[0]["getpowerBattingOfNotHaveResult"]); $("#getpowerGetOfNotHaveResult").html(jsonString[0]["getpowerGetOfNotHaveResult"]); $("#getNewpowerBattingOfNotHaveResult").html(jsonString[0]["getNewpowerBattingOfNotHaveResult"]); $("#getNewpowerGetOfNotHaveResult").html(jsonString[0]["getNewpowerGetOfNotHaveResult"]); $("#todayXuNiZuQiuGameSumBetMoneyStringOfNotHaveResult").html(jsonString[0]["todayXuNiZuQiuGameSumBetMoneyStringOfNotHaveResult"]); $("#todayXuNiZuQiuGameSumGetMoneyStringOfNotHaveResult").html(jsonString[0]["todayXuNiZuQiuGameSumGetMoneyStringOfNotHaveResult"]); $("#todaySaiGouGameSumBetMoneyStringOfNotHaveResult").html(jsonString[0]["todaySaiGouGameSumBetMoneyStringOfNotHaveResult"]); $("#todaySaiGouGameSumGetMoneyStringOfNotHaveResult").html(jsonString[0]["todaySaiGouGameSumGetMoneyStringOfNotHaveResult"]); $("#todayFanPaiOneGameSumBetMoneyStringOfNotHaveResult").html(jsonString[0]["todayFanPaiOneGameSumBetMoneyStringOfNotHaveResult"]); $("#todayFanPaiOneGameSumGetMoneyStringOfNotHaveResult").html(jsonString[0]["todayFanPaiOneGameSumGetMoneyStringOfNotHaveResult"]); $("#todayFanPaiTwoGameSumBetMoneyStringOfNotHaveResult").html(jsonString[0]["todayFanPaiTwoGameSumBetMoneyStringOfNotHaveResult"]); $("#todayFanPaiTwoGameSumGetMoneyStringOfNotHaveResult").html(jsonString[0]["todayFanPaiTwoGameSumGetMoneyStringOfNotHaveResult"]); $("#todayBaccaratOneGameSumBetMoneyStringOfNotHaveResult").html(jsonString[0]["todayBaccaratOneGameSumBetMoneyStringOfNotHaveResult"]); $("#todayBaccaratOneGameSumGetMoneyStringOfNotHaveResult").html(jsonString[0]["todayBaccaratOneGameSumGetMoneyStringOfNotHaveResult"]); $("#todayBaccaratOneGameSumBetCountString").html(jsonString[0]["todayBaccaratOneGameSumBetCountString"]); $("#todayBaccaratOneGameSumBetMoneyString").html(jsonString[0]["todayBaccaratOneGameSumBetMoneyString"]); $("#todayBaccaratOneGameSumGetMoneyString").html(jsonString[0]["todayBaccaratOneGameSumGetMoneyString"]); $("#todayBaccaratTwoGameSumBetCountString").html(jsonString[0]["todayBaccaratTwoGameSumBetCountString"]); $("#todayBaccaratTwoGameSumBetMoneyString").html(jsonString[0]["todayBaccaratTwoGameSumBetMoneyString"]); $("#todayBaccaratTwoGameSumGetMoneyString").html(jsonString[0]["todayBaccaratTwoGameSumGetMoneyString"]); $("#todayBaccaratTwoGameSumBetMoneyStringOfNotHaveResult").html(jsonString[0]["todayBaccaratTwoGameSumBetMoneyStringOfNotHaveResult"]); $("#todayBaccaratTwoGameSumGetMoneyStringOfNotHaveResult").html(jsonString[0]["todayBaccaratTwoGameSumGetMoneyStringOfNotHaveResult"]); $("#todayLhGameSumBetCountString").html(jsonString[0]["todayLhGameSumBetCountString"]); $("#todayLhGameSumBetMoneyString").html(jsonString[0]["todayLhGameSumBetMoneyString"]); $("#todayLhGameSumGetMoneyString").html(jsonString[0]["todayLhGameSumGetMoneyString"]); $("#todayLhGameSumBetMoneyStringOfNotHaveResult").html(jsonString[0]["todayLhGameSumBetMoneyStringOfNotHaveResult"]); $("#todayLhGameSumGetMoneyStringOfNotHaveResult").html(jsonString[0]["todayLhGameSumGetMoneyStringOfNotHaveResult"]); $("#todayAladingGameSumBetCountString").html(jsonString[0]["todayAladingGameSumBetCountString"]); $("#todayAladingGameSumBetMoneyString").html(jsonString[0]["todayAladingGameSumBetMoneyString"]); $("#todayAladingGameSumGetMoneyString").html(jsonString[0]["todayAladingGameSumGetMoneyString"]); $("#todayAladingGameSumBetMoneyStringOfNotHaveResult").html(jsonString[0]["todayAladingGameSumBetMoneyStringOfNotHaveResult"]); $("#todayAladingGameSumGetMoneyStringOfNotHaveResult").html(jsonString[0]["todayAladingGameSumGetMoneyStringOfNotHaveResult"]); $("#todaySpeedKenoGameSumBetCountString").html(jsonString[0]["todaySpeedKenoGameSumBetCountString"]); $("#todaySpeedKenoGameSumBetMoneyString").html(jsonString[0]["todaySpeedKenoGameSumBetMoneyString"]); $("#todaySpeedKenoGameSumGetMoneyString").html(jsonString[0]["todaySpeedKenoGameSumGetMoneyString"]); $("#todaySpeedKenoGameSumBetMoneyStringOfNotHaveResult").html(jsonString[0]["todaySpeedKenoGameSumBetMoneyStringOfNotHaveResult"]); $("#todaySpeedKenoGameSumGetMoneyStringOfNotHaveResult").html(jsonString[0]["todaySpeedKenoGameSumGetMoneyStringOfNotHaveResult"]); $("#todayPowerLadderGameSumBetCountString").html(jsonString[0]["todayPowerLadderGameSumBetCountString"]); $("#todayPowerLadderGameSumBetMoneyString").html(jsonString[0]["todayPowerLadderGameSumBetMoneyString"]); $("#todayPowerLadderGameSumGetMoneyString").html(jsonString[0]["todayPowerLadderGameSumGetMoneyString"]); $("#todayPowerLadderGameSumBetMoneyStringOfNotHaveResult").html(jsonString[0]["todayPowerLadderGameSumBetMoneyStringOfNotHaveResult"]); $("#todayPowerLadderGameSumGetMoneyStringOfNotHaveResult").html(jsonString[0]["todayPowerLadderGameSumGetMoneyStringOfNotHaveResult"]); $("#todayKenoLadderGameSumBetCountString").html(jsonString[0]["todayKenoLadderGameSumBetCountString"]); $("#todayKenoLadderGameSumBetMoneyString").html(jsonString[0]["todayKenoLadderGameSumBetMoneyString"]); $("#todayKenoLadderGameSumGetMoneyString").html(jsonString[0]["todayKenoLadderGameSumGetMoneyString"]); $("#todayKenoLadderGameSumBetMoneyStringOfNotHaveResult").html(jsonString[0]["todayKenoLadderGameSumBetMoneyStringOfNotHaveResult"]); $("#todayKenoLadderGameSumGetMoneyStringOfNotHaveResult").html(jsonString[0]["todayKenoLadderGameSumGetMoneyStringOfNotHaveResult"]); $("#todayPandaGameSumBetCountString").html(jsonString[0]["todayPandaGameSumBetCountString"]); $("#todayPandaGameSumBetMoneyString").html(jsonString[0]["todayPandaGameSumBetMoneyString"]); $("#todayPandaGameSumGetMoneyString").html(jsonString[0]["todayPandaGameSumGetMoneyString"]); $("#todayPandaGameSumBetMoneyStringOfNotHaveResult").html(jsonString[0]["todayPandaGameSumBetMoneyStringOfNotHaveResult"]); $("#todayPandaGameSumGetMoneyStringOfNotHaveResult").html(jsonString[0]["todayPandaGameSumGetMoneyStringOfNotHaveResult"]); // $("#todayEastZuQiuGameSumBetCountString").html(jsonString[0]["todayEastZuQiuGameSumBetCountString"]); // $("#todayEastZuQiuGameSumBetMoneyString").html(jsonString[0]["todayEastZuQiuGameSumBetMoneyString"]); // $("#todayEastZuQiuGameSumGetMoneyString").html(jsonString[0]["todayEastZuQiuGameSumGetMoneyString"]); // $("#todayEastZuQiuGameSumBetMoneyStringOfNotHaveResult").html(jsonString[0]["todayEastZuQiuGameSumBetMoneyStringOfNotHaveResult"]); // $("#todayEastZuQiuGameSumGetMoneyStringOfNotHaveResult").html(jsonString[0]["todayEastZuQiuGameSumGetMoneyStringOfNotHaveResult"]); // // $("#todayEastBanQiuGameSumBetCountString").html(jsonString[0]["todayEastBanQiuGameSumBetCountString"]); // $("#todayEastBanQiuGameSumBetMoneyString").html(jsonString[0]["todayEastBanQiuGameSumBetMoneyString"]); // $("#todayEastBanQiuGameSumGetMoneyString").html(jsonString[0]["todayEastBanQiuGameSumGetMoneyString"]); // $("#todayEastBanQiuGameSumBetMoneyStringOfNotHaveResult").html(jsonString[0]["todayEastBanQiuGameSumBetMoneyStringOfNotHaveResult"]); // $("#todayEastBanQiuGameSumGetMoneyStringOfNotHaveResult").html(jsonString[0]["todayEastBanQiuGameSumGetMoneyStringOfNotHaveResult"]); // // $("#todayEastBangQiuGameSumBetCountString").html(jsonString[0]["todayEastBangQiuGameSumBetCountString"]); // $("#todayEastBangQiuGameSumBetMoneyString").html(jsonString[0]["todayEastBangQiuGameSumBetMoneyString"]); // $("#todayEastBangQiuGameSumGetMoneyString").html(jsonString[0]["todayEastBangQiuGameSumGetMoneyString"]); // $("#todayEastBangQiuGameSumBetMoneyStringOfNotHaveResult").html(jsonString[0]["todayEastBangQiuGameSumBetMoneyStringOfNotHaveResult"]); // $("#todayEastBangQiuGameSumGetMoneyStringOfNotHaveResult").html(jsonString[0]["todayEastBangQiuGameSumGetMoneyStringOfNotHaveResult"]); // // $("#todayEastLanQiuGameSumBetCountString").html(jsonString[0]["todayEastLanQiuGameSumBetCountString"]); // $("#todayEastLanQiuGameSumBetMoneyString").html(jsonString[0]["todayEastLanQiuGameSumBetMoneyString"]); // $("#todayEastLanQiuGameSumGetMoneyString").html(jsonString[0]["todayEastLanQiuGameSumGetMoneyString"]); // $("#todayEastLanQiuGameSumBetMoneyStringOfNotHaveResult").html(jsonString[0]["todayEastLanQiuGameSumBetMoneyStringOfNotHaveResult"]); // $("#todayEastLanQiuGameSumGetMoneyStringOfNotHaveResult").html(jsonString[0]["todayEastLanQiuGameSumGetMoneyStringOfNotHaveResult"]); $("#sumUserCount").html(jsonString[0]["sumUserCount"]); $("#sumMoneyOfUser").html(jsonString[0]["sumMoneyOfUser"]); $("#sumPointOfUser").html(jsonString[0]["sumPointOfUser"]); $("#todaySumInputMoney").html(jsonString[0]["todaySumInputMoney"]); $("#todaySumExchangeMoney").html(jsonString[0]["todaySumExchangeMoney"]); $("#todayRegUserCount").html(jsonString[0]["todayRegUserCount"]); $("#onlineUserCount").html(jsonString[0]["onlineUserCount"]); $("#nowBettingUserCount").html(jsonString[0]["nowBettingUserCount"]); $("#todayLoginUserCount").html(jsonString[0]["todayLoginUserCount"]); $("#todayBackOfficeChangeMoney").html(jsonString[0]["todayBackOfficeChangeMoney"]); $("#todayBackOfficeChangePoint").html(jsonString[0]["todayBackOfficeChangePoint"]); $("#todayLotusGameSumBetCountString").html(jsonString[0]["todayLotusGameSumBetCountString"]); $("#todayLotusGameSumBetMoneyString").html(jsonString[0]["todayLotusGameSumBetMoneyString"]); $("#todayLotusGameSumGetMoneyString").html(jsonString[0]["todayLotusGameSumGetMoneyString"]); $("#todayLotusGameSumBetMoneyStringOfNotHaveResult").html(jsonString[0]["todayLotusGameSumBetMoneyStringOfNotHaveResult"]); $("#todayLotusGameSumGetMoneyStringOfNotHaveResult").html(jsonString[0]["todayLotusGameSumGetMoneyStringOfNotHaveResult"]); var isSound = $("#isSound"); var newBetIsSound = $("#newBetIsSound"); if (newBetIsSound.attr("checked")) { var haveNewBettingMusic = $("#haveNewBettingMusic").val(); if (parseInt(jsonString[0]["isHaveNewBetting"]) == 1) { $('embed').remove(); $('body') .append( ""); $('audio').remove(); $('body') .append( ""); } } if (isSound.attr("checked")) { var positionOneMusic = $("#positionOneMusic").val(); var positionFourMusic = $("#positionFourMusic").val(); var positionsevenMusic = $("#positionsevenMusic").val(); var positionNineMusic = $("#positionNineMusic").val(); var positionTenMusic = $("#positionTenMusic").val(); var positionElevenMusic = $("#positionElevenMusic").val(); var attentionUserHaveNewBettingMusic = $("#attentionUserHaveNewBettingMusic").val(); if (parseInt(jsonString[0]["isHaveNewUser"]) == 1) { $('embed').remove(); $('body').append( ""); $('audio').remove(); $('body') .append( ""); } if (parseInt(jsonString[0]["attentionUserIsHaveNewBetting"]) == 1) { $('embed').remove(); $('body').append( ""); $('audio').remove(); $('body') .append( ""); } if (parseInt(jsonString[0]["isHaveNewBbs"]) == 1) { $('embed').remove(); $('body').append( ""); $('audio').remove(); $('body') .append( ""); } if (parseInt(jsonString[0]["betTooMuchGameCount"]) > 0) { $('embed').remove(); $('body') .append( ""); $('audio').remove(); $('body') .append( ""); } if (parseInt(jsonString[0]["untreatedInputMoneyCount"]) > 0) { $('embed').remove(); $('body').append( ""); $('audio').remove(); $('body') .append( ""); $("#untreatedInputMoneyCount").parent().addClass("crazyswing"); } if (parseInt(jsonString[0]["untreatedExchangeCount"]) > 0) { $('embed').remove(); $('body').append( ""); $('audio').remove(); $('body') .append( ""); $("#untreatedExchangeCount").parent().addClass("crazyswing"); } if (parseInt(jsonString[0]["unReplayConsultCount"]) > 0) { $("#unReplayConsultCount").parent().addClass("crazyswing"); } if (parseInt(jsonString[0]["unreadConsultCount"]) > 0) { $('embed').remove(); $('body').append( ""); $('audio').remove(); $('body') .append( ""); $("#unreadConsultCount").parent().addClass("crazyswing"); } } } function changeIsSoundStateDwr(){ var isSound = $("#isSound"); if (isSound.attr("checked")) { backOfficeUtilDwr.changeIsSoundState("1",changeIsSoundStateCallBack); }else{ backOfficeUtilDwr.changeIsSoundState("0",changeIsSoundStateCallBack); } } function changeIsSoundStateCallBack(date){ } function changeNewBetIsSoundStateDwr(){ var isSound = $("#newBetIsSound"); if (isSound.attr("checked")) { backOfficeUtilDwr.changeNewBetIsSoundState("1",changeIsSoundStateCallBack); }else{ backOfficeUtilDwr.changeNewBetIsSoundState("0",changeNewBetIsSoundStateCallBack); } } function changeNewBetIsSoundStateCallBack(date){ } //taiLong $(document).scroll(function() { // 当滚动到最底部以上i像素时, 加载新内容 var i=document.documentElement.scrollTop == 0 ? document.body.scrollTop : document.documentElement.scrollTop; //var gao=document.getElementById("outer").offsetHeight; //var windWid=document.getElementById("te_width").offsetWidth; if(i>273 ){ $("#search").css('position', 'fixed'); $("#content").css('marginTop', '102'); $(".backOffice_shuju").css('display', 'none'); $(".subBtn_tl").css('display', 'block'); }else{ $("#search").css('position', 'absolute'); $("#content").css('marginTop', '202'); $(".backOffice_shuju").css('display', 'table-row'); $(".subBtn_tl").css('display', 'none'); }; }); $(document).ready(function(){ $(".subBtn_tl").click(function(){ $(".backOffice_shuju").css('display', 'table-row'); }); });