{if $Zub_a_products_array}
<div class="shop_contents_box_tabs">
{foreach from=$Zub_a_products_array item=p name=accessories}
{if $p.Fsk18==1 && $fsk_user!=1}<div class="error_box">{#Shop_isFSKWarning#}</div>{/if}
<script language="javascript" type="text/javascript">
<!--
$(document).ready(function(){ldelim}
var options = {ldelim}target:'#ajaxbasket',  timeout:   3000 {rdelim}; 
$('#a_ajsi_products_{$p.Id}').submit(function() {ldelim}
var message = (document.getElementById('a_to_mylist_{$p.Id}').value==1) ? '{#Shop_ProdAddedToList#}' : '{#Shop_ProdAddedToBasket#}';
jQuery.blockUI({ldelim} message: '<h2>' + message + '</h2>'{rdelim}); 
setTimeout(jQuery.unblockUI, 2000); 
$(this).ajaxSubmit(options); 
document.getElementById('a_to_mylist_{$p.Id}').value='0';
return false;  {rdelim}); {rdelim}); 
-->
</script>
<div class="shop_tabs_items">
<div {popup width=350 text=$p.Pop_Text|koobispecialchars} class="shop_tabs_items_left">
<a title="{$p.Titel|koobispecialchars}" href="{$p.ProdLink}"><img class="shop_productimage_left" src="{$p.Bild_Klein}" alt="" border="0" /></a>
</div>

<div {popup width=350 text=$p.Pop_Text|koobispecialchars} class="shop_tabs_items_right">
<a class="shop_small_link" title="{$p.Titel|specialchars}" href="{$p.ProdLink}">{$p.Titel|specialchars|stripslashes}</a> <br />
<strong>{$p.Preis|numformat} {$currency_symbol}</strong> <span class="sup">*</span>
</div>

<div style="float:right">
{if $p.Fsk18==1 && $fsk_user!=1}
<form method="post" action="{$p.ProdLink}">
<button class="shop_buttons_small" type="submit">{#buttonDetails#}</button>
</form>
{else}
{if !$p.Vars}
<form method="post" id="a_ajsi_products_{$p.Id}" action="{if !$p.Vars}index.php?p=shop&amp;area={$area}{else}index.php?p=shop&amp;area={$area}&amp;action=showproduct&amp;id={$p.Id}{/if}">
<input name="amount" type="hidden" value="{if $p.MinBestellung==0}1{else}{$p.MinBestellung}{/if}" maxlength="2" />
<input type="hidden" name="action" value="to_cart" />
<input type="hidden" name="redir" value="{redir}#prod_anchor_{$p.Id}" />
<input type="hidden" name="product_id" value="{$p.Id}" />
<input type="hidden" name="mylist" id="a_to_mylist_{$p.Id}" value="0" />
<input type="hidden" name="ajax" value="1" />
<noscript><input type="hidden" name="ajax" value="0" /></noscript>
<button class="shop_buttons_small" type="submit">{#Shop_toBasket#}</button>
<button class="shop_buttons_small" onclick="document.getElementById('a_to_mylist_{$p.Id}').value='1';"  type="submit">{#Shop_WishList#}</button>
</form>
{else}
<form method="post" action="{$p.ProdLink}">
<button class="shop_buttons_small" type="submit">{#buttonDetails#}</button>
</form>
{/if}
{/if}
</div>

<div class="clear">&nbsp;</div>
</div>
{/foreach}
</div>

{/if}
