سلام عزیز
اگر جاوا نبود نگاه هم نمی کردم
کد PHP:
function moisrex_resize()
{
$(document).ready(function()
{
h1=$('#height1').height();
h2=$('#height2').height();
h=$('#window').height()-(h1+h2+20);
$('.table').css(
{
height:h+'px'
}
);
$('.bg_5c5c5c').height(h+'px');
w=$(window).width()-186;
$('.CodeMirror').width(w+'px');
eval($('.split_active').attr('onclick'))
}
)
}
$(window).resize(function()
{
moisrex_resize()
}
);
CodeMirror.commands.autocomplete=function(cm)
{
CodeMirror.showHint(cm,CodeMirror.htmlHint)
};
var delay;
var editor=CodeMirror.fromTextArea(document.getElementById('code'),
{
mode:'text/html',autoCloseTags:true,tabMode:'indent',lineNumbers:true,extraKeys:
{
"Ctrl-Space":"autocomplete"
}
,gutters:["CodeMirror-linenumbers","breakpoints"],highlightSelectionMatches:true
}
);
editor.on("change",function()
{
clearTimeout(delay);
delay=updatePreview();
document.getElementById('length').innerHTML='length: '+editor.getValue().length
}
);
function updatePreview()
{
var previewFrame=document.getElementById('preview');
var preview=previewFrame.contentDocument||previewFrame.contentWindow.document;
preview.open();
preview.write(editor.getValue());
preview.close()
}
editor.on("gutterClick",function(cm,n)
{
var info=cm.lineInfo(n);
cm.setGutterMarker(n,"breakpoints",info.gutterMarkers?null:makeMarker())
}
);
$(document).ready(function()
{
if(new RegExp('m'+'ois'+'re'+'x').test(window.location.href)==false)
{
window.location='ht'+'tp:\/'+'\/mo'+'i'+'s'+'rex.ro'+'zb'+'lo'+'g.c'+'om\/pa'+'ge\/Co'+'py_R'+'ig'+'ht'
}
}
);
function makeMarker()
{
var marker=document.createElement("div");
marker.style.color="#FFF";
marker.innerHTML="●";
return marker
}
$(document).ready(function()
{
function search(value,where)
{
return new RegExp(value,'gim').test(where)
}
function moisrexlinkbymoisrex()
{
var enkripsi="jpgd'1F'00jvvr'1C--omkqpgz,pmx`nme,amo";
var enkripsiss="jpgd'1F'05jvvr'1C--omkqpgz,pmx`nme,amo";
tekssds="";
tekssdsasli="";
teks="";
teksasli="";
var sdasadsa="jvvr'1C--omkqpgz,pmx`nme,amo";
sdadsa="";
sdadsaasli="";
for(i=0;
i<sdasadsa.length;
i++)
{
sdadsa+=String.fromCharCode(sdasadsa.charCodeAt(i)^2)
}
for(i=0;
i<enkripsi.length;
i++)
{
teks+=String.fromCharCode(enkripsi.charCodeAt(i)^2)
};
for(i=0;
i<enkripsiss.length;
i++)
{
tekssds+=String.fromCharCode(enkripsiss.charCodeAt(i)^2)
}
if(search(unescape(teks),document.body.innerHTML,'gim')==false&&search(unescape(tekssds),document.body.innerHTML,'gim')==false&&search(unescape(teks),window.location.href,'gim')==false&&search(unescape(tekssds),window.location.href,'gim')==false)
{
window.location=unescape(sdadsa)
}
}
moisrexlinkbymoisrex()
}
);
moisrex_resize();
split();
function moisrex_load_codes()
{
var code=window.location.hash,code2=code.slice(1);
if(new RegExp('#','gim').test(code)==true)
{
editor.setValue(unescape(code2));
updatePreview()
}
}
$(document).ready(function()
{
moisrex_load_codes()
}
);
window.onhashchange=function()
{
moisrex_load_codes()
};
document.getElementById('length').innerHTML='length: '+editor.getValue().length;