{config_load file="$language/lang_$language.conf" section="index"} {config_load file="$language/lang_$language.conf" section="account"}

{#heading_account#}

{if $error_message}
{$error_message}
{/if} {if !$products_history || !isset($smarty.session.customer_id)}

{#title_welcome#}

{if #text_welcome#}

{#text_welcome#}

{/if} {if $LINK_LOGIN}

{#text_login#}

{/if} {/if} {if isset($smarty.session.customer_id)}

{#title_account#}

{/if} {if $order_content}

{#title_orders#}

{foreach name=aussen item=order_data from=$order_content}

{$order_data.ORDER_DATE} / {#order_nr#}{$order_data.ORDER_ID}
{#order_total#}{$order_data.ORDER_TOTAL} / {#order_status#}{$order_data.ORDER_STATUS}
{if count($order_data.TRACKING) > 0} {foreach name=aussen item=tracking_data from=$order_data.TRACKING} {#label_tracking#} {$tracking_data.parcel_id}
{/foreach} {/if}

{/foreach} {#text_all#}
{/if}

{#title_notification#}

{if $products_history}

{#title_viewed_products#}

{/if}