mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-24 19:06:41 +08:00
Update medal.php
This commit is contained in:
@@ -17,14 +17,15 @@
|
|||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
|
|
||||||
//gp link
|
//gp link
|
||||||
if($session->gpack == null || GP_ENABLE == false) {
|
$separator=isset($separator)? $separator:"";
|
||||||
$gpack= GP_LOCATE;
|
$gpack_load=isset($user['gpack'])? $user['gpack']:$database->getUserField($_SESSION['username'], 'gpack', 1);
|
||||||
} else {
|
if($gpack_load== null || GP_ENABLE == false) {
|
||||||
$gpack= $session->gpack;
|
$gpack= $separator.GP_LOCATE;
|
||||||
}
|
} else {
|
||||||
|
$gpack= $separator.$gpack_load;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//de bird
|
//de bird
|
||||||
if($displayarray['protect'] > time()){
|
if($displayarray['protect'] > time()){
|
||||||
$secondsDiff = $displayarray['protect'] - time();
|
$secondsDiff = $displayarray['protect'] - time();
|
||||||
|
|||||||
Reference in New Issue
Block a user