Initial import: Carteasy Shop (Dev-Stand)

This commit is contained in:
Thomas Bartelt
2026-04-20 01:03:43 +02:00
commit d504f8a05d
3845 changed files with 761050 additions and 0 deletions
@@ -0,0 +1,66 @@
<!-- content_item/description_tabs.tpl begin -->
<div id="item_menu">
{if $shopArticle->tab_title}
{foreach from=$shopArticle->tab_title item=title key=title_id name=titles}
<a href="#" rel="tabs_{$title_id}" class="tab_wrapper {if $smarty.foreach.titles.first}active selected{/if}">
<span>{$title}</span>
</a>
{/foreach}
{else}
<a href="#tabs_1" class="tab_wrapper active selected">
<span>Beschreibung</span>
</a>
{/if}
<div style="clear:left;"></div>
</div>
<div id="description_tabs">
{if $shopArticle->tab_content}
{foreach from=$shopArticle->tab_content item=content key=content_id name=contents}
<div class="tab_content {if $smarty.foreach.contents.first}active{/if}" id="tabs_{$content_id}">
{if $smarty.foreach.contents.first}
{if $shopArticle->schema_data_attributes}
<table>
{foreach from=$shopArticle->schema_data_attributes item=attribute}
{if $attribute.show_detail && $attribute.value}
<tr>
{if $attribute.number != $shopArticle->schema_data->selectable_attribute_1 && $attribute.number != $shopArticle->schema_data->selectable_attribute_2}
<td>{$attribute.name}</td>
<td class="attrRight">{$attribute.value} {$attribute.unit}</td>
{/if}
</tr>
{/if}
{/foreach}
</table>
<br />
{/if}
{$content}
<div id="itemBarcode">{$shopArticle->ean_code}</div>
{else}
{$content}
{/if}
</div>
{/foreach}
{else}
{if $shopArticle->schema_data_attributes}
<table>
{foreach from=$shopArticle->schema_data_attributes item=attribute}
{if $attribute.show_detail && $attribute.value}
<tr>
{if $attribute.number != $shopArticle->schema_data->selectable_attribute_1 && $attribute.number != $shopArticle->schema_data->selectable_attribute_2}
<td>{$attribute.name}</td>
<td class="attrRight">{$attribute.value} {$attribute.unit}</td>
{/if}
</tr>
{/if}
{/foreach}
</table>
<br />
{/if}
{$shopArticle->detail_description}
{/if}
</div>
<!-- content_item/description_tabs.tpl end -->
@@ -0,0 +1,26 @@
<!-- content_item/graduated_prices.tpl begin -->
{if $shopArticle->graduated_prices|is_array && $shopArticle->graduated_prices}
<strong class="graylabel">Staffelpreise</strong> ({$shopArticle->price_tax_text})
<table class="graduatedPrices">
{foreach item=gradPrice key=quantity from=$shopArticle->graduated_prices}
<tr>
<td>&nbsp;ab {$quantity} St&uuml;ck</td>
{if $gradPrice.bargain > 0}
<td style="text-align: right;">{$gradPrice.bargain|number_format:"2":",":"."} &euro;</td>
<td style="text-decoration: line-through; text-align: right;">{$gradPrice.price|number_format:"2":",":"."} &euro;</td>
{else}
<td>{$gradPrice.price|number_format:"2":",":"."} &euro;</td>
{/if}
<td style="text-align: right;">
{if $shopArticle->shippable != 0}
<form method="post">
<input type="hidden" value="{$quantity}" name="amount" />
<input class="graduatedCart" type="submit" value="" />
</form>
{/if}
</td>
</tr>
{/foreach}
</table>
{/if}
<!-- content_item/graduated_prices.tpl end -->
@@ -0,0 +1,483 @@
<!-- content_item/main_default.tpl begin -->
<div class="content_item">
<div class="title_wrapper" style="height:100px;">
<div class="title"><h3>{$shopArticle->name}</h3></div>
{if $shopArticle->number}<span class="item_number">Artikel-Nr.: {$shopArticle->number}</span>{/if}
<div style="position:absolute;right:10px;top:45px;height:50px;width:120px;background: transparent url({$SHOP_DIR}/images/manufacturers/{$shopArticle->manufacturer_data->logo}) no-repeat center center;"></div>
</div>
<div class="content_sub_item">
<!-- left area -->
<div class="left_area">
<!-- content_item/thumbnails.tpl begin -->
<img id="big_image" src="{$SHOP_DIR}images/article/{$shopArticle->files[0]->file_name}" />
{*
{if isset($shopArticle->files[0]) && $shopArticle->files[0]->file_name}
<div id="image_detailed_container_outer">
{if $shopArticle->shop_bargain_price_1 > 0}
<div class="bargain_logo"></div>
{/if}
<div id="image_detailed_container_inner">
{foreach item=file from=$shopArticle->files}
<a class="detailImage" href="{$SHOP_DIR}images/article/{$file->file_name}" rel="lightbox-big" title="{$shopArticle->name}" style="background-image: url({$SHOP_DIR}images/article/details_{$file->file_name})"></a>
{/foreach}
</div>
</div>
{/if}
<div id="thumbContainer">
<div id="thumbScrollContainer" style="width:{if $shopArticle->files|@count > 4}{$shopArticle->files|@count|ceil*91}{else}364{/if}px;">
{foreach item=file from=$shopArticle->files}
<a class="thumbimage" href="{$SHOP_DIR}images/article/{$file->file_name}" rel="lightbox-small" title="{$shopArticle->name}" style="background-image: url({$SHOP_DIR}images/article/thumb_{$file->file_name});"></a>
{/foreach}
<br style="clear:left;" />
</div>
</div>*}
</div>
<!-- right area -->
<div class="right_area">
<div id="lupe" style="position: relative;border: 1px solid #000000;overflow:hidden;width:300px;height:300px;">
<img src="{$SHOP_DIR}images/article/{$shopArticle->files[0]->file_name}" style="position: relative;" />
</div>
<div class="price_box" style="position:relative;top:10px;">
<div id="item_left_menu">
<a href="#tabs_1" rel="left_tabs_1" class="tab_wrapper active selected">
<span>Preise</span>
</a>
{*<a href="#tabs_2" rel="left_tabs_2" class="tab_wrapper">
<span>Finanzierung</span>
</a>*}
<div style="clear:left;"></div>
</div>
<div id="left_description_tabs">
<div class="left_tab_content active" id="left_tabs_1" style="position:relative;">
<br />
{if $shopArticle->shop_bargain_price_1 > 0}
<div style="position:relative;float:left;width:175px;min-height:100px;text-align:right;">
<strong class="pricelabel">Sonderpreis!</strong><br />
<strong class="pricetag">
{if !$no_prices}
{$shopArticle->shop_bargain_price_1|number_format:"2":",":"."} &euro;
{else}
Preis nach Login!
{/if}
</strong><br />
{if !$no_prices}
<span class="pricesaving">Sie sparen {$shopArticle->shop_price_1-$shopArticle->shop_bargain_price_1|number_format:"2":",":"."} &euro;</span>
{/if}
</div>
<div style="position:relative;float:left;width:175px;min-height:100px;text-align:right;">
<strong class="oldpricelabel">Unser Preis</strong><br />
<strong class="oldprice">
{if !$no_prices}
{$shopArticle->shop_price_1|number_format:"2":",":"."} &euro;
{else}
Preis nach Login!
{/if}
</strong>
</div>
<div style="clear:both;"></div>
{elseif $shopArticle->shop_price_1 > 0}
<div class="box_rightalign">
<strong class="pricelabel">Unser Preis</strong>
<div style="padding-top:10px;">
<strong class="pricetag">
{if !$no_prices}
{$shopArticle->shop_price_1|number_format:"2":",":"."} &euro;
{else}
Preis nach Login!
{/if}
</strong>
</div>
</div>
{else}
<div class="box_rightalign">
<strong class="pricelabel">Unser Preis</strong>
<div style="padding-top:10px;">
auf Anfrage
</div>
</div>
{/if}
<div style="padding-top:10px;height:91px;">
{if !$no_prices && ( $shopArticle->shop_price_1 > 0 || $shopArticle->shop_bargain_price_1 > 0)}
{if $shopArticle->shippable != 0}
<div id="cart_button_box">
<img style="position:absolute;top:7px;left:6px;" src="{$THEME_DIR}/media/images/widgets/shoppingcart_button_icon.png" />
<form method="post">
<div style="position:absolute;left:50px;top:3px;text-align:center;">
<div class="graylabel">Anzahl</div>
<input class="amountbox" type="text" value="1" name="amount" />
</div>
<input class="cartbutton" type="submit" value="&gt;&gt; Jetzt kaufen" />
</form>
</div>
{/if}
{/if}
{if $shopArticle->item_types}
<div style="position:relative;width:350px;text-align:right;color:#ff0000;font-size:12px;">
{foreach item=item_type from=$shopArticle->item_types}
{if $item_type->item_type_definition_is_active == 1}
<span style="font-weight:bold;">{$item_type->item_type_definition_name}</span> - {$item_type->item_type_text}<br />
{/if}
{/foreach}
</div>
{/if}
<div style="position:relative;width:350px;text-align:right;">Alle Preise {$shopArticle->price_tax_text}</div>
<div class="box_rightalign" style="padding-top:5px;">
{if $shopArticle->inventory < 1}
Artikel bestellt |
{else}
Bestand: {$shopArticle->inventory} |
{/if}
{if $shopArticle->shippable == 1}
<font class="item_shippable">lieferbar</font><br>
{elseif $shopArticle->shippable == 3}
<font class="item_shippable_unknown">lieferzeit unbekannt</font><br>
{elseif $shopArticle->shippable == 0}
<font class="item_not_shippable">nicht lieferbar</font><br>
{elseif $shopArticle->shippable == 2 && $shopArticle->available_from && $shopArticle->available_till != '0000-00-00'}
<font class="item_shippable_from_till">lieferbar von {$shopArticle->available_from} bis {$shopArticle->available_till}</font><br>
{elseif $shopArticle->shippable == 2 && $shopArticle->available_from}
<font class="item_shippable_from">lieferbar ab {$shopArticle->available_from}</font><br>
{/if}
{*<a href="/Versandkosten/">zzgl. Versandkosten</a>*}
</div>
</div>
<br />
{*
{if $no_prices}
Versandkostenberechnung:<br />
<select id="select_shipping_calc">
<option value="0">Lieferung nach:</option>
{foreach item=country from=$countries}
<option value="{$country.id}">{$country.name}</option>
{/foreach}
</select>
<br />
{foreach item=country from=$countries}
<div id="shipping_{$delivery_method.id}">
{if $country.delivery_methods}
{foreach item=delivery_method from=$country.delivery_methods}
{$delivery_method.name}: {$delivery_method.price} &euro;<br />
{/foreach}
{else}
Keine Versandm&ouml;glichkeit in dieses Land!
{/if}
</div>
{/foreach}
{/if}
*}
<!-- content_item/graduated_prices.tpl begin -->
{if $shopArticle->graduated_prices|is_array && $shopArticle->graduated_prices}
<strong style="position:relative;color:#000000;font-size:12px;font-weight:bold;">Staffelpreise</strong>
<table class="graduatedPrices">
{foreach item=gradPrice key=quantity from=$shopArticle->graduated_prices}
<tr style="background:#cccccc;">
<td>&nbsp;ab {$quantity} St&uuml;ck</td>
{if $gradPrice.bargain > 0}
<td style="text-align: right;color:#04418c;">
{if !$no_prices}
{$gradPrice.bargain|number_format:"2":",":"."} &euro;
{else}
Preis nach Login!
{/if}
</td>
<td style="text-decoration: line-through; text-align: right;color:#000000;">
{if !$no_prices}
{$gradPrice.price|number_format:"2":",":"."} &euro;
{else}
Preis nach Login!
{/if}
</td>
{else}
<td></td>
<td style="text-align: right;color:#333333;">
{if !$no_prices}
{$gradPrice.price|number_format:"2":",":"."} &euro;
{else}
Preis nach Login!
{/if}
</td>
{/if}
<td style="text-align: center;">
{if $shopArticle->shippable != 0}
<form method="post">
<input type="hidden" value="{$quantity}" name="amount" />
<input class="graduatedCart" type="submit" value="" />
</form>
{/if}
</td>
</tr>
{/foreach}
</table>
{/if}
<!-- content_item/graduated_prices.tpl end -->
</div>
<div class="left_tab_content" id="left_tabs_2">
Derzeit bieten wir leider keine Finanzierung an!
</div>
</div>
</div>
</div>
<div style="clear:both;"></div>
<div style="position:relative;height:30px;top:10px;width:720px;background:#eeeeee;border:1px solid #cccccc;">
{if $shopArticle->files|@count > 4}
<div style="position: absolute;top:5px;left:10px;width:340px;">
<div id="thumbPageInfo">Bilder 1 bis 4 von {$shopArticle->files|@count}</div>
<input id="thumbSlideLeft" class="thumbSlider" type="button" value="&lt;&nbsp;&lt;&nbsp;zur&uuml;ck" />
<input id="thumbSlideRight" class="thumbSlider" type="button" value="weiter&nbsp;&gt;&nbsp;&gt;" />
</div>
{/if}
<div id="facebook_share_item"></div>
<form method="post">
<input type="hidden" name="memorize" value="true" />
<input type="submit" class="remember_button" value="Artikel merken" name="remember_button" />
</form>
</div>
<!-- footer area -->
<!-- content_item/description_tabs.tpl begin -->
<div id="item_menu">
{if $shopArticle->tab_title}
{foreach from=$shopArticle->tab_title item=title key=title_id name=titles}
<a href="#" rel="tabs_{$title_id}" class="tab_wrapper {if $smarty.foreach.titles.first}active selected{/if}">
<span>{$title}</span>
</a>
{/foreach}
{else}
<a href="#tabs_1" rel="tabs_1" class="tab_wrapper active selected">
<span>Beschreibung</span>
</a>
{if $shopArticle->documents}
<a href="#tabs_2" rel="tabs_2" class="tab_wrapper selected">
<span>Datenblatt</span>
</a>
{/if}
{if $system_configuration.shop_item_opinion_active == 1}
<a href="#tabs_3" rel="tabs_3" class="tab_wrapper selected">
<span>Meinungen</span>
</a>
{/if}
{if $shopArticle->assignedItemSet}
<a href="#tabs_4" rel="tabs_4" class="tab_wrapper selected">
<span>Zubeh&ouml;r</span>
</a>
{/if}
{/if}
<div style="clear:left;"></div>
</div>
<div id="description_tabs">
{if $shopArticle->tab_content}
{foreach from=$shopArticle->tab_content item=content key=content_id name=contents}
<div class="tab_content {if $smarty.foreach.contents.first}active{/if}" id="tabs_{$content_id}">
{if $smarty.foreach.contents.first}
{if $shopArticle->schema_data_attributes}
<table>
{foreach from=$shopArticle->schema_data_attributes item=attribute}
{if $attribute.show_detail && $attribute.value}
<tr>
{if $attribute.number != $shopArticle->schema_data->selectable_attribute_1 && $attribute.number != $shopArticle->schema_data->selectable_attribute_2}
<td>{$attribute.name}</td>
<td class="attrRight">{$attribute.value} {$attribute.unit}</td>
{/if}
</tr>
{/if}
{/foreach}
</table>
<br />
{/if}
{$content}
{/if}
</div>
{/foreach}
{else}
<div class="tab_content active" id="tabs_1">
<div style="position:relative;width:450px;float:left;">
{$shopArticle->detail_description}
</div>
<div style="position:relative;width:210px;padding-top:6px;padding-left:20px;float:left;">
<div id="itemBarcode" style="position:absolute;top:0px;right:0px;">{$shopArticle->ean_code}</div>
<table width="100%" style="position:relative;top:70px;">
{if $shopArticle->sample_price && $shopArticle->sample_unit}
<tr>
{if $shopArticle->uvp > 0}
<td style="font-weight:bold;">UVP:</td>
<td style="text-align:right;">{$shopArticle->uvp|number_format:"2":",":"."} &euro;</td>
{/if}
</tr>
{/if}
{if $shopArticle->sample_price && $shopArticle->sample_unit}
<tr>
{if $shopArticle->sample_price !== 0.000}
<td style="font-weight:bold;">Grundpreis:</td>
<td style="text-align:right;">{$shopArticle->sample_price|number_format:"2":",":"."} &euro; / {$shopArticle->sample_unit}</td>
{/if}
{*
{if $attribute.number != $shopArticle->schema_data->selectable_attribute_1 && $attribute.number != $shopArticle->schema_data->selectable_attribute_2}
<td style="font-weight:bold;">Grundpreis:</td>
<td style="text-align:right;">{$shopArticle->sample_price|number_format:"2":",":"."} &euro; / {$shopArticle->sample_unit}</td>
{/if}
*}
</tr>
{/if}
{if $shopArticle->schema_data_attributes}
{foreach from=$shopArticle->schema_data_attributes item=attribute}
{if $attribute.show_detail && $attribute.value}
<tr>
{if $attribute.number != $shopArticle->schema_data->selectable_attribute_1 && $attribute.number != $shopArticle->schema_data->selectable_attribute_2}
<td style="font-weight:bold;">{$attribute.name}:</td>
<td style="text-align:right;">{$attribute.value} {$attribute.unit}</td>
{/if}
</tr>
{/if}
{/foreach}
{/if}
</table>
</div>
<div style="clear:both;"></div>
</div>
<div class="tab_content" id="tabs_2">
<table border="0" cellspacing="2" callpadding="2">
{foreach item=file from=$shopArticle->documents}
<tr>
<td><img src="{$PARENT_THEME_DIR}/media/images/mime_postscript.png" /></td>
<td>
<a class="document" target="_blank" href="{$SHOP_DIR}documents/article/{$file->file_name}" title="{$file->alt}">{$file->alt}</a>
</td>
</td>
{/foreach}
</table>
</div>
<div class="tab_content" id="tabs_3">
{if $customer}
<form method="post">
<input type="hidden" name="create_opinion" value="1" />
Bewertung:
<input type="radio" name="rang" value="1">
<input type="radio" name="rang" value="2">
<input type="radio" name="rang" value="3">
<input type="radio" name="rang" value="4">
<input type="radio" name="rang" value="5">
<br />
Meinung:<br />
<textarea name="opinion_text" style="width:100%;height:200px;"></textarea><br />
Autor: {$customer->firstname} {$customer->surname}<br />
<input type="submit" name="Bewertung absenden" />
<hr />
</form>
{/if}
{if $shopArticle->opinion}
Kundenrezensionen:<br/>
{foreach item=rezension from=$shopArticle->opinion}
Bewertung: {$rezension->rang}<br />
Meinung: {$rezension->opinion_text}<br />
Erstellt: {$rezension->user_name}, {$rezension->timestamp}<br />
<hr />
{/foreach}
{else}
Es ist f&uuml;r diesen Artikel noch keine Bewertung abgegeben worden.
{/if}
</div>
<div class="tab_content" id="tabs_4">
{if $shopArticle->assignedItemSet}
<div class="content_box_item_list">
<div class="box_content">
{if $shopArticle->assignedItemSet}
{foreach name=ArticleList item=shopItem from=$shopArticle->assignedItemSet}
{if $shopItem->short_uri}
{assign var=itemSuri value="/SHOP_ARTICLE/`$shopItem->short_uri`.html"}
{else}
{assign var=itemSuri value="/index.php?item_id=`$shopItem->id`"}
{/if}
<div class="list_item_box" style="margin-left:0px;">
{if $shopItem->shop_bargain_price_1 > 0}
<div class="bargain_logo"></div>
{/if}
<a class="item_box_info" href="{$serverProtocol}://{$servername}{$itemSuri}"><span title="{$shopItem->name}">{$shopItem->name|truncate:90:"...":true}</span></a>
<a class="item_box_image" href="{$serverProtocol}://{$servername}{$itemSuri}" {if $shopItem->file_name != ''}style="background-image:url({$SHOP_DIR}images/article/overview_{$shopItem->file_name});"{/if}></a>
<div class="item_box_price">
{if !$no_prices && $shopItem->price_type == "1"}
{if $shopItem->shop_price_1}
{if $shopItem->shop_bargain_price_1 > 0}
<div>
<div class="bargain_price">
<span class="old_price">{$shopItem->shop_price_1|number_format:2:',':" "}&nbsp;&euro;</span> {$shopItem->shop_bargain_price_1|number_format:2:',':" "}&nbsp;&euro; *
</div>
</div>
{else}
<div class="normal_price">
{$shopItem->shop_price_1|number_format:2:',':" "}&nbsp;&euro; *
</div>
{/if}
{else}
<div class="price_text">auf Anfrage</div>
{/if}
{else}
<div class="price_text">auf Anfrage</div>
{/if}
</div>
</div>
{/foreach}
<div style="clear:both;"></div>
{else}
<p>Keine Produkte vorhanden.</p>
{/if}
</div>
{$system_configuration.shop_item_friends_footertext|replace:"\n":"<br />"}
<div class="box_footer" style="clear:both; margin-bottom:20px;"></div>
</div>
{/if}
</div>
{/if}
</div>
<!-- content_item/description_tabs.tpl end -->
</div>
</div>
<!-- content_item/main_default.tpl end -->
@@ -0,0 +1,117 @@
<!-- content_item/main_variants.tpl begin -->
<div class="content_item">
<div class="title_wrapper">
<div class="title"><h1>{$structure_data->name}</h1></div>
<div class="pipe"></div>
<a href="?action=print" class="print" target="_blank"></a>
<div class="pipe"></div>
<a href="#/" onClick="history.back();" class="back"><span>Zur&uuml;ck</span></a>
<div class="clear"></div>
</div>
<div class="content_sub_item">
<div class="left_area">
{include file='content_item/thumbnails.tpl'}
</div>
<div class="right_area">
<div class="title_box">
<h1>{$shopArticle->name}</h1>
{if $shopArticle->number}Artikel-Nr.: {$shopArticle->number}{/if}
</div>
{include file='content_item/description_tabs.tpl'}
</div>
<br style="clear:both;" />
<div>
<table class="variants_table" style="margin-top:20px;">
<tr class="variants_head">
<td style="width:190px;"><span style="margin-left:7px;">Name + Artikelnummer</span></td>
<td style="width:95px;" class="alcenter" >{$shopArticle->schema_data->selectable_name_1}</td>
<td style="width:95px;" class="alcenter" >{$shopArticle->schema_data->selectable_name_2}</td>
<td class="alcenter" style="width:90px;">UVP: {$shopArticle->uvp|number_format:"2":",":"."} &euro;</td>
<td class="alcenter" style="width:80px;">Status</td>
<td class="alcenter">Artikel kaufen</td>
</tr>
</table>
<div style="">
<table class="variants_table">
{foreach item=varData key=varName from=$shopArticle->variant_data}
{foreach item=subVarData key=subVarName from=$varData}
<tr class="variants_row">
<td style="width:190px;">
<span style="margin-left:7px;">
<span class="title">{$shopArticle->name}</span><br />
</span>
<span style="margin-left:7px;">
<span class="item_number">Artikel-Nr.: {$subVarData.item_number}</span>
</span>
</td>
<td style="width:95px;" class="alcenter" >
{$varName}
</td>
<td style="width:95px;" class="alcenter" >
{$subVarName}
</td>
<td class="alcenter" style="width:90px;">
{if $subVarData.old_price > 0}old prie{/if}
<strong>{$subVarData.price|number_format:"2":",":"."} &euro;</strong>
</td>
<td class="alcenter" style="width:80px;">
{if $subVarData.shippable == 1}
<img src="{$THEME_DIR}/media/images/available.png" />
{elseif $subVarData.shippable == 2}
{if $subVarData.available_from && $subVarData.available_from != '00.00.0000'}
lieferbar ab {$subVarData.available_from}
{elseif $subVarData.available_from == '00.00.0000' && $shopArticle->available_from}
lieferbar ab {$shopArticle->available_from}
{else}
<img src="{$THEME_DIR}/media/images/available.png" />
{/if}
{elseif $subVarData.shippable == 3}
lieferzeit unbekannt
{else}
<img src="{$THEME_DIR}/media/images/not_available.png" />
{/if}
</td>
<td class="alcenter">
{if $subVarData.shippable == 0}
&nbsp;
{else}
<form method="post">
<input class="amountbox" type="text" value="1" name="amount" />
<input type="hidden" value="{$varName}" name="variant[1]" />
<input type="hidden" value="{$subVarName}" name="variant[2]" />
<input type="submit" class="variants_cart" value="" />
</form>
{/if}
</td>
</tr>
{/foreach}
{/foreach}
</table>
</div>
<div class="alright" style="margin:10px 0;padding-right:3px;float:right;">
Alle Preise verstehen sich {$shopArticle->price_tax_text} zzgl. <a href="/Versandkosten/">Versandkosten</a>
</div>
</div>
</div>
</div>
<!-- content_item/main_variants.tpl end -->
@@ -0,0 +1,29 @@
<!-- content_item/thumbnails.tpl begin -->
{if isset($shopArticle->files[0]) && $shopArticle->files[0]->file_name}
<div id="image_detailed_container_outer">
<div id="image_detailed_container_inner">
{foreach item=file from=$shopArticle->files}
<a class="detailImage" href="{$SHOP_DIR}images/article/{$file->file_name}" rel="lightbox-big" title="{$shopArticle->name}" style="background-image: url({$SHOP_DIR}images/article/details_{$file->file_name})"></a>
{/foreach}
</div>
</div>
{/if}
<div id="thumbContainer">
<div id="thumbScrollContainer" style="width:{if $shopArticle->files|@count > 8}{$shopArticle->files|@count/2|ceil*91}{else}364{/if}px;">
{foreach item=file from=$shopArticle->files}
<a class="thumbimage" href="{$SHOP_DIR}images/article/{$file->file_name}" rel="lightbox-small" title="{$shopArticle->name}" style="background-image: url({$SHOP_DIR}images/article/thumb_{$file->file_name});"></a>
{/foreach}
<br style="clear:left;" />
</div>
</div>
<br />
{if $shopArticle->files|@count > 8}
<div style="position: relative;">
<div id="thumbPageInfo">Bilder 1 bis 8 von {$shopArticle->files|@count}</div>
<input id="thumbSlideLeft" class="thumbSlider" type="button" value="&lt;&nbsp;&lt;&nbsp;zur&uuml;ck" />
<input id="thumbSlideRight" class="thumbSlider" type="button" value="weiter&nbsp;&gt;&nbsp;&gt;" />
</div>
{/if}
<!-- content_item/thumbnails.tpl end -->