mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-31 15:47:14 +00:00
Artifacts fixing part 1
+Added a new table in the database, called "artefacts_chrono" which stores the chronology of all artifacts +Added the support for the artifacts chronology in 27_show.tpl +Added the support for interacting with the artifacts chronology table in Database.php +Cleaned the code in 27_show.tpl +Some minor improovements and bug fixing
This commit is contained in:
+8
-12
@@ -7,19 +7,15 @@
|
||||
<h1><?php echo TREASURY; ?> <span class="level"><?php echo LEVEL; ?> <?php echo $village->resarray['f'.$id]; ?></span></h1>
|
||||
|
||||
<p class="build_desc"><?php echo TREASURY_DESC; ?></p>
|
||||
<?php
|
||||
|
||||
<?php
|
||||
include("27_menu.tpl");
|
||||
if(isset($_GET['show'])){ include("27_show.tpl"); }else{
|
||||
if(!isset($_GET['t'])){
|
||||
include("27_1.tpl");
|
||||
}elseif(isset($_GET['t']) && $_GET['t'] == 2){
|
||||
include("27_2.tpl");
|
||||
}elseif(isset($_GET['t']) && $_GET['t'] == 3){
|
||||
include("27_3.tpl");
|
||||
}
|
||||
}
|
||||
|
||||
if(isset($_GET['show']) && !empty($_GET['show']) && $_GET['show'] > 0) include("27_show.tpl");
|
||||
else
|
||||
{
|
||||
if(!isset($_GET['t'])) include("27_1.tpl");
|
||||
elseif(isset($_GET['t']) && $_GET['t'] == 2) include("27_2.tpl");
|
||||
elseif(isset($_GET['t']) && $_GET['t'] == 3) include("27_3.tpl");
|
||||
}
|
||||
include("upgrade.tpl");
|
||||
?>
|
||||
</div>
|
||||
Reference in New Issue
Block a user