<?php defined('IN_MET') or exit('No permission'); ?>
<if value="$c['met_img_page'] && $data['sub']">
	<tag action='category' cid="$data['classnow']" type="son">
		<li class="widget">
			<div class="cover overlay overlay-hover">
				<img class="cover-image overlay-scale" <if value="$v['_index'] gt 3 || $data['page'] gt 1">data-original<else/>src</if>="{$v.imgurl|thumb:$c['met_imgs_x'],$c['met_imgs_y']}" alt="{$v.title}" height='100'/>
			</div>
		    <div class="cover-title">
			  <h3>{$m.name}</h3>
			</div>
		</li>
	</tag>
<else/>
<tag action='img.list' num="$c['met_img_list']">
	<li class="widget {$v['page']}">
		<div class="cover overlay overlay-hover">
			<a href='{$v.url}' title='{$v.title}' {$v.urlnew} class="btn btn-outline btn-inverse met-img-showbtn" target="{$lang.met_listurlblank}">
					<img class="cover-image overlay-scale" <if value="$v['_index'] gt 3 || $data['page'] gt 1">data-original<else/>src</if>="{$v.imgurl|thumb:$c['met_imgs_x'],$c['met_imgs_y']}" alt="{$v.title}"/>
			</a>
		</div>
	    <div class="cover-title">
		  <h3><a href='{$v.url}' {$v.urlnew} title='{$v.title}'>{$v.title}</a></h3>
		</div>
	</li>
</tag>
</if>