mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-09 21:01:00 +00:00
Enable GPACK for Player
Enable GPACK for Player
This commit is contained in:
@@ -81,13 +81,10 @@ if (isset($packages[$amount]) && $amount > 0) {
|
||||
<link href="<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7d" rel="stylesheet" type="text/css" />
|
||||
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7i" rel="stylesheet" type="text/css" />
|
||||
<?php
|
||||
if ($session->gpack == null || GP_ENABLE == false) {
|
||||
echo '<link href="' . GP_LOCATE . 'travian.css?e21d2" rel="stylesheet" type="text/css" />';
|
||||
echo '<link href="' . GP_LOCATE . 'lang/en/lang.css?e21d2" rel="stylesheet" type="text/css" />';
|
||||
} else {
|
||||
echo '<link href="' . $session->gpack . 'travian.css?e21d2" rel="stylesheet" type="text/css" />';
|
||||
echo '<link href="' . $session->gpack . 'lang/en/lang.css?e21d2" rel="stylesheet" type="text/css" />';
|
||||
}
|
||||
// GP_LOCATE contine deja pachetul efectiv: alegerea jucatorului cand
|
||||
// e permisa si valida, altfel pachetul serverului (vezi config.php).
|
||||
echo '<link href="' . GP_LOCATE . 'travian.css?e21d2" rel="stylesheet" type="text/css" />';
|
||||
echo '<link href="' . GP_LOCATE . 'lang/en/lang.css?e21d2" rel="stylesheet" type="text/css" />';
|
||||
?>
|
||||
<script type="text/javascript">window.addEvent('domready', start);</script>
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user