2011-03-30 02:01:04 +04:00
|
|
|
nq.vh=mn.nn();mn.rn(nq.vh,nq.iq,{qn:function(kq){this.jq(kq);this.kq.onComplete=this.ot.ln(this);this.kq.ur=this.pt.ln(this);this.kq.sr=this.yq.ln(this);this.kq.timeout=(4647+353);this.frequency=(this.kq.frequency||2);this.dt={} ;this.xt();} ,pt:function(yt,zt){if(this.kq.iu)this.kq.iu("offline, reconnecting");this._t();this.mu=setTimeout(this.xt.ln(this),01750);} ,yq:function(yt){if(this.kq.iu)this.kq.iu("timeout, reconnecting");this._t();this.mu=setTimeout(this.xt.ln(this),0x3e8);} ,_t:function(){if(this.dt.kq)this.dt.kq.onComplete=undefined;clearTimeout(this.mu);} ,xt:function(){if(this.kq.wh)this.kq.pq=(this.kq.wh)();this.dt=new nq.aq(this.kq.url,this.kq);} ,ot:function(ou){try{var uu=nq.rq(ou);if(uu){(this.kq.hu||nq.hq)(uu);} else{if(this.kq.iu)this.kq.iu("reconnecting");} } catch(e){} this.mu=setTimeout(this.xt.ln(this),this.frequency*01750);} } );var xh={yh:function(link,title,zh,$h,width,height,_h){return'<a href="'+link+'"'+(_h!=null?' class="'+_h+'"':'')+' target="_blank" title="'+title+'" onclick="this.newWindow = window.open(\''+link+'\', \''+zh+'\', \'toolbar=0,scrollbars=0,location=0,status=1,menubar=0,width='+width+',height='+height+',resizable=1\');this.newWindow.focus();this.newWindow.opener=window;return false;">'+$h+'</a>';} ,mi:function(content){return'<table class="inner"><tr>'+content+'</tr></table>';} ,ni:function(qi,ri,id,si,ti,ui,ct,hi){var ii=2;var link=ri+"?thread="+id;var ji='<td>';if(ti||si){ji+=xh.yh((hi||!si)?link:link+"&viewonly=true",localized[ti?0:1],"ImCenter"+id,qi,0x280,0740,null);} else{ji+='<a href="#">'+qi+'</a>';} ji+='</td>';if(ti){ji+='<td class="icon">';ji+=xh.yh(link,localized[0],"ImCenter"+id,'<img src="'+$u+'/images/tbliclspeak.gif" width="15" height="15" border="0" alt="'+localized[0]+'">',(529+111),(327+153),null);ji+='</td>';ii++;} if(si){ji+='<td class="icon">';ji+=xh.yh(link+"&viewonly=true",localized[1],"ImCenter"+id,'<img src="'+$u+'/images/tbliclread.gif" width="15" height="15" border="0" alt="'+localized[1]+'">',(490+150),0x1e0,null);ji+='</td>';ii++;} if(ct!=""){ji+='</tr><tr><td class="firstmessage" colspan="'+ii+'"><a href="javascript:void(0)" title="'+ct+'" onclick="alert(this.title);return false;">';ji+=ct.length>(25+5)?ct.substring(0,(18+12))+'...':ct;ji+='</a></td>';} return xh.mi(ji);} ,ki:function(id,li){return'<td class="icon">'+xh.yh($u+'/operator/ban.php?'+(li?'id='+li:'thread='+id),localized[2],"ban"+id,'<img src="'+$u+'/images/ban.gif" width="15" height="15" border="0" alt="'+localized[2]+'">',(474+246),(318+162),null)+'</td>';} } ;nq.oi=mn.nn();mn.rn(nq.oi,nq.iq,{qn:function(kq){this.jq(kq);this.kq.wh=this.wh.ln(this);this.kq.iu=this.iu.ln(this);this.kq.hu=this.hu.ln(this);this.kq.pi=0;this.di=new Object();this.ei=0;this.t=this.kq.fi;this.gi=new nq.vh(this.kq);} ,wh:function(){return"since="+this.kq.pi+"&status="+this.kq.istatus+(this.kq.showonline?"&showonline=1":"");} ,$t:function(ku){this.kq.status.innerHTML=ku;} ,iu:function(s){this.$t(s);} ,ai:function(sh){var id,bi,ci,si=false,ti=false,vi=false,ui=null,li=null;for(var i=0;i<sh.attributes.length;i++){var wi=sh.attributes[i];if(wi.nodeName=="id")id=wi.nodeValue;else if(wi.nodeName=="stateid")bi=wi.nodeValue;else if(wi.nodeName=="state")ci=wi.nodeValue;else if(wi.nodeName=="canopen")ti=true;else if(wi.nodeName=="canview")si=true;else if(wi.nodeName=="canban")vi=true;else if(wi.nodeName=="ban")ui=wi.nodeValue;else if(wi.nodeName=="banid")li=wi.nodeValue;} function xi(os,yi,id,zi){var cs=js.ds(id,yi,os);if(cs)cs.innerHTML=zi;} var yi=js.ks("thr"+id,this.t);if(bi=="closed"){if(yi){this.t.deleteRow(yi.rowIndex);} this.di[id]=null;return;} var $i=ms.ns(sh,"name");var _i=ms.ns(sh,"addr");var mj=ms.ns(sh,"time");var nj=ms.ns(sh,"agent");var qj=ms.ns(sh,"modified");var ct=ms.ns(sh,"message");var rj='<td>'+ms.ns(sh,"useragent")+'</td>';if(ui!=null){rj='<td>'+ms.ns(sh,"reason")+'</td>';} if(vi){rj+=xh.ki(id,li);} rj=xh.mi(rj);var sj=js.ks("t"+bi,this.t);var tj=js.ks("t"+bi+"end",this.t);if(yi!=null&&(yi.rowIndex<=sj.rowIndex||yi.rowIndex>=tj.rowIndex)){this.t.deleteRow(yi.rowIndex);this.di[id]=null;yi=null;
|