'.LOGIN_PW_ERROR.'
'; $_SESSION['error_p'] = $error; $_SESSION['time_p'] = time(); - print ''; + echo ''; } } ?> @@ -62,7 +64,7 @@ else echo '
'.PALACE_TRAIN_DESC.'
';
?>
capital == $village->wid) {
+if($village->capital == 1) {
?>
getOasis($village->wid);
-if(isset($_GET['gid']) && $_GET['gid']==37 && isset($_GET['del']) && $database->getOasisField($_GET['del'], 'owner') == $session->uid){
+if(isset($_GET['gid']) && $_GET['gid'] == 37 && isset($_GET['del']) && $database->getOasisField($_GET['del'], 'owner') == $session->uid){
if($session->access != BANNED){
$database->removeOases($_GET['del']);
header("Location: build.php?id=".$id."&land");
diff --git a/Templates/Profile/overview.tpl b/Templates/Profile/overview.tpl
index d13accda..9c23c758 100644
--- a/Templates/Profile/overview.tpl
+++ b/Templates/Profile/overview.tpl
@@ -48,10 +48,12 @@ include("menu2.tpl");
| Tribe | + $tribeArrays = [TRIBE1, TRIBE2, TRIBE3, TRIBE4, TRIBE5]; + echo $tribeArrays[$displayarray['tribe'] - 1]; + ?> | ||
|---|---|---|---|
| Alliance | -getAllianceName($displayarray['alliance']); echo "".$displayalliance.""; } ?> | @@ -114,21 +104,21 @@ include("menu2.tpl");Age | $age |
| Gender | ".$gender." | ||
| Gender | ".$gender." | ||
| Location | ".$displayarray['location']." | ||
| Location | ".$displayarray['location']." | ||
| getMapCheck($vil['wref'])."\">".$vil['name'].""; - if($vil['capital'] == 1) { - echo " (capital)"; + if($vil['capital'] == 1) echo " (capital)"; + echo " | ";
+
+ // OASIS PART - must to be activated from install part
+
+ $oases = $database->getOasis($vil['wref']);
+ foreach ($oases as $oasis){
+ switch ($oasis['type']) {
+ case 1:
+ case 2:
+ echo " ";
+ break;
+ case 3:
+ echo "![]() ";
+ break;
+ case 4:
+ case 5:
+ echo " ";
+ break;
+ case 6:
+ echo "![]() ";
+ case 7:
+ case 8:
+ echo " ";
+ break;
+ case 9:
+ echo "![]() ";
+ break;
+ case 10:
+ case 11:
+ case 12:
+ echo " ";
+ break;
+ }
}
- echo " | "; - - // OASIS PART - must to be activated from install part - - $prefix = "".TB_PREFIX."odata"; - $uid = $_GET['uid']; $wref = $vil['wref']; - $sql = mysqli_query("SELECT * FROM $prefix WHERE owner = $uid AND conqured = $wref"); - while($row = mysqli_fetch_array($sql)){ - $type = $row["type"]; - switch($type) { - case 1: - case 2: - echo " | ".$vil['pop']." | "; diff --git a/img/admin/admin.css b/img/admin/admin.css index 9966bda4..2eda97b6 100644 --- a/img/admin/admin.css +++ b/img/admin/admin.css @@ -17,10 +17,10 @@ font-family: Verdana, Arial, Helvetica, sans-serif; /* Fix */ .online1, .online2, .online3, .online4, .online5 {width:12px; height:12px;} /* Oberer Layer mit Menue ohne Werbung */ -#ltop1 {position:relative; padding-left: 25%; width:100%; min-width:980px; height:100px; z-index:2; background-image:url(../un/l/mp.gif); background-repeat:repeat-x; left:0px; top:0px;} +#ltop1 {position:relative; width:100%; min-width:980px; height:100px; z-index:2; background-image:url(../un/l/mp.gif); background-repeat:repeat-x; left:0px; top:0px;} /* Oberer Layer mit Menue mit Werbung */ -#ltop2 {position:relative; padding-left: 25%; width:100%; min-width:980px; height:100px; z-index:2; background-image:url(../un/l/mw.gif); background-repeat:repeat-x; left:0px; top:0px;} +#ltop2 {position:relative; width:100%; min-width:980px; height:100px; z-index:2; background-image:url(../un/l/mw.gif); background-repeat:repeat-x; left:0px; top:0px;} /* - VERALTET - Oberer Layer mit Mindestbreite fuer IE6 */ /*#ltop3 {width:777px;} */ |
";
+ break;
+ case 3:
+ echo "