Warning: Undefined array key "name" in D:\cdn.cueusa.com\incnei.php on line 140

Warning: Undefined array key "newen" in D:\cdn.cueusa.com\incnei.php on line 142

Warning: Undefined variable $htmlfile in D:\cdn.cueusa.com\incnei.php on line 333

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in D:\cdn.cueusa.com\incnei.php on line 333

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 382

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in D:\cdn.cueusa.com\incnei.php on line 382

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 382

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in D:\cdn.cueusa.com\incnei.php on line 382

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 382

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in D:\cdn.cueusa.com\incnei.php on line 382

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 382

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in D:\cdn.cueusa.com\incnei.php on line 382

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 382

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in D:\cdn.cueusa.com\incnei.php on line 382

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 382

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in D:\cdn.cueusa.com\incnei.php on line 382

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 382

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in D:\cdn.cueusa.com\incnei.php on line 382

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 382

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in D:\cdn.cueusa.com\incnei.php on line 382

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 382

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in D:\cdn.cueusa.com\incnei.php on line 382

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 382

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in D:\cdn.cueusa.com\incnei.php on line 382

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 382

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in D:\cdn.cueusa.com\incnei.php on line 382

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 382

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in D:\cdn.cueusa.com\incnei.php on line 382

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 382

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in D:\cdn.cueusa.com\incnei.php on line 382

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 382

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in D:\cdn.cueusa.com\incnei.php on line 382

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 382

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in D:\cdn.cueusa.com\incnei.php on line 382

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Cannot modify header information - headers already sent by (output started at D:\cdn.cueusa.com\incnei.php:383) in D:\cdn.cueusa.com\incnei.php on line 957
$(function(){ $(".talkingBox").addClass("default"); $(".min").click(function(){$(".talkingBox").removeClass("maxBox").addClass("minBox");$(this).hide();}); $(".max").click(function(){ if ($(".talkingBox").hasClass("minBox")) { $(".talkingBox").removeClass("minBox").addClass("default"); $(".min").show(); }else if ($(".talkingBox").hasClass("default")){ $(".talkingBox").removeClass("default").addClass("maxBox"); }else if ($(".talkingBox").hasClass("maxBox")){ $(".talkingBox").removeClass("maxBox").addClass("default"); } }); var windowWidth = $(window).width(); if (windowWidth < 768) { $(".talkingBox").addClass("minBox"); $(".top img").click(function(){ if ($(".talkingBox").hasClass("minBox")) { $(".talkingBox").removeClass("minBox");$(".min").show(); } }); $(".min").click(function(){$(".talkingBox").addClass("minBox");}); } setTimeout(function() { $('.talkingBox font').fadeOut(); $('.talking-bg').fadeOut(); }, 2000); $(".talk-vx").mouseover(function(){ $(".talk-vx-code").fadeIn(); }); if ($(".talk-tel").length<=0) { $(".talk-vx-code").css({"right":"15px"}); } $(".talk-vx").mouseout(function(){ $(".talk-vx-code").fadeOut(); }); $(".talk-tel").click(function(){ $(".talk-tel-box").fadeIn(); }); $(document).click(function(e){ var Talktel = $(".talk-tel-wrap"); if(!Talktel.is(e.target) && Talktel.has(e.target).length === 0){ $(".talk-tel-box").hide(); } }); }); var k = 0, c = "", n = 0, key = "", t = 0; function sockll() { $(".mk-chat-box").scrollTop($(".mk-chat-box")[0].scrollHeight); } var eee = new Error('err'); var stack = eee.stack || eee.sourceURL || eee.stacktrace || ''; var rgx = /(?:http|https|file):\/\/.*?\/.+?.js/, lujing = (rgx.exec(stack)||[])[0] || ''; lujing=lujing.replace("/js/chat.min.js",""); var send_btn = !0; function timestampToTime(timestamp) { var date = new Date(timestamp * 1000); var Y = date.getFullYear() + '-'; var M = (date.getMonth()+1 < 10 ? '0'+(date.getMonth()+1) : date.getMonth()+1) + '-'; var D = date.getDate() + ' '; var h = date.getHours() + ':'; var m = date.getMinutes() + ':'; var s = date.getSeconds(); if(Y&&M&&D&&h&&m&&s){ return Y+M+D+h+m+s; }else{ return ""; } } function send() { if ($("#send").hasClass("disabled")) return addtip(langjson.js46, "tips-info"), !1; var a = $("#msg").val(); if (1 > a.length) return !1; 0 == k && (t = 1); $("#send").addClass("disabled"); $.post(lujing+"/home/index/kefu?c=send&callback=?", { msg: a }, function(a) { $("#msg").val(""); addmsg(a.name, a.msg,a.time, "right"); setTimeout(function() { $("#send").removeClass("disabled") }, 5000); window.clearInterval(c); n = 0; c = setInterval(function() { get_msg(); }, 3000); }, "jsonp"); } function addtip(a, b) { $(".mk-chat-box").append('
' + a + "
"); sockll(); } function addmsg(a, b,hk, f) { window.clearInterval(c); $(".mk-chat-box").append('
' + a + '' + b + "
"); k=k+1; $.ajax({ type: "GET", url: lujing+"/home/index/starttime?type=1&callback=?", dataType: "jsonp", success: function(startf){ $(".top i").html(startf.data).addClass("langtime"); } }); sockll(); c = setInterval(function() { get_msg(); }, 3000) } function mp3(){ $('embed').remove(); $('body').append(''); } $(".top i").wrap(''); $.fn.textScroll=function(){ $(".top i").css({"position":"absolute"}); var p = $(this), c = p.children(), speed=3000; var cw = c.width(),pw=p.width(); var t = (cw / 100) * speed; var f = null, t1 = 0; function ani(tm) { counttime(); c.animate({ left: -cw }, tm, "linear", function () { c.css({ left: pw }); clearInterval(f); t1 = 0; t=((cw+pw)/100)*speed; ani(t); }); } function counttime() { f = setInterval(function () { t1 += 10; }, 10); } p.on({ mouseenter: function () { c.stop(false, false); clearInterval(f); }, mouseleave: function () { ani(t - t1); } }); ani(t); // console.log("done.") }; function get_msg() { n++; 90 < n && (window.clearInterval(c), c = setInterval(function() { get_msg(); }, 3000)); 150 < n && (window.clearInterval(c), $.ajax({type: "GET",url: lujing+"/home/index/starttime?type=2&callback=?",dataType: "jsonp",success: function(startf){$(".top i").html(startf.data);}}),$("#tips").remove(), $(".mk-chat-box").append('
'+langjson.js47+''+langjson.js48+'
'), sockll()); $.ajaxSettings.async = false; $.getJSON(lujing+"/home/index/kefu?c=msg&k=" + k+"&callback=?", function(a) { stype=a.stype; var b = "", f = a.list; token = a.token; a = a.count; for (var g = 0, h = f.length; g < h; g++) { var d = jQuery.parseJSON(f[g]); if ("sys" == d.type)"rebot" == d.msg ? (k = 0, $(".mk-chat-box").html('
'+langjson.js49+'
')) : b += '
' + d.msg + "
"; else { if(d.key==token){ var e = "right"; var biao="tubiao1"; }else{ if(d.key=="zidong"){ var e = "left"; var biao="tubiao2"; }else{ var e = "left"; var biao="tubiao3"; } if(k!=0){ $(".mk-chat-box").append("
" + d.name + ""+langjson.loading+"
"); $(".ssr").show(); sockll(); mp3(); } } b += '
' + d.name + '' + d.msg + "
"; } } k = a; setTimeout(function() { "" != b && (k = a, $(".ssr").hide().remove(),$(".mk-chat-box").append(b), sockll()); }, 3000); },"jsonp"); // $.ajaxSettings.async = true; } $(document).ready(function() { $('.talk').show(); stype=1; get_msg(); sockll(); setTimeout(function(){ $(".langwrap").textScroll(); },3000); if(stype==1){ c = setInterval(function() { get_msg(); }, 3000); } $("#msg").on("keypress", function(a) { if (13 == a.keyCode) return send(), !1 }); $.ajax({ type: "GET", url: lujing+"/home/index/starttime?type=1&callback=?", dataType: "jsonp", success: function(startf){ $(".top i").html(startf.data).addClass("langtime"); } }); $(".mk-chat-box").on("click", "#fresh", function() { $.ajax({ type: "GET", url: lujing+"/home/index/starttime?type=1&callback=?", dataType: "jsonp", success: function(startf){ $(".top i").html(startf.data).addClass("langtime"); } }); window.clearInterval(c); n = 0; $("#tips").remove(); $(".mk-chat-box").append('
'+langjson.success+'
'); sockll(); c = setInterval(function() { get_msg(); }, 3000); }) }); // function LetterAvatar(a, b, f) { // b = b || 60; // var g = "#1abc9c #2ecc71 #3498db #9b59b6 #34495e #16a085 #27ae60 #2980b9 #8e44ad #38f #f1c40f #e67e22 #e74c3c #00bcd4 #95a5a6 #f39c12 #d35400 #ed1b23 #bdc3c7 #7f8c8d".split(" "); // a = String(a || "").split(" "); // a = 1 == a.length ? a[0] ? a[0].charAt(0) : "?" : a[0].charAt(0) + a[1].charAt(0); // window.devicePixelRatio && (b *= window.devicePixelRatio); // var h = (("?" == a ? 72 : a.charCodeAt(0)) - 64) % 20; // var d = document.createElement("canvas"); // d.width = b; // d.height = b; // var e = d.getContext("2d"); // e.fillStyle = f ? f : g[h - 1]; // e.fillRect(0, 0, d.width, d.height); // e.font = Math.round(d.width / 3) + "px 'Microsoft Yahei'"; // e.textAlign = "center"; // e.fillStyle = "#FFF"; // e.fillText(a, b / 2, b / 1.5); // return d.toDataURL() // }; var wait=60; if ($("#phonesend").length>0) { document.getElementById("phonesend").disabled = false; } function smstime(o) { if (wait == 0) { o.removeAttribute("disabled"); o.innerHTML=langjson.send; wait = 60; } else { o.setAttribute("disabled", true); o.innerHTML= wait + "s"; wait--; setTimeout(function() { smstime(o); }, 1000); } } function smstime2(o) { if (wait == 0) { o.removeAttribute("disabled"); o.innerHTML=langjson.click; wait = 60; } else { o.setAttribute("disabled", true); o.innerHTML= wait + "s"; wait--; setTimeout(function() { smstime2(o); }, 1000); } } function sendsmsph(phonemsg){ $.ajax({ type: "POST", url: lujing+"/home/index/sms_phone", data: {mobile:phonemsg}, dataType: "json", async: false, success: function(data){ if(data.status==2){ alert(data.message); } } }); } // quhao $(function(){ $(document).click(function(e){ var selectUl = $(".p-select ul"); var selectUl = $("#choice"); if(!selectUl.is(e.target) && selectUl.has(e.target).length === 0){ $(".p-select ul").hide(); } }); $("#choice").click(function(){ $(".p-select ul").show(); $("#choice").addClass("choice-active"); }); $(".p-select ul li").click(function(){ var choiceNum = $(this).val(); $(".p-select ul").hide(); var flag = $(this).children("i").css("background-position"); var city = $(this).attr("data-lang"); $("#choice").html(city+' ').css({"background-position":flag}).attr("title",'+'+choiceNum+' ').addClass("choice-icon").removeClass("choice-active"); $("#phonemsg").val('+'+choiceNum+''); }); }); $("#phonesend").click(function(){ if($("#choice").hasClass("choice-icon")){ var phonemsg=$("#phonemsg").val(); console.log(phonemsg); if(!phonemsg){ alert(langjson.phone); return false; } phonemsg.replace("——","-"); if(!(/^(\+?(\d+))|((\w+)\@(\w+)\.(\w+))$/.test(phonemsg))){ alert(langjson.tj); return false; } smstime(this); sendsmsph(phonemsg); }else{ alert(langjson.js51) } }); $("#phonesend1").click(function(){ var phonemsg=$(".phonemsg1").val(); if(!phonemsg){ alert(langjson.phone); return false; } phonemsg.replace("——","-"); if(!(/^(\+?(\d+))|((\w+)\@(\w+)\.(\w+))$/.test(phonemsg))){ alert(langjson.tj); return false; } smstime2(this); sendsmsph(phonemsg); }); $("#phonesend2").click(function(){ var phonemsg=$("#phonemsg2").val(); if(!phonemsg){ alert(langjson.phone); return false; } phonemsg.replace("——","-"); if(!(/^(\+?(\d+))|((\w+)\@(\w+)\.(\w+))$/.test(phonemsg))){ alert(langjson.tj); return false; } smstime2(this); sendsmsph(phonemsg); }); $("#phonesend3").click(function(){ var phonemsg=$("#phonemsg3").val(); if(!phonemsg){ alert(langjson.phone); return false; } phonemsg.replace("——","-"); if(!(/^(\+?(\d+))|((\w+)\@(\w+)\.(\w+))$/.test(phonemsg))){ alert(langjson.tj); return false; } smstime2(this); sendsmsph(phonemsg); });