{strip} {assign var=market_not_empty value=0} {assign var=products_count value=$this->myProductsCount()}
{if $filter}{$this->lang['Products']}{else}{$this->lang['Products_from_friends']}{/if} ({$count})
Search parameters
Order
Category
Price
–
Region
{foreach $query as $product} {assign var="author" value=$this->getUserDetails($product.userid)} {assign var=is_favorite value=$this->itemIsFavorite($product.id)} {assign var="mutual_friends_c" value=$this->getMutualFriends($author.id,1,1)} {assign var="edit_product" value=0} {if $product.userid === $this->USER['id']} {assign var="edit_product" value=1} {/if}
{if $this->USER.id != $author.id}
{/if}
{$product.product_location}
{$product.product_name}
{$product.price} {$this->settings['MARKETPLACE_CURRENCY']}
{$product.product_location}
{$this->time_elapsed($product.added)}
{$author.fullname} {if $mutual_friends_c > 0} ({if $mutual_friends_c == 1}{$mutual_friends_c} {$this->lang['mutual_friend']}{else}{$mutual_friends_c} {$this->lang['mutual_friends']}{/if}) {/if}
{$author.fullname} {if $mutual_friends_c > 0}{/if}
{$this->time_elapsed($product.added)}
{assign var=market_not_empty value=1} {foreachelse}
{$this->lang['market_empty']}
{$this->lang['market_empty_descr']}
{/foreach}
{if $market_not_empty && count($query) >= $limit}
{$this->lang['More_products']}
{/if}
{/strip}