{* <?php die('duotaopu');?> 这行代码可以防止模板被盗用 *}<!DOCTYPE html>
<head>
<meta http-equiv="content-type" content="text/html; charset=gbk">
<meta charset="gbk">
<title>{$cname}{if isset($pname)}/{$pname}{/if}-{$web_name}</title>
{if $keywords!=''}<meta name="keywords" content="{$keywords}" />{/if}
{if $description!=''}<meta name="description" content="{$description}" />{/if}
<link rel="stylesheet" href="{$theme_path}/css/style.css">
<script type="text/javascript" src="{$theme_path}/script/jquery-1.5.min.js"></script>
<script src="{$theme_path}/script/common.js"></script>
</head>
<body>
{include file="header.php"}
<!-- main start -->
      <div id="wapper"> 
		<div class="content cf">
			<h2 class="hide">热卖类目</h2>
<!-- left sidebar start -->
{include file="leftmenu.php"}
	<!-- left sidebar -->		
	<div class="main fr area" data-area="showcase">
				<div class="cg_nav">
					<div class="cg_nav_bread cf">
					{list name="logolist" row='8'}
						<span class="fl">热门分类 &gt; {$cname}</span>
						<span class="fr">收录品质店铺 <span class="notify">{$shop_count|default:0}</span> 家</span>
					</div>
					<ul class="cg_sub cf">
						<li id=""	{if $smarty.get.cid==$pid }class="cur"{/if}><a href="{getshowurl mid='channel' id=$pid}">全部</a></li>
					   {channellist type="self"}
						{foreach $classlist as $topclass}
							<li id=""	{if isset($smarty.get.cid) and $smarty.get.cid==$topclass.id }class="cur"{/if}><a href="{$topclass.url}">{$topclass.cname}</a></li>
						{/foreach}
					</ul>
				</div>
				<div class="cg_top cf">
					<span class="fl"></span>
					<div class="fr paginator_t">
							<span>排序：</span>
				<ul class="fr">
					<li id=""{if isset($smarty.get.order) and $smarty.get.order=="addtime"} class="hover"{/if}><a href="{$web_path}/index.php?m=cate&a=shop&cid={$cid}&order=addtime">按时间</a></li>
					<li id=""{if isset($smarty.get.order) and $smarty.get.order=="dynamic"} class="hover"{/if}><a href="{$web_path}/index.php?m=cate&a=shop&cid={$cid}&order=dynamic">按评分</a></li>
					<li id=""{if isset($smarty.get.order) and $smarty.get.order=="rank"} class="hover"{/if}><a href="{$web_path}/index.php?m=cate&a=shop&cid={$cid}&order=rank">按信用</a></li>
					<li id=""{if isset($smarty.get.order) and $smarty.get.order=="percent"} class="hover"{/if}><a href="{$web_path}/index.php?m=cate&a=shop&cid={$cid}&order=percent">按好评</a></li>
				</ul>
					</div>
				</div>
				<ul class="cg_cnt cf">
				{foreach $logolist as $list}
					<li>
						<a class="shop_logo" href="{$list.url}" target="_blank"><img src="{$list.logo}" alt="{$list.shopname}"></a>
						<div class="cg_shop_info">
							<h4><a href="{$list.url}" target="_blank">{$list.shopname}</a></h4>
							<div>
								<label>综合评分：</label>
								<span title="{$list.dynamic}分" class="stars"><span style="width:{$list.dynamic*20|intval}px"></span></span>
								<span class="cg_shop_score">{$list.dynamic}</span>
							</div>
							<div>
								<label>好&nbsp;评&nbsp;率：</label><span>{$list.percent}</span>
							</div>
							<div>
								<label>店铺信用：</label><span><img src="{$web_path}/public/images/tao/s_{$list.rank}.gif"></span>
							</div>
							<div>
								<label>所属地区：</label><span>{$list.area}</span>
							</div>
						</div>
						<div class="cg_act cf">
							<cite style="margin: 2px 35px 0;width: 190px;float: left;cursor:pointer;"></cite>
							<a class="cg_look_look fl" href="{$list.url}" target="_blank">{$list.shopname}</a>
						</div>
						{if $list.flag=='c'}<i class="recommend"></i>{/if}
						</li>
					{/foreach}
					</ul>
				<div class="paginator">
					{$pages}
				</div>
			</div>
		</div>
<!-- main end -->		
{include file="footer.php"}
</body></html>