<!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>{$sel_info->name}</title>
<meta name="Keywords" content="{$sel_info->name}" />
<meta name="Description" content="{$sel_info->desc}" /> 
<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"}

<script type="text/javascript">
$(document).ready(function()
	{literal}{
	$("#container .pic img").lazyload({
	{/literal}
		placeholder : "{$domain}/view/default/images/grey.gif",
		effect : "fadeIn"
	{literal}
	});
});
{/literal}
</script>
{literal}
<style type="text/css">
.sel_info{
    border-color:#DCDCDC;
    border-style: solid;
    border-width:1px;
    overflow: hidden;
    padding: 15px;
    width: 948px;
}
.info_left{
	border: 1px solid #E8E8E8;
    float: left;
    overflow: hidden;
    text-align: center;
    width: 165px;
	margin-top:10px;
}
.info_right{
	float: left;
    margin-left: 20px;
    overflow: hidden;
    width: 600px;
}
.info_right .info_desc{
	width: 600px;
	float:left;
}
.info_right .info_desc h2{
	font-size: 14px;
    font-weight: bold;   
	height:30px;
	line-height:30px;
	
}
.info_right .info_desc h2 a{
	color: #55AADD;
}
.info_right .info_desc p{
	line-height:180%;
	padding:0px 10px;
	text-indent:20px;
}
.info_right .info_has{
	float:left;
	padding:10px;
}
.info_right .info_has ul li{
	background-color: #F7F7F7;
    border: 1px solid #DEE2E5;
    float: left;
    height: 22px;
    line-height: 20px;
    margin-right: 10px;
    text-align: center;
    width: 70px;
}
</style>
{/literal}
<div id="content" style="background:#FFF;">
<div class="sel_info">
	<div class="info_left">
		<a target="_blank" href="{$sel_info->click_url}">
			<img border="0" alt="天天网" src="{$sel_info->logo}">
		</a>
	</div>
	<div class="info_right">
		<div class="info_desc">
			<h2>
				<a target="_blank" href="{$sel_info->click_url}">{$sel_info->name}</a>
			</h2>
			<p>{$sel_info->description}</p>
		</div>
		<div class="info_has">
			<ul>
				{if $sel_info->freeshipment==1}
					<li>免费送货</li>
				{/if}
				{if $sel_info->installment==1}
					<li>分期付款</li>
				{/if}
				{if $sel_info->has_invoice==1}
					<li>有发票</li>
				{/if}
			</ul>
		</div>
	</div>
</div>
{if $hasdata}
{if $hascategory}
	{if $itemcart}
	 <div class="listcate">
	    <ul>
	        <li class="sc">
	        	<span style="color:#55AADD; font-size:12px; font-weight:bold;">推荐分类 ：</span>
	        </li>  		
		  {foreach from=$itemcart item=value name=itemcate} 	
		  	{if $rewrite}
		  		<li ><a href="{$domain}/{$sellerinfo}-{$id}-{$value.category_id}-{$value.sid}-1{$suffix}">{$value.category_name}</a></li>
		  	{else}
		  		<li ><a href="?a=sellerinfo&id={$id}&cid={$value.category_id}&sid={$value.sid}&page=1">{$value.category_name}</a></li>
		  	{/if}
		  {/foreach}
	    </ul>
	</div>
	{/if} 
{/if} 
<div id="container">	
	{if $items}	
	{foreach from=$items item=value name=itemcate} 	
	<div class="col">
		   <div class="pic">
		   	{if $rewrite}
                <a href="{$domain}/{$bitem}-{$value.iid}{$suffix}" rel="{$value.pic_url}" class="tooltip" title="{$value.title}" target="_blank">
                    <img src="view/default/images/grey.gif" original="{$value.pic_url}" alt="{$value.title}" /></a>
            {else}
             	<a href="?a=bitem&iid={$value.iid}" rel="{$value.pic_url}" class="tooltip" title="{$value.title}" target="_blank">
                    <img src="view/default/images/grey.gif" original="{$value.pic_url}" alt="{$value.title}" /></a>
            {/if}
           </div>
            <h3>
              {if $rewrite}
                <a href="{$domain}/{$bitem}-{$value.iid}{$suffix}" target="_blank">{$value.title}</a>
              {else}
              	<a href="?a=bitem&iid={$value.iid}" target="_blank">{$value.title}</a>
              {/if}
            </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.seller_url}');">{$value.seller_name}</a>
				 有售</div>
                </div>
                <div class="right">
					<a href="javascript:void(0);" onclick= "window.open ('{$value.click_url}');"></a>
				</div>
           </div>
	</div>
	{/foreach}
	{/if}
</div>
<div>{$pagetext}</div>
{else}
<p style="text-align:center; padding:40px;">对不起，暂时没有任何数据,请与管理员联系<br/>
您可以直接访问" <span><a target="_blank" href="{$sel_info->click_url}"  style="color:#55AADD;font-size:14px; font-weight:bold;">{$sel_info->name}</a></span> "
</p>
{/if}

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

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