{$msg.account.my_orders}

{if $orders} {assign var="ordersCount" value=0} {assign var="rowStyle" value="CatalogItemDark"} {foreach from=$orders item="order"} {if $rowStyle == "CatalogItemLight"} {assign var="rowStyle" value="CatalogItemDark"} {else} {assign var="rowStyle" value="CatalogItemLight"} {/if} {assign var="ordersCount" value=$ordersCount+1} {/foreach}
{$msg.cart.order_id} {$msg.cart.order_date} {$msg.cart.total_amount} {$msg.cart.order_status}  
{$order.order_num} {$order.create_date} {$order.total_amount|price} {$order.status} {if $imageClickToView != ""} {$imageClickToView} {else} {$msg.cart.click_to_view} {/if}
{$msg.account.orders_placed} {$ordersCount}
{else}
{$msg.account.no_orders_yet}
{/if}