diff --git a/templates/tibiacom/boxes/premium.php b/templates/tibiacom/boxes/premium.php index d5faae46..86f8166d 100644 --- a/templates/tibiacom/boxes/premium.php +++ b/templates/tibiacom/boxes/premium.php @@ -1,7 +1,5 @@
- -
-
+
\ No newline at end of file diff --git a/templates/tibiacom/index.php b/templates/tibiacom/index.php index ed118d8a..3133155e 100644 --- a/templates/tibiacom/index.php +++ b/templates/tibiacom/index.php @@ -24,6 +24,16 @@ if(isset($config['boxes'])) } else { $tmp = str_replace('/', '', URI); + $exp = explode('/', URI); + if(isset($exp[1]) && URI != 'account/create' && URI != 'account/lost') { + if ($exp[0] == 'account') { + $tmp = 'accountmanage'; + } else if ($exp[0] == 'news' && $exp[1] == 'archive') { + $tmp = 'newsarchive'; + } + else + $tmp = $exp[0]; + } } } else {