{config_load file="$language/lang.conf" section="account"} {if $error!=''}
close
{$error_message}
{/if} {if $LINK_LOGIN}
close
{#text_login#}
{else}
{#title_welcome#}
{#text_welcome#}
{if $order_content}
{#title_orders#} {#text_all#}
{foreach name=aussen item=order_data from=$order_content} {/foreach}
{/if} {if $products_history}
{#title_viewed_products#}
{foreach name=history_products item=products_history from=$products_history} {php}$col++;{/php}
{if $products_history.PRODUCTS_IMAGE}
{$products_history.PRODUCTS_NAME}
{/if}
  • {$products_history.PRODUCTS_NAME}
  • {if $products_history.PRODUCTS_SHORT_DESCRIPTION}
  • {$products_history.PRODUCTS_SHORT_DESCRIPTION|os_truncate:200}
  • {/if}
  • {if $products_history.PRODUCTS_VPE}{$products_history.PRODUCTS_VPE}
    {/if}{$products_history.PRODUCTS_TAX_INFO}{$products_history.PRODUCTS_SHIPPING_LINK}
  • {$products_history.PRODUCTS_PRICE} {$products_history.PRODUCTS_BUTTON_BUY_NOW_NEW}
  • {#text_goto_cat#}
{if $smarty.foreach.history_products.iteration+2 gt $smarty.foreach.history_products.total} {php} // Определям сколько колонок будет на странице if ($col>=2) { $col=0; echo '
'; } {/php} {else} {php} // Определям сколько колонок будет на странице if ($col>=2) { $col=0; echo '
'; } {/php} {/if} {/foreach}
{/if} {/if}