Hi, I'm trying add this:
http://otland.net/f118/gesior-aac-categories-shop-60916/
And I've added some some categories to shop:
Also to database:
and only first category works (Items), when I've entered to druid or sorcerer then it doesnt show items :/
Only:
no items, no tables..
But I've change categories in DB:
Whats wrong?
http://otland.net/f118/gesior-aac-categories-shop-60916/
And I've added some some categories to shop:
Code:
$main_content .= '
<a href="index.php?subtopic=shopsystem" style="padding: 5px 5px 1px 5px; margin: 5px 1px 0px 1px; background-color: #F1E0C6; color: #000000;">Items</a><a href="index.php?subtopic=shopsystem&action=category=2" style="padding: 5px 5px 1px 5px; margin: 5px 1px 0px 1px; background-color: #F1E0C6; color: #aaaaaa;">Addon Items</a><a href="index.php?subtopic=shopsystem&action=category=3" style="padding: 5px 5px 1px 5px; margin: 5px 1px 0px 1px; background-color: #F1E0C6; color: #aaaaaa;">Druid</a><a href="index.php?subtopic=shopsystem&action=category=4" style="padding: 5px 5px 1px 5px; margin: 5px 1px 0px 1px; background-color: #F1E0C6; color: #aaaaaa;">Sorcerer</a><a href="index.php?subtopic=shopsystem&action=category=5" style="padding: 5px 5px 1px 5px; margin: 5px 1px 0px 1px; background-color: #F1E0C6; color: #aaaaaa;">Knight</a><a href="index.php?subtopic=shopsystem&action=category=6" style="padding: 5px 5px 1px 5px; margin: 5px 1px 0px 1px; background-color: #F1E0C6; color: #aaaaaa;">Paladin</a>';
Also to database:
Code:
ALTER TABLE `z_shop_offer` ADD `category` INT( 11 ) NOT NULL DEFAULT '1';
and only first category works (Items), when I've entered to druid or sorcerer then it doesnt show items :/
Only:
Code:
Welcome to Shop
You have premium points: 0
But I've change categories in DB:
Whats wrong?