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) /www/message.axkickboxing.com/public_html/images/user_uploaded/pafm/ drwxrwxr-x |
Viewing file: js-min.js (7.7 KB) -rwxrwxr-x Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | function $(A){return document.getElementById(A)}var CPLanguages,popup,fOp,edit,upload;CPLanguages={csharp:"C#",css:"CSS",generic:"Generic",html:"HTML",java:"Java",javascript:"JavaScript",perl:"Perl",ruby:"Ruby",php:"PHP",text:"Text",sql:"SQL",vbscript:"VBScript"};function ajax(A,E,C,B){json2markup(["div",{attributes:{id:"ajaxOverlay"}},"img",{attributes:{src:"pafm/images/ajax.gif",id:"ajaxImg",title:"Loading",alt:"Loading"}}],document.body);$("ajaxOverlay").style.height=document.body.offsetHeight+"px";fade($("ajaxOverlay"),0,6,25,"in");var D=window.ActiveXObject?new ActiveXObject("MSXML2.XMLHTTP.3.0"):new XMLHttpRequest();D.open(E,A,true);D.onreadystatechange=function(){if(D.readyState!=4){return }fade($("ajaxOverlay"),6,0,25,"out",function(){document.body.removeChild($("ajaxOverlay"));document.body.removeChild($("ajaxImg"))});if(D.status==200||D.statusText=="OK"){if(D.responseText=="Please refresh the page and login"){alert("Please refresh the page and login")}else{B(D.responseText)}}else{alert("AJAX request unsuccessful.\nStatus Code: "+D.status+"\nStatus Text: "+D.statusText+"\nParameters: "+A)}D=null};if(E.toLowerCase()=="post"){D.setRequestHeader("Content-Type","application/x-www-form-urlencoded;charset=UTF-8")}D.send(C)}function json2markup(C,G){var B=0,A=C.length,D,F,E;for(;B<A;B++){if(C[B].constructor==Array){json2markup(C[B],D)}else{if(C[B].constructor==Object){if(C[B].attributes){for(F in C[B].attributes){F.toLowerCase()=="style"?D.style.cssText=C[B].attributes[F]:F.toLowerCase()=="class"?D.className=C[B].attributes[F]:F.toLowerCase()=="for"?D.htmlFor=C[B].attributes[F]:D.setAttribute(F,C[B].attributes[F])}}if(C[B].events){for(E in C[B].events){D.addEventListener?D.addEventListener(E,C[B].events[E],false):D.attachEvent("on"+E,C[B].events[E])}}if(C[B].preText){G.appendChild(document.createTextNode(C[B].preText))}if(C[B].text){D.appendChild(document.createTextNode(C[B].text))}G.appendChild(D);if(C[B].postText){G.appendChild(document.createTextNode(C[B].postText))}}else{D=document.createElement(C[B])}}}}function fade(E,F,G,C,H,I){var D=E.style.opacity!=undefined,B,A;E.style[D?"opacity":"filter"]=D?F/10:"alpha(opacity="+F*10+")";A=setInterval(function(){if(H=="in"){F++;B=F<=G}else{if(H=="out"){F--;B=F>=G}}if(B){E.style[D?"opacity":"filter"]=D?F/10:"alpha(opacity="+F*10+")"}else{clearInterval(A);if(I){I()}}},C)}popup={init:function(D,B){json2markup(["div",{attributes:{id:"popOverlay"},events:{click:popup.close}}],document.body);json2markup(["div",{attributes:{id:"popup"}},["div",{attributes:{id:"head"}},["a",{attributes:{id:"x",href:"#"},events:{click:function(F){popup.close();F.preventDefault?F.preventDefault():F.returnValue=false}},text:"[x]"},"span",{text:D}],"div",{attributes:{id:"body"}}]],document.body);var E=$("popup"),C=$("popOverlay"),A=$("x");if(window.ActiveXObject){A.style.cssFloat="none";A.style.position="absolute";A.style.right=A.parentNode.offsetLeft+3}json2markup(B,$("body"));E.style.marginTop="-"+(parseInt(E.offsetHeight)+100)/2+"px";E.style.marginLeft="-"+parseInt(E.offsetWidth)/2+"px";fade(C,0,6,25,"in");document.onkeydown=function(F){if((F||window.event).keyCode==27){popup.close();return false}}},close:function(){if($("popup")){var A=$("popOverlay");fade(A,6,0,25,"out",function(){document.body.removeChild(A)});document.body.removeChild($("popup"))}document.onkeydown=null}};fOp={rename:function(A,B){popup.init("Rename:",["form",{attributes:{action:"?do=rename&subject="+A+"&path="+B,method:"post"}},["input",{attributes:{title:"Rename To",type:"text",name:"rename",value:A}},"input",{attributes:{title:"Ok",type:"submit",value:"\u2713"}}]])},create:function(A,B){popup.init("Create "+A+":",["form",{attributes:{method:"post",action:"?do=create&path="+B}},["input",{attributes:{title:"Filename",type:"text",name:A}},"input",{attributes:{title:"Ok",type:"submit",value:"\u2713"}}]])},chmod:function(C,B,A){popup.init("Chmod "+unescape(B)+":",["form",{attributes:{method:"post",action:"?do=chmod&subject="+B+"&path="+C}},["input",{attributes:{title:"chmod",type:"text",name:"mod",value:A}},"input",{attributes:{title:"Ok",type:"submit",value:"\u2713"}}]])},moveList:function(A,B,C){ajax(("?do=moveList&subject="+A+"&path="+B+"&to="+C),"get",null,function(E){if(!$("popup")){popup.init("Move "+unescape(A)+" to:",Function("return "+E)())}else{var F=$("popup"),D=$("x");$("body").innerHTML="";json2markup(Function("return "+E)(),$("body"));if(window.ActiveXObject){D.style.right=D.parentNode.offsetLeft+3}F.style.marginTop="-"+(parseInt(F.offsetHeight)+100)/2+"px";F.style.marginLeft="-"+parseInt(F.offsetWidth)/2+"px"}})}};edit={init:function(C,G,A){var D=[],B,F,E;A=A||"text";switch(A){case"js":A="javascript";break;case"htm":A="html";break;case"pl":A="perl";break;case"rb":A="ruby"}json2markup(["div",{attributes:{id:"editOverlay"}}],document.body);$("editOverlay").style.height=document.body.offsetHeight+"px";json2markup(["div",{attributes:{id:"ea"}},["textarea",{attributes:{id:"ta","class":"codepress "+A,rows:"30",cols:"90"}},"br",{},"input",{attributes:{type:"text",value:unescape(C),readonly:""}},"input",{attributes:{type:"button",value:"Save",id:"save"},events:{click:function(){edit.save(C,G)}}},"input",{attributes:{type:"button",value:"Exit",id:"exit"},events:{click:function(){edit.exit(C,G)}}},"input",{attributes:{type:"button",value:"Toggle CodePress"},events:{click:function(){ta.toggleEditor()}}},"select",{attributes:{id:"ll",style:"margin-left: 1px;"},events:{change:function(I){var H=I.srcElement||I.target;ta.setLanguage(H[H.selectedIndex].value)}}},["option",{text:"Loading"}],"span",{attributes:{id:"editMsg"}}]],document.body);document.onkeydown=function(H){if((H||window.event).keyCode==27){edit.exit(C,G);return false}};for(B in CPLanguages){E={attributes:{value:B},text:CPLanguages[B]};if(A==B){E.attributes.selected="true"}D.push("option",E)}(F=$("ll")).innerHTML="";json2markup(D,F);ajax("?do=readFile&path="+G+"&subject="+C,"get",null,function(H){$("ta").value=H;if(!$("cpjs")){json2markup(["script",{attributes:{src:"pafm/codepress/codepress.js",type:"text/javascript",id:"cpjs"},events:{load:function(){if(!/webkit/.test(navigator.userAgent.toLowerCase())){CodePress.run()}}}}],document.getElementsByTagName("head")[0]);$("cpjs").onreadystatechange=function(){if(this.readyState=="complete"){CodePress.run()}}}else{CodePress.run()}})},save:function(B,C){$("editMsg").innerHTML=null;var A="data="+encodeURIComponent(window.ta?ta.getCode():$("ta").value);ajax("?do=saveEdit&subject="+B+"&path="+C,"post",A,function(D){$("editMsg").className=D!="Saved"?"failed":"succeeded";$("editMsg").innerHTML=D});window.__FILESAVED=true},exit:function(A,B){if(window.__FILESAVED){ajax("?do=getfs&path="+B+"&subject="+A,"get",null,function(E){var G=$("dirList").getElementsByTagName("li"),D=unescape(A),F=0,C=G.length;for(;F<C;F++){if(G[F].title==D){G[F].getElementsByTagName("span")[0].innerHTML=E;break}}})}document.body.removeChild($("ea"));document.body.removeChild($("editOverlay"));window.__FILESAVED=null;document.onkeydown=null}};upload={init:function(B,A){popup.init("Upload:",["form",{attributes:{id:"upload",action:"?do=upload&path="+B,method:"post",enctype:"multipart/form-data"}},["input",{attributes:{type:"hidden",name:"MAX_FILE_SIZE",value:A}},"input",{attributes:{type:"file",name:"file"},events:{change:function(C){$("rc").innerHTML="";upload.chk((C.srcElement||C.target).value,B)}}},"span",{attributes:{id:"rc"}}]])},chk:function(C,D){var B=C.split(/\\|\//g),A;B=B.push?B[B.length-1]:B;ajax("?do=fileExists&path="+D+"&subject="+B,"get",null,function(E){if(E=="1"){A=["br",{},"b",{text:"File exists, overwrite?"},"br",{},"input",{attributes:{type:"submit",value:"Yes"}},"input",{attributes:{type:"button",id:"tb",value:"No"},events:{click:popup.close}}]}else{A=["input",{attributes:{title:"Ok",type:"submit",value:"\u2713",id:"uploadOk"}}]}json2markup(A,$("rc"))})}}; |
:: Command execute :: | |
--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0048 ]-- |