<?php
require($netsFileConfig['bussinessTemplatePackagePath'].'Component/Head_Shop_0.php');
require($tmpDefault->sysFileConfig['PathRoot'].'Cache/DbCache/Adv/Cache_0.php');

?>
<!-- ------ #Ssheet ------ -->
<link href="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Ssheet/User/Zone.css" rel="stylesheet" />
<link href="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Ssheet/User/Shop.css" rel="stylesheet" />
<!-- ------ #Jscript ------ -->
<script src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/JScript/User/Zone.js" type="text/javascript"></script>
<script src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/JScript/User/Shop.js" type="text/javascript"></script>

<!-- ------ #Navigation ------ -->
<div class="OutFrame_A Navigation_0"><div><a href="../../../Plus/m_default/Cms/default.php" class="Link1 FBlack1">首页</a>
<span>>></span> <a href="../../../Plus/m_default/Shop/saleHome.php" class="Link1 FBlack1">商城首页</a>
<?php
$Coun0=count($tmpDefault->sNavigation)-2;
while ($Coun0>-1) { ?>
<span>>></span> <a href="../../../Plus/m_default/Shop/saleList.php?ID=<?php echo ($tmpDefault->sNavigation[$Coun0]['shsgtID']); ?>" class="Link1 FBlack1"><?php echo ($tmpDefault->sNavigation[$Coun0]['shsgtName']); ?></a>
<?php $Coun0--; } ?>
<span>>></span> <a href="#Here" class="Link1 FBlack1"><?php echo($tmpDefault->sMetaTitle); ?></a></div></div>
<!-- ------ #Content ------ -->
<div class="OutFrame_A">
<ul class="ShopG_1">
<li class="ShopG_2"><a href="#" class="Link1 FBlue1">全部商品分类</a></li>
<li class="DClear"></li></ul>
<div class="ShopG_3">
<?php
$tmpParid=2;
$tmpSQL=' SELECT A.shsgtID,A.shsgtName,A.shsgtNameStyle
	FROM {Nets.TableHead}shopsalegroup AS A
	WHERE 1=1 AND A.shsgtRecycle=0 AND A.shsgtChecked>1 AND A.shsgtParid={Nets.Parid}
	ORDER BY A.shsgtOrderBy DESC,A.shsgtID DESC ';
$tmpSTR=str_replace('{Nets.TableHead}',$tmpDefault->sysTableHead,$tmpSQL);
$tmpSTR=str_replace('{Nets.Parid}',$tmpParid,$tmpSTR);
$tmpData0=$tmpDefault->sDb->Search($tmpSTR);
$Coun0=0;
foreach($tmpData0 as $Row0){ ?>
<div id="saleGroup_<?php echo($Coun0); ?>_Box" class="ShopG_5" onmouseover="tmpShop.OnSalegroup_ALLStyle('saleGroup',<?php echo($Coun0); ?>,0);" onmouseout="tmpShop.OnSalegroup_ALLStyle('saleGroup',<?php echo($Coun0); ?>,1);">
<ul id="saleGroup_<?php echo($Coun0); ?>_Title" class="ShopG_6">
<li id="saleGroup_<?php echo($Coun0); ?>_TitleA" class="ShopG_7"><a href="../../../Plus/m_default/Shop/saleList.php?ID=<?php echo($Row0['shsgtID']); ?>" class="Link1 FBlue1"><?php echo($Row0['shsgtName']); ?></a></li>
</ul>
<div id="saleGroup_<?php echo($Coun0); ?>_Content" class="ShopG_8"><table class="ShopG_9" cellpadding="0" cellspacing="0">
<?php
$tmpSTR=str_replace('{Nets.TableHead}',$tmpDefault->sysTableHead,$tmpSQL);
$tmpSTR=str_replace('{Nets.Parid}',$Row0['shsgtID'],$tmpSTR);
$tmpData1=$tmpDefault->sDb->Search($tmpSTR);
$Coun1=0;
foreach($tmpData1 as $Row1){ ?>
<tr><td class="ShopG_10"><a href="../../../Plus/m_default/Shop/saleList.php?ID=<?php echo($Row1['shsgtID']); ?>" class="Link1 FBlack2"><?php echo($Row1['shsgtName']); ?>：</a></td><td class="ShopG_11">
<?php
$tmpSTR=str_replace('{Nets.TableHead}',$tmpDefault->sysTableHead,$tmpSQL);
$tmpSTR=str_replace('{Nets.Parid}',$Row1['shsgtID'],$tmpSTR);
$tmpData2=$tmpDefault->sDb->Search($tmpSTR);
$Coun2=0;
foreach($tmpData2 as $Row2){ ?>
<a href="../../../Plus/m_default/Shop/saleList.php?ID=<?php echo($Row2['shsgtID']); ?>" class="Link1 FBlue5"><?php echo($Row2['shsgtName']); ?></a>
<?php $Coun2++; } ?>
</td></tr>
<?php $Coun1++; } ?>
</table></div>
</div>
<?php $Coun0++; } ?>


</div></div><br />



<!-- ------ #SCRIPT ------ -->
<script type="text/javascript">
var tmpZone=new Zone();
tmpZone.sFlag="Shop";
var tmpShop=new Shop();

</script>
<?php require($netsFileConfig['bussinessTemplatePackagePath'].'Component/End_Shop_0.php'); ?>