[{if $request == "articleset"}]

	[{assign var="currency" value=$oView->getActCurrency()}]
	[{foreach from=$oArticleArray item=oArticle}]
	<div class="directorderArticleMain oxid">
		<input type="hidden" name="aid" value="[{ $oArticle->oxarticles__oxid->value }]">
		<div class="directorderArticleAmount">
			<input type="text" value="1" name="directorderAmount" id="directorderAmount" size="10">
		</div>
		<div class="directorderArticleImage">
			[{ if $oArticle->getThumbnailUrl() != ""}]
			<div class="directorderArticleImageMargin">
				<img src="[{ $oArticle->getThumbnailUrl() }]" alt="[{ $oArticle->oxarticles__oxtitle->value|strip_tags }]">
			</div>		
			[{/if}]
		</div>
		<div class="directorderArticleDescription">
			[{ $oArticle->oxarticles__oxtitle->value|truncate:45:"...":true}]
			<br>
			[{ $oArticle->oxarticles__oxartnum->value }]
			[{if $oArticle->oxarticles__oxisconfigurable->value }]
				<input type="text" value="" name="directorderPersparam" id="directorderPersparam" size="10">
			[{/if}]
		</div>
		<div class="directorderArticlePrice">
			[{ $oArticle->getFPrice() }] [{$currency->sign}]
		</div>
		<div class="directorderArticleRemove">
		   <input type="image" src="[{$oViewConf->getBaseDir()}]SITModuleFramework/modules/SITDirectorder/remove.png" id="directorderBasketRemove" alt="" title="">
		</div>
	</div>
	[{/foreach}]

[{elseif $request == "addAllToBasket"}]

[{assign var="basePath" value=$oViewConf->getBaseDir()}]

<form method="post" action="[{$basePath}]index.php">
    <input type="hidden" name="cl" value="basket">
</form>

[{else}]
<div class="directorderSearchList oxid" id=[{$containerId}]>
	[{foreach from=$oArticleArray item=oArticle}]
		<div class="directorderSearchArticleMain">
			<input type="hidden" name="aid" value="[{$oArticle->oxarticles__oxid->value}]">
			<a class="directorderSearchArticleLink" href="[{ $oArticle->getLink() }]">
				<div class="directorderSearchArticleImage">
					[{ if $oArticle->getThumbnailUrl() != ""}]
						<img src="[{ $oArticle->getThumbnailUrl() }]" alt="[{ $oArticle->oxarticles__oxtitle->value|strip_tags }]">
					[{/if}]
				</div>
				<div class="directorderSearchArticleText">
					[{ $oArticle->oxarticles__oxtitle->value|truncate:45:"...":true}]
					<br>
					[{ $oArticle->oxarticles__oxartnum->value }]
				</div>
			</a>
		</div>
	[{/foreach}]
</div>
[{/if}]