From c5decc03d133546b2727c71cd21c509f866b96ea Mon Sep 17 00:00:00 2001 From: Znote Date: Sun, 15 Oct 2017 15:40:27 +0200 Subject: [PATCH] Hide empty shop tables. --- shop.php | 76 ++++++++++++++++++++++++++++++++------------------------ 1 file changed, 43 insertions(+), 33 deletions(-) diff --git a/shop.php b/shop.php index 2d1460a..7b0e35a 100644 --- a/shop.php +++ b/shop.php @@ -133,11 +133,11 @@ foreach ($shop_list as $key => $offer) { ?>
ALL - ITEMS - PREMIUM - OUTFITS - MOUNTS - MISC + ITEMS + PREMIUM + OUTFITS + MOUNTS + MISC
- - - - - - - - - - $offers): ?> - - - - - - - - - - + + +
Item:Image:Count:Points:Action:
imgx -
- - - -
-
+ + + + + + - -
Item:Image:Count:Points:Action:
+ $offers): ?> + + + + img + + x + + + +
+ + + +
+ + + + + + + @@ -256,6 +259,8 @@ foreach ($shop_list as $key => $offer) {
+ + @@ -283,6 +288,8 @@ foreach ($shop_list as $key => $offer) {
+ + @@ -310,6 +317,8 @@ foreach ($shop_list as $key => $offer) {
+ + @@ -343,6 +352,7 @@ foreach ($shop_list as $key => $offer) {
+