<!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}/images/popotao.css" rel="stylesheet" type="text/css" />
    <link href="{$domain}/view/{$tpl_style}/css/common.css" rel="stylesheet" type="text/css" />
    
    
    <script src="{$domain}/view/{$tpl_style}/js/jquery.js" type="text/javascript"></script>
    <link href="{$domain}/view/{$tpl_style}/css/channle.css" rel="stylesheet" type="text/css" />	
</head>
<body>
{include file="tenlongs/page_header.tpl"}
    <div class="bodyer">
        <!-- b2c cate -->
        <div class="cate">
		   
            <div class="title">
                <h2>购物商城商品分类</h2>
            </div>
            <div class="mallcate">
          			{if $Allcats}	
						{foreach from=$Allcats item=value name=rec}
							    <h3>{if $rewrite}
									<a href="category-{$value.cats.cats_cid}.html" target="_blank">{$value.cats.cats_name}</a>
								{else}
									<a href="?a=category&cid={$value.cats.cats_cid}" target="_blank">{$value.cats.cats_name}</a>
								{/if}</h3>
							<div class="mallcatelist">
								<ul>
									{foreach from=$value.childcats item=child name=child}
											{if $rewrite}
												<li><a href="{$domain}/{$b2c_category}-{$child.cid}-b2c-true{$suffix}" target="_blank">{$child.name}</a></li>
											{else}
												<li><a href="./index.php?a=category&cid={$child.cid}&tab=b2c&notab=true" target="_blank">{$child.name}</a></li>
											{/if}
									{/foreach}
								</ul>
							</div>
						{/foreach}
					{/if}   
            </div>
			 <div class="title">
			<h2>淘宝分类</h2>			
			</div>
			<div class="taocatelist">
				<ul>
					{foreach from=$TaoCats item=tao name=tao}
						
							{if $rewrite}
							    <li><a href="{$domain}/{$tao_category}-{$tao.cid}-tao{$suffix}" target="_blank" title="{$tao.name}">{$tao.name}</a></li>
							{else}
								<li><a href="./index.php?a=category&cid={$tao.cid}&tab=tao&notab=true" target="_blank" title="{$tao.name}">{$tao.name}</a></li>
							{/if}
								
					{/foreach}
				</ul>
			</div>
        </div>
        <!--/b2c cate -->
    </div>
    <!-- copyright -->
    {include file="tenlongs/page_bottom.tpl"}
    <div style="display: none;">
    </div>
    <!--/copyright -->
</body>
</html>
