-getJobs($village->wid);
+$activeFields = [];
+if (count($jobs)) {
+ foreach ($jobs as $job) {
+ if ( $job['type'] <= 4 ) {
+ $activeFields[ $job['field'] ] = true;
+ }
+ }
+}
+
for($i=1;$i<=18;$i++) {
if($arrayVillage['f'.$i.'t'] != 0) {
$text = "";
@@ -33,7 +43,7 @@ for($i=1;$i<=18;$i++) {
case 3:$text = "Iron Mine Level";break;
case 4:$text = "Cropland Level";break;
}
- echo "
";
+ echo "
";
}
}
?>
diff --git a/a2b.php b/a2b.php
index 9a833b81..a43d5638 100644
--- a/a2b.php
+++ b/a2b.php
@@ -106,7 +106,7 @@
echo GP_LOCATE;
-?>lang/en/compact.css?f4b7g" rel="stylesheet" type="text/css" />
+?>lang/en/compact.css?f4b7h" rel="stylesheet" type="text/css" />
gpack == null || GP_ENABLE == false) {
@@ -180,10 +180,10 @@
$p_ander = $database->getCoor($prisoner['from']);
$p_to = array('x'=>$p_ander['x'], 'y'=>$p_ander['y']);
$p_tribe = $database->getUserField($p_owner,"tribe",0);
-
+
$p_speeds = array();
-
- //find slowest unit.
+
+ //find slowest unit.
for($i=1;$i<=10;$i++){
if ($prisoner['t'.$i]){
if($prisoner['t'.$i] != '' && $prisoner['t'.$i] > 0){
@@ -193,7 +193,7 @@
}
}
}
-
+
if ($prisoner['t11']>0){
$p_qh = "SELECT unit FROM ".TB_PREFIX."hero WHERE uid = ".(int) $p_owner." AND dead = 0";
$p_resulth = mysqli_query($GLOBALS['link'],$p_qh);
@@ -201,7 +201,7 @@
$p_hero_unit=$p_hero_f['unit'];
$p_speeds[] = $GLOBALS['u'.$p_hero_unit]['speed'];
}
-
+
$p_artefact = count($database->getOwnUniqueArtefactInfo2($p_owner,2,3,0));
$p_artefact1 = count($database->getOwnUniqueArtefactInfo2($prisoner['from'],2,1,1));
$p_artefact2 = count($database->getOwnUniqueArtefactInfo2($p_owner,2,2,0));
diff --git a/a2b2.php b/a2b2.php
index 4f4da176..019be444 100644
--- a/a2b2.php
+++ b/a2b2.php
@@ -43,7 +43,7 @@
-
+
gpack == null || GP_ENABLE == false) {
echo "
diff --git a/activate.php b/activate.php
index 0e0c5954..70780131 100644
--- a/activate.php
+++ b/activate.php
@@ -29,7 +29,7 @@
-
+
diff --git a/allianz.php b/allianz.php
index d00ba1fa..803ade0f 100644
--- a/allianz.php
+++ b/allianz.php
@@ -120,7 +120,7 @@
echo GP_LOCATE;
-?>lang/en/compact.css?f4b7g" rel="stylesheet" type="text/css" />
+?>lang/en/compact.css?f4b7h" rel="stylesheet" type="text/css" />
gpack == null || GP_ENABLE == false) {
diff --git a/anmelden.php b/anmelden.php
index 8d672ac1..1b714ff4 100644
--- a/anmelden.php
+++ b/anmelden.php
@@ -35,7 +35,7 @@
-
+
diff --git a/banned.php b/banned.php
index 7ec31782..192f3ccc 100644
--- a/banned.php
+++ b/banned.php
@@ -31,7 +31,7 @@
-
+
gpack == null || GP_ENABLE == false) {
diff --git a/berichte.php b/berichte.php
index 46fcf6a5..855c0b7c 100644
--- a/berichte.php
+++ b/berichte.php
@@ -50,7 +50,7 @@
-
+
gpack == null || GP_ENABLE == false) {
echo "
diff --git a/build.php b/build.php
index 29e19289..59bc0b9a 100644
--- a/build.php
+++ b/build.php
@@ -332,7 +332,7 @@
-
+
gpack == null || GP_ENABLE == false) {
echo "
@@ -402,7 +402,7 @@
$building->finishAll("build.php?gid=".$_GET['id']."&ty=".$_GET['ty']);
exit;
}
- }
+ }
}
}else{
header("Location: ".$_SERVER['PHP_SELF']."?id=39");
diff --git a/create_account.php b/create_account.php
index 598a30e9..a4879b3e 100644
--- a/create_account.php
+++ b/create_account.php
@@ -61,7 +61,7 @@
-
+
gpack == null || GP_ENABLE == false) {
diff --git a/crop_finder.php b/crop_finder.php
index e3a4fbc0..a755e077 100644
--- a/crop_finder.php
+++ b/crop_finder.php
@@ -58,7 +58,7 @@
echo GP_LOCATE;
-?>lang/en/compact.css?f4b7g" rel="stylesheet" type="text/css" />
+?>lang/en/compact.css?f4b7h" rel="stylesheet" type="text/css" />
gpack == null || GP_ENABLE == false) {
diff --git a/dorf1.php b/dorf1.php
index c292b8a3..edf13c5c 100644
--- a/dorf1.php
+++ b/dorf1.php
@@ -41,7 +41,7 @@
-
+
gpack == null || GP_ENABLE == false) {
diff --git a/dorf2.php b/dorf2.php
index 99f9d3df..eac1fdff 100644
--- a/dorf2.php
+++ b/dorf2.php
@@ -18,7 +18,7 @@
if(isset($_GET['newdid'])) {
$_SESSION['wid'] = $_GET['newdid'];
- $database->query("UPDATE ".TB_PREFIX."users SET village_select=".$database->escape((int) $_GET['newdid'])." WHERE id=".$session->uid);
+ $database->query("UPDATE ".TB_PREFIX."users SET village_select=".$database->escape((int) $_GET['newdid'])." WHERE id=".$session->uid);
header("Location: ".$_SERVER['PHP_SELF']);
exit;
}else{
@@ -42,7 +42,7 @@
-
+
gpack == null || GP_ENABLE == false) {
echo "
diff --git a/dorf3.php b/dorf3.php
index f84b3d44..40a7b781 100644
--- a/dorf3.php
+++ b/dorf3.php
@@ -45,7 +45,7 @@
-
+
gpack == null || GP_ENABLE == false) {
echo "
diff --git a/gpack/travian_default/img/g/s/glvlm.gif b/gpack/travian_default/img/g/s/glvlm.gif
index 6dec5842..e8ef604d 100644
Binary files a/gpack/travian_default/img/g/s/glvlm.gif and b/gpack/travian_default/img/g/s/glvlm.gif differ
diff --git a/gpack/travian_default/img/g/s/lvl11_20_active.gif b/gpack/travian_default/img/g/s/lvl11_20_active.gif
new file mode 100644
index 00000000..bb4f4770
Binary files /dev/null and b/gpack/travian_default/img/g/s/lvl11_20_active.gif differ
diff --git a/gpack/travian_default/img/g/s/lvl1_10_active.gif b/gpack/travian_default/img/g/s/lvl1_10_active.gif
new file mode 100644
index 00000000..79cab4aa
Binary files /dev/null and b/gpack/travian_default/img/g/s/lvl1_10_active.gif differ
diff --git a/gpack/travian_default/img/g/s/lvl21_30_active.gif b/gpack/travian_default/img/g/s/lvl21_30_active.gif
new file mode 100644
index 00000000..f9a06d9f
Binary files /dev/null and b/gpack/travian_default/img/g/s/lvl21_30_active.gif differ
diff --git a/gpack/travian_default/lang/en/b/zurueck.html b/gpack/travian_default/lang/en/b/zurueck.html
index 1b0dc904..01abebcc 100644
--- a/gpack/travian_default/lang/en/b/zurueck.html
+++ b/gpack/travian_default/lang/en/b/zurueck.html
@@ -10,10 +10,10 @@
-
-
-
-
+
+
+
+
@@ -42,13 +42,13 @@
Nothing here!
We looked 404 times already but can't find anything
-
+