<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>{%$lngpack.sitename%}</title>
<meta name="keywords" content="{%$lngpack.keyword%}" />
<meta name="description" content="{%$lngpack.description%}" />
<script type="text/javascript" src="{%$rootdir%}js/jquery.js"></script>
<script type="text/javascript" src="{%$rootdir%}js/basicrun.js"></script>
<script type="text/javascript" src="{%$rootdir%}js/jquery.Slide.js"></script>
<script type="text/javascript" src="{%$rootdir%}js/menuthree.js"></script>
<script type="text/javascript" src="{%$rootdir%}js/treeviewcookie.js"></script>
<link href="{%$rootpath%}css/espcms_three.css" rel="stylesheet" type="text/css" />
<link href="{%$rootpath%}css/espcms_public.css" rel="stylesheet" type="text/css" />
<link href="{%$rootpath%}css/espcms_v5div.css" rel="stylesheet" type="text/css" />
<link href="{%$rootpath%}css/espcms_page.css" rel="stylesheet" type="text/css" />
<link href="{%$rootpath%}css/slider.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="{%$rootdir%}index.php?ac=public&at=typepuv&tid={%$type.tid%}"></script>
<script type="text/javascript">
	$(window).load(function() {
		$("#clickmenubotton li span").hover(function() {
			$(this).addClass("menuhover");
			$(this).parent().find("ul.subnav").slideDown('fast').show();
			$(this).parent().hover(function() {
			}, function() {
				$(this).parent().find("ul.subnav").fadeOut('fast');
				$(this).parent().find("span").removeClass("menuhover");
			});
		});
		$("#three").treeview({collapsed: true, control: "#sidetreecontrol", prerendered: false, persist: "location"});
	});
</script>
</head>

<body>
{%link file="public/head.html"%}
{%if $type.typepic!=''%}
<div class="espcms_page_bannpic"><img src="{%$rootdir%}{%$type.typepic%}" alt="{%$type.typename%}"/></div>
{%/if%}

<div class="espcms_page espcms_page_left_linkbg">
	<div class="espcms_page_left">
		<h2>BRANDS</h2>
		{%get name=subtype class=mid:$sub.mid,sid:$sub.sid%}
		<ul class="espcms_three_one unstyled">
			{%forlist from=$array key=i%}
				<li{%if $array[i].selected==1 %} class="hover"{%/if%}><a title="{%$array[i].subjectname%}" href="{%$array[i].link%}">{%$array[i].subjectname%}</a></li>
			{%/forlist%}
		</ul>
		{%/get%}
	</div>

	<div class="espcms_page_right">
		<div class="espcms_page_typename">{%$sub.subjectname%}</div>
		<div class="espcms_page_location">{%list name=path class=type:sub,id:$sub.sid%}</div>
		<div class="espcms_page_right_line"></div>

		{%if count($array) > 0%}
		<div class="espcms_pic_index pb20">

			<ul class="mover">
				{%forlist from=$array key=i%}
				<li>
					<div class="pic"><a href="{%$array[i].link%}" title="{%$array[i].title%}"><img src="{%$array[i].pic|zoom(250,150)%}" alt="{%$array[i].title%}"/></a></div>
					<div class="title"><a target="_blank" class="titlelink strong" title="{%$array[i].title%}" href="{%$array[i].link%}">{%$array[i].ctitle|espcms_cutstr(10,'')%}</a></div>
				</li>
				{%/forlist%}
			</ul>
		</div>
		<div class="espcms_page_right_line"></div>
		<div class="espcms_page_botton">
			<div id="pagelist">{%$pagetext%}</div>
		</div>
		<div class="espcms_page_botton">
			<div id="pagination" class="pagination">
				{%$pagebotton%}
			</div>
		</div>
		{%else%}
		<div class="espcms_page_botton">
			<div id="pagelist">No content</div>
		</div>
		{%/if%}
	</div>
</div>

{%link file="public/footer.html"%}
</body>
</html>
