{* @todo order item by create date desc *} {assign var="store_name" value="{config key="store_name"}"} {loop type="lang" name="lang" id=$_lang_} {assign var="locale" value="{$LOCALE}"} {/loop} {if $_context_ == "catalog"} {if $_id_ == "" } {intl l="All products in"} {$store_name} {url path="/"} {$store_name} {$locale|replace:'_':'-'|lower} {$smarty.now|date_format:'r'} Thelia 2.0 {else} {loop type="category" name="category" id=$_id_ lang=$_lang_ } {intl l="All products in"} {$TITLE} - {$store_name} {$URL nofilter} {$CHAPO} {$LOCALE|replace:'_':'-'|lower} {format_date date=$UPDATE_DATE format="r"} {$smarty.now|date_format:'r'} Thelia 2.0 {/loop} {/if} {loop type="product" name="product" category_default=$_id_ lang=$_lang_ order="id_reverse" } {$TITLE} {$URL nofilter} {$CHAPO} {format_date date=$CREATE_DATE format="r"} {$URL nofilter} {/loop} {elseif $_context_ == "brand"} {if $_id_ == "" } {intl l="All brands in %store" store="$store_name"} {url path="/"} {$store_name} {$locale|replace:'_':'-'|lower} {$smarty.now|date_format:'r'} Thelia 2.0 {loop type="brand" name="brand-list" lang=$_lang_ order="id-reverse" } {$TITLE} {$URL nofilter} {$CHAPO} {format_date date=$CREATE_DATE format="r"} {$URL nofilter} {/loop} {else} {loop type="brand" name="brand-desc" lang=$_lang_ id=$_id_} {intl l="All products for brand %title in %store" title="{$TITLE}" store="{$store_name}"} {$URL nofilter} {$CHAPO} {$locale|replace:'_':'-'|lower} {$smarty.now|date_format:'r'} Thelia 2.0 {/loop} {/if} {loop type="product" name="products-in-brand" brand=$_id_ lang=$_lang_ order="id_reverse" } {$TITLE} {$URL nofilter} {$CHAPO} {format_date date=$CREATE_DATE format="r"} {$URL nofilter} {/loop} {else} {if $_id_ == "" } {intl l="All contents in"} {$store_name} {url path="/"} {$store_name} {$locale|replace:'_':'-'|lower} {$smarty.now|date_format:'r'} Thelia 2.0 {else} {loop type="folder" name="folder" id=$_id_ lang=$_lang_ } {intl l="All contents in"} {$TITLE} - {$store_name} {$URL nofilter} {$CHAPO} {$LOCALE|replace:'_':'-'|lower} {format_date date=$UPDATE_DATE format="r"} {$smarty.now|date_format:'r'} Thelia 2.0 {/loop} {/if} {loop type="content" name="content" folder_default=$_id_ lang=$_lang_ } {$TITLE} {$URL nofilter} {$CHAPO} {format_date date=$CREATE_DATE format="r"} {$URL nofilter} {/loop} {/if}