mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 08:34:33 +00:00
vacation mode
This commit is contained in:
@@ -494,6 +494,8 @@ if($type==18 or $type==19 or $type==20 or $type==21){
|
||||
$data2 = mysql_fetch_assoc($query2);
|
||||
if($data2['access']=='0' or $data2['access']=='8' or $data2['access']=='9') {
|
||||
echo "» ".SENDTROOP." (".BAN.")";
|
||||
} else if($data2['vac_mode']=='1') {
|
||||
echo "» Send troops. (Vacation mode on)";
|
||||
} else if($data2['protect'] < time()) {
|
||||
echo $village->resarray['f39']? "<a href=\"a2b.php?s=2&z=".$_GET['d']."\">» ".SENDTROOP : "» ".SENDTROOP." (".BUILDRALLY.")";
|
||||
} else {
|
||||
@@ -507,6 +509,8 @@ if($type==18 or $type==19 or $type==20 or $type==21){
|
||||
<?php
|
||||
if($data2['access']=='0' or $data2['access']=='8' or $data2['access']=='9') {
|
||||
echo "» ".SENDMERC." (".BAN.")";
|
||||
} else if($data2['vac_mode']=='1') {
|
||||
echo "» Send merchant(s). (Vacation mode on)";
|
||||
} else {
|
||||
echo $building->getTypeLevel(17)? "<a href=\"build.php?z=".$_GET['d']."&id=" . $building->getTypeField(17) . "\">» ".SENDMERC : "» ".SENDMERC ."(".BUILDMARKET.")";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user