mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-25 03:16:39 +08:00
Update medal.php
This commit is contained in:
@@ -17,13 +17,14 @@
|
|||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
|
|
||||||
//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()){
|
||||||
|
|||||||
Reference in New Issue
Block a user