!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.12 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g. PHP/5.2.4-2ubuntu5.12 

uname -a: Linux forum.circlefusion.com 2.6.24-19-server #1 SMP Wed Jun 18 15:18:00 UTC 2008 i686 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/home/doku/axrepos/axess/old/wiki/data/cache/1/   drwxrwxr-x
Free 11.48 GB of 97.11 GB (11.82%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     18c32354a2c171c70b6960ce257c6161.js (55.91 KB)      -rw-rw-r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
var DOKU_BASE='/wiki/';var DOKU_TPL='/wiki/lib/tpl/default/';var alertText='Please enter the text you want to format.\nIt will be appended to the end of the document.';var notSavedYet='Unsaved changes will be lost.\nReally continue?';var reallyDel='Really delete selected item(s)?';LANG={"keepopen":"Keep window open on selection","hidedetails":"Hide Details","plugins":[]};function isUndefined(prop){return(typeof prop=='undefined');}function isFunction(prop){return(typeof prop=='function');}function isString(prop){return(typeof prop=='string');}function isNumber(prop){return(typeof prop=='number');}function isNumeric(prop){return isNumber(prop)&&!isNaN(prop)&&isFinite(prop);}function isArray(prop){return(prop instanceof Array);}function isRegExp(prop){return(prop instanceof RegExp);}function isBoolean(prop){return('boolean'==typeof prop);}function isScalar(prop){return isNumeric(prop)||isString(prop);}function isEmpty(prop){if(isBoolean(prop))return false;if(isRegExp(prop)&&new RegExp("").toString()==prop.toString())return true;if(isString(prop)||isNumber(prop))return!prop;if(Boolean(prop)&&false!=prop){for(var i in prop)if(prop.hasOwnProperty(i))return false}return true;}if('undefined'==typeof Object.hasOwnProperty){Object.prototype.hasOwnProperty=function(prop){return!('undefined'==typeof this[prop]||this.constructor&&this.constructor.prototype[prop]&&this[prop]===this.constructor.prototype[prop]);}}function addEvent(element,type,handler){if(!handler.$$guid)handler.$$guid=addEvent.guid++;if(!element.events)element.events={};var handlers=element.events[type];if(!handlers){handlers=element.events[type]={};if(element["on"+type]){handlers[0]=element["on"+type];}}handlers[handler.$$guid]=handler;element["on"+type]=handleEvent;};addEvent.guid=1;function removeEvent(element,type,handler){if(element.events&&element.events[type]){delete element.events[type][handler.$$guid];}};function handleEvent(event){var returnValue=true;event=event||fixEvent(window.event);var handlers=this.events[event.type];for(var i in handlers){if(!handlers.hasOwnProperty(i))continue;this.$$handleEvent=handlers[i];if(this.$$handleEvent(event)===false){returnValue=false;}}return returnValue;};function fixEvent(event){event.preventDefault=fixEvent.preventDefault;event.stopPropagation=fixEvent.stopPropagation;event.target=event.srcElement;return event;};fixEvent.preventDefault=function(){this.returnValue=false;};fixEvent.stopPropagation=function(){this.cancelBubble=true;};window.fireoninit=function(){if(arguments.callee.done)return;arguments.callee.done=true;if(_timer){clearInterval(_timer);_timer=null;}if(typeof window.oninit=='function'){window.oninit();}};if(document.addEventListener){document.addEventListener("DOMContentLoaded",window.fireoninit,null);}/*@cc_on @*//*@if(@_win32)document.write("<scr"+"ipt id=\"__ie_init\" defer=\"true\" src=\"//:\"><\/script>");var script=document.getElementById("__ie_init");script.onreadystatechange=function(){if(this.readyState=="complete"){window.fireoninit();}};/*@end @*/if(/WebKit/i.test(navigator.userAgent)){var _timer=setInterval(function(){if(/loaded|complete/.test(document.readyState)){window.fireoninit();}},10);}window.onload=window.fireoninit;window.oninit=function(){};function addInitEvent(func){var oldoninit=window.oninit;if(typeof window.oninit!='function'){window.oninit=func;}else{window.oninit=function(){oldoninit();func();};}}DokuCookie={data:Array(),name:'DOKU_PREFS',setValue:function(key,val){DokuCookie.init();DokuCookie.data[key]=val;var now=new Date();DokuCookie.fixDate(now);now.setTime(now.getTime()+365*24*60*60*1000);var text='';for(var key in DokuCookie.data){if(!DokuCookie.data.hasOwnProperty(key))continue;text+='#'+escape(key)+'#'+DokuCookie.data[key];}DokuCookie.setCookie(DokuCookie.name,text.substr(1),now,DOKU_BASE);},getValue:function(key){DokuCookie.init();return DokuCookie.data[key];},init:function(){if(DokuCookie.data.length)return;var text=DokuCookie.getCookie(DokuCookie.name);if(text){var parts=text.split('#');for(var i=0;i<parts.length;i+=2){DokuCookie.data[unescape(parts[i])]=unescape(parts[i+1]);}}},setCookie:function(name,value,expires,path,domain,secure){var curCookie=name+"="+escape(value)+((expires)?"; expires="+expires.toGMTString():"")+((path)?"; path="+path:"")+((domain)?"; domain="+domain:"")+((secure)?"; secure":"");document.cookie=curCookie;},getCookie:function(name){var dc=document.cookie;var prefix=name+"=";var begin=dc.indexOf("; "+prefix);if(begin==-1){begin=dc.indexOf(prefix);if(begin!==0){return null;}}else{begin+=2;}var end=document.cookie.indexOf(";",begin);if(end==-1){end=dc.length;}return unescape(dc.substring(begin+prefix.length,end));},fixDate:function(date){var base=new Date(0);var skew=base.getTime();if(skew>0){date.setTime(date.getTime()-skew);}}};var clientPC=navigator.userAgent.toLowerCase();var is_macos=navigator.appVersion.indexOf('Mac')!=-1;var is_gecko=((clientPC.indexOf('gecko')!=-1)&&(clientPC.indexOf('spoofer')==-1)&&(clientPC.indexOf('khtml')==-1)&&(clientPC.indexOf('netscape/7.0')==-1));var is_safari=((clientPC.indexOf('AppleWebKit')!=-1)&&(clientPC.indexOf('spoofer')==-1));var is_khtml=(navigator.vendor=='KDE'||(document.childNodes&&!document.all&&!navigator.taintEnabled));if(clientPC.indexOf('opera')!=-1){var is_opera=true;var is_opera_preseven=(window.opera&&!document.childNodes);var is_opera_seven=(window.opera&&document.childNodes);}var toolbar='';function updateAccessKeyTooltip(){var tip='ALT+';if(is_macos){tip='CTRL+';}if(is_opera){tip='SHIFT+ESC ';}if(tip=='ALT+'){return;}var exp=/\[ALT\+/i;var rep='['+tip;var elements=document.getElementsByTagName('a');for(var i=0;i<elements.length;i++){if(elements[i].accessKey.length==1&&elements[i].title.length>0){elements[i].title=elements[i].title.replace(exp,rep);}}elements=document.getElementsByTagName('input');for(var i=0;i<elements.length;i++){if(elements[i].accessKey.length==1&&elements[i].title.length>0){elements[i].title=elements[i].title.replace(exp,rep);}}elements=document.getElementsByTagName('button');for(var i=0;i<elements.length;i++){if(elements[i].accessKey.length==1&&elements[i].title.length>0){elements[i].title=elements[i].title.replace(exp,rep);}}}function $(){var elements=new Array();for(var i=0;i<arguments.length;i++){var element=arguments[i];if(typeof element=='string')element=document.getElementById(element);if(arguments.length==1)return element;elements.push(element);}return elements;}function isset(varname){return(typeof(window[varname])!='undefined');}function getElementsByClass(searchClass,node,tag){var classElements=new Array();if(node==null)node=document;if(tag==null)tag='*';var els=node.getElementsByTagName(tag);var elsLen=els.length;var pattern=new RegExp("(^|\\s)"+searchClass+"(\\s|$)");for(i=0,j=0;i<elsLen;i++){if(pattern.test(els[i].className)){classElements[j]=els[i];j++;}}return classElements;}function findPosX(object){var curleft=0;var obj=$(object);if(obj.offsetParent){while(obj.offsetParent){curleft+=obj.offsetLeft;obj=obj.offsetParent;}}else if(obj.x){curleft+=obj.x;}return curleft;}function findPosY(object){var curtop=0;var obj=$(object);if(obj.offsetParent){while(obj.offsetParent){curtop+=obj.offsetTop;obj=obj.offsetParent;}}else if(obj.y){curtop+=obj.y;}return curtop;}function jsEscape(text){var re=new RegExp("\\\\","g");text=text.replace(re,"\\\\");re=new RegExp("'","g");text=text.replace(re,"\\'");re=new RegExp('"',"g");text=text.replace(re,'&quot;');re=new RegExp("\\\\\\\\n","g");text=text.replace(re,"\\n");return text;}function escapeQuotes(text){var re=new RegExp("'","g");text=text.replace(re,"\\'");re=new RegExp('"',"g");text=text.replace(re,'&quot;');re=new RegExp("\\n","g");text=text.replace(re,"\\n");return text;}function prependChild(parent,element){if(!parent.firstChild){parent.appendChild(element);}else{parent.insertBefore(element,parent.firstChild);}}function showLoadBar(){document.write('<img src="'+DOKU_BASE+'lib/images/loading.gif" '+'width="150" height="12" alt="..." />');}function hideLoadBar(id){obj=$(id);if(obj)obj.style.display="none";}function addTocToggle(){if(!document.getElementById)return;var header=$('toc__header');if(!header)return;var obj=document.createElement('span');obj.id='toc__toggle';obj.innerHTML='<span>&minus;</span>';obj.className='toc_close';obj.style.cursor='pointer';prependChild(header,obj);obj.parentNode.onclick=toggleToc;try{obj.parentNode.style.cursor='pointer';obj.parentNode.style.cursor='hand';}catch(e){}}function toggleToc(){var toc=$('toc__inside');var obj=$('toc__toggle');if(toc.style.display=='none'){toc.style.display='';obj.innerHTML='<span>&minus;</span>';obj.className='toc_close';}else{toc.style.display='none';obj.innerHTML='<span>+</span>';obj.className='toc_open';}}function checkAclLevel(){if(document.getElementById){var scope=$('acl_scope').value;if((scope.indexOf(":*")>0)||(scope=="*")){document.getElementsByName('acl_checkbox[4]')[0].disabled=false;document.getElementsByName('acl_checkbox[8]')[0].disabled=false;}else{document.getElementsByName('acl_checkbox[4]')[0].checked=false;document.getElementsByName('acl_checkbox[8]')[0].checked=false;document.getElementsByName('acl_checkbox[4]')[0].disabled=true;document.getElementsByName('acl_checkbox[8]')[0].disabled=true;}}}function footnote(e){var obj=e.target;var id=obj.id.substr(5);var fndiv=$('insitu__fn');if(!fndiv){fndiv=document.createElement('div');fndiv.id='insitu__fn';fndiv.className='insitu-footnote JSpopup dokuwiki';addEvent(fndiv,'mouseout',function(e){if(e.target!=fndiv){e.stopPropagation();return;}if(e.pageX){var bx1=findPosX(fndiv);var bx2=bx1+fndiv.offsetWidth;var by1=findPosY(fndiv);var by2=by1+fndiv.offsetHeight;var x=e.pageX;var y=e.pageY;if(x>bx1&&x<bx2&&y>by1&&y<by2){e.stopPropagation();return;}}else{if(e.offsetX>0&&e.offsetX<fndiv.offsetWidth-1&&e.offsetY>0&&e.offsetY<fndiv.offsetHeight-1){e.stopPropagation();return;}}fndiv.style.display='none';});document.body.appendChild(fndiv);}var a=$("fn__"+id);if(!a){return;}var content=new String(a.parentNode.parentNode.innerHTML);content=content.replace(/<a\s.*?href=\".*\#fnt__\d+\".*?<\/a>/gi,'');content=content.replace(/^\s+(,\s+)+/,'');content=content.replace(/\bid=\"(.*?)\"/gi,'id="insitu__$1');fndiv.innerHTML=content;var x;var y;if(e.pageX){x=e.pageX;y=e.pageY;}else{x=e.offsetX;y=e.offsetY;}fndiv.style.position='absolute';fndiv.style.left=(x+2)+'px';fndiv.style.top=(y+2)+'px';fndiv.style.display='';}addInitEvent(function(){var elems=getElementsByClass('fn_top',null,'a');for(var i=0;i<elems.length;i++){addEvent(elems[i],'mouseover',function(e){footnote(e);});}});function initSizeCtl(ctlid,edid){if(!document.getElementById){return;}var ctl=$(ctlid);var textarea=$(edid);if(!ctl||!textarea)return;var hgt=DokuCookie.getValue('sizeCtl');if(hgt){textarea.style.height=hgt;}else{textarea.style.height='300px';}var l=document.createElement('img');var s=document.createElement('img');var w=document.createElement('img');l.src=DOKU_BASE+'lib/images/larger.gif';s.src=DOKU_BASE+'lib/images/smaller.gif';w.src=DOKU_BASE+'lib/images/wrap.gif';addEvent(l,'click',function(){sizeCtl(edid,100);});addEvent(s,'click',function(){sizeCtl(edid,-100);});addEvent(w,'click',function(){toggleWrap(edid);});ctl.appendChild(l);ctl.appendChild(s);ctl.appendChild(w);}function sizeCtl(edid,val){var textarea=$(edid);var height=parseInt(textarea.style.height.substr(0,textarea.style.height.length-2));height+=val;textarea.style.height=height+'px';DokuCookie.setValue('sizeCtl',textarea.style.height);}function toggleWrap(edid){var txtarea=$(edid);var wrap=txtarea.getAttribute('wrap');if(wrap&&wrap.toLowerCase()=='off'){txtarea.setAttribute('wrap','soft');}else{txtarea.setAttribute('wrap','off');}var parNod=txtarea.parentNode;var nxtSib=txtarea.nextSibling;parNod.removeChild(txtarea);parNod.insertBefore(txtarea,nxtSib);}function closePopups(){if(!document.getElementById){return;}var divs=document.getElementsByTagName('div');for(var i=0;i<divs.length;i++){if(divs[i].className.indexOf('JSpopup')!=-1){divs[i].style.display='none';}}}function scrollToMarker(){var obj=$('scroll__here');if(obj)obj.scrollIntoView();}function focusMarker(){var obj=$('focus__this');if(obj)obj.focus();}function cleanMsgArea(){var elems=getElementsByClass('(success|info|error)',document,'div');if(elems){for(var i=0;i<elems.length;i++){elems[i].style.display='none';}}}function sack(file){this.AjaxFailedAlert="Your browser does not support the enhanced functionality of this website, and therefore you will have an experience that differs from the intended one.\n";this.requestFile=file;this.method="POST";this.URLString="";this.encodeURIString=true;this.execute=false;this.onLoading=function(){};this.onLoaded=function(){};this.onInteractive=function(){};this.onCompletion=function(){};this.afterCompletion=function(){};this.createAJAX=function(){try{this.xmlhttp=new ActiveXObject("Msxml2.XMLHTTP");}catch(e){try{this.xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");}catch(err){this.xmlhttp=null;}}if(!this.xmlhttp&&typeof XMLHttpRequest!="undefined"){this.xmlhttp=new XMLHttpRequest();}if(!this.xmlhttp){this.failed=true;}};this.setVar=function(name,value){if(this.URLString.length<3){this.URLString=name+"="+value;}else{this.URLString+="&"+name+"="+value;}};this.encVar=function(name,value){var varString=encodeURIComponent(name)+"="+encodeURIComponent(value);return varString;};this.encodeURLString=function(string){varArray=string.split('&');for(i=0;i<varArray.length;i++){urlVars=varArray[i].split('=');if(urlVars[0].indexOf('amp;')!=-1){urlVars[0]=urlVars[0].substring(4);}varArray[i]=this.encVar(urlVars[0],urlVars[1]);}return varArray.join('&');};this.runResponse=function(){eval(this.response);};this.runAJAX=function(urlstring){this.responseStatus=new Array(2);if(this.failed&&this.AjaxFailedAlert){alert(this.AjaxFailedAlert);}else{if(urlstring){if(this.URLString.length){this.URLString=this.URLString+"&"+urlstring;}else{this.URLString=urlstring;}}if(this.encodeURIString){var timeval=new Date().getTime();this.URLString=this.encodeURLString(this.URLString);this.setVar("rndval",timeval);}if(this.element){this.elementObj=document.getElementById(this.element);}if(this.xmlhttp){var self=this;if(this.method=="GET"){var totalurlstring=this.requestFile+"?"+this.URLString;this.xmlhttp.open(this.method,totalurlstring,true);}else{this.xmlhttp.open(this.method,this.requestFile,true);}if(this.method=="POST"){try{this.xmlhttp.setRequestHeader('Content-Type','application/x-www-form-urlencoded; charset=UTF-8');}catch(e){}}this.xmlhttp.onreadystatechange=function(){switch(self.xmlhttp.readyState){case 1:self.onLoading();break;case 2:self.onLoaded();break;case 3:self.onInteractive();break;case 4:self.response=self.xmlhttp.responseText;self.responseXML=self.xmlhttp.responseXML;self.responseStatus[0]=self.xmlhttp.status;self.responseStatus[1]=self.xmlhttp.statusText;self.onCompletion();if(self.execute){self.runResponse();}if(self.elementObj){var elemNodeName=self.elementObj.nodeName;elemNodeName.toLowerCase();if(elemNodeName=="input"||elemNodeName=="select"||elemNodeName=="option"||elemNodeName=="textarea"){self.elementObj.value=self.response;}else{self.elementObj.innerHTML=self.response;}}self.afterCompletion();self.URLString="";break;}};this.xmlhttp.send(this.URLString);}}};this.createAJAX();}function ajax_qsearch_class(){this.sack=null;this.inObj=null;this.outObj=null;this.timer=null;}var ajax_qsearch=new ajax_qsearch_class();ajax_qsearch.sack=new sack(DOKU_BASE+'lib/exe/ajax.php');ajax_qsearch.sack.AjaxFailedAlert='';ajax_qsearch.sack.encodeURIString=false;ajax_qsearch.init=function(inID,outID){ajax_qsearch.inObj=document.getElementById(inID);ajax_qsearch.outObj=document.getElementById(outID);if(ajax_qsearch.inObj===null){return;}if(ajax_qsearch.outObj===null){return;}addEvent(ajax_qsearch.inObj,'keyup',ajax_qsearch.call);addEvent(ajax_qsearch.outObj,'click',function(){ajax_qsearch.outObj.style.display='none';});};ajax_qsearch.clear=function(){ajax_qsearch.outObj.style.display='none';ajax_qsearch.outObj.innerHTML='';if(ajax_qsearch.timer!==null){window.clearTimeout(ajax_qsearch.timer);ajax_qsearch.timer=null;}};ajax_qsearch.exec=function(){ajax_qsearch.clear();var value=ajax_qsearch.inObj.value;if(value===''){return;}ajax_qsearch.sack.runAJAX('call=qsearch&q='+encodeURI(value));};ajax_qsearch.sack.onCompletion=function(){var data=ajax_qsearch.sack.response;if(data===''){return;}ajax_qsearch.outObj.innerHTML=data;ajax_qsearch.outObj.style.display='block';};ajax_qsearch.call=function(){ajax_qsearch.clear();ajax_qsearch.timer=window.setTimeout("ajax_qsearch.exec()",500);};index={throbber_delay:500,treeattach:function(obj){if(!obj)return;var items=getElementsByClass('idx_dir',obj,'a');for(var i=0;i<items.length;i++){var elem=items[i];addEvent(elem,'click',function(e){return index.toggle(e,this);});}},toggle:function(e,clicky){var listitem=clicky.parentNode.parentNode;var sublists=listitem.getElementsByTagName('ul');if(sublists.length&&listitem.className=='open'){sublists[0].style.display='none';listitem.className='closed';e.preventDefault();return false;}if(sublists.length&&listitem.className=='closed'){sublists[0].style.display='';listitem.className='open';e.preventDefault();return false;}var ajax=new sack(DOKU_BASE+'lib/exe/ajax.php');ajax.AjaxFailedAlert='';ajax.encodeURIString=false;if(ajax.failed)return true;var ul=document.createElement('ul');ul.className='idx';timeout=window.setTimeout(function(){ul.innerHTML='<li><img src="'+DOKU_BASE+'lib/images/throbber.gif" alt="loading..." title="loading..." /></li>';listitem.appendChild(ul);listitem.className='open';},this.throbber_delay);ajax.elementObj=ul;ajax.afterCompletion=function(){window.clearTimeout(timeout);index.treeattach(ul);if(listitem.className!='open'){listitem.appendChild(ul);listitem.className='open';}};ajax.runAJAX(clicky.search.substr(1)+'&call=index');e.preventDefault();return false;}};addInitEvent(function(){index.treeattach($('index__tree'));});function createToolButton(icon,label,key,id){var btn=document.createElement('button');var ico=document.createElement('img');btn.className='toolbutton';btn.title=label;if(key){btn.title+=' [ALT+'+key.toUpperCase()+']';btn.accessKey=key;}if(id){btn.id=id;ico.id=id+'_ico';}if(icon.substr(0,1)=='/'){ico.src=icon;}else{ico.src=DOKU_BASE+'lib/images/toolbar/'+icon;}btn.appendChild(ico);return btn;}function createPicker(id,list,icobase,edid){var cnt=list.length;var picker=document.createElement('div');picker.className='picker';picker.id=id;picker.style.position='absolute';picker.style.display='none';for(var key in list){if(!list.hasOwnProperty(key))continue;var btn=document.createElement('button');btn.className='pickerbutton';if(isNaN(key)){var ico=document.createElement('img');if(list[key].substr(0,1)=='/'){ico.src=list[key];}else{ico.src=DOKU_BASE+'lib/images/'+icobase+'/'+list[key];}btn.title=key;btn.appendChild(ico);eval("btn.onclick = function(){pickerInsert('"+id+"','"+jsEscape(key)+"','"+jsEscape(edid)+"');return false;}");}else{var txt=document.createTextNode(list[key]);btn.title=list[key];btn.appendChild(txt);eval("btn.onclick = function(){pickerInsert('"+id+"','"+jsEscape(list[key])+"','"+jsEscape(edid)+"');return false;}");}picker.appendChild(btn);}var body=document.getElementsByTagName('body')[0];body.appendChild(picker);}function pickerInsert(pickerid,text,edid){insertAtCarret(edid,text);pobj=document.getElementById(pickerid);pobj.style.display='none';}function showPicker(pickerid,btn){var picker=document.getElementById(pickerid);var x=findPosX(btn);var y=findPosY(btn);if(picker.style.display=='none'){picker.style.display='block';picker.style.left=(x+3)+'px';picker.style.top=(y+btn.offsetHeight+3)+'px';}else{picker.style.display='none';}}function initToolbar(tbid,edid,tb){var toolbar=$(tbid);if(!toolbar)return;toolbar.innerHTML='';var cnt=tb.length;for(var i=0;i<cnt;i++){var btn=createToolButton(tb[i]['icon'],tb[i]['title'],tb[i]['key']);var actionFunc='addBtnAction'+tb[i]['type'].charAt(0).toUpperCase()+tb[i]['type'].substring(1);var exists=eval("typeof("+actionFunc+") == 'function'");if(exists){if(eval(actionFunc+"(btn, tb[i], edid, i)"))toolbar.appendChild(btn);}}}function addBtnActionFormat(btn,props,edid){var sample=props['title'];if(props['sample']){sample=props['sample'];}eval("btn.onclick = function(){insertTags('"+jsEscape(edid)+"','"+jsEscape(props['open'])+"','"+jsEscape(props['close'])+"','"+jsEscape(sample)+"');return false;}");return true;}function addBtnActionInsert(btn,props,edid){eval("btn.onclick = function(){insertAtCarret('"+jsEscape(edid)+"','"+jsEscape(props['insert'])+"');return false;}");return true;}function addBtnActionSignature(btn,props,edid){if(typeof(SIG)!='undefined'&&SIG!=''){eval("btn.onclick = function(){insertAtCarret('"+jsEscape(edid)+"','"+jsEscape(SIG)+"');return false;}");return true;}return false;}function addBtnActionPicker(btn,props,edid,id){createPicker('picker'+id,props['list'],props['icobase'],edid);eval("btn.onclick = function(){showPicker('picker"+id+"',this);return false;}");return true;}function addBtnActionMediapopup(btn,props){eval("btn.onclick = function(){window.open('"+jsEscape(props['url']+encodeURIComponent(NS))+"','"+jsEscape(props['name'])+"','"+jsEscape(props['options'])+"');return false;}");return true;}function insertTags(edid,tagOpen,tagClose,sampleText){var txtarea=document.getElementById(edid);if(document.selection&&!is_gecko){var theSelection=document.selection.createRange().text;var replaced=true;if(!theSelection){replaced=false;theSelection=sampleText;}txtarea.focus();var text=theSelection;if(theSelection.charAt(theSelection.length-1)==" "){theSelection=theSelection.substring(0,theSelection.length-1);r=document.selection.createRange();r.text=tagOpen+theSelection+tagClose+" ";}else{r=document.selection.createRange();r.text=tagOpen+theSelection+tagClose;}if(!replaced){r.moveStart('character',-text.length-tagClose.length);r.moveEnd('character',-tagClose.length);}r.select();}else if(txtarea.selectionStart||txtarea.selectionStart=='0'){replaced=false;var startPos=txtarea.selectionStart;var endPos=txtarea.selectionEnd;if(endPos-startPos){replaced=true;}var scrollTop=txtarea.scrollTop;var myText=(txtarea.value).substring(startPos,endPos);if(!myText){myText=sampleText;}if(myText.charAt(myText.length-1)==" "){subst=tagOpen+myText.substring(0,(myText.length-1))+tagClose+" ";}else{subst=tagOpen+myText+tagClose;}txtarea.value=txtarea.value.substring(0,startPos)+subst+txtarea.value.substring(endPos,txtarea.value.length);txtarea.focus();if(replaced){var cPos=startPos+(tagOpen.length+myText.length+tagClose.length);txtarea.selectionStart=cPos;txtarea.selectionEnd=cPos;}else{txtarea.selectionStart=startPos+tagOpen.length;txtarea.selectionEnd=startPos+tagOpen.length+myText.length;}txtarea.scrollTop=scrollTop;}else{var copy_alertText=alertText;var re1=new RegExp("\\$1","g");var re2=new RegExp("\\$2","g");copy_alertText=copy_alertText.replace(re1,sampleText);copy_alertText=copy_alertText.replace(re2,tagOpen+sampleText+tagClose);if(sampleText){text=prompt(copy_alertText);}else{text="";}if(!text){text=sampleText;}text=tagOpen+text+tagClose;txtarea.value+="\n"+text;if(!is_safari){txtarea.focus();}}if(txtarea.createTextRange){txtarea.caretPos=document.selection.createRange().duplicate();}}function insertAtCarret(edid,value){var field=document.getElementById(edid);if(document.selection){field.focus();sel=document.selection.createRange();sel.text=value;}else if(field.selectionStart||field.selectionStart=='0'){var startPos=field.selectionStart;var endPos=field.selectionEnd;var scrollTop=field.scrollTop;field.value=field.value.substring(0,startPos)+value+field.value.substring(endPos,field.value.length);field.focus();var cPos=startPos+(value.length);field.selectionStart=cPos;field.selectionEnd=cPos;field.scrollTop=scrollTop;}else{field.value+="\n"+value;}if(field.createTextRange){field.caretPos=document.selection.createRange().duplicate();}}var textChanged=false;function changeCheck(msg){if(textChanged){var ok=confirm(msg);if(ok){var dwform=$('dw__editform');if(dwform){var params='call=draftdel';params+='&id='+encodeURIComponent(dwform.elements.id.value);var sackobj=new sack(DOKU_BASE+'lib/exe/ajax.php');sackobj.AjaxFailedAlert='';sackobj.encodeURIString=false;sackobj.runAJAX(params);}}return ok;}else{return true;}}function initChangeCheck(msg){if(!document.getElementById){return false;}var links=document.getElementsByTagName('a');for(var i=0;i<links.length;i++){if(links[i].className.indexOf('JSnocheck')==-1){links[i].onclick=function(){var rc=changeCheck(msg);if(window.event)window.event.returnValue=rc;return rc;};links[i].onkeypress=function(){var rc=changeCheck(msg);if(window.event)window.event.returnValue=rc;return rc;};}}var forms=document.forms;for(i=0;i<forms.length;i++){if(forms[i].className.indexOf('JSnocheck')==-1){forms[i].onsubmit=function(){var rc=changeCheck(msg);if(window.event)window.event.returnValue=rc;return rc;};}}var btn_save=document.getElementById('edbtn__save');btn_save.onclick=function(){textChanged=false;};btn_save.onkeypress=function(){textChanged=false;};var btn_prev=document.getElementById('edbtn__preview');btn_prev.onclick=function(){textChanged=false;};btn_prev.onkeypress=function(){textChanged=false;};var edit_text=document.getElementById('wiki__text');edit_text.onchange=function(){textChanged=true;summaryCheck();};edit_text.onkeyup=summaryCheck;var summary=document.getElementById('edit__summary');addEvent(summary,'change',summaryCheck);addEvent(summary,'keyup',summaryCheck);if(textChanged)summaryCheck();edit_text.focus();}function summaryCheck(){var sum=document.getElementById('edit__summary');if(sum.value===''){sum.className='missing';}else{sum.className='edit';}}function locktimer_class(){this.sack=null;this.timeout=0;this.timerID=null;this.lasttime=null;this.msg='';this.pageid='';};var locktimer=new locktimer_class();locktimer.init=function(timeout,msg,draft){locktimer.timeout=timeout*1000;locktimer.msg=msg;locktimer.draft=draft;locktimer.lasttime=new Date();if(!$('dw__editform'))return;locktimer.pageid=$('dw__editform').elements.id.value;if(!locktimer.pageid)return;locktimer.sack=new sack(DOKU_BASE+'lib/exe/ajax.php');locktimer.sack.AjaxFailedAlert='';locktimer.sack.encodeURIString=false;locktimer.sack.onCompletion=locktimer.refreshed;addEvent($('dw__editform').elements.wikitext,'keyup',function(){locktimer.refresh();});locktimer.reset();};locktimer.reset=function(){locktimer.clear();locktimer.timerID=window.setTimeout("locktimer.warning()",locktimer.timeout);};locktimer.warning=function(){locktimer.clear();alert(locktimer.msg);};locktimer.clear=function(){if(locktimer.timerID!==null){window.clearTimeout(locktimer.timerID);locktimer.timerID=null;}};locktimer.refresh=function(){var now=new Date();if(now.getTime()-locktimer.lasttime.getTime()>30*1000){var params='call=lock&id='+encodeURIComponent(locktimer.pageid);if(locktimer.draft){var dwform=$('dw__editform');params+='&prefix='+encodeURIComponent(dwform.elements.prefix.value);params+='&wikitext='+encodeURIComponent(dwform.elements.wikitext.value);params+='&suffix='+encodeURIComponent(dwform.elements.suffix.value);params+='&date='+encodeURIComponent(dwform.elements.date.value);}locktimer.sack.runAJAX(params);locktimer.lasttime=now;}};locktimer.refreshed=function(){var data=this.response;var error=data.charAt(0);data=data.substring(1);$('draft__status').innerHTML=data;if(error!='1')return;locktimer.reset();};media={keepopen:false,hide:false,treeattach:function(obj){if(!obj)return;var items=obj.getElementsByTagName('li');for(var i=0;i<items.length;i++){var elem=items[i];var clicky=elem.getElementsByTagName('img')[0];clicky.style.cursor='pointer';addEvent(clicky,'click',function(event){return media.toggle(event,this);});var link=elem.getElementsByTagName('a')[0];link.style.cursor='pointer';addEvent(link,'click',function(event){return media.list(event,this);});}},selectorattach:function(obj){if(!obj)return;var items=getElementsByClass('select',obj,'a');for(var i=0;i<items.length;i++){var elem=items[i];elem.style.cursor='pointer';addEvent(elem,'click',function(event){return media.select(event,this);});}items=getElementsByClass('example',obj,'div');for(var i=0;i<items.length;i++){elem=items[i];elem.style.display='none';}var file=$('upload__file');if(!file)return;addEvent(file,'change',media.suggest);},attachoptions:function(obj){if(!obj)return;if(opener){var kobox=document.createElement('input');kobox.type='checkbox';kobox.id='media__keepopen';if(DokuCookie.getValue('keepopen')){kobox.checked=true;kobox.defaultChecked=true;media.keepopen=true;}addEvent(kobox,'click',function(event){return media.togglekeepopen(event,this);});var kolbl=document.createElement('label');kolbl.htmlFor='media__keepopen';kolbl.innerHTML=LANG['keepopen'];var kobr=document.createElement('br');obj.appendChild(kobox);obj.appendChild(kolbl);obj.appendChild(kobr);}var hdbox=document.createElement('input');hdbox.type='checkbox';hdbox.id='media__hide';if(DokuCookie.getValue('hide')){hdbox.checked=true;hdbox.defaultChecked=true;media.hide=true;}addEvent(hdbox,'click',function(event){return media.togglehide(event,this);});var hdlbl=document.createElement('label');hdlbl.htmlFor='media__hide';hdlbl.innerHTML=LANG['hidedetails'];var hdbr=document.createElement('br');obj.appendChild(hdbox);obj.appendChild(hdlbl);obj.appendChild(hdbr);media.updatehide();},togglekeepopen:function(event,cb){if(cb.checked){DokuCookie.setValue('keepopen',1);media.keepopen=true;}else{DokuCookie.setValue('keepopen','');media.keepopen=false;}},togglehide:function(event,cb){if(cb.checked){DokuCookie.setValue('hide',1);media.hide=true;}else{DokuCookie.setValue('hide','');media.hide=false;}media.updatehide();},updatehide:function(){var obj=$('media__content');if(!obj)return;var details=getElementsByClass('detail',obj,'div');for(var i=0;i<details.length;i++){if(media.hide){details[i].style.display='none';}else{details[i].style.display='';}}},select:function(event,link){var id=link.name.substr(2);if(!opener){var ex=$('ex_'+id.replace(/:/g,'_'));if(ex.style.display==''){ex.style.display='none';}else{ex.style.display='';}return false;}opener.insertTags('wiki__text','{{:'+id+'|','}}','');if(!media.keepopen)window.close();opener.focus();return false;},list:function(event,link){var ajax=new sack(DOKU_BASE+'lib/exe/ajax.php');ajax.AjaxFailedAlert='';ajax.encodeURIString=false;if(ajax.failed)return true;cleanMsgArea();var content=$('media__content');content.innerHTML='<img src="'+DOKU_BASE+'lib/images/loading.gif" alt="..." class="load" />';ajax.elementObj=content;ajax.afterCompletion=function(){media.selectorattach(content);media.updatehide();};ajax.runAJAX(link.search.substr(1)+'&call=medialist');return false;},toggle:function(event,clicky){var listitem=clicky.parentNode;var sublists=listitem.getElementsByTagName('ul');if(sublists.length){listitem.removeChild(sublists[0]);clicky.src=DOKU_BASE+'lib/images/plus.gif';return false;}var link=listitem.getElementsByTagName('a')[0];var ajax=new sack(DOKU_BASE+'lib/exe/ajax.php');ajax.AjaxFailedAlert='';ajax.encodeURIString=false;if(ajax.failed)return true;var ul=document.createElement('ul');listitem.appendChild(ul);ajax.elementObj=ul;ajax.afterCompletion=function(){media.treeattach(ul);};ajax.runAJAX(link.search.substr(1)+'&call=medians');clicky.src=DOKU_BASE+'lib/images/minus.gif';return false;},suggest:function(){var file=$('upload__file');var name=$('upload__name');if(!file||!name)return;var text=file.value;text=text.substr(text.lastIndexOf('/')+1);text=text.substr(text.lastIndexOf('\\')+1);name.value=text;}};addInitEvent(function(){media.treeattach($('media__tree'));media.selectorattach($('media__content'));media.attachoptions($('media__opts'));});addInitEvent(function(){ajax_qsearch.init('qsearch__in','qsearch__out');});addInitEvent(function(){addEvent(document,'click',closePopups);});addInitEvent(function(){addTocToggle();});addInitEvent(function(){initSizeCtl('size__ctl','wiki__text');});var toolbar=[{"type":"format","title":"Bold Text","icon":"bold.png","key":"b","open":"**","close":"**"},{"type":"format","title":"Italic Text","icon":"italic.png","key":"i","open":"\/\/","close":"\/\/"},{"type":"format","title":"Underlined Text","icon":"underline.png","key":"u","open":"__","close":"__"},{"type":"format","title":"Code Text","icon":"mono.png","key":"c","open":"''","close":"''"},{"type":"format","title":"Strike-through Text","icon":"strike.png","key":"d","open":"<del>","close":"<\/del>"},{"type":"format","title":"Level 1 Headline","icon":"h1.png","key":"1","open":"====== ","close":" ======\\n"},{"type":"format","title":"Level 2 Headline","icon":"h2.png","key":"2","open":"===== ","close":" =====\\n"},{"type":"format","title":"Level 3 Headline","icon":"h3.png","key":"3","open":"==== ","close":" ====\\n"},{"type":"format","title":"Level 4 Headline","icon":"h4.png","key":"4","open":"=== ","close":" ===\\n"},{"type":"format","title":"Level 5 Headline","icon":"h5.png","key":"5","open":"== ","close":" ==\\n"},{"type":"format","title":"Internal Link","icon":"link.png","key":"l","open":"[[","close":"]]"},{"type":"format","title":"External Link","icon":"linkextern.png","open":"[[","close":"]]","sample":"http:\/\/example.com|External Link"},{"type":"format","title":"Ordered List Item","icon":"ol.png","open":"  - ","close":"\\n"},{"type":"format","title":"Unordered List Item","icon":"ul.png","open":"  * ","close":"\\n"},{"type":"insert","title":"Horizontal Rule","icon":"hr.png","insert":"----\\n"},{"type":"mediapopup","title":"Add Images and other files","icon":"image.png","url":"\/wiki\/lib\/exe\/mediamanager.php?ns=","name":"mediaselect","options":"width=750,height=500,left=20,top=20,scrollbars=yes,resizable=yes"},{"type":"picker","title":"Smileys","icon":"smiley.png","list":{"8-)":"icon_cool.gif","8-O":"icon_eek.gif","8-o":"icon_eek.gif",":-(":"icon_sad.gif",":-)":"icon_smile.gif","=)":"icon_smile2.gif",":-\/":"icon_doubt.gif",":-\\":"icon_doubt2.gif",":-?":"icon_confused.gif",":-D":"icon_biggrin.gif",":-P":"icon_razz.gif",":-o":"icon_surprised.gif",":-O":"icon_surprised.gif",":-x":"icon_silenced.gif",":-X":"icon_silenced.gif",":-|":"icon_neutral.gif",";-)":"icon_wink.gif","^_^":"icon_fun.gif",":?:":"icon_question.gif",":!:":"icon_exclaim.gif","LOL":"icon_lol.gif","FIXME":"fixme.gif","DELETEME":"delete.gif"},"icobase":"smileys"},{"type":"picker","title":"Special Chars","icon":"chars.png","list":["\u00c0","\u00e0","\u00c1","\u00e1","\u00c2","\u00e2","\u00c3","\u00e3","\u00c4","\u00e4","\u01cd","\u01ce","\u0102","\u0103","\u00c5","\u00e5","\u0100","\u0101","\u0104","\u0105","\u00c6","\u00e6","\u0106","\u0107","\u00c7","\u00e7","\u010c","\u010d","\u0108","\u0109","\u010a","\u010b","\u00d0","\u0111","\u00f0","\u010e","\u010f","\u00c8","\u00e8","\u00c9","\u00e9","\u00ca","\u00ea","\u00cb","\u00eb","\u011a","\u011b","\u0112","\u0113","\u0116","\u0117","\u0118","\u0119","\u0122","\u0123","\u011c","\u011d","\u011e","\u011f","\u0120","\u0121","\u0124","\u0125","\u00cc","\u00ec","\u00cd","\u00ed","\u00ce","\u00ee","\u00cf","\u00ef","\u01cf","\u01d0","\u012a","\u012b","\u0130","\u0131","\u012e","\u012f","\u0134","\u0135","\u0136","\u0137","\u0139","\u013a","\u013b","\u013c","\u013d","\u013e","\u0141","\u0142","\u013f","\u0140","\u0143","\u0144","\u00d1","\u00f1","\u0145","\u0146","\u0147","\u0148","\u00d2","\u00f2","\u00d3","\u00f3","\u00d4","\u00f4","\u00d5","\u00f5","\u00d6","\u00f6","\u01d1","\u01d2","\u014c","\u014d","\u0150","\u0151","\u0152","\u0153","\u00d8","\u00f8","\u0154","\u0155","\u0156","\u0157","\u0158","\u0159","\u015a","\u015b","\u015e","\u015f","\u0160","\u0161","\u015c","\u015d","\u0162","\u0163","\u0164","\u0165","\u00d9","\u00f9","\u00da","\u00fa","\u00db","\u00fb","\u00dc","\u00fc","\u01d3","\u01d4","\u016c","\u016d","\u016a","\u016b","\u016e","\u016f","\u01d6","\u01d8","\u01da","\u01dc","\u0172","\u0173","\u0170","\u0171","\u0174","\u0175","\u00dd","\u00fd","\u0178","\u00ff","\u0176","\u0177","\u0179","\u017a","\u017d","\u017e","\u017b","\u017c","\u00de","\u00fe","\u00df","\u0126","\u0127","\u00bf","\u00a1","\u00a2","\u00a3","\u00a4","\u00a5","\u20ac","\u00a6","\u00a7","\u00aa","\u00ac","\u00af","\u00b0","\u00b1","\u00f7","\u2030","\u00bc","\u00bd","\u00be","\u00b9","\u00b2","\u00b3","\u00b5","\u00b6","\u2020","\u2021","\u00b7","\u2022","\u00ba","\u2200","\u2202","\u2203","\u018f","\u0259","\u2205","\u2207","\u2208","\u2209","\u220b","\u220f","\u2211","\u203e","\u2212","\u2217","\u221a","\u221d","\u221e","\u2220","\u2227","\u2228","\u2229","\u222a","\u222b","\u2234","\u223c","\u2245","\u2248","\u2260","\u2261","\u2264","\u2265","\u2282","\u2283","\u2284","\u2286","\u2287","\u2295","\u2297","\u22a5","\u22c5","\u25ca","\u2118","\u2111","\u211c","\u2135","\u2660","\u2663","\u2665","\u2666","\u03b1","\u03b2","\u0393","\u03b3","\u0394","\u03b4","\u03b5","\u03b6","\u03b7","\u0398","\u03b8","\u03b9","\u03ba","\u039b","\u03bb","\u03bc","\u039e","\u03be","\u03a0","\u03c0","\u03c1","\u03a3","\u03c3","\u03a4","\u03c4","\u03c5","\u03a6","\u03c6","\u03c7","\u03a8","\u03c8","\u03a9","\u03c9","\u2605","\u2606","\u260e","\u261a","\u261b","\u261c","\u261d","\u261e","\u261f","\u2639","\u263a","\u2714","\u2718","\u00d7","\u201e","\u201c","\u201d","\u201a","\u2018","\u2019","\u00ab","\u00bb","\u2039","\u203a","\u2014","\u2013","\u2026","\u2190","\u2191","\u2192","\u2193","\u2194","\u21d0","\u21d1","\u21d2","\u21d3","\u21d4","\u00a9","\u2122","\u00ae","\u2032","\u2033"]},{"type":"signature","title":"Insert Signature","icon":"sig.png","key":"y"}];addInitEvent(function(){initToolbar('tool__bar','wiki__text',toolbar);});addInitEvent(function(){initChangeCheck('Unsaved changes will be lost.\nReally continue?');});addInitEvent(function(){locktimer.init(840,'Your lock for editing this page is about to expire in a minute.\nTo avoid conflicts use the preview button to reset the locktimer.',1);});acl={init:function(){this.ctl=$('acl_manager');if(!this.ctl)return;var sel=$('acl__user').getElementsByTagName('select')[0];addEvent(sel,'change',acl.userselhandler);addEvent($('acl__tree'),'click',acl.treehandler);addEvent($('acl__user').getElementsByTagName('input')[1],'click',acl.loadinfo);addEvent($('acl__user').getElementsByTagName('input')[1],'keypress',acl.loadinfo);},userselhandler:function(e){if(this.value=='__g__'||this.value=='__u__'){$('acl__user').getElementsByTagName('input')[0].style.display='';$('acl__user').getElementsByTagName('input')[1].style.display='';}else{$('acl__user').getElementsByTagName('input')[0].style.display='none';$('acl__user').getElementsByTagName('input')[1].style.display='none';}acl.loadinfo();},loadinfo:function(){var frm=$('acl__detail').getElementsByTagName('form')[0];var ajax=new sack(DOKU_BASE+'lib/plugins/acl/ajax.php');ajax.AjaxFailedAlert='';ajax.encodeURIString=false;if(ajax.failed)return true;var data=Array();data[0]=ajax.encVar('ns',frm.elements['ns'].value);data[1]=ajax.encVar('id',frm.elements['id'].value);data[2]=ajax.encVar('acl_t',frm.elements['acl_t'].value);data[3]=ajax.encVar('acl_w',frm.elements['acl_w'].value);data[4]=ajax.encVar('ajax','info');ajax.elementObj=$('acl__info');ajax.runAJAX(data.join('&'));return false;},parseatt:function(str){if(str[0]=='?')str=str.substr(1);var attributes={};var all=str.split('&');for(var i=0;i<all.length;i++){var att=all[i].split('=');attributes[att[0]]=decodeURIComponent(att[1]);}return attributes;},hsc:function(str){str=str.replace(/&/g,"&amp;");str=str.replace(/\"/g,"&quot;");str=str.replace(/\'/g,"&#039;");str=str.replace(/</g,"&lt;");str=str.replace(/>/g,"&gt;");return str;},treetoggle:function(clicky){var listitem=clicky.parentNode.parentNode;var sublists=listitem.getElementsByTagName('ul');if(sublists.length){listitem.removeChild(sublists[0]);clicky.src=DOKU_BASE+'lib/images/plus.gif';clicky.alt='+';return false;}var link=listitem.getElementsByTagName('a')[0];var ajax=new sack(DOKU_BASE+'lib/plugins/acl/ajax.php');ajax.AjaxFailedAlert='';ajax.encodeURIString=false;if(ajax.failed)return true;var ul=document.createElement('ul');listitem.appendChild(ul);ajax.elementObj=ul;ajax.runAJAX(link.search.substr(1)+'&ajax=tree');clicky.src=DOKU_BASE+'lib/images/minus.gif';return false;},treehandler:function(e){if(e.target.src){acl.treetoggle(e.target);}else if(e.target.href){var obj=getElementsByClass('cur',$('acl__tree'),'a')[0];if(obj)obj.className=obj.className.replace(/ cur/,'');e.target.className+=' cur';var frm=$('acl__detail').getElementsByTagName('form')[0];if(e.target.className.search(/wikilink1/)>-1){frm.elements['ns'].value='';frm.elements['id'].value=acl.hsc(acl.parseatt(e.target.search)['id']);}else if(e.target.className.search(/idx_dir/)>-1){frm.elements['ns'].value=acl.hsc(acl.parseatt(e.target.search)['ns']);frm.elements['id'].value='';}acl.loadinfo();}e.stopPropagation();e.preventDefault();return false;}};addInitEvent(acl.init);AJAXCHAT_SHORT_INTERVAL=5;AJAXCHAT_MIDDLE_INTERVAL=10;AJAXCHAT_LONG_INTERVAL=30;AJAXCHAT_MAXIMUM_INTERVAL=5*60;AJAXCHAT_CHECKTIMEOUT=3*1000;AJAXCHAT_SENDTIMEOUT=30*1000;AJAXCHAT_NOMESSAGES="<em>&ndash; no messages &ndash;</em>";AJAXCHAT_MESSAGESCLEARED="<em>&ndash; messages cleared &ndash;</em>";var ajax_chat=null;function Mouse_monitor_class(window){this.lastmousex=0;this.lastmousey=0;this.mousemovehooked=false;this.mousemoved=false;this.window=window;this.document=window.document;var self=this;self.onMouseMove=function(){};self.mouseEvent=function(e){if(false===self.mousemovehooked){return;}var posx=0;var posy=0;if(!e){var e=self.window.event;}if(!e){var e=self.document.event;}if(!e){return;}if(e.pageX||e.pageY){posx=e.pageX;posy=e.pageY;}else{if(e.clientX||e.clientY){posx=e.clientX+self.document.body.scrollLeft;posy=e.clientY+self.document.body.scrollTop;}}if(self.lastmousex!=0&&self.lastmousey!=0){if((posx==0&&posy==0)||posx!=self.lastmousex||posy!=self.lastmousey){self.mousemoved=true;if(self.onMouseMove){try{self.onMouseMove();}catch(e){};}self.onMouseMove=null;self.unhookMouseEvent();}}self.lastmousex=posx;self.lastmousey=posy;};self.hookMouseEvent=function(){if(true===self.mousemovehooked){return;}self.mousemoved=false;self.lastmousex=0;self.lastmousey=0;addEvent(self.document,'mousemove',self.mouseEvent);self.mousemovehooked=true;};self.unhookMouseEvent=function(){if(false===self.mousemovehooked){return;}removeEvent(self.document,'mousemove',self.mouseEvent);self.mousemovehooked=false;};self.sleep=function(delay){var start=(new Date()).getTime();while((new Date()).getTime()-start<delay){};};}function Ajax_chat_class(objectName,outId,pageId,lastRefresh,window){this.objectName=objectName;this.check_sack=new sack(DOKU_BASE+'lib/plugins/chat/ajax.php');this.check_sack.AjaxFailedAlert='';this.check_sack.encodeURIString=false;this.send_sack=new sack(DOKU_BASE+'lib/plugins/chat/ajax.php');this.send_sack.AjaxFailedAlert='';this.send_sack.encodeURIString=false;this.timer=null;this.lastChatAreaUpdate=new Date().getTime();this.chat_timer=null;this.outObj=document.getElementById(outId);this.pageId=pageId;this.lastRefresh=lastRefresh;this.lastSend=lastRefresh;this.refresh=AJAXCHAT_SHORT_INTERVAL;this.clearing=false;this.sending=false;this.sendQueue=new Array();var self=this;this.mouseMonitor=new Mouse_monitor_class(window);this.onMouseMove=function(func){self.mouseMonitor.onMouseMove=function(){func();};self.mouseMonitor.hookMouseEvent();};this.check_sack.onLoading=function(){self.updateInfo('requestTimerInfo','Timer initialized');self.check_sack.requestTimer=setTimeout(function(){self.check_sack.requestTimer=null;try{if(self.check_sack.xmlhttp.abort){self.check_sack.xmlhttp.abort();}}catch(e){}self.updateInfo('requestTimerInfo','Timeout, aborted connection');self.check_sack.onError();},AJAXCHAT_CHECKTIMEOUT);};this.check_sack.onError=function(){if(self.check_sack.requestTimer!==null){clearTimeout(self.check_sack.requestTimer);self.check_sack.requestTimer=null;self.updateInfo('requestTimerInfo','Error, timer aborted');}else{self.updateInfo('requestTimerInfo','Error, no timer');}self.updateInfo('ajaxActive','error, waiting');self.check_sack.onCompletion();};this.check_sack.onLoaded=function(){if(self.check_sack.requestTimer!==null){clearTimeout(self.check_sack.requestTimer);self.check_sack.requestTimer=null;self.updateInfo('requestTimerInfo','OK, timer cleared');}};this.send_sack.onLoading=function(){self.updateInfo('requestTimerInfo','Timer initialized');self.send_sack.requestTimer=setTimeout(function(){self.send_sack.requestTimer=null;try{if(self.send_sack.xmlhttp.abort){self.send_sack.xmlhttp.abort();}}catch(e){}self.updateInfo('requestTimerInfo','Timeout, aborted connection');self.send_sack.onError();},AJAXCHAT_SENDTIMEOUT);};this.send_sack.onError=function(){if(self.send_sack.requestTimer!==null){clearTimeout(self.send_sack.requestTimer);self.send_sack.requestTimer=null;self.updateInfo('requestTimerInfo','Error, timer aborted');}else{self.updateInfo('requestTimerInfo','Error, no timer');}self.updateInfo('ajaxActive','error, waiting');self.send_sack.onCompletion();};this.send_sack.onLoaded=function(){if(self.send_sack.requestTimer!==null){clearTimeout(self.send_sack.requestTimer);self.send_sack.requestTimer=null;self.updateInfo('requestTimerInfo','OK, timer cleared');}};this.getUpdateTimeFromResponse=function(resp){var time=resp.substring(0,resp.indexOf('\n')).replace(/(.*<!--AJAXCHAT_MTIME:)([0-9]+)(-->.*)/,'$2');if(time==null||time==''){time=0;}return time*1;};self.updateInfo('ajaxRefreshInterval',this.refresh+'sec');}Ajax_chat_class.prototype.updateInfo=function(infoTag,infoValue){var infoDiv=document.getElementById('chat-info-pad');if(infoDiv){if(infoDiv.elements[infoTag]){infoDiv.elements[infoTag].value=infoValue;}}};Ajax_chat_class.prototype.chatClear=function(user){var self=this;self.clearing=true;self.send_sack.oldOnError=self.send_sack.onError;self.send_sack.onError=function(){self.send_sack.oldOnError();self.clearing=false;self.send_sack.onError=self.send_sack.oldOnError;};this.send_sack.onCompletion=function(){var data=self.send_sack.response;if(data!==''){self.updateInfo('ajaxLastStatus','Messages cleared');self.outObj.innerHTML=AJAXCHAT_MESSAGESCLEARED;self.outObj.style.display='block';updated=self.getUpdateTimeFromResponse(data);self.lastRefresh=updated;self.clearing=false;self.send_sack.onError=self.send_sack.oldOnError;}};self.outObj.innerHTML=AJAXCHAT_MESSAGESCLEARED;if(this.send_sack.encVar){this.send_sack.encVar('call','clear');this.send_sack.encVar('pageId',self.pageId);this.send_sack.encVar('time',self.lastRefresh);this.send_sack.encVar('user',user);this.send_sack.runAJAX();}else{this.send_sack.runAJAX('call=clear'+'&pageId='+encodeURIComponent(this.pageId)+'&time='+this.lastRefresh+'&user='+encodeURIComponent(user));}};Ajax_chat_class.prototype.chatSend=function(user,message){var self=this;if(true==self.clearing){return;}self.sending=true;self.send_sack.oldOnError=self.send_sack.onError;self.send_sack.onError=function(){if(self.send_sack.onError!==self.send_sack.oldOnError){self.send_sack.oldOnError();}self.sending=false;self.send_sack.onError=self.send_sack.oldOnError;};this.send_sack.onCompletion=function(){var data=self.send_sack.response;if(200==self.send_sack.responseStatus[0]*1){var sentDiv=document.getElementById('chatListSentMessage');if(sentDiv){sentDiv.innerHTML='';sentDiv.style.display='none';}if(data!==''){var updated=self.getUpdateTimeFromResponse(data);var actualData=data.replace(/[^\n]+\n[ ]*/,'');if(actualData.length==0){}self.outObj.innerHTML=(actualData.length>0?actualData+(self.lastRefresh>0?self.outObj.innerHTML:''):AJAXCHAT_NOMESSAGES);self.outObj.style.display='block';self.lastRefresh=updated;self.lastSend=updated;self.sendQueue.shift();}}else{}{self.sending=false;self.send_sack.onError=self.send_sack.oldOnError;}};this.requestTimeout=AJAXCHAT_SENDTIMEOUT;var msgrec=new Array();msgrec[0]=user;msgrec[1]=message;if(this.send_sack.encVar){this.send_sack.encVar('call','send');this.send_sack.encVar('pageId',self.pageId);this.send_sack.encVar('time',self.lastRefresh);this.send_sack.encVar('user',user);this.send_sack.encVar('msg',message);this.send_sack.runAJAX();}else{this.send_sack.runAJAX('call=send'+'&pageId='+encodeURIComponent(self.pageId)+'&time='+self.lastRefresh+'&user='+encodeURIComponent(user)+'&msg='+encodeURIComponent(message));}};Ajax_chat_class.prototype.chatCheck=function(){try{var self=this;if(true==self.sending){return;}if(self.chat_timer!==null){clearTimeout(self.chat_timer);self.chat_timer=null;}this.check_sack.onCompletion=function(){if(true==self.clearing||true==self.sending){return;}var data=self.check_sack.response;if(200!=self.check_sack.responseStatus[0]*1){self.updateInfo('ajaxActive','waiting');self.updateInfo('ajaxLastStatus','Error '+self.check_sack.responseStatus[0]+', waiting');}else{self.updateInfo('ajaxActive','waiting');if(data===''){self.updateInfo('ajaxLastStatus','No change');}else{var updated=self.getUpdateTimeFromResponse(data);if((updated==0||updated>self.lastRefresh)&&false==self.clearing&&false==self.sending){var actualData=data.replace(/[^\n]+\n[ ]*/,'');if(actualData!==self.lastMessage){self.outObj.innerHTML=(actualData.length>0?actualData+(self.lastRefresh>0?self.outObj.innerHTML:''):AJAXCHAT_NOMESSAGES);self.outObj.style.display='block';self.updateInfo('ajaxLastStatus','New messages fetched');if(actualData.length>0){chatNotifySound();}else{}self.lastMessage=actualData;}self.lastRefresh=updated;}}}};this.updateInfo('ajaxActive','checking...');if(self.check_sack.encVar){self.check_sack.encVar('call','checkAndGet');self.check_sack.encVar('pageId',self.pageId);self.check_sack.encVar('time',self.lastRefresh);self.check_sack.runAJAX();}else{self.check_sack.runAJAX('call=checkAndGet&pageId='+encodeURIComponent(self.pageId)+'&time='+self.lastRefresh);}var now=new Date().getTime();if((now-self.lastChatAreaUpdate)/1000>=5*60){self.refresh=AJAXCHAT_MAXIMUM_INTERVAL;self.updateInfo('ajaxRefreshInterval',self.refresh+'sec');}else{if((now-self.lastChatAreaUpdate)/1000>=60){self.refresh=AJAXCHAT_LONG_INTERVAL;self.updateInfo('ajaxRefreshInterval',self.refresh+'sec');self.onMouseMove(function(){if(self.refresh>AJAXCHAT_MIDDLE_INTERVAL){self.refresh=AJAXCHAT_MIDDLE_INTERVAL;self.lastChatAreaUpdate=new Date().getTime()-(30*1000);self.updateInfo('ajaxRefreshInterval',self.refresh+'sec');self.chat_timer=setTimeout(self.objectName+".chatCheck()",100);}});}else{if((now-self.lastChatAreaUpdate)/1000>=30){self.refresh=AJAXCHAT_MIDDLE_INTERVAL;self.updateInfo('ajaxRefreshInterval',self.refresh+'sec');}}}var timeoutFuzzy=(Math.round(Math.random())>0?1:-1)*Math.round(Math.random()*((self.refresh*1000)/10));self.updateInfo('ajaxNextCheck','Next check: '+self.refresh+'s  '+(timeoutFuzzy>0?"+"+timeoutFuzzy+"ms":timeoutFuzzy<0?timeoutFuzzy+"ms":""));}catch(e){}self.chat_timer=setTimeout(self.objectName+".chatCheck()",(self.refresh*1000)+timeoutFuzzy);};Ajax_chat_class.prototype.chatCheckAbort=function(){var self=this;if(null!=self.check_sack.requestTimer){clearTimeout(self.check_sack.requestTimer);self.check_sack.requestTimer=null;this.updateInfo('ajaxActive','aborted check...');}if(self.check_sack.xmlhttp&&self.check_sack.xmlhttp.abort){try{self.check_sack.xmlhttp.abort();}catch(e){}}};function chatSetCookie(name,value,expire){try{DokuCookie.setValue(name,value,expire);}catch(e){var expiref=new Date();fixDate(expiref);expiref.setTime(expiref.getTime()+expire);setCookie(name,value,expiref);}}function chatGetCookie(name){var value;try{value=DokuCookie.getValue(name);}catch(e){value=getCookie(name);}return value;}function new_ajax_chat(outId,pageId,lastRefresh){ajax_chat=new Ajax_chat_class("ajax_chat",outId,pageId,lastRefresh,window);}function chatRefresh(event){if(ajax_chat===null){return;}var list=document.getElementById('chat-last-message');if(list){if(list.className.indexOf(' chat-line-last')!=-1){list.className=list.className.replace(/ chat-line-last/gi,'');}}ajax_chat.chatCheck();}function chatClick(event){if(ajax_chat===null){return;}if(ajax_chat.refresh>AJAXCHAT_SHORT_INTERVAL){ajax_chat.refresh=AJAXCHAT_SHORT_INTERVAL;ajax_chat.lastChatAreaUpdate=(new Date()).getTime();ajax_chat.updateInfo('ajaxRefreshInterval',ajax_chat.refresh+'sec');}chatRefresh();}function chatAreaUpdated(event){if(ajax_chat===null){return;}var now=new Date().getTime();if((now-ajax_chat.lastChatAreaUpdate)/1000<30){if(ajax_chat.refresh>AJAXCHAT_SHORT_INTERVAL){ajax_chat.refresh=AJAXCHAT_SHORT_INTERVAL;ajax_chat.updateInfo('ajaxRefreshInterval',ajax_chat.refresh+'sec');chatRefresh();}else{}}else{chatRefresh();}ajax_chat.lastChatAreaUpdate=now;}function chatSendMessage(user,msg){if(ajax_chat.lastSend>0){var now=(new Date()).getTime();if(now-(ajax_chat.lastSend*1000)<1000){return false;}}var time=new Date();var timeF;if((''+time.getHours()).length>1){timeF=time.getHours()+":";}else{timeF="0"+time.getHours()+":";}if((''+time.getMinutes()).length>1){timeF+=time.getMinutes()+":";}else{timeF+="0"+time.getMinutes()+":";}if((''+time.getSeconds()).length>1){timeF+=time.getSeconds()+"";}else{timeF+="0"+time.getSeconds()+"";}var list=document.getElementById('chatListSentMessage');list.innerHTML="<strong>"+user+"</strong> ("+timeF+"): <br /><blockquote>"+msg+"</blockquote>\n";list.style.display='block';list.style.height='';ajax_chat.chatSend(user,msg);return true;}function focusChatPrompt(){var form=document.getElementById('chatForm');if(form){if(form.chatMessage){form.chatMessage.focus();}}}function chatClearMessages(user){var list=document.getElementById('chatList');list.innerHTML="&nbsp;";ajax_chat.chatClear(user);focusChatPrompt();}function chatEventKeyUp(){var input=document.getElementById('chatForm').chatMessage;}function chatEventClear(){var form=document.getElementById('chatForm');chatClearMessages(form.user.value);return false;}function chatEventSubmit(){try{focusChatPrompt();var form=document.getElementById('chatForm');if(form.chatMessage.value===''){return false;}if(chatSendMessage(form.user.value,form.chatMessage.value)){form.chatMessage.value='';}}catch(e){};return false;}function saveChatUser(){var input=document.getElementById('chatForm').user;if(!input){return;}if(null!==input.timer){clearTimeout(input.timer);input.timer=null;}input.lastKey=null;chatSetCookie('chatName',input.value,365*24*60*60*1000);}function chatEventUserChanged(e){var input=document.getElementById('chatForm').user;if(!input){return;}if(null!==input.timer){clearTimeout(input.timer);input.timer=null;}var now=new Date();if(!input.lastKey){input.lastKey=now.getTime();input.timer=setTimeout('saveChatUser()',1000);}else{input.lastKey=now.getTime();input.timer=setTimeout('saveChatUser()',1000);}}function chatNotifySound(){var soundPlayer=document.getElementById('newmsg_sound');if(soundPlayer){try{soundPlayer.play();}catch(e){};}}function chatSetVolume(vol,silent,cookie){var soundPlayer=document.getElementById('newmsg_sound');if(soundPlayer){try{soundPlayer.setVolume(vol);if(!silent&&(vol>0)){soundPlayer.play();}var img=document.getElementById('chatVolumeIcon');if(img){img.src=DOKU_BASE+'lib/plugins/chat/volume'+vol+'.gif';img.title='Set notify volume ('+(vol>0?vol:'muted')+')';img.style.width='';img.style.paddingRight='10px';img.style.paddingTop='2px';}}catch(e){};if(cookie){chatSetCookie('chatVolume',vol+'',365*24*60*60*1000);}}}function chatToggleVolume(){var soundPlayer=document.getElementById('newmsg_sound');if(soundPlayer){try{var volume=soundPlayer.getVolume()+1;if(volume>4){volume=0;}chatSetVolume(volume,false,true);}catch(e){};}}function chatInitialize(){var form=document.getElementById('chatForm');var list=document.getElementById('chatList');if(form){if(form.user&&'text'==form.user.type){var cname=chatGetCookie('chatName');if(null!==cname){form.user.value=cname;}else{saveChatUser();}}if(form.chatMessage){addEvent(form,'submit',chatEventSubmit);addEvent(form.user,'keyup',chatEventUserChanged);addEvent(form.chatMessage,'keyup',chatAreaUpdated);setTimeout('focusChatPrompt()',1000);}if(form.clearButton){addEvent(form.clearButton,'click',chatEventClear);}new_ajax_chat('chatList',form.pageId.value,0);ajax_chat.chatCheck();}if(list){addEvent(list,'mouseup',chatClick);}}(function(){(new Image()).src=DOKU_BASE+'lib/plugins/chat/volume0.gif';(new Image()).src=DOKU_BASE+'lib/plugins/chat/volume1.gif';(new Image()).src=DOKU_BASE+'lib/plugins/chat/volume2.gif';(new Image()).src=DOKU_BASE+'lib/plugins/chat/volume3.gif';(new Image()).src=DOKU_BASE+'lib/plugins/chat/volume4.gif';addEvent(window,'load',chatInitialize);})();function setName(){document.getElementById("editform").setAttribute("action","?id="+document.getElementById('np_cat').value+':'+document.getElementById('addnewpage_title').value);}function isBlank(s){if((s===null)||(s.length===0)){return true;}for(var i=0;i<s.length;i++){var c=s.charAt(i);if((c!=' ')&&(c!='\n')&&(c!='\t')){return false;}}return true;}function validate(frm){if(isBlank(frm.mail.value)||frm.mail.value.indexOf("@")==-1){frm.mail.focus();return false;}if(isBlank(frm.name.value)){frm.name.focus();return false;}if(isBlank(frm.text.value)){frm.text.focus();return false;}}addInitEvent(function(){updateAccessKeyTooltip();});addInitEvent(function(){scrollToMarker();});addInitEvent(function(){focusMarker();});

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0132 ]--