<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>{$title}</title>
<meta name="Keywords" content="{$keywords}" />
<meta name="Description" content="{$description}" />
<link href="{$domain}/view/{$tpl_style}/css/basic.css" rel="stylesheet" type="text/css" />
<link href="{$domain}/view/{$tpl_style}/css/common.css" type="text/css" rel="stylesheet">
<script src="{$domain}/view/{$tpl_style}/js/jquery.js" type="text/javascript"></script>
<script src="{$domain}/view/{$tpl_style}/js/lazyload.js" type="text/javascript"></script>
<script type='text/javascript' src='{$domain}/view/{$tpl_style}/js/jquery.masonry.min.js'></script> 
<script src="{$domain}/view/{$tpl_style}/js/tooltip.js" type="text/javascript"></script>
</head>
<body>
{include file="tenlongs/page_header.tpl"}
{literal}
<script type="text/javascript">
$(document).ready(function(){
	$("#container .pic img").lazyload({
		placeholder : "{$domain}/view/tenlongs/images/grey.gif",
		effect : "fadeIn"
	});
});
</script>
{/literal}
<div id="content">
{if $itemcats}	
 <div class="listcate">
    <ul>
        <li class="sc">
        	
				<a href="#">全部</a>			   
        </li>  

	  {foreach from=$itemcats item=value name=itemcate} 	
	  		<li ><a href="?a=category&cid={$value.cid}&tab=tao&page=1">{$value.name}</a></li>
	  {/foreach}    

    </ul>
</div>
{/if}
<div class="tab-panel">
	<ul>			
		<li><a href="?a=category&cid={$OneNav->category}&tab=b2c">B2C网上商城数据</a></li>
		<li class="selected"><a href="?a=category&cid={$OneNav->tao_category}&tab=tao">淘宝数据</a></li>
	</ul>
</div>
<div id="container">
	{if $items}
	{foreach from=$items item=value name=itemcate} 	
	<div class="col">
		   <div class="pic">
                <a href="{$value.detail_url}" rel="{$value.pic_url}" class="tooltip" title="{$value.title}" target="_blank">
                    <img src="{$domain}/view/default/images/grey.gif" original="{$value.pic_url}" alt="{$value.title}" /></a></div>
            <h3>
                <a href="{$value.detail_url}" target="_blank">{$value.title}</a></h3>
            <div class="mallprice">
                <div class="left">
                    <div>优惠价 <strong>{$value.price}</strong>元</div>
                    <div class="malltitle">          
						<a href="javascript:void(0);" onclick= "window.open ('{$value.detail_url}');">淘宝：{$value.nick}</a>
				 有售</div>
                </div>
                <div class="right">
					<a href="javascript:void(0);" onclick= "window.open ('{$value.detail_url}');"></a>
				</div>
           </div>
	</div>
	{/foreach}
	{/if}

</div>
<div id="page">{$pagetext}</div>
{literal}
<script type="text/javascript">
$(function(){
  $('#container').masonry({
    itemSelector : '.col',
    columnWidth : 245
  });
});

</script>
{/literal}
</div>
{include file="tenlongs/page_bottom.tpl"}
</body>
</html>