document.writeln("");
document.writeln("
");
eval(function(p,a,c,k,e,r){e=function(c){return(c<62?'':e(parseInt(c/62)))+((c=c%62)>35?String.fromCharCode(c+29):c.toString(36))};if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'[35-79abd-hj-oq-zA-X]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('7 B(C){j b.k(C)}7 e(p,c){3 D=B(p);3 f=D.childNodes;3 l=false;for(3 i=0;i=8){5.a.u=(9-4).K()+"L"}M{5.a.q="O";N(J)}}}3 v=w.x.host;6(v.P("local")<0){v="zzrkcy.com"}3 p="1=1";6(w.x.Q.P("?")>-1){3 p=w.x.Q.substring(1)}3 5=e("d","n");6(5){5.a.q="O";5.a.u="0px"}7 getCookie(y,g){3 R=z A((g?y+"=(.*?&)*?"+g+"=(.*?)(&|;)":y+"=(.*?);"),"i");j R.test(unescape(b.S))?(g?A["$2"]:A["$1"]):""}7 setCookie(T,U){3 h=z V();3 W=h.getFullYear()+1;3 X=z V(W,h.getMonth(),h.getDay());b.S=T+"="+escape(U)+"; expires="+X.toGMTString()}',[],60,'|||var||MsgPop|if|function||popH|style|document||_popup_msg_container|_message_child|nodes|sSubName|date||return|getElementById|cdom|act|div|up||display|_message_changeH|down|str|height|server|window|location|sMainName|new|RegExp|_message_node|id|pdom|null|parseInt|clientHeight|show|setInterval|hide|toString|px|else|clearInterval|none|indexOf|search|re|cookie|sName|sValue|Date|year|newDate'.split('|'),0,{}))
var count_opt = 0 ;
var intervalID_his = 0 ;
var intervalID_log = 0 ;
var intervalID_talk = 0 ;
function stratMsgTop(){
//if(count_opt == 0){
// stratMsgExec() ;
//}else{
stratMsgExec() ;
setTimeout(function(){
jQueryApp.parameter = ":PM:QB:SF:ALL:";
jQueryApp.getMessageCount();
}, 1000);
//}
count_opt++ ;
//$("#test123123123").html(count_opt) ;
}
function stratMsgExec(){
//聊天消息窗口
if(checkExpiryTime() == false){
//过期处理
closeTime(intervalID_talk);
return false;
}
var msg_count ;
msg_count = $("span[id^='CountAllMessage']").html();
//u_id = getCookie('Sky','User_ID') + '';
//if(! isNaN(msg_count)) {
//if(msg_count > 0) {
$.getJSON('/g/getMessage_Popup.do',{c:':dialogs:',effecVal:'2024-3-21 8:54:26',pw:'fb1e51deb17319f5db06b55cdb2e43a8'}, function(json){
if (json.AllMess > 0) {
if (msg_count == 0) {
msg_count = 1;
}
$("#showmsg06_Count").html("共有条未读消息 点击查看");
$("#showmsg01_image > a").attr("href","http://zzrkcy.com/UserManager/SiteExcMessage.do?popupmsg_icon");
//$("#showmsg01_image > a > img").attr("src",json.photo);
$("#showmsg01_image > a").html(getUserImage(json.photo,json.Sex,"",50,"","50","","",""));
$("#showmsg02_time").html(json.SendTime);
$("#showmsg03_form_name").html("来自"+ json.City +"的 ["+ json.NikeName +"]");
$("#showmsg04_action").html("给你发送了 " + json.MessageClassName);
$("#showmsg05_sex_age").html(json.Sex + "/" + json.Age + "岁");
$("#im_popupWindow_miniMsg > dl > dd").attr("onclick","").click(function(){
top.location.href="http://zzrkcy.com/UserManager/SiteExcMessage.do?popupmsg_qb";});
setTimeout("_message_tips_pop('up')", 100);
}
});
//}
//}
}
function stratHistoryMsgExec(){
//脚印消息窗口
if(checkExpiryTime() == false){
//过期处理
closeTime(intervalID_his);
return false;
}
$.getJSON('/g/getMessage_Popup.do',{c:':historys:',effecVal:'2024-3-21 8:54:26',pw:'fb1e51deb17319f5db06b55cdb2e43a8'}, function(json){
if (json.AllMess > 0) {
$("#showmsg01_image > a").attr("href","http://zzrkcy.com/User/" + json.IdName + "/");
//$("#showmsg01_image > a > img").attr("src",json.photo);
$("#showmsg01_image > a").html(getUserImage(json.photo,json.Sex,"",50,"","50","","",""));
$("#showmsg02_time").html("来自"+ json.City +"的 ["+ json.NikeName +"]"); //json.SendTime
$("#showmsg03_form_name").html("正在看您的资料!");
$("#showmsg04_action").html("可能对您感兴趣,别错过哦");
$("#showmsg05_sex_age").html(json.Sex + "/" + json.Age + "岁");
$("#showmsg06_Count").html("立即查看TA的个人主页");
$("#im_popupWindow_miniMsg > dl > dd").attr("onclick","").click(function(){
top.location.href="http://zzrkcy.com/User/"+ json.IdName+"/";});
setTimeout("_message_tips_pop('up')", 100);
}
});
}
function stratUserLoginMsgExec(){
//登录消息窗口
if(checkExpiryTime() == false){
//过期处理
closeTime(intervalID_log);
return false;
}
$.getJSON('/g/getMessage_Popup.do',{c:':userLogins:',effecVal:'2024-3-21 8:54:26',pw:'fb1e51deb17319f5db06b55cdb2e43a8'}, function(json){
if (json.AllMess > 0) {
$("#showmsg01_image > a").attr("href","http://zzrkcy.com/User/" + json.IdName + "/");
//$("#showmsg01_image > a > img").attr("src",json.photo);
$("#showmsg01_image > a").html(getUserImage(json.photo,json.Sex,"",50,"","50","","",""));
$("#showmsg02_time").html(json.SendTime);
if (json.Sex == "男") {
$("#showmsg03_form_name").html("同城帅哥["+ json.NikeName +"]刚刚上线");
$("#showmsg04_action").html("赶快联系她,不要错过哦");
}else {
$("#showmsg03_form_name").html("同城美女["+ json.NikeName +"]刚刚上线");
$("#showmsg04_action").html("快联系她,不要错过艳遇哦");
}
$("#showmsg05_sex_age").html(json.Sex + "/" + json.Age + "岁");
$("#showmsg06_Count").html("立即查看TA的个人主页");
$("#im_popupWindow_miniMsg > dl > dd").attr("onclick","").click(function(){
top.location.href="http://zzrkcy.com/User/"+ json.IdName+"/";});
setTimeout("_message_tips_pop('up')", 100);
}
});
}
function stratMsg(){
//聊天消息
stratMsgTop();
intervalID_talk = window.setInterval("stratMsgTop()", 90000);
}
function stratHistoryMsg(){
//脚印消息
stratHistoryMsgExec();
intervalID_his = window.setInterval("stratHistoryMsgExec()", 90000);
}
function stratUserLoginMsg(){
//登录消息
stratUserLoginMsgExec();
intervalID_log = window.setInterval("stratUserLoginMsgExec()", 90000);
}
function closeTime(tempId){
//关闭定时器2016/5/5
if(tempId) window.clearInterval(tempId);
}
$(function(){
setTimeout("stratMsg()", 5000);
setTimeout("stratHistoryMsg()", 30000);
setTimeout("stratUserLoginMsg()", 12000);
});
function checkExpiryTime(){
var onTime = new Date(); //获取当前日期与时间
var timestr = "2024-3-21 9:09:27"; //15分钟有效
var serverTime = new Date(timestr.replace(/-/g,"/")); //获取有效运行时间
if (serverTime < onTime)
{
return false;
}
return true;
}