[ bullettooth @ 07.05.2010. 19:01 ] @
pozdrav pplz ja i drugar smo uporedili source code jedna stranice i njegov source code ima neki silan dodatan text jel moze neko da nam kaze kako to da uklonimo da bi mogli neke scripte ta pokrenemo pokusali smo da instaliramo virtualnu masinu i dalje ima taj dodatan text evo kako izgleda ne znam kako drugacije da vam pokazem prosto on ovo ima vise nego ja na pocetku :D <!-- imgout=new Image(9,9);imgin=new Image(9,9);imgout.src="images/u2.gif";imgin.src="images/d.gif";function filter(imagename,objectsrc){if(document.images){document.images[imagename].src=eval(objectsrc+".src");}} function shoh(id){if(document.getElementById){if(document.getElementById(id).style.display=="none"){document.getElementById(id).style.display='block';filter(("img"+id),'imgin');}else{filter(("img"+id),'imgout');document.getElementById(id).style.display='none';}}else{if(document.layers){if(document.id.display=="none"){document.id.display='block';filter(("img"+id),'imgin');}else{filter(("img"+id),'imgout');document.id.display='none';}}else{if(document.all.id.style.visibility=="none"){document.all.id.style.display='block';}else{filter(("img"+id),'imgout');document.all.id.style.display='none';}}}} //--> </script> <script type="text/javascript" > <!-- function checkUncheckAll(theElement) {var theForm=theElement.form,z=0;for(z=0;z<theForm.length;z++) {if(theForm[z].type=='checkbox'&&theForm[z].name!='checkall') {theForm[z].checked=theElement.checked;}}} //--> </script> <script type="text/javascript" > <!-- function writeImgTag(code) {var cache=document.ajax.chat.value;this.code=code;document.ajax.chat.value=cache+code;document.ajax.chat.focus();} function writeImg(code2) {var cache=document.composemail.bodyd.value;this.code2=code2;document.composemail.bodyd.value=cache+code2;document.composemail.bodyd.focus();} function writeImg2(code2) {var cache=document.composemail.he.value;this.code2=code2;document.composemail.he.value=cache+code2;document.composemail.he.focus();} //--> </script> <script type="text/javascript" > <!-- function tutorial(option){c("<div class='image'><img src='../images/ajax/ajax-loader.gif' /></div>","floater");var oXmlHttp=zXmlHttp.createRequest();if(option=="add") var page="../includes/tables/tutorial/tutorial.php?option=add";else if(option=="quit") var page="../includes/tables/tutorial/tutorial.php?option=quit";else var page="../includes/tables/tutorial/tutorial.php?option=substract";oXmlHttp.open("get",page,true);oXmlHttp.onreadystatechange=function() {if(oXmlHttp.readyState==4) {if(oXmlHttp.status==200) {c(oXmlHttp.responseText,"floater");if(option=="quit") hideObject();} else {c("An error occurred: "+oXmlHttp.statusText,"result");}}};oXmlHttp.send(null);} function chat(chattyp){if(chattyp=="clan"){var page="clanchat.php";} else if(chattyp=="help"){var page="helpchat.php";} else if(chattyp=="R18"){var page="R18chat.php";} else{var page="chat.php";} var oXmlHttp=zXmlHttp.createRequest();oXmlHttp.open("get",page,true);oXmlHttp.onreadystatechange=function() {if(oXmlHttp.readyState==4) {if(oXmlHttp.status==200) {c(oXmlHttp.responseText,"chatajax");} else {c("An error occurred: "+oXmlHttp.statusText,"chatajax");}}};oXmlHttp.send(null);} function chatsubmit(type){var oXmlHttp=zXmlHttp.createRequest();var a=document.getElementById("bodyd").value;if(type=="clan"){var chatop="clan";} else if(type=="help"){var chatop="help";} else if(type=="R18"){var chatop="R18";} else{var chatop="chat";} var page="includes/tables/chat/submit.php?option="+chatop+"&bodyd="+encodeURIComponent(a);oXmlHttp.open("get",page,true);oXmlHttp.onreadystatechange=function() {if(oXmlHttp.readyState==4) {if(oXmlHttp.status==200) {c(oXmlHttp.responseText,"errors");document.getElementById("bodyd").value="";chat(type);} else {c("An error occurred: "+oXmlHttp.statusText,"errors");}}};oXmlHttp.send(null);} function chatlist(type){var oXmlHttp=zXmlHttp.createRequest();var include="../../../" if(type=="clan"){var chatop="clan";} else if(type=="help"){var chatop="help";} else if(type=="R18"){var chatop="R18";} else{var chatop="chat";} var page="includes/tables/chat/list.php?include="+include+"&option="+chatop;oXmlHttp.open("get",page,true);oXmlHttp.onreadystatechange=function() {if(oXmlHttp.readyState==4) {if(oXmlHttp.status==200) {c(oXmlHttp.responseText,"chatlist");} else {c("An error occurred: "+oXmlHttp.statusText,"chatlist");}}};oXmlHttp.send(null);} function getQueryVariable(variable){var query=window.location.search.substring(1);var vars=query.split("&");for(var i=0;i<vars.length;i++){var pair=vars.split("=");if(pair[0]==variable){return pair[1];}} return "chat";} function onEnter(evt,frm){if(evt.which){keyCode=evt.which;}else if(evt.keyCode){keyCode=evt.keyCode;} if(13==keyCode){var type=getQueryVariable("link");if(type=="clanchat"){var chatop="clan";} else if(type=="helpchat"){var chatop="help";} else if(type=="R18chat"){var chatop="R18";} else{var chatop="chat";} chatsubmit(chatop);return false;} return true;} var Drag={obj:null,init:function(o,oRoot,minX,maxX,minY,maxY,bSwapHorzRef,bSwapVertRef,fXMapper,fYMapper) {o.onmousedown=Drag.start;o.hmode=bSwapHorzRef?false:true;o.vmode=bSwapVertRef?false:true;o.root=oRoot&&oRoot!=null?oRoot:o;if(o.hmode&&isNaN(parseInt(o.root.style.left)))o.root.style.left="0px";if(o.vmode&&isNaN(parseInt(o.root.style.top)))o.root.style.top="0px";if(!o.hmode&&isNaN(parseInt(o.root.style.right)))o.root.style.right="0px";if(!o.vmode&&isNaN(parseInt(o.root.style.bottom)))o.root.style.bottom="0px";o.minX=typeof minX!='undefined'?minX:null;o.minY=typeof minY!='undefined'?minY:null;o.maxX=typeof maxX!='undefined'?maxX:null;o.maxY=typeof maxY!='undefined'?maxY:null;o.xMapper=fXMapper?fXMapper:null;o.yMapper=fYMapper?fYMapper:null;o.root.onDragStart=new Function();o.root.onDragEnd=new Function();o.root.onDrag=new Function();},start:function(e) {var o=Drag.obj=this;e=Drag.fixE(e);var y=parseInt(o.vmode?o.root.style.top:o.root.style.bottom);var x=parseInt(o.hmode?o.root.style.left:o.root.style.right);o.root.onDragStart(x,y);o.lastMouseX=e.clientX;o.lastMouseY=e.clientY;if(o.hmode){if(o.minX!=null)o.minMouseX=e.clientX-x+o.minX;if(o.maxX!=null)o.maxMouseX=o.minMouseX+o.maxX-o.minX;}else{if(o.minX!=null)o.maxMouseX=-o.minX+e.clientX+x;if(o.maxX!=null)o.minMouseX=-o.maxX+e.clientX+x;} if(o.vmode){if(o.minY!=null)o.minMouseY=e.clientY-y+o.minY;if(o.maxY!=null)o.maxMouseY=o.minMouseY+o.maxY-o.minY;}else{if(o.minY!=null)o.maxMouseY=-o.minY+e.clientY+y;if(o.maxY!=null)o.minMouseY=-o.maxY+e.clientY+y;} document.onmousemove=Drag.drag;document.onmouseup=Drag.end;return false;},drag:function(e) {e=Drag.fixE(e);var o=Drag.obj;var ey=e.clientY;var ex=e.clientX;var y=parseInt(o.vmode?o.root.style.top:o.root.style.bottom);var x=parseInt(o.hmode?o.root.style.left:o.root.style.right);var nx,ny;if(o.minX!=null)ex=o.hmode?Math.max(ex,o.minMouseX):Math.min(ex,o.maxMouseX);if(o.maxX!=null)ex=o.hmode?Math.min(ex,o.maxMouseX):Math.max(ex,o.minMouseX);if(o.minY!=null)ey=o.vmode?Math.max(ey,o.minMouseY):Math.min(ey,o.maxMouseY);if(o.maxY!=null)ey=o.vmode?Math.min(ey,o.maxMouseY):Math.max(ey, o.minMouseY);nx=x+((ex-o.lastMouseX)*(o.hmode?1:-1));ny=y+((ey-o.lastMouseY)*(o.vmode?1:-1));if(o.xMapper)nx=o.xMapper(y) else if(o.yMapper)ny=o.yMapper(x) Drag.obj.root.style[o.hmode?"left":"right"]=nx+"px";Drag.obj.root.style[o.vmode?"top":"bottom"]=ny+"px";Drag.obj.lastMouseX=ex;Drag.obj.lastMouseY=ey;Drag.obj.root.onDrag(nx,ny);return false;},end:function() {document.onmousemove=null;document.onmouseup=null;Drag.obj.root.onDragEnd(parseInt(Drag.obj.root.style[Drag.obj.hmode?"left":"right"]),parseInt(Drag.obj.root.style[Drag.obj.vmode?"top":"bottom"]));Drag.obj=null;},fixE:function(e) {if(typeof e=='undefined')e=window.event;if(typeof e.layerX=='undefined')e.layerX=e.offsetX;if(typeof e.layerY=='undefined')e.layerY=e.offsetY;return e;}};function hideObject(){document.getElementById('floater').style.visibility="hidden";} function a(p){c("Processing....","r");var q=zXmlHttp.createRequest();q.open("get",p,true);q.onreadystatechange=function(){if(q.readyState==4){if(q.status==200){c(q.responseText,"r");}else{c("An error occurred: "+q.statusText,"r");}}};q.send(null);} function b(p,u){c("Processing....",u);var q=zXmlHttp.createRequest();q.open("get",p,true);q.onreadystatechange=function(){if(q.readyState==4){if(q.status==200){c(q.responseText,u);}else{c("An error occurred: "+q.statusText,u);}}};q.send(null);} function c(t,u){var s=document.getElementById(u);s.innerHTML=t;} function ha(p,u,hb,hf,hg){c("Processing....","hc");var hd=document.getElementById("he").value;var q=zXmlHttp.createRequest();q.open("post",p,true);q.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8");q.send('he='+encodeURI(hd)+"&hf="+encodeURI(hf)+"&hg="+encodeURI(hg));q.onreadystatechange=function(){if(q.readyState==4){if(q.status==200){var returned=q.responseText;var mySplitResult=returned.split("-");if(mySplitResult[0]=='hc'){document.getElementById("hc").innerHTML="error";}if(mySplitResult[0]=='wk'){document.location.reload();}c(q.responseText,u);}else{c("An error occurred: "+q.statusText,u);}}};q.send(null);} function haz(p,u,hazd){c("Processing....",u);var haza=document.getElementById("forna").value;var hazb=document.getElementById("forde").value;var hazc=document.getElementById("forpo").value;var q=zXmlHttp.createRequest();var url=p+"?haza="+encodeURI(haza)+"&hazb="+encodeURI(hazb)+"&hazc="+encodeURI(hazc)+"&hazd="+hazd;q.open("get",url,true);q.onreadystatechange=function(){if(q.readyState==4){if(q.status==200){var returned=q.responseText;var mySplitResult=returned.split("|");if(mySplitResult[0]=='bhh'){c(mySplitResult[1],u);}if(mySplitResult[0]=='bgg'){document.location.href=mySplitResult[1];}}else{c("An error occurred: "+q.statusText,u);}}};q.send(null);}function show(id,pluck){var obj=document.getElementById(id);if(obj.style.display=="none"){obj.style.display="block";}else{obj.style.display="none";}var show=document.getElementById(pluck).text;if(show=="Show"){document.getElementById(pluck).innerHTML="Hide";}else{document.getElementById(pluck).innerHTML="Show";}document.getElementById(pluck).focus();}function jfa(id,jfb){jfe=document.getElementById(jfb).value;document.getElementById(id).value=jfe;}function jga(id,jgb){var cache=document.getElementById(id).value;document.getElementById(id).value=cache+jgb;document.getElementById(id).focus();}function fd(p,u,fa,fg){var divy="ft"+fa;var fe="";if(fg=='gb'){fe=document.getElementById(divy).value;}else{fe="";}c("Processing....",u);var q=zXmlHttp.createRequest();q.open("post",p,true);q.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8");q.send('fb='+encodeURI(fa)+"&fg="+encodeURI(fg)+"&fe="+encodeURI(fe)+"&fs="+encodeURI(u));q.onreadystatechange=function(){if(q.readyState==4){if(q.status==200){c(q.responseText,u);}else{c("An error occurred: "+q.statusText,u);}}};q.send(null);}function z(){var s=document.getElementById('hepg');s.innerHTML='select a topic';}/*© Dynamic Drive (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit http://www.dynamicdrive.com/ for full source code ***********************************************/ var tipwidth='400px' //default tooltip width var tipbgcolor='darkblue' //tooltip bgcolor var disappeardelay=250 //tooltip disappear speed onMouseout (in miliseconds) var vertical_offset="0px" //horizontal offset of tooltip from anchor link var horizontal_offset="-3px" //horizontal offset of tooltip from anchor link /////No further editting needed var ie4=document.all var ns6=document.getElementById&&!document.all if (ie4||ns6) document.write('<div id="fixedtipdiv" style="visibility:hidden;width:'+tipwidth+';background-color:'+tipbgcolor+'" ></div>') function getposOffset(what, offsettype){ var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop; var parentEl=what.offsetParent; while (parentEl!=null){ totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop; parentEl=parentEl.offsetParent; } return totaloffset; } function showhide(obj, e, visible, hidden, tipwidth){ if (ie4||ns6) dropmenuobj.style.left=dropmenuobj.style.top=-500 if (tipwidth!=""){ dropmenuobj.widthobj=dropmenuobj.style dropmenuobj.widthobj.width=tipwidth } if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover") obj.visibility=visible else if (e.type=="click") obj.visibility=hidden } function iecompattest(){ return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body } function clearbrowseredge(obj, whichedge){ var edgeoffset=(whichedge=="rightedge")? parseInt(horizontal_offset)*-1 : parseInt(vertical_offset)*-1 if (whichedge=="rightedge"){ var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15 dropmenuobj.contentmeasure=dropmenuobj.offsetWidth if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure) edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth } else{ var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18 dropmenuobj.contentmeasure=dropmenuobj.offsetHeight if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure) edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight } return edgeoffset } function fixedtooltip(menucontents, obj, e, tipwidth){ if (window.event) event.cancelBubble=true else if (e.stopPropagation) e.stopPropagation() clearhidetip() dropmenuobj=document.getElementById? document.getElementById("fixedtipdiv") : fixedtipdiv dropmenuobj.innerHTML=menucontents if (ie4||ns6){ showhide(dropmenuobj.style, e, "visible", "hidden", tipwidth) dropmenuobj.x=getposOffset(obj, "left") dropmenuobj.y=getposOffset(obj, "top") dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px" dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px" } } function hidetip(e){ if (typeof dropmenuobj!="undefined"){ if (ie4||ns6) dropmenuobj.style.visibility="hidden" } } function delayhidetip(){ if (ie4||ns6) delayhide=setTimeout("hidetip()",disappeardelay) } function clearhidetip(){ if (typeof delayhide!="undefined") clearTimeout(delayhide) } function custimg(a){ var xdsa = document.getElementById('newpics').value; document.images['profimg'].src="images/charimages/"+a+xdsa+".jpg"; } |