die; } else { $my_array['WebShop_Last_Buys'] .= $ws->CancelBuy($db, $acc, $it, $item); } } $my_array['WebShop_Last_Buys'] .= $ws->GetMyFullLastBuys($db, $acc, $it); $category = ""; } else { $my_array['WebShop_Last_Buys'] = $ws->GetTopLastBuys($db, $acc, $it); } if (isset($_POST['go'])) { if ($category == "make") { $my_array['WebShop_Items'] = $ws->BuyItem($item, $it); } if ($category == "pack") { $my_array['WebShop_Items'] = $ws->BuyPack($item, $it); } } else { if (!empty($category)) { if ($category == "make") { $my_array['WebShop_Items'] = $ws->GetItemConfigPane($item, $it); } else { if ($category == "pack") { $my_array['WebShop_Items'] = $ws->GetPackConfigPane($item, $it); } else { $my_array['WebShop_Items'] = $ws->GetItensList($category, $it); } } } } $tpl->Assign($my_array);