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

?>
<!-- ------ #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--; } ?></div></div>
<!-- ------ #Content ------ -->
<div class="OutFrame_A">
<!-- ------ #Menu ------ -->
<div class="Shop_BM"><?php require($netsFileConfig['bussinessTemplatePackagePath'].'Component/Menu_Shop_0.php'); ?></div>
<!-- ------ #Content ------ -->
<div class="Shop_BC">
<!-- ------ #CONDITION ------ -->
<div class="Shop_Title_9"><table class="ShopL_0_1" cellpadding="0" cellspacing="0">
<!-- #Group -->
<tr><td class="ShopL_0_2">产品分类：</td><td class="ShopL_0_3">
<?php
$Coun0=0;
foreach($tmpDefault->sParid2 as $Row0){ ?>
<a href="<?php echo($tmpDefault->getSearch($Row0['Value'],0)); ?>" class="Link2 <?php if($tmpDefault->sMainID==$Row0['Value']){ echo('tile_Red'); }else{ echo('FBlack2'); } ?>"><?php echo($Row0['Text']); ?></a>
<?php $Coun0++; } ?>
</td></tr>

<!-- #Group -->
<tr><td class="ShopL_0_2">品牌分类：</td><td class="ShopL_0_3">
<?php
$Coun0=0;
foreach($tmpDefault->sBrand2 as $Row0){ ?>
<a href="<?php echo($tmpDefault->getSearch($Row0['Value'],4)); ?>" class="Link2 <?php if($tmpDefault->sSearchAR[2]==$Row0['Value']){ echo('tile_Red'); }else{ echo('FBlack2'); } ?>"><?php echo($Row0['Text']); ?></a>
<?php $Coun0++; } ?>
</td></tr>

</td></tr>
<!-- #Group -->
<tr><td class="ShopL_0_2">按价格：</td><td class="ShopL_0_3">
<?php
$Coun0=0;
foreach($tmpDefault->sPriceRang2 as $Row0){ ?>
<a href="<?php echo($tmpDefault->getSearch($Row0['Value'],5)); ?>" class="Link2 <?php if($tmpDefault->sSearchAR[3]==$Row0['Value']){ echo('tile_Red'); }else{ echo('FBlack2'); } ?>"><?php echo($Row0['Text']); ?></a>
<?php $Coun0++; } ?>
</td></tr>

</table></div>
<div class="ShopL_0_4">&nbsp;</div>
<ul class="ShopL_0_5">
<li class="ShopL_0_7"><a href="#"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Shop/41.jpg" /></a></li>
<li class="ShopL_0_6"><a href="#" class="Link1 FBlack2">高级搜索</a></li>
<li class="DClear"></li></ul><br />

<!-- ------ #LIST HEAD ------ -->
<ul class="Shop_Title_10">
<li class="Shop_Title_11">共找到<span class="Shop_Title_11_0"><?php echo($tmpDefault->sRecordCount); ?></span>件商品</li>

<li class="Shop_Title_12">排序方式：</li>
<?php
$Coun0=0;
foreach($tmpDefault->sCondition_Order as $Row0){ ?>
<li class="<?php if($tmpDefault->sSearchAR[1]==$Coun0){ ?>Shop_Title_13<?php }else{ ?>Shop_Title_14<?php } ?>"><a href="<?php echo($tmpDefault->getSearch($Coun0,3)); ?>" class="Link1 FBlack4"><?php echo($Row0); ?></a></li>
<?php $Coun0++; } ?>

<li class="Shop_Title_12">查看方式：</li>
<?php
$Coun0=0;
foreach($tmpDefault->sCondition_Listtype as $Row0){ ?>
<li class="<?php if($tmpDefault->sSearchAR[0]==$Coun0){ ?>Shop_Title_13<?php }else{ ?>Shop_Title_14<?php } ?>"><a href="<?php echo($tmpDefault->getSearch($Coun0,2)); ?>" class="Link1 FBlack4"><?php echo($Row0); ?></a></li>
<?php $Coun0++; } ?>

<!--<li class="Shop_Title_15"><a href="#" class="Link1 FBlack2">查看其它更多商品</a></li>-->
<li class="DClear"></li></ul>

<!-- ------ #LIST ------ -->
<ul class="ShopL_0_10">
<?php
$Coun0=0;
foreach($tmpDefault->sListData as $Row0){
	if($tmpDefault->sSearchAR[0]==0){ ?>
<li class="ShopL_0_11" onmouseover="this.className='ShopL_0_11 ShopL_0_11_A';" onmouseout="this.className='ShopL_0_11 ShopL_0_11_B';">
<div class="ShopL_0_12"><a href="../../../Plus/m_default/Shop/saleDetail.php?ID=<?php echo($Row0['shstID']); ?>" target="_blank"><img src="<?php echo($Row0['shsctSourceR00']); ?>" class="Shop_Img" /></a></div>
<div class="ShopL_0_13"><a href="../../../Plus/m_default/Shop/saleDetail.php?ID=<?php echo($Row0['shstID']); ?>" class="Link1 FBlack2" target="_blank"><?php echo($Row0['shstName']); ?></a></div>
<div class="ShopL_0_14"><span class="ShopH_0_43">原价：</span><span class="ShopH_0_74">￥<?php echo($Row0['shsctPrice0']); ?></span></div>
<div class="ShopL_0_14"><span class="ShopH_0_43">现价：</span><span class="ShopH_0_75">￥<?php echo($Row0['shstPrice']); ?></span></div>
<div class="ShopL_0_23">
	<div class="ShopL_0_24 Shop_Button_0"><a href="../../../Plus/Common/shop/salecar_list.php?DOrderOperation=<?php echo ($Row0['shstID']); ?>;1;<?php echo ($Row0['shstPrice']); ?>;<?php echo ($Row0['shstCode']); ?>;0;0;0;;|||" class="Link2 SBlue1" target="_blank">订购</a></div>
	<div class="ShopL_0_24 Shop_Button_0"><a href="#Here" onclick="tmpShop.OnCompare_Add(<?php echo($Row0['shstID']); ?>);" class="Link2 SBlue1">对比</a></div>
	<div class="DClear"></div></div>
</li>



<?php }else if($tmpDefault->sSearchAR[0]==1){ ?>
<li class="ShopL_0_30" onmouseover="this.className='ShopL_0_30 ShopL_0_11_A';" onmouseout="this.className='ShopL_0_30 ShopL_0_11_B';">
<div class="ShopL_0_31"><a href="../../../Plus/m_default/Shop/saleDetail.php?ID=<?php echo($Row0['shstID']); ?>" class="Link1 FBlack2" target="_blank"><?php echo($Row0['shstName']); ?></a></div>
<div class="ShopL_0_32"></div>

<div class="ShopL_0_34 Shop_Button_0"><a href="../../../Plus/Common/shop/salecar_list.php?DOrderOperation=<?php echo ($Row0['shstID']); ?>;1;<?php echo ($Row0['shstPrice']); ?>;<?php echo ($Row0['shstCode']); ?>;0;0;0;;|||" class="Link2 SBlue1" target="_blank">订购</a></div>
<div class="ShopL_0_33">
	<span class="ShopH_0_43">原价：</span><span class="ShopH_0_74">￥<?php echo($Row0['shsctPrice0']); ?></span>
	<span class="ShopH_0_43">现价：</span><span class="ShopH_0_75">￥<?php echo($Row0['shstPrice']); ?></span></div>
<div class="DClear"></div></li>



<?php }else if($tmpDefault->sSearchAR[0]==2){ ?>
<li class="ShopL_0_15" onmouseover="this.className='ShopL_0_15 ShopL_0_11_A';" onmouseout="this.className='ShopL_0_15 ShopL_0_11_B';">
<div class="ShopL_0_16"><a href="../../../Plus/m_default/Shop/saleDetail.php?ID=<?php echo($Row0['shstID']); ?>" target="_blank"><img src="<?php echo($Row0['shsctSourceR00']); ?>" class="Shop_Img" /></a></div>
<div class="ShopL_0_17">
<table class="ShopL_0_18" cellpadding="0" cellspacing="0"><tr>
	<td class="ShopL_0_19"><a href="../../../Plus/m_default/Shop/saleDetail.php?ID=<?php echo($Row0['shstID']); ?>" class="Link1 FBlack2" target="_blank"><?php echo($Row0['shstName']); ?></a></td>
	<td class="ShopL_0_19"></td></tr></table>
<div class="ShopL_0_20"><?php echo($tmpDefault->sCode->SubString($tmpDefault->sCode->FilterHTML($Row0['shsctContent'],'',0),0,120)); ?></div>
<div class="ShopL_0_21">
	<span class="ShopH_0_43">原价：</span><span class="ShopH_0_74">￥<?php echo($Row0['shsctPrice0']); ?></span>
	<span class="ShopH_0_43">现价：</span><span class="ShopH_0_75">￥<?php echo($Row0['shstPrice']); ?></span></div>
<div class="ShopL_0_23">
	<div class="ShopL_0_24 Shop_Button_0"><a href="../../../Plus/Common/shop/salecar_list.php?DOrderOperation=<?php echo ($Row0['shstID']); ?>;1;<?php echo ($Row0['shstPrice']); ?>;<?php echo ($Row0['shstCode']); ?>;0;0;0;;|||" class="Link2 SBlue1">订购</a></div>
	<div class="ShopL_0_24 Shop_Button_0"><a href="#Here" onclick="tmpShop.OnCompare_Add(<?php echo($Row0['shstID']); ?>);" class="Link2 SBlue1">对比</a></div>
	<div class="ShopL_0_24 Shop_Button_0"><a href="../../../Plus/Common/shop/salecar_list.php?DOrderOperation=<?php echo ($Row0['shstID']); ?>;1;<?php echo ($Row0['shstPrice']); ?>;<?php echo ($Row0['shstCode']); ?>;0;0;0;;|||" class="Link2 SBlue1">收藏</a></div>
	<div class="DClear"></div></div>
</div><div class="DClear"></div></li>



<?php } $Coun0++; } ?>
<li class="DClear"></li></ul>
<!-- #Pagebutton -->
<div><?php $tmpDefault->sPButton->showPage(); ?></div><br />

</div>

<div class="DClear"></div></div><br />
<?php require($netsFileConfig['bussinessTemplatePackagePath'].'Component/End_Shop_Compare.php'); ?>
<!-- ------ #SCRIPT ------ -->
<script type="text/javascript">
var tmpZone=new Zone();
tmpZone.sFlag="Shop";
var tmpShop=new Shop();
tmpShop.OnNavigation(0);
tmpShop.OnCompare_BoxFloat();

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