<?php defined('IN_MET') or exit('No permission'); ?>
<if value="$c['met_product_page'] && $data['sub']">
	<tag action='category' cid="$data['classnow']" type="son" num="$c['met_product_list']">
	<li class=" shown">
		<div class="card card-shadow">
			<figure class="card-header cover">
				<a href="{$m.url}" title="{$m.name}" {$m.urlnew}>
					<img class="cover-image" <if value="$m['_index'] gt 3 || $data['page'] gt 1">data-original<else/>src</if>="{$m.columnimg|thumb:$c['met_productimg_x'],$c['met_productimg_y']}" alt="{$m.name}">
				</a>
			</figure>
			<h4 class="card-title m-0 p-x-10 font-size-16 text-xs-center">
				<a href="{$m.url}" {$m.urlnew} title="{$m.name}" class="block text-truncate">{$m._name}</a>
			</h4>
		</div>
	</li>
	</tag>
	<else/>
	<tag action='product.list' num="$c['met_product_list']">
	<li class=" shown">
		<div class="card card-shadow">
			<figure class="card-header cover">
				<a href="{$v.url}" title="{$v.title}" target="{$lang.met_listurlblank}">
					<img class="cover-image" <if value="$v['_index'] gt 3 || $data['page'] gt 1">data-original<else/>src</if>="{$v.imgurl|thumb:$c['met_productimg_x'],$c['met_productimg_y']}" alt="{$v.title}">
				</a>
			</figure>
			<h4 class="card-title m-0 p-x-10 font-size-16 text-xs-center">
				<a href="{$v.url}" title="{$v.title}" class="block text-truncate" target="{$lang.met_listurlblank}">{$v._title}</a>
			</h4>
		</div>
	</li>
	</tag>
</if>