Guten Morgen ihr Lieben,
Seit gestern versuche für mein Forum etwas zu erreichen, aber leider schaffe ich es nicht. Bei Google fand ich einiges, aber dennoch lege ich meine Hoffnung auf Breadfish, da man es meiner Meinung nach hier besser erklärt bekommt.
Folgendes :
Mein LoL Forum hat einen Tournament Code Generator. Dies ist ein Skript aus HTML und Java. Da allerdings bei der Software " MyBB " in den Templates kein Java geht muss ich den Java Code in einer externen Datei auslegen.
Hier der Link zum Generator -> http://lol-network.de/tournament.php
Nun meine Frage.. Wie lagere ich diesen Java Code :
PHP
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
<script type="text/javascript">
var _0x27e2=["","\x74\x65\x78\x74","\x23\x74\x43\x6F\x64\x65","\x63\x6C\x69\x63\x6B","\x23\x74\x6F\x75\x72\x6E\x61\x6D\x65\x6E\x74\x43\x6F\x64\x65\x42\x75\x74\x74\x6F\x6E","\x68\x6F\x73\x74","\x6C\x6F\x6C\x2D\x6E\x65\x74\x77\x6F\x72\x6B\x2E\x64\x65","\x23\x67\x61\x6D\x65\x6E\x61\x6D\x65","\x76\x61\x6C","\x30","\x31","\x32","\x33","\x23\x6D\x61\x70","\x23\x67\x61\x6D\x65\x6D\x6F\x64\x65","\x41\x4C\x4C","\x4E\x4F\x4E\x45","\x4C\x4F\x42\x42\x59\x4F\x4E\x4C\x59","\x23\x73\x70\x65\x63\x74\x61\x74\x6F\x72","\x7B\x22\x6E\x61\x6D\x65\x22\x3A\x20\x22","\x22\x2C\x20\x22\x65\x78\x74\x72\x61\x22\x3A\x20\x22\x22\x2C\x20\x22\x70\x61\x73\x73\x77\x6F\x72\x64\x22\x3A\x20\x22","\x23\x70\x61\x73\x73\x77\x6F\x72\x64","\x22\x2C\x20\x22\x72\x65\x70\x6F\x72\x74\x22\x3A\x20\x22\x22\x7D","\x70\x76\x70\x6E\x65\x74\x3A\x2F\x2F\x6C\x6F\x6C\x2F\x63\x75\x73\x74\x6F\x6D\x67\x61\x6D\x65\x2F\x6A\x6F\x69\x6E\x6F\x72\x63\x72\x65\x61\x74\x65\x2F\x6D\x61\x70","\x2F\x70\x69\x63\x6B","\x2F\x74\x65\x61\x6D","\x23\x74\x65\x61\x6D\x73\x69\x7A\x65","\x2F\x73\x70\x65\x63","\x2F","\x62\x74\x6F\x61","\x70\x72\x65\x76\x65\x6E\x74\x44\x65\x66\x61\x75\x6C\x74","\x73\x75\x62\x6D\x69\x74","\x23\x74\x6F\x75\x72\x6E\x61\x6D\x65\x6E\x74\x43\x6F\x64\x65"];$(function(){$(_0x27e2[4])[_0x27e2[3]](function(){$(_0x27e2[2])[_0x27e2[1]](_0x27e2[0])});$(_0x27e2[32])[_0x27e2[31]](function(_0xe960x1){if(location[_0x27e2[5]]!=_0x27e2[6]){return false};var _0xe960x2,_0xe960x3,_0xe960x4,_0xe960x5;var _0xe960x6=$(_0x27e2[7]);if(!_0xe960x6[_0x27e2[8]]()){return false};switch($(_0x27e2[13])[_0x27e2[8]]()){case _0x27e2[9]:_0xe960x2=1;break ;;case _0x27e2[10]:_0xe960x2=10;break ;;case _0x27e2[11]:_0xe960x2=8;break ;;case _0x27e2[12]:_0xe960x2=12;break ;;};switch($(_0x27e2[14])[_0x27e2[8]]()){case _0x27e2[9]:_0xe960x3=1;break ;;case _0x27e2[10]:_0xe960x3=2;break ;;case _0x27e2[11]:_0xe960x3=4;break ;;case _0x27e2[12]:_0xe960x3=6;break ;;};switch($(_0x27e2[18])[_0x27e2[8]]()){case _0x27e2[9]:_0xe960x4=_0x27e2[15];break ;;case _0x27e2[10]:_0xe960x4=_0x27e2[16];break ;;case _0x27e2[11]:_0xe960x4=_0x27e2[17];break ;;};_0xe960x5=_0x27e2[19]+_0xe960x6[_0x27e2[8]]()+_0x27e2[20]+$(_0x27e2[21])[_0x27e2[8]]()+_0x27e2[22];$(_0x27e2[2])[_0x27e2[1]](_0x27e2[23]+_0xe960x2+_0x27e2[24]+_0xe960x3+_0x27e2[25]+$(_0x27e2[26])[_0x27e2[8]]()+_0x27e2[27]+_0xe960x4+_0x27e2[28]+window[_0x27e2[29]](_0xe960x5.toString()));_0xe960x1[_0x27e2[30]]();});});
</script>
in einer externen Datei aus und verbinde es in das HTML Template.. ?
Grüße