{if $cat_desc}
<div class="shop_cat_desc">{$cat_desc|stripslashes}</div>
{/if}
{if $sub_categs}
{/if}



{literal}
<script type="text/javascript">
$(function() {
	 $('#container-options ul').tabs({ fx: { opacity: 'toggle' } });
});
</script>
{/literal}
{if $smarty.request.s!='1'}
<div id="container-options">
 <ul>
        {if $sub_categs}<li><a href="#opt-1"><span>{#Shop_CategsOnce#}</span></a></li>{/if}
        <li><a href="#opt-2"><span>{#Shop_NewProducts#}</span></a></li>
        {if $offers_shop}<li><a href="#opt-3"><span>{#Shop_Offers#}</span></a></li>{/if}
        {if $topseller_shop}<li><a href="#opt-4"><span>{#Shop_Topseller#}</span></a></li>{/if}
 </ul>
 
 {if $sub_categs}
 <div id="opt-1">{include file="$incpath/shop/shop_browse_tab_categs.tpl"}</div>{/if}
 <div id="opt-2">{$newin_shop}</div>
 {if $offers_shop}<div id="opt-3">{$offers_shop}</div>{/if}
 {if $topseller_shop}<div id="opt-4">{$topseller_shop}</div>{/if}
</div>


<div class="clear"></div>
<div class="shop_tips">
<a class="page_navigation" href="index.php?p=shop&amp;action=showproducts&amp;page=1{if $smarty.request.cid!=''}&amp;cid={$smarty.request.cid}{/if}&amp;limit={$smarty.request.limit|default:$plim}">{#Shop_newProducts#}</a> | 
<a class="page_navigation" href="index.php?p=shop&amp;action=showproducts&amp;page=1&amp;offers=1{if $smarty.request.cid!=''}&amp;cid={$smarty.request.cid}{/if}&amp;limit={$smarty.request.limit|default:$plim}">{#Shop_Offers#}</a> | 
<a class="page_navigation" href="index.php?p=shop&amp;action=showproducts&amp;page=1&amp;topseller=1{if $smarty.request.cid!=''}&amp;cid={$smarty.request.cid}{/if}&amp;limit={$smarty.request.limit|default:$plim}">{#Shop_Topseller#}</a> | 
<a class="page_navigation" href="index.php?p=shop&amp;action=showproducts&amp;page=1&amp;lowamount=1{if $smarty.request.cid!=''}&amp;cid={$smarty.request.cid}{/if}&amp;limit={$smarty.request.limit|default:$plim}">{#Shop_lowProducts#}</a>
</div>
{/if}

{if $smarty.request.s=='1'}
{include file="$incpath/shop/search_extended.tpl"}
<br />
{/if}

<div class="shop_headers">{#Shop_productOverview#}</div>

{if !$products}
<div class="shop_empty_categ">
{if $smarty.request.shop_q!=''}
{#Shop_searchNull#}
{else}
{#Shop_noProducts#}
{/if}
</div>
<br />
{else}

{if $smarty.request.print!=1}
{include file="$incpath/shop/products_headernavi.tpl"}
{/if}



<table width="100%" border="0" cellspacing="0" cellpadding="0" class="shop_products_table">
<tr>
<td valign="top">
{foreach from=$products item=p name=pro}
<script language="javascript" type="text/javascript">
<!--
$(document).ready(function(){ldelim}
var options = {ldelim}target:'#ajaxbasket',  timeout:   3000 {rdelim}; 
$('#aj_products_{$p.Id}').submit(function() {ldelim}
var message = (document.getElementById('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('to_mylist_{$p.Id}').value='0';
return false;  {rdelim}); {rdelim}); 
-->
</script>

{assign var=count value=$count+1}
<div style="float:{if $count % 2 == 0}right{else}left{/if}; width:49%">
  
  

<a name="prod_anchor_{$p.Id}"></a>

<form method="post" name="products_{$p.Id}" id="aj_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}">
<div class="shop_products">
<div style="margin-bottom:10px"><strong><a title="{$p.Titel|specialchars}" href="{$p.ProdLink}">{$p.Titel|koobispecialchars}</a></strong></div>
<div class="shop_product_text">
	<a href="{$p.ProdLink}"><img {popup text=$p.Beschreibung|truncate:$maxlength_prodtext|stripslashes|striptags} class="shop_productimage_list" src="{$p.Bild_Mittel}" alt="" border="0" align="left" /></a>

<div class="shop_articlenumber">
<span class="shop_price_smallinf">{#Shop_ArticleNumber#}: {$p.Artikelnummer}</span>
</div>

{if $p.Fsk18==1}
<img src="{$imgpath_page}usk_small.gif" align="right" alt="{#Shop_isFSKWarning#}" border="0" />
{/if}
	
	{* {$p.Beschreibung|truncate:$maxlength_prodtext|stripslashes|striptags}<br /> *}
	<br />
	{#Arrow#}<a href="{$p.ProdLink}">{#Shop_moreInfo#}</a><br />
	{if get_active('shop_merge')}
    {#Arrow#}<a href="javascript:mergeProduct('{$p.Id}','','{$p.Kategorie}','{domain}');">{#Shop_mergeProduct#}</a>{else}{/if}	</div>
	<div class="clear"></div>
	
	
	<div class="shop_products_price_div">
	
	<div align="right">
	{if $p.Preis_Liste != $p.Preis}
	{#Shop_instead#}&nbsp;<span class="shop_price_old">{$p.Preis_Liste|numformat} {$currency_symbol}</span>
	<br/>
	{/if}
	{if $p.Vars}{#Shop_priceFrom#} {/if}
	<span class="shop_price">{$p.Preis|numformat} {$currency_symbol}</span>
	
    
    <div class="shop_price_smallinf">
    {include file="$incpath/shop/tax_inf_small.tpl"}
    {if $p.Lieferzeit}
    <br />
   {#Shop_shipping_timeinf#} {$p.Lieferzeit|koobispecialchars}
    {/if}
    </div>
    
    
    </div>
	</div>
	</div>

	{if $smarty.request.print!=1}
    {if $p.Fsk18==1 && $fsk_user!=1}
    <div class="shop_products_countinsert">
    <button class="shop_buttons_big"  type="button" onclick="location.href='{$p.ProdLink}';"><img src="{$imgpath}/shop/basket_simple.png" alt="" border="0" /> {#buttonDetails#}</button>
    </div>
    {else}
	{if !$p.Vars && $p.Lagerbestand>0}
	<div class="shop_products_countinsert">
	<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="to_mylist_{$p.Id}" value="0" />
    <input type="hidden" name="ajax" value="1" />
    <noscript><input type="hidden" name="ajax" value="0" /></noscript>
    <div id="aj_products_basketmessage_{$p.Id}"></div>
    <button class="shop_buttons_big" type="submit"><img src="{$imgpath}/shop/basket_simple.png" alt="" border="0" /> {#Shop_toBasket#}</button>
    <button class="shop_buttons_big" onclick="document.getElementById('to_mylist_{$p.Id}').value='1';"  type="submit"><img src="{$imgpath}/shop/wishlist.png" alt="" border="0" />{#Shop_WishList#}</button>
	</div>
	{else}
    <div class="shop_products_countinsert">
	<input type="hidden" name="parent" value="{$p.Parent}" />
    <input type="hidden" name="navop" value="{$p.Navop}" />
    <input type="hidden" name="cid" value="{$p.Kategorie}" />
    <button class="shop_buttons_big"  type="button" onclick="location.href='{$p.ProdLink}';"><img src="{$imgpath}/shop/basket_simple.png" alt="" border="0" /> {#buttonDetails#}</button>
	</div>
    {/if}
	 {/if}
	{/if}
	</form>
	
<br />

	
	</div>
    
	{if $count % 2 == 0 && !$smarty.foreach.pro.last}
    <div class="clear"></div>
    {else}
  	{/if}
 
 {/foreach}
 </td>
  </tr>
</table>
{if $smarty.request.print!=1}
{include file="$incpath/shop/products_headernavi.tpl"}
{/if}
{/if}



<!-- Gesehene Artikel -->
{$small_seen_products}

<!-- USt Info -->
{include file="$incpath/shop/vat_info.tpl"}

