<style type="text/css">
html, td, body, div {ldelim}font: 11px   arial,verdana,'bitstream vera sans' ;color: #000{rdelim}
.row_first          {ldelim}background-color:#FDFDFD; color:#666666; border-bottom:1px solid #81858c; padding:3px{rdelim}
.row_second         {ldelim}background-color:#f5f5f5; border-bottom:1px solid #81858c; padding:3px{rdelim}
.border             {ldelim}background-color:#ccc; {rdelim}
.basket_header      {ldelim}font-weight:bold{rdelim}
.header             {ldelim}margin-bottom:10px; padding-bottom:5px; border-bottom:1px solid #ccc{rdelim}
.forms_headers      {ldelim}font-weight:bold; font-size:12px{rdelim}
.shop_summ_netto    {ldelim}border-bottom:1px solid #dedede{rdelim}
.shop_summ_final    {ldelim}border-top:1px solid #dedede{rdelim}
.shop_data_forms    {ldelim}{rdelim}

h1                  {ldelim}font-size:19px{rdelim}
h2                  {ldelim}font-size:17px{rdelim}
h3                  {ldelim}font-size:15px{rdelim}
h4                  {ldelim}font-size:14px{rdelim}

a:link,
a:visited           {ldelim}color:#000; text-decoration:underline{rdelim}
a:hover             {ldelim}color:#000; text-decoration:none{rdelim}
</style>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td valign="top">
	<h2>{#Shop_f_confirmtitle#}</h2>

{#Shop_f_confirmheader#}
	</td>
    <td width="50%" align="right" valign="top">
	{$billing_logo}
	<br />
	{$shop_adress_html}
	</td>
  </tr>
</table>
<div class="header">&nbsp;</div>

<div class="shop_data_forms">
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td width="50%" valign="top"><div class="forms_headers">{#Shop_f_billingadress#}</div></td>
      <td valign="top">&nbsp;&nbsp;</td>
      <td width="50%" valign="top"><div class="forms_headers">{#Shop_f_shippingadress#}</div></td>
    </tr>
    <tr>
      <td valign="top">
	  <!-- Rechnungsadresse -->
	  {$smarty.session.r_email}<br />
	  {if $smarty.session.r_firma}{$smarty.session.r_firma}<br />{/if}
	  {if $smarty.session.r_anrede==1}{#Shop_f_mr#}{else}{#Shop_f_mrs#}{/if} {$smarty.session.r_vorname} {$smarty.session.r_nachname} 
	  <br />
	  <br />
	  {$smarty.session.r_strasse}<br />
	  {$smarty.session.r_plz} {$smarty.session.r_ort}<br />
	  {$smarty.session.r_land_lang}
	  <br />
	  <br />
	  {if $smarty.session.r_telefon}{#Shop_f_phone#}: {$smarty.session.r_telefon}<br />{/if}
	  {if $smarty.session.r_fax}{#Shop_f_fax#}: {$smarty.session.r_fax}{/if}
	  
	   <!-- Rechnungsadresse -->	  </td>
      <td valign="top">
&nbsp;&nbsp;	  </td>
      <td valign="top">
	  <!-- Lieferadresse -->
	
	  {if $smarty.session.diff_rl=='liefer_gleich'}
	  {#Shop_f_same_shippingadress#}
	  {else}
	  {if $smarty.session.l_anrede==1}{#Shop_f_mr#}{else}{#Shop_f_mrs#}{/if} {$smarty.session.l_vorname} {$smarty.session.l_nachname} 
	  <br />
	  <br />
	  {$smarty.session.l_strasse}<br />
	  {$smarty.session.l_plz} {$smarty.session.l_ort}<br />
	  {$smarty.session.l_land_lang}
	  <br />
	  <br />
	  {if $smarty.session.l_telefon}{#Shop_f_phone#}: {$smarty.session.l_telefon}<br />{/if}
	  {if $smarty.session.l_fax}{#Shop_f_fax#}: {$smarty.session.l_fax}{/if}
	  {/if}
	  <!-- Lieferadresse -->	  </td>
    </tr>
   
  </table>
  <br />
  
</div>

<br />

  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td class="forms_headers" valign="top">{#Shop_f_ordernumber#}:</td>
      <td valign="top">{$iid}</td>
    </tr>
    <tr>
      <td class="forms_headers" valign="top">{#Shop_f_date#}:</td>
      <td valign="top">{$order_time}</td>
    </tr>
    <tr>
      <td class="forms_headers" valign="top">{#Shop_f_orderTrans#}:</td>
      <td valign="top">{$order_num}</td>
    </tr>
    <tr>
      <td class="forms_headers" width="50%" valign="top">	  {#Shop_f_shipping_method#}:</td>
      <td width="50%" valign="top">	  {$smarty.session.shipper_name}</td>
    </tr>
    <tr>
      <td class="forms_headers" valign="top">{#Shop_f_billing_method#}:</td>
      <td valign="top">{$smarty.session.paymenForums_Username}
	  {if $smarty.session.bank_transfer==1}
	  <br />
	  <br />
	  	<table border="0" cellpadding="0" cellspacing="0">
		<tr>
		<td>{#Shop_bank_name#}</td>
		<td>{$smarty.session.bank_name|stripslashes|escape:html}</td>
		</tr>
		<tr>
		<td>{#Shop_bank_num#}</td>
		<td>{$smarty.session.bank_num|stripslashes|escape:html}</td>
		</tr>
		<tr>
		<td>{#Shop_knt_num#}</td>
		<td>{$smarty.session.knt_num|stripslashes|escape:html}</td>
		</tr>
		<tr>
		<td valign="top">{#Shop_knt_inh#}</td>
		<td>{$smarty.session.knt_inh|stripslashes|escape:html|default:$def_knt_inh}</td>
		</tr>
		</table>
	  {/if}
	  </td>
    </tr>
  </table>

<br />

<table width="100%" border="0" cellpadding="2" cellspacing="1" class="border">
 <tr>
    <td class="basket_header">{#Shop_f_articles#}</td>
    <td align="center" class="basket_header">{#Shop_f_amount#}</td>
    <td align="right" class="basket_header">{#Shop_f_price_s#}</td>
	<td align="right" class="basket_header">{#Shop_f_ovall#}</td>
	{if $show_vat_table == 1}<td align="center" class="basket_header">{#Shop_f_vat#}</td>{/if}
    
 </tr>
 {foreach from=$product_array item=p}
  <tr class="{cycle name='d' values='row_first,row_second'}">
    <td>
	<strong><a href="{$link_prefix}{$p->ProdLink}">{$p->Titel|specialchars|stripslashes}</a></strong>
	<br />	
	{#Shop_f_artNr#}:{$p->Artikelnummer} <br />
	{foreach from=$p->Vars item=v}	<strong>{$v->KatName|stripslashes}</strong>: {$v->Name|stripslashes} ({$v->Operant}{$v->Wert|numformat} {$currency_symbol})<br />
	{/foreach}	</td>
    <td nowrap="nowrap" align="center">{$p->Anzahl}</td>
<td align="right" nowrap="nowrap"><strong>{$p->Preis|numformat} {$currency_symbol}</strong>{if $show_vat_table == 1}<br /><small>{$p->Preis_b|numformat} {$currency_symbol}</small>{/if}</td>
<td align="right"  nowrap="nowrap"><strong>{$p->Endpreis|numformat} {$currency_symbol}</strong>{if $show_vat_table == 1}<br /><small>{$p->Preis_bs|numformat} {$currency_symbol}</small>{/if}</td>
{if $show_vat_table == 1}<td align="center">{$p->UstZone}%</td>{/if}
  </tr>
{/foreach}
</table>
<br />
{include file="$incpath/shop/basket_summ.tpl"}

<div style="clear:both"></div>

{if $smarty.session.r_nachricht!=''}
<div class="forms_headers">{#Shop_f_ordermessage#}</div>
{$smarty.session.r_nachricht|stripslashes}
<br />
<br />
{/if}

<br />
<div class="forms_headers">{#Shop_f_inf_payment#}</div>
{if $smarty.session.DetailInfo != ''}
{$smarty.session.DetailInfo}
<hr noshade="noshade" size="1" />
{/if}
{$smarty.session.payment_details|stripslashes}
<br />
<br />

<div class="forms_headers">{#Shop_f_inf_billing#}</div>
{$smarty.session.shipping_details|stripslashes}



