fix: big map not centered on screen in high resolutions

Closes #239
This commit is contained in:
Martin Ambrus
2017-10-26 21:07:27 +02:00
parent 91736e6209
commit 93fbba445e
46 changed files with 124 additions and 95 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ if(isset($id))
$varray = $database->getProfileVillages($id);
$varmedal = $database->getProfileMedal($id); ?>
<link href="../<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7d" rel="stylesheet" type="text/css">
<link href="../<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css">
<style type="text/css">
input.dynamic_img, img.dynamic_img
{
+1 -1
View File
@@ -17,7 +17,7 @@ $fdata = $database->getResourceLevel($village['wref']);
if(isset($id))
{
include("search2.tpl"); ?>
<link href="../<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7d" rel="stylesheet" type="text/css">
<link href="../<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css">
<form action="../GameEngine/Admin/Mods/editBuildings.php" method="POST">
<input type="hidden" name="admid" id="admid" value="<?php echo $_SESSION['id']; ?>">
<input type="hidden" name="id" value="<?php echo $_GET['did']; ?>" />
+1 -1
View File
@@ -12,7 +12,7 @@
<style>
.del {width:12px; height:12px; background-image: url(img/admin/icon/del.gif);}
</style>
<link href="../<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7d" rel="stylesheet" type="text/css">
<link href="../<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css">
<table id="member" style="width:225px">
<thead>
<tr>
+1 -1
View File
@@ -13,7 +13,7 @@ $msg = $database->getMessage($_GET['nid'],3);
if($msg)
{ ?>
<link href="../<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7d" rel="stylesheet" type="text/css">
<link href="../<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7d" rel="stylesheet" type="text/css">
<link href="../<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css">
<link href="../<?php echo GP_LOCATE; ?>travian.css?e21d2" rel="stylesheet" type="text/css">
<link href="../<?php echo GP_LOCATE; ?>lang/en/lang.css?e21d2" rel="stylesheet" type="text/css">
+2 -2
View File
@@ -22,7 +22,7 @@ if($rep1)
//$att = $database->getUserArray($rep1['uid'],1);
?>
<link href="../<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7d" rel="stylesheet" type="text/css">
<link href="../<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7d" rel="stylesheet" type="text/css">
<link href="../<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css">
<link href="../<?php echo GP_LOCATE; ?>travian.css?e21d2" rel="stylesheet" type="text/css">
<link href="../<?php echo GP_LOCATE; ?>lang/en/lang.css?e21d2" rel="stylesheet" type="text/css">
<h1>Under Construction</h1>
@@ -36,7 +36,7 @@ if($rep1)
if($rep)
{ ?>
<link href="../<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7d" rel="stylesheet" type="text/css">
<link href="../<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7d" rel="stylesheet" type="text/css">
<link href="../<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css">
<link href="../<?php echo GP_LOCATE; ?>travian.css?e21d2" rel="stylesheet" type="text/css">
<link href="../<?php echo GP_LOCATE; ?>lang/en/lang.css?e21d2" rel="stylesheet" type="text/css">
+1 -1
View File
@@ -76,7 +76,7 @@ if(isset($id))
<style>
.del {width:12px; height:12px; background-image: url(img/admin/icon/del.gif);}
</style>
<link href="../<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7d" rel="stylesheet" type="text/css">
<link href="../<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css">
<br />
<table id="profile" cellpadding="1" cellspacing="1" >
+2 -2
View File
@@ -90,7 +90,7 @@ if(isset($_GET['o'])) {
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="mt-full.js?0faab" type="text/javascript"></script>
<script src="unx.js?0faab" type="text/javascript"></script>
<script src="unx.js?f4b7e" type="text/javascript"></script>
<script src="new.js?0faab" type="text/javascript"></script>
<link href="<?php
@@ -101,7 +101,7 @@ if(isset($_GET['o'])) {
echo GP_LOCATE;
?>lang/en/compact.css?f4b7d" rel="stylesheet" type="text/css" />
?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css" />
<?php
if($session->gpack == null || GP_ENABLE == false) {
+2 -2
View File
@@ -36,10 +36,10 @@ $automation->isWinner();
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="mt-full.js?0faab" type="text/javascript"></script>
<script src="unx.js?0faab" type="text/javascript"></script>
<script src="unx.js?f4b7e" type="text/javascript"></script>
<script src="new.js?0faab" type="text/javascript"></script>
<link href="<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css" />
<?php
if($session->gpack == null || GP_ENABLE == false) {
echo "
+2 -2
View File
@@ -23,9 +23,9 @@ include('GameEngine/Account.php');
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="mt-core.js?0faab" type="text/javascript"></script>
<script src="mt-more.js?0faab" type="text/javascript"></script>
<script src="unx.js?0faab" type="text/javascript"></script>
<script src="unx.js?f4b7e" type="text/javascript"></script>
<script src="new.js?0faab" type="text/javascript"></script>
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE ?>travian.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE ?>lang/en/lang.css" rel="stylesheet" type="text/css" />
+2 -2
View File
@@ -103,7 +103,7 @@ if(isset($_GET['aid']) or isset($_GET['fid']) or isset($_GET['fid2']) or $sessio
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="mt-full.js?0faab" type="text/javascript"></script>
<script src="unx.js?0faab" type="text/javascript"></script>
<script src="unx.js?f4b7e" type="text/javascript"></script>
<script src="new.js?0faab" type="text/javascript"></script>
<link href="<?php
@@ -114,7 +114,7 @@ if(isset($_GET['aid']) or isset($_GET['fid']) or isset($_GET['fid2']) or $sessio
echo GP_LOCATE;
?>lang/en/compact.css?f4b7d" rel="stylesheet" type="text/css" />
?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css" />
<?php
if($session->gpack == null || GP_ENABLE == false) {
+2 -2
View File
@@ -24,9 +24,9 @@ $invited=(isset($_GET['uid'])) ? filter_var($_GET['uid'], FILTER_SANITIZE_NUMBER
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="mt-core.js?0faab" type="text/javascript"></script>
<script src="mt-more.js?0faab" type="text/javascript"></script>
<script src="unx.js?0faab" type="text/javascript"></script>
<script src="unx.js?f4b7e" type="text/javascript"></script>
<script src="new.js?0faab" type="text/javascript"></script>
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE ?>travian.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE ?>lang/en/lang.css" rel="stylesheet" type="text/css" />
+2 -2
View File
@@ -25,9 +25,9 @@ if($session->access == BANNED){
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="mt-full.js?0faab" type="text/javascript"></script>
<script src="unx.js?0faab" type="text/javascript"></script>
<script src="unx.js?f4b7e" type="text/javascript"></script>
<script src="new.js?0faab" type="text/javascript"></script>
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?e21d2" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/lang.css?e21d2" rel="stylesheet" type="text/css" />
<?php
if($session->gpack == null || GP_ENABLE == false) {
+2 -2
View File
@@ -42,10 +42,10 @@ if(isset($_GET['t'])) {
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="mt-full.js?0faab" type="text/javascript"></script>
<script src="unx.js?0faab" type="text/javascript"></script>
<script src="unx.js?f4b7e" type="text/javascript"></script>
<script src="new.js?0faab" type="text/javascript"></script>
<link href="<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css" />
<?php
if($session->gpack == null || GP_ENABLE == false) {
echo "
+2 -2
View File
@@ -299,10 +299,10 @@ $automation->isWinner();
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="mt-full.js?ebe79" type="text/javascript"></script>
<script src="unx.js?ebe79" type="text/javascript"></script>
<script src="unx.js?f4b7e" type="text/javascript"></script>
<script src="new.js?ebe79" type="text/javascript"></script>
<link href="<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css" />
<?php
if($session->gpack == null || GP_ENABLE == false) {
echo "
+2 -2
View File
@@ -46,9 +46,9 @@ $start = $generator->pageLoadTimeStart();
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="mt-full.js?0faab" type="text/javascript"></script>
<script src="unx.js?0faab" type="text/javascript"></script>
<script src="unx.js?f4b7e" type="text/javascript"></script>
<script src="new.js?0faab" type="text/javascript"></script>
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?e21d2" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/lang.css?e21d2" rel="stylesheet" type="text/css" />
<?php
if($session->gpack == null || GP_ENABLE == false) {
+2 -2
View File
@@ -42,7 +42,7 @@
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="mt-full.js?0faab" type="text/javascript"></script>
<script src="unx.js?0faab" type="text/javascript"></script>
<script src="unx.js?f4b7e" type="text/javascript"></script>
<script src="new.js?0faab" type="text/javascript"></script>
<link href="<?php
@@ -53,7 +53,7 @@
echo GP_LOCATE;
?>lang/en/compact.css?f4b7d" rel="stylesheet" type="text/css" />
?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css" />
<?php
if($session->gpack == null || GP_ENABLE == false) {
+2 -2
View File
@@ -34,9 +34,9 @@ if(isset($_GET['newdid'])) {
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="mt-full.js?0faab" type="text/javascript"></script>
<script src="unx.js?0faab" type="text/javascript"></script>
<script src="unx.js?f4b7e" type="text/javascript"></script>
<script src="new.js?0faab" type="text/javascript"></script>
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?e21d2" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/lang.css?e21d2" rel="stylesheet" type="text/css" />
<?php
if($session->gpack == null || GP_ENABLE == false) {
+2 -2
View File
@@ -32,10 +32,10 @@ $building->procBuild($_GET);
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="mt-full.js?0faab" type="text/javascript"></script>
<script src="unx.js?0faab" type="text/javascript"></script>
<script src="unx.js?f4b7e" type="text/javascript"></script>
<script src="new.js?0faab" type="text/javascript"></script>
<link href="<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css" />
<?php
if($session->gpack == null || GP_ENABLE == false) {
echo "
+2 -2
View File
@@ -37,10 +37,10 @@ if(isset($_GET['newdid'])) {
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="mt-full.js?0faab" type="text/javascript"></script>
<script src="unx.js?0faab" type="text/javascript"></script>
<script src="unx.js?f4b7e" type="text/javascript"></script>
<script src="new.js?0faab" type="text/javascript"></script>
<link href="<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css" />
<?php
if($session->gpack == null || GP_ENABLE == false) {
echo "
+2 -2
View File
@@ -8,9 +8,9 @@
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="mt-full.js?2e3d9" type="text/javascript"></script>
<script src="unx.js?2e3d9" type="text/javascript"></script>
<script src="unx.js?f4b7e" type="text/javascript"></script>
<script src="new.js?2e3d9" type="text/javascript"></script>
<link href="gpack/travian_basic/lang/en/compact.css?2e3d9" rel="stylesheet" type="text/css" />
<link href="gpack/travian_basic/lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css" />
<link href="gpack/travian_basic/lang/en/lang.css?2e3d9" rel="stylesheet" type="text/css" />
<link href="gpack/travian_redesign/travian.css?2e3d9" rel="stylesheet" type="text/css" />
<link href="gpack/travian_redesign/lang/en/lang.css?2e3d9" rel="stylesheet" type="text/css" />
+4 -3
View File
@@ -212,9 +212,6 @@ div.popup_map div#drag {
div.popup_map div#drag2 {
cursor:pointer;
height: 20px;
left: 300%;
position: absolute;
top: 100%;
width: 20px;
z-index: 2;
}
@@ -9073,3 +9070,7 @@ td.wm_getippt {
input.cancel{width:12px;height:12px;background-image:url(../../img/a/del.gif);}
input.accept{width:12px;height:12px;background-image:url(../../img/a/acc.gif);}
#Frame {
top: 0;
z-index: 1000;
}
+2 -2
View File
@@ -8,9 +8,9 @@
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="mt-full.js?2e3d9" type="text/javascript"></script>
<script src="unx.js?2e3d9" type="text/javascript"></script>
<script src="unx.js?f4b7e" type="text/javascript"></script>
<script src="new.js?2e3d9" type="text/javascript"></script>
<link href="gpack/travian_basic/lang/en/compact.css?2e3d9" rel="stylesheet" type="text/css" />
<link href="gpack/travian_basic/lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css" />
<link href="gpack/travian_basic/lang/en/lang.css?2e3d9" rel="stylesheet" type="text/css" />
<link href="gpack/travian_redesign/travian.css?2e3d9" rel="stylesheet" type="text/css" />
<link href="gpack/travian_redesign/lang/en/lang.css?2e3d9" rel="stylesheet" type="text/css" />
+4 -3
View File
@@ -212,9 +212,6 @@ div.popup_map div#drag {
div.popup_map div#drag2 {
cursor:pointer;
height: 20px;
left: 1050px;
position: absolute;
top: -525px;
width: 20px;
z-index: 2;
}
@@ -9029,3 +9026,7 @@ td.wm_getippt {
input.cancel{width:12px;height:12px;background-image:url(../../img/a/del.gif);}
input.accept{width:12px;height:12px;background-image:url(../../img/a/acc.gif);}
#Frame {
top: 0;
z-index: 1000;
}
+2 -2
View File
@@ -8,9 +8,9 @@
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="mt-full.js?2e3d9" type="text/javascript"></script>
<script src="unx.js?2e3d9" type="text/javascript"></script>
<script src="unx.js?f4b7e" type="text/javascript"></script>
<script src="new.js?2e3d9" type="text/javascript"></script>
<link href="gpack/travian_basic/lang/en/compact.css?2e3d9" rel="stylesheet" type="text/css" />
<link href="gpack/travian_basic/lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css" />
<link href="gpack/travian_basic/lang/en/lang.css?2e3d9" rel="stylesheet" type="text/css" />
<link href="gpack/travian_redesign/travian.css?2e3d9" rel="stylesheet" type="text/css" />
<link href="gpack/travian_redesign/lang/en/lang.css?2e3d9" rel="stylesheet" type="text/css" />
+2 -2
View File
@@ -37,10 +37,10 @@ date_default_timezone_set($t_zone);
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="content-type" content="text/html; charset=us-ascii" />
<script src="mt-full.js?0ac37" type="text/javascript"></script>
<script src="unx.js?0ac37" type="text/javascript"></script>
<script src="unx.js?f4b7e" type="text/javascript"></script>
<script src="new.js?0ac37" type="text/javascript"></script>
<link href="../gpack/travian_default/lang/en/lang.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="../gpack/travian_default/lang/en/compact.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="../gpack/travian_default/lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css" />
<link href="../gpack/travian_default/travian.css?e21d2" rel="stylesheet" type="text/css" />
<link href="../gpack/travian_default/lang/en/lang.css?e21d2" rel="stylesheet" type="text/css" />
</head>
+2 -2
View File
@@ -43,10 +43,10 @@ else{
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="mt-full.js?0ac37" type="text/javascript"></script>
<script src="unx.js?0ac37" type="text/javascript"></script>
<script src="unx.js?f4b7e" type="text/javascript"></script>
<script src="new.js?0ac37" type="text/javascript"></script>
<link href="<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css" />
<?php
if($session->gpack == null || GP_ENABLE == false) {
echo "
+2 -2
View File
@@ -23,10 +23,10 @@ if($session->plus){
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="mt-core.js" type="text/javascript"></script>
<script src="unx.js" type="text/javascript"></script>
<script src="unx.js?f4b7e type="text/javascript"></script>
<script src="mt-more.js" type="text/javascript"></script>
<link href="<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css" />
<script type="text/javascript">window.addEvent('domready', start);</script>
</head>
<body onload="start()"><?php
+2 -2
View File
@@ -41,9 +41,9 @@ $_SESSION[ 'csrf' ] = $key;
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="mt-core.js?0faab" type="text/javascript"></script>
<script src="mt-more.js?0faab" type="text/javascript"></script>
<script src="unx.js?0faab" type="text/javascript"></script>
<script src="unx.js?f4b7e" type="text/javascript"></script>
<script src="new.js?0faab" type="text/javascript"></script>
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE ?>travian.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE ?>lang/en/lang.css" rel="stylesheet" type="text/css" />
+2 -2
View File
@@ -25,10 +25,10 @@ $start = $generator->pageLoadTimeStart();
<script src="mt-core.js?2389c" type="text/javascript"></script>
<script src="mt-more.js?2389c" type="text/javascript"></script>
<script src="unx.js?2389c" type="text/javascript"></script>
<script src="unx.js?f4b7e" type="text/javascript"></script>
<script src="new.js?2389c" type="text/javascript"></script>
<link href="<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css" />
<?php
if($session->gpack == null || GP_ENABLE == false) {
echo "
+2 -2
View File
@@ -24,9 +24,9 @@ include("GameEngine/config.php");
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="mt-core.js?0faab" type="text/javascript"></script>
<script src="mt-more.js?0faab" type="text/javascript"></script>
<script src="unx.js?0faab" type="text/javascript"></script>
<script src="unx.js?f4b7e" type="text/javascript"></script>
<script src="new.js?0faab" type="text/javascript"></script>
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>travian.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/lang.css" rel="stylesheet" type="text/css" />
+2 -2
View File
@@ -91,10 +91,10 @@ if (isset($_GET['send']) && isset($_GET['from']))
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="mt-full.js?0ac37" type="text/javascript"></script>
<script src="unx.js?0ac37" type="text/javascript"></script>
<script src="unx.js?f4b7e" type="text/javascript"></script>
<script src="new.js?0ac37" type="text/javascript"></script>
<link href="<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css" />
<?php
if($session->gpack == null || GP_ENABLE == false) {
echo "
+1 -1
View File
@@ -81,7 +81,7 @@ exit;
<script src="unx.js?f4b7d" type="text/javascript"></script>
<script src="new.js?f4b7d" type="text/javascript"></script>
<link href="<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css" />
<?php
if($session->gpack == null || GP_ENABLE == false) {
echo "
+1 -1
View File
@@ -32,7 +32,7 @@ if(T4_COMING==true){
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="content-language" content="<?php echo LANG; ?>" />
<link href="gpack/notification_v1_zzjhons/lang/en/lang.css" rel="stylesheet" type="text/css" />
<link href="gpack/notification_v1_zzjhons/lang/en/compact.css" rel="stylesheet" type="text/css" />
<link href="gpack/notification_v1_zzjhons/lang/en/compact.css?f4b7e rel="stylesheet" type="text/css" />
<script type="text/javascript" src="crypt.js"></script>
<script type="text/javascript">
Travian.Translation.add({'allgemein.cancel': 'Abbrechen','allgemein.ok': 'OK','allgemein.send': 'com'});
+2 -2
View File
@@ -25,9 +25,9 @@ if($session->access != BANNED){
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="mt-full.js?0faab" type="text/javascript"></script>
<script src="unx.js?0faab" type="text/javascript"></script>
<script src="unx.js?f4b7e" type="text/javascript"></script>
<script src="new.js?0faab" type="text/javascript"></script>
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?e21d2" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/lang.css?e21d2" rel="stylesheet" type="text/css" />
<?php
if($session->gpack == null || GP_ENABLE == false) {
+2 -2
View File
@@ -35,9 +35,9 @@ if(!isset($_REQUEST['npw'])){
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="mt-core.js?0faab" type="text/javascript"></script>
<script src="mt-more.js?0faab" type="text/javascript"></script>
<script src="unx.js?0faab" type="text/javascript"></script>
<script src="unx.js?f4b7e" type="text/javascript"></script>
<script src="new.js?0faab" type="text/javascript"></script>
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE ?>travian.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE ?>lang/en/lang.css" rel="stylesheet" type="text/css" />
+2 -2
View File
@@ -58,10 +58,10 @@ $automation->isWinner();
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="mt-full.js?0faab" type="text/javascript"></script>
<script src="unx.js?0faab" type="text/javascript"></script>
<script src="unx.js?f4b7e" type="text/javascript"></script>
<script src="new.js?0faab" type="text/javascript"></script>
<link href="<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css" />
<?php
if($session->gpack == null || GP_ENABLE == false) {
echo "
+2 -2
View File
@@ -23,10 +23,10 @@ else {
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="mt-full.js?0faab" type="text/javascript"></script>
<script src="unx.js?0faab" type="text/javascript"></script>
<script src="unx.js?f4b7e" type="text/javascript"></script>
<script src="new.js?0faab" type="text/javascript"></script>
<link href="<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css" />
<?php
if($session->gpack == null || GP_ENABLE == false) {
echo "
+2 -2
View File
@@ -31,10 +31,10 @@ if(isset($_GET['newdid'])) {
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="mt-full.js?0faab" type="text/javascript"></script>
<script src="unx.js?0faab" type="text/javascript"></script>
<script src="unx.js?f4b7e" type="text/javascript"></script>
<script src="new.js?0faab" type="text/javascript"></script>
<link href="<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css" />
<?php
if($session->gpack == null || GP_ENABLE == false) {
echo "
+2 -2
View File
@@ -46,10 +46,10 @@ $automation->isWinner();
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="mt-full.js?0faab" type="text/javascript"></script>
<script src="unx.js?0faab" type="text/javascript"></script>
<script src="unx.js?f4b7e" type="text/javascript"></script>
<script src="new.js?0faab" type="text/javascript"></script>
<link href="<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css" />
<?php
if($session->gpack == null || GP_ENABLE == false) {
echo "
+2 -2
View File
@@ -65,10 +65,10 @@ if(isset($_GET['newdid'])) {
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="mt-full.js?0faab" type="text/javascript"></script>
<script src="unx.js?0faab" type="text/javascript"></script>
<script src="unx.js?f4b7e" type="text/javascript"></script>
<script src="new.js?0faab" type="text/javascript"></script>
<link href="<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css" />
<?php
if($session->gpack == null || GP_ENABLE == false) {
echo "
+2 -2
View File
@@ -33,9 +33,9 @@ $automation->isWinner();
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="mt-core.js?0faab" type="text/javascript"></script>
<script src="mt-more.js?0faab" type="text/javascript"></script>
<script src="unx.js?0faab" type="text/javascript"></script>
<script src="unx.js?f4b7e" type="text/javascript"></script>
<script src="new.js?0faab" type="text/javascript"></script>
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE ?>travian.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE ?>lang/en/lang.css" rel="stylesheet" type="text/css" />
+2 -2
View File
@@ -69,10 +69,10 @@ if (@isset($_POST['confirm']))
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="mt-full.js?0ac37" type="text/javascript"></script>
<script src="unx.js?0ac37" type="text/javascript"></script>
<script src="unx.js?f4b7e" type="text/javascript"></script>
<script src="new.js?0ac37" type="text/javascript"></script>
<link href="<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css" />
<?php
if($session->gpack == null || GP_ENABLE == false) {
echo "
+37 -10
View File
@@ -134,7 +134,11 @@ 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>';
var
iframeHeight = 440,
iframeWidth = 412;
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+'" border="0"></iframe>'+'</div>';
pb.innerHTML=tc;uc();
}
vc();
@@ -145,10 +149,13 @@ function PopupMap(i){
if(typeof sc=='undefined'){sc='s';}
pb=document.getElementById("ce");
if(pb!=null){
var
iframeHeight = 575,
iframeWidth = 1000;
if(window.dlang== 'ar'){
var tc='<div class="popup_map" style="right: 320px; left: -100px; top: 20px">'+'<div id="drag2"><a href="#" style="position: absolute;right: 968px;margin-top: 10px;" id="map_popclose" onClick="Close(); return false;"><img src="img/x.gif" border="0" width="20px" height="20px" alt="Move"></a>'+'<iframe frameborder="0" id="Frame" src="karte2.php?z='+i+'" width="1000" height="575" border="0" scrolling="no"></iframe>'+'</div></div>';
var tc='<div class="popup_map">'+'<div id="drag2"><a href="#" style="position: absolute;right: 968px;margin-top: 10px;" id="map_popclose" onClick="Close(); return false;"><img src="img/x.gif" border="0" width="20px" height="20px" alt="Move"></a>'+'<iframe frameborder="0" id="Frame" src="karte2.php?z='+i+'" style="position: absolute; left: ' + Math.round((documentWidth() - iframeWidth) / 2) + 'px" width="1000" height="575" border="0" scrolling="no"></iframe>'+'</div></div>';
}else{
var tc='<div class="popup_map">'+'<div id="drag2"><a href="#" id="map_popclose" onClick="Close(); return false;"><img src="img/x.gif" border="0" width="20px" height="20px" alt="Move"></a>'+'<iframe frameborder="0" id="Frame" src="karte2.php?z='+i+'" width="1000" height="575" border="0" scrolling="no"></iframe>'+'</div></div>';
var tc='<div class="popup_map">'+'<div id="drag2"><a href="#" id="map_popclose" onClick="Close(); return false;"><img src="img/x.gif" border="0" width="20px" height="20px" alt="Move"></a>'+'<iframe frameborder="0" id="Frame" src="karte2.php?z='+i+'" style="position: absolute; left: ' + Math.round((documentWidth() - iframeWidth) / 2) + 'px" width="1000" height="575" border="0" scrolling="no"></iframe>'+'</div></div>';
}
pb.innerHTML=tc;uc2();
}
@@ -165,25 +172,36 @@ $$('.popup3')[0].grab(new Element('div',{'id':'drag'}
function uc2(){
if($('drag')){return;}
if(window.dlang== 'ar'){
$$('.popup_map')[0].grab(new Element('div',{'id':'drag', "style": "width: 1000px;height: 10px;background-color: #fff0;position: absolute;cursor: move;"}),'top').makeDraggable({'handle':'drag'});
//$$('.popup_map')[0].grab(new Element('div',{'id':'drag', "style": "width: 1000px;height: 10px;background-color: #fff0;position: absolute;cursor: move;"}),'top').makeDraggable({'handle':'drag'});
}else{
$$('.popup_map')[0].grab(new Element('div',{'id':'drag'}),'top').makeDraggable({'handle':'drag'});
//$$('.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(){
var frm = document.getElementById("Frame");
if (!frm || frm == null || typeof(frm) == 'undefined') {
frm = document.getElementById("ce");
}
if(gb()<700||ib()<700){
frm.style.position='absolute';wc=true;
} else{
frm.style.position='fixed';wc=false;
}
//if(gb()<700||ib()<700){
frm.style.position = 'absolute';
wc=true;
//} else{
//frm.style.position='fixed';wc=false;
//}
}
window.addEvent('resize', function(){
$f = $$('#Frame');
if (typeof($f) != 'undefined' && typeof($f[0]) != 'undefined') {
$f[0].style.left = (Math.round((documentWidth() - $f[0].width) / 2)) + 'px';
}
});
function Close(){pb=document.getElementById("ce");if(pb!=null){pb.innerHTML='';}
if(quest.anmstep!==false){quest.anmstep=false;}
}
@@ -850,3 +868,12 @@ function gmwd(){if(is_ff2&&document.getElementById("gmwi").offsetWidth<50){docum
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 documentWidth() {
return Math.max(
document.documentElement.clientWidth,
document.body.scrollWidth,
document.documentElement.scrollWidth,
document.body.offsetWidth,
document.documentElement.offsetWidth
);
}
+2 -2
View File
@@ -35,10 +35,10 @@ $automation->isWinner();
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="mt-full.js?0faab" type="text/javascript"></script>
<script src="unx.js?0faab" type="text/javascript"></script>
<script src="unx.js?f4b7e" type="text/javascript"></script>
<script src="new.js?0faab" type="text/javascript"></script>
<link href="<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css" />
<?php
if($session->gpack == null || GP_ENABLE == false) {
echo "
+2 -2
View File
@@ -26,10 +26,10 @@ $battle->procSim($_POST);
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="mt-full.js?0faab" type="text/javascript"></script>
<script src="unx.js?0faab" type="text/javascript"></script>
<script src="unx.js?f4b7e" type="text/javascript"></script>
<script src="new.js?0faab" type="text/javascript"></script>
<link href="<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css" />
<?php
if($session->gpack == null || GP_ENABLE == false) {
echo "
+2 -2
View File
@@ -166,10 +166,10 @@ $q = "
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="mt-full.js?0faab" type="text/javascript"></script>
<script src="unx.js?0faab" type="text/javascript"></script>
<script src="unx.js?f4b7e" type="text/javascript"></script>
<script src="new.js?0faab" type="text/javascript"></script>
<link href="<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7d" rel="stylesheet" type="text/css" />
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7e" rel="stylesheet" type="text/css" />
<?php
if($session->gpack == null || GP_ENABLE == false)
{