mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-15 15:51:01 +00:00
change some images + ban system almost done: now banned player cannot get access to berichte.php and to nachrichten.php but can send message to multihunter
This commit is contained in:
+1
-1
@@ -138,4 +138,4 @@ function writeFlashTags(id)
|
|||||||
document.writeln("allowScriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" ");
|
document.writeln("allowScriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" ");
|
||||||
document.writeln("pluginspage=\"http://www.macromedia.com/go/getflashplayer\"> ");
|
document.writeln("pluginspage=\"http://www.macromedia.com/go/getflashplayer\"> ");
|
||||||
document.writeln("</embed> </object></div>");
|
document.writeln("</embed> </object></div>");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -64,7 +64,6 @@ include("Templates/Admin/ban_msg.tpl");
|
|||||||
include("Templates/quest.tpl");
|
include("Templates/quest.tpl");
|
||||||
include("Templates/news.tpl");
|
include("Templates/news.tpl");
|
||||||
include("Templates/multivillage.tpl");
|
include("Templates/multivillage.tpl");
|
||||||
include("Templates/links.tpl");
|
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
@@ -74,7 +73,6 @@ include("Templates/links.tpl");
|
|||||||
|
|
||||||
<?php
|
<?php
|
||||||
include("Templates/footer.tpl");
|
include("Templates/footer.tpl");
|
||||||
include("Templates/res.tpl");
|
|
||||||
?>
|
?>
|
||||||
<div id="stime">
|
<div id="stime">
|
||||||
<div id="ltime">
|
<div id="ltime">
|
||||||
|
|||||||
+7
-1
@@ -14,6 +14,7 @@ include("GameEngine/Village.php");
|
|||||||
$start = $generator->pageLoadTimeStart();
|
$start = $generator->pageLoadTimeStart();
|
||||||
$message->noticeType($_GET);
|
$message->noticeType($_GET);
|
||||||
$message->procNotice($_POST);
|
$message->procNotice($_POST);
|
||||||
|
if($session->access != BANNED){
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
<html>
|
<html>
|
||||||
@@ -113,4 +114,9 @@ echo round(($generator->pageLoadTimeEnd()-$start)*1000);
|
|||||||
|
|
||||||
<div id="ce"></div>
|
<div id="ce"></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
<?php
|
||||||
|
}else{
|
||||||
|
header("Location: banned.php");
|
||||||
|
}
|
||||||
|
?>
|
||||||
+7
-1
@@ -17,6 +17,7 @@ $message->procMessage($_POST);
|
|||||||
if(isset($_GET['t'])){
|
if(isset($_GET['t'])){
|
||||||
$automation->isWinner();
|
$automation->isWinner();
|
||||||
}
|
}
|
||||||
|
if(($_GET['id'])==5 or $session->access!=BANNED){ //replace 5 with your admin's id
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
<html>
|
<html>
|
||||||
@@ -126,4 +127,9 @@ echo round(($generator->pageLoadTimeEnd()-$start)*1000);
|
|||||||
</div>
|
</div>
|
||||||
<div id="ce"></div>
|
<div id="ce"></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
<?php
|
||||||
|
}else{
|
||||||
|
header("Location: banned.php");
|
||||||
|
}
|
||||||
|
?>
|
||||||
+5
-6
@@ -2,6 +2,7 @@ var MooTools = {
|
|||||||
version: "1.2.5",
|
version: "1.2.5",
|
||||||
build: "008d8f0f2fcc2044e54fdd3635341aaab274e757"
|
build: "008d8f0f2fcc2044e54fdd3635341aaab274e757"
|
||||||
};
|
};
|
||||||
|
|
||||||
var Native = function (l) {
|
var Native = function (l) {
|
||||||
l = l || {};
|
l = l || {};
|
||||||
var a = l.name;
|
var a = l.name;
|
||||||
@@ -4264,7 +4265,7 @@ Hash.implement({
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
(function () {
|
(function () {
|
||||||
var b = ["À", "à ", "Ã", "á", "Â", "â", "Ã", "ã", "Ä", "ä", "Ã…", "Ã¥", "Ä‚", "ă", "Ä„", "Ä…", "Ć", "ć", "ÄŒ", "Ä", "Ç", "ç", "ÄŽ", "Ä", "Ä", "Ä‘", "È", "è", "É", "é", "Ê", "ê", "Ë", "ë", "Äš", "Ä›", "Ę", "Ä™", "Äž", "ÄŸ", "ÃŒ", "ì", "Ã", "Ã", "ÃŽ", "î", "Ã", "ï", "Ĺ", "ĺ", "Ľ", "ľ", "Å", "Å‚", "Ñ", "ñ", "Ň", "ň", "Ń", "Å„", "Ã’", "ò", "Ó", "ó", "Ô", "ô", "Õ", "õ", "Ö", "ö", "Ø", "ø", "Å‘", "Ř", "Å™", "Å”", "Å•", "Å ", "Å¡", "Åž", "ÅŸ", "Åš", "Å›", "Ť", "Å¥", "Ť", "Å¥", "Å¢", "Å£", "Ù", "ù", "Ú", "ú", "Û", "û", "Ü", "ü", "Å®", "ů", "Ÿ", "ÿ", "ý", "Ã", "Ž", "ž", "Ź", "ź", "Å»", "ż", "Þ", "þ", "Ã", "ð", "ß", "Å’", "Å“", "Æ", "æ", "µ"];
|
var b = ["A", "a", "Á", "á", "Â", "â", "A", "a", "Ä", "ä", "A", "a", "Ã", "ã", "¥", "¹", "Æ", "æ", "È", "è", "Ç", "ç", "Ï", "ï", "Ð", "ð", "E", "e", "É", "é", "E", "e", "Ë", "ë", "Ì", "ì", "Ê", "ê", "G", "g", "I", "i", "Í", "í", "Î", "î", "I", "i", "Å", "å", "¼", "¾", "£", "³", "N", "n", "Ò", "ò", "Ñ", "ñ", "O", "o", "Ó", "ó", "Ô", "ô", "O", "o", "Ö", "ö", "O", "o", "õ", "Ø", "ø", "À", "à", "Š", "š", "ª", "º", "Œ", "œ", "�", "�", "�", "�", "Þ", "þ", "U", "u", "Ú", "ú", "U", "u", "Ü", "ü", "Ù", "ù", "Y", "y", "ý", "Ý", "Ž", "ž", "�", "Ÿ", "¯", "¿", "?", "?", "?", "?", "ß", "O", "o", "A", "a", "µ"];
|
||||||
var a = ["A", "a", "A", "a", "A", "a", "A", "a", "Ae", "ae", "A", "a", "A", "a", "A", "a", "C", "c", "C", "c", "C", "c", "D", "d", "D", "d", "E", "e", "E", "e", "E", "e", "E", "e", "E", "e", "E", "e", "G", "g", "I", "i", "I", "i", "I", "i", "I", "i", "L", "l", "L", "l", "L", "l", "N", "n", "N", "n", "N", "n", "O", "o", "O", "o", "O", "o", "O", "o", "Oe", "oe", "O", "o", "o", "R", "r", "R", "r", "S", "s", "S", "s", "S", "s", "T", "t", "T", "t", "T", "t", "U", "u", "U", "u", "U", "u", "Ue", "ue", "U", "u", "Y", "y", "Y", "y", "Z", "z", "Z", "z", "Z", "z", "TH", "th", "DH", "dh", "ss", "OE", "oe", "AE", "ae", "u"];
|
var a = ["A", "a", "A", "a", "A", "a", "A", "a", "Ae", "ae", "A", "a", "A", "a", "A", "a", "C", "c", "C", "c", "C", "c", "D", "d", "D", "d", "E", "e", "E", "e", "E", "e", "E", "e", "E", "e", "E", "e", "G", "g", "I", "i", "I", "i", "I", "i", "I", "i", "L", "l", "L", "l", "L", "l", "N", "n", "N", "n", "N", "n", "O", "o", "O", "o", "O", "o", "O", "o", "Oe", "oe", "O", "o", "o", "R", "r", "R", "r", "S", "s", "S", "s", "S", "s", "T", "t", "T", "t", "T", "t", "U", "u", "U", "u", "U", "u", "Ue", "ue", "U", "u", "Y", "y", "Y", "y", "Z", "z", "Z", "z", "Z", "z", "TH", "th", "DH", "dh", "ss", "OE", "oe", "AE", "ae", "u"];
|
||||||
var d = {
|
var d = {
|
||||||
"[\xa0\u2002\u2003\u2009]": " ",
|
"[\xa0\u2002\u2003\u2009]": " ",
|
||||||
@@ -7110,7 +7111,6 @@ Element.implement({
|
|||||||
if (this.createTextRange) {
|
if (this.createTextRange) {
|
||||||
var a = document.selection.createRange().duplicate();
|
var a = document.selection.createRange().duplicate();
|
||||||
a.moveStart("character", -this.value.length);
|
a.moveStart("character", -this.value.length);
|
||||||
|
|
||||||
return a.text.length
|
return a.text.length
|
||||||
}
|
}
|
||||||
return this.selectionEnd
|
return this.selectionEnd
|
||||||
@@ -7361,7 +7361,6 @@ Element.NativeEvents = $extend(Element.NativeEvents, {
|
|||||||
Browser.Engines.isChrome = function () {
|
Browser.Engines.isChrome = function () {
|
||||||
return Browser.Engine.webkit && navigator.userAgent.toLowerCase().indexOf("chrome") != -1
|
return Browser.Engine.webkit && navigator.userAgent.toLowerCase().indexOf("chrome") != -1
|
||||||
};
|
};
|
||||||
Browser.isIE9 = Browser.Engine.trident && Browser.Engine.trident6 && navigator.userAgent.toLowerCase().indexOf("msie 9.0") != -1;
|
|
||||||
if (Browser.Engine.trident) {
|
if (Browser.Engine.trident) {
|
||||||
Element.implement({
|
Element.implement({
|
||||||
insertAtCursor: function (b, a) {
|
insertAtCursor: function (b, a) {
|
||||||
@@ -7483,7 +7482,7 @@ window.Travian = {
|
|||||||
onException: a.onException || Travian.emptyFunction
|
onException: a.onException || Travian.emptyFunction
|
||||||
};
|
};
|
||||||
if (!a.url) {
|
if (!a.url) {
|
||||||
a.url = "ajax.php.htm"
|
a.url = "ajax.php"
|
||||||
}
|
}
|
||||||
if (a.data && a.data.cmd) {
|
if (a.data && a.data.cmd) {
|
||||||
a.url = a.url + (a.url.indexOf("?") == -1 ? "?" : "&") + "cmd=" + a.data.cmd
|
a.url = a.url + (a.url.indexOf("?") == -1 ? "?" : "&") + "cmd=" + a.data.cmd
|
||||||
@@ -7630,7 +7629,7 @@ window.Travian = {
|
|||||||
};
|
};
|
||||||
Travian.ajax = Travian.ajax.wrap(function (b, a) {
|
Travian.ajax = Travian.ajax.wrap(function (b, a) {
|
||||||
if (!a.url) {
|
if (!a.url) {
|
||||||
a.url = "ajax.php.htm"
|
a.url = "ajax.php"
|
||||||
}
|
}
|
||||||
return b(a)
|
return b(a)
|
||||||
});
|
});
|
||||||
@@ -7825,7 +7824,7 @@ var popupWidget = new Class({
|
|||||||
var c = $$(this.popcontent())[0].getChildren()[1].getChildren("a.prevtxt");
|
var c = $$(this.popcontent())[0].getChildren()[1].getChildren("a.prevtxt");
|
||||||
var a = $$(this.popcontent())[0].getChildren()[1].getChildren("a.nexttxt");
|
var a = $$(this.popcontent())[0].getChildren()[1].getChildren("a.nexttxt");
|
||||||
var b = this;
|
var b = this;
|
||||||
if (d.get("href")[0].indexOf("tutorial.php.htm") != -1) {
|
if (d.get("href")[0].indexOf("tutorial.php") != -1) {
|
||||||
d.addEvent("click", function (g) {
|
d.addEvent("click", function (g) {
|
||||||
g.stop();
|
g.stop();
|
||||||
b.getTour(d.get("href"))
|
b.getTour(d.get("href"))
|
||||||
|
|||||||
@@ -61,14 +61,42 @@ if(!(x=d[n])&&d.all)x=d.all[n];for(var i=0;!x&&i<d.forms.length;i++)x=d.forms[i]
|
|||||||
function btm0(){var i,x,a=document.MM_sr;for(var i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++)x.src=x.oSrc;}
|
function btm0(){var i,x,a=document.MM_sr;for(var i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++)x.src=x.oSrc;}
|
||||||
function btm1(){var i,j=0,x,a=btm1.arguments;document.MM_sr=new Array;for(var i=0;i<(a.length-2);i+=3)if((x=rc(a[i]))!=null){document.MM_sr[j++]=x;if(!x.oSrc)x.oSrc=x.src;x.src=a[i+2];}
|
function btm1(){var i,j=0,x,a=btm1.arguments;document.MM_sr=new Array;for(var i=0;i<(a.length-2);i+=3)if((x=rc(a[i]))!=null){document.MM_sr[j++]=x;if(!x.oSrc)x.oSrc=x.src;x.src=a[i+2];}
|
||||||
}
|
}
|
||||||
function Popup(i,j,sc){if(typeof sc=='undefined'){sc='s';}
|
|
||||||
pb=document.getElementById("ce");if(pb!=null){var tc='<div class="popup3">'+'<a href="#" onClick="Close(); return false;"><img src="img/x.gif" border="1" class="popup4" alt="Move"></a>'+'<iframe frameborder="0" id="Frame" src="manual.php?'+sc+'='+i+'&typ='+j+'" width="412" height="440" border="0"></iframe>'+'</div>';pb.innerHTML=tc;uc();}
|
function Popup(i,j,sc){
|
||||||
vc();if(!is_ie6&&!wc)return false;else return true;}
|
if(typeof sc=='undefined'){sc='s';}
|
||||||
|
pb=document.getElementById("ce");
|
||||||
|
if(pb!=null){
|
||||||
|
var tc='<div class="popup3">'+'<a href="#" onClick="Close(); return false;"><img src="img/x.gif" border="1" class="popup4" alt="Move"></a>'+'<iframe frameborder="0" id="Frame" src="manual.php?'+sc+'='+i+'&typ='+j+'" width="412" height="440" border="0"></iframe>'+'</div>';
|
||||||
|
pb.innerHTML=tc;uc();
|
||||||
|
}
|
||||||
|
vc();
|
||||||
|
if(!is_ie6&&!wc)return false;
|
||||||
|
else return true;
|
||||||
|
}
|
||||||
|
function PopupMap(i){
|
||||||
|
if(typeof sc=='undefined'){sc='s';}
|
||||||
|
pb=document.getElementById("ce");
|
||||||
|
if(pb!=null){
|
||||||
|
var tc='<div class="popup_map">'+'<div id="drag2"><a href="#" onClick="Close(); return false;"><img src="img/x.gif" border="0" width="20px" height="20px" alt="Move"></a></div>'+'<iframe frameborder="0" id="Frame" src="karte2.php?z='+i+'" width="1000" height="575" border="0" scrolling="no"></iframe>'+'</div>';
|
||||||
|
pb.innerHTML=tc;uc2();
|
||||||
|
}
|
||||||
|
vc();
|
||||||
|
if(!is_ie6&&!wc)return false;
|
||||||
|
else return true;
|
||||||
|
}
|
||||||
|
|
||||||
function uc(){if($('drag')){return;}
|
function uc(){if($('drag')){return;}
|
||||||
$$('.popup3')[0].grab(new Element('div',{'id':'drag'}
|
$$('.popup3')[0].grab(new Element('div',{'id':'drag'}
|
||||||
),'top').makeDraggable({'handle':'drag'}
|
),'top').makeDraggable({'handle':'drag'}
|
||||||
);if($$('body')[0].getStyle('direction').toLowerCase()=='rtl'){$$('.popup3')[0].setStyle('direction','rtl').getParent().setStyle('direction','ltr');}
|
);if($$('body')[0].getStyle('direction').toLowerCase()=='rtl'){$$('.popup3')[0].setStyle('direction','rtl').getParent().setStyle('direction','ltr');}
|
||||||
}
|
}
|
||||||
|
function uc2(){
|
||||||
|
if($('drag')){return;}
|
||||||
|
$$('.popup_map')[0].grab(new Element('div',{'id':'drag'}),'top').makeDraggable({'handle':'drag'});
|
||||||
|
if($$('body')[0].getStyle('direction').toLowerCase()=='rtl'){
|
||||||
|
$$('.popup_map')[0].setStyle('direction','rtl').getParent().setStyle('direction','ltr');
|
||||||
|
}
|
||||||
|
}
|
||||||
function vc(){if(gb()<700||ib()<700){document.getElementById("ce").style.position='absolute';wc=true;}
|
function vc(){if(gb()<700||ib()<700){document.getElementById("ce").style.position='absolute';wc=true;}
|
||||||
else{document.getElementById("ce").style.position='fixed';wc=false;}
|
else{document.getElementById("ce").style.position='fixed';wc=false;}
|
||||||
}
|
}
|
||||||
@@ -85,20 +113,40 @@ if(yc==1){document.snd.dname.value=zc;}
|
|||||||
var $c=document.getElementById?1:0;var _c=document.all?1:0;var ad=(navigator.userAgent.indexOf("Mac")>-1)?1:0;var bd=(_c&&(!ad)&&(typeof(window.offscreenBuffering)!='undefined'))?1:0;var cd=bd;var dd=bd&&(window.navigator.userAgent.indexOf("SV1")!=-1);function changeOpacity(ed,opacity){if(bd){ed.style.filter='progid:DXImageTransform.Microsoft.Alpha(opacity='+(opacity*100)+')';}
|
var $c=document.getElementById?1:0;var _c=document.all?1:0;var ad=(navigator.userAgent.indexOf("Mac")>-1)?1:0;var bd=(_c&&(!ad)&&(typeof(window.offscreenBuffering)!='undefined'))?1:0;var cd=bd;var dd=bd&&(window.navigator.userAgent.indexOf("SV1")!=-1);function changeOpacity(ed,opacity){if(bd){ed.style.filter='progid:DXImageTransform.Microsoft.Alpha(opacity='+(opacity*100)+')';}
|
||||||
else if($c){ed.style.MozOpacity=opacity;}
|
else if($c){ed.style.MozOpacity=opacity;}
|
||||||
}
|
}
|
||||||
function fd(url,gd,hd,id){if(hd===undefined){hd='GET';}
|
|
||||||
var jd;if(window.XMLHttpRequest){jd=new XMLHttpRequest();}
|
function fd(url,gd,hd,id){
|
||||||
else if(window.ActiveXObject){try{jd=new ActiveXObject("Msxml2.XMLHTTP");}
|
if(hd===undefined){hd='GET';}
|
||||||
catch(e){try{jd=new ActiveXObject("Microsoft.XMLHTTP");}
|
var jd;
|
||||||
catch(e){}
|
if(window.XMLHttpRequest){jd=new XMLHttpRequest();}
|
||||||
}
|
else if(window.ActiveXObject){
|
||||||
}
|
try{jd=new ActiveXObject("Msxml2.XMLHTTP");}
|
||||||
else{throw'Can not create XMLHTTP-instance';}
|
catch(e){
|
||||||
jd.onreadystatechange=function(){if(jd.readyState==4){if(jd.status==200){var kd=jd.getResponseHeader('Content-Type');kd=kd.substr(0,kd.indexOf(';'));switch(kd){case'application/json':gd((jd.responseText==''?null:eval('('+jd.responseText+')')));break;case'text/plain':case'text/html':gd(jd.responseText);break;default:throw'Illegal content type';}
|
try{jd=new ActiveXObject("Microsoft.XMLHTTP");}
|
||||||
}
|
catch(e){}
|
||||||
else{throw'An error has occurred during request';}
|
}
|
||||||
}
|
}
|
||||||
}
|
else{
|
||||||
;jd.open(hd,url,true);if(hd=='POST'){jd.setRequestHeader('Content-Type','application/x-www-form-urlencoded; charset=utf-8');var ld=md(id);}
|
throw'Can not create XMLHTTP-instance';
|
||||||
|
}
|
||||||
|
jd.onreadystatechange=function(){
|
||||||
|
if(jd.readyState==4){
|
||||||
|
if(jd.status==200){
|
||||||
|
var kd=jd.getResponseHeader('Content-Type');
|
||||||
|
kd=kd.substr(0,kd.indexOf(';'));
|
||||||
|
switch(kd){
|
||||||
|
case'application/json':gd((jd.responseText==''?null:eval('('+jd.responseText+')')));break;
|
||||||
|
case'text/plain':case'text/html':gd(jd.responseText);break;
|
||||||
|
default:throw'Illegal content type';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
throw'An error has occurred during request';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
jd.open(hd,url,true);if(hd=='POST'){
|
||||||
|
jd.setRequestHeader('Content-Type','application/x-www-form-urlencoded; charset=utf-8');
|
||||||
|
var ld=md(id);}
|
||||||
else{var ld=null;}
|
else{var ld=null;}
|
||||||
jd.send(ld);}
|
jd.send(ld);}
|
||||||
function md(nd){var od='';var pd=true;for(var qd in nd){od+=(pd?'':'&')+qd+'='+window.encodeURI(nd[qd]);if(pd){pd=false;}
|
function md(nd){var od='';var pd=true;for(var qd in nd){od+=(pd?'':'&')+qd+'='+window.encodeURI(nd[qd]);if(pd){pd=false;}
|
||||||
@@ -117,15 +165,34 @@ var ke=['mcx','mcy','x','y','map_infobox'];for(var i=0;i<ke.length;i++){ee[ke[i]
|
|||||||
ke=['mcx','mcy'];for(var i=0;i<ke.length;i++){ee[ke[i]].onfocus=function(){vd=true;}
|
ke=['mcx','mcy'];for(var i=0;i<ke.length;i++){ee[ke[i]].onfocus=function(){vd=true;}
|
||||||
;ee[ke[i]].onblur=function(){vd=false;}
|
;ee[ke[i]].onblur=function(){vd=false;}
|
||||||
;}
|
;}
|
||||||
|
|
||||||
ee.ibox_cells=[];ee.ibox_cells[0]=ee.map_infobox.firstChild.firstChild.lastChild;for(var i=1;i<=3;i++){ee.ibox_cells[i]=ee.map_infobox.firstChild.nextSibling.childNodes[i-1].lastChild}
|
ee.ibox_cells=[];ee.ibox_cells[0]=ee.map_infobox.firstChild.firstChild.lastChild;for(var i=1;i<=3;i++){ee.ibox_cells[i]=ee.map_infobox.firstChild.nextSibling.childNodes[i-1].lastChild}
|
||||||
document.onkeyup=le;document.onkeydown=me;document.onkeypress=ne;document.map_coords.onsubmit=oe;ee.mx=[];ee.my=[];for(var i=0;i<mdim.x;i++){for(var j=0;j<mdim.y;j++){area=pe(i,j,'a');area.onmouseover=qe;area.onmouseout=re;if(fe){area.onclick=se;}
|
document.onkeyup=le;
|
||||||
te(m_c.ad[i][j],area);}
|
document.onkeydown=me;
|
||||||
ee.mx[i]=document.getElementById('mx'+i);ee.my[i]=document.getElementById('my'+i);}
|
document.onkeypress=ne;
|
||||||
var ue=document.getElementById('map_makelarge');if(ue){ue.onclick=ve;}
|
document.map_coords.onsubmit=oe;
|
||||||
if(mdim.x==13){document.getElementById('map_popclose').onclick=we;}
|
ee.mx=[];
|
||||||
|
ee.my=[];
|
||||||
|
for(var i=0;i<mdim.x;i++){
|
||||||
|
for(var j=0;j<mdim.y;j++){
|
||||||
|
area=pe(i,j,'a');
|
||||||
|
area.onmouseover=qe;
|
||||||
|
area.onmouseout=re;
|
||||||
|
if(fe){area.onclick=se;}
|
||||||
|
te(m_c.ad[i][j],area);
|
||||||
|
}
|
||||||
|
ee.mx[i]=document.getElementById('mx'+i);
|
||||||
|
ee.my[i]=document.getElementById('my'+i);
|
||||||
|
}
|
||||||
|
//var ue=document.getElementById('map_makelarge');
|
||||||
|
//if(ue){ue.onclick=ve;}
|
||||||
|
if(mdim.x==13){
|
||||||
|
document.getElementById('map_popclose').onclick=we;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function se(){opener.location=this.href;return false;}
|
function se(){opener.location=this.href;return false;}
|
||||||
function xe(ye){var ze=document.getElementById('map_makelarge');ze.className=ye?'loading':'';}
|
//function xe(ye){var ze=document.getElementById('map_makelarge');ze.className=ye?'loading':'';}
|
||||||
function $e(_e){var af;var bf;if(ee.map_infobox!=null){if(_e.normal_field){var cf=df(_e.nr*1);af=[text_k.verlassenes_tal+': '+cf.join('-')];bf='empty';}
|
function $e(_e){var af;var bf;if(ee.map_infobox!=null){if(_e.normal_field){var cf=df(_e.nr*1);af=[text_k.verlassenes_tal+': '+cf.join('-')];bf='empty';}
|
||||||
else if(_e.free_oasis&&!_e.classic_oasis){af=[text_k.freie_oase];bf='oasis_empty';}
|
else if(_e.free_oasis&&!_e.classic_oasis){af=[text_k.freie_oase];bf='oasis_empty';}
|
||||||
else if(_e.occupied_oasis&&!_e.classic_oasis){af=[text_k.besetztes_tal,_e.name,_e.ew,_e.ally];bf='oasis';}
|
else if(_e.occupied_oasis&&!_e.classic_oasis){af=[text_k.besetztes_tal,_e.name,_e.ew,_e.ally];bf='oasis';}
|
||||||
@@ -409,4 +476,6 @@ else{document.cookie='t3l=1; expires=Thu, 01-Jan-1970 00:00:01 GMT';}
|
|||||||
function gmwd(){if(is_ff2&&document.getElementById("gmwi").offsetWidth<50){document.cookie="a3=2; expires=Wed, 1 Jan 2020 00:00:00 GMT";}
|
function gmwd(){if(is_ff2&&document.getElementById("gmwi").offsetWidth<50){document.cookie="a3=2; expires=Wed, 1 Jan 2020 00:00:00 GMT";}
|
||||||
else{document.cookie="a3=1; expires=Wed, 1 Jan 2020 00:00:00 GMT";}
|
else{document.cookie="a3=1; expires=Wed, 1 Jan 2020 00:00:00 GMT";}
|
||||||
}
|
}
|
||||||
function gmc(){document.getElementById("gmw").style.display="none";document.cookie="a3=3; expires=Wed, 1 Jan 2020 00:00:00 GMT";}
|
function gmc(){document.getElementById("gmw").style.display="none";document.cookie="a3=3; expires=Wed, 1 Jan 2020 00:00:00 GMT";}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user