<?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" />
<link href="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Ssheet/User/Order.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>
<script src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/JScript/User/Order.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 ------ -->
<?php if(count($tmpDefault->sDetailData)>0){ ?>
<!-- ### -->
<div class="OutFrame_A"><h1 class="ShopD_5_1"><?php echo ($tmpDefault->sDetailData[0]['shstName']); ?></h1></div>
<!-- ### -->
<div class="OutFrame_A">
<!-- ### -->
<div class="ShopD_5_2">
<div class="ShopD_5_12">
<div id="mainImgzoom_Box" class="DHidden ShopD_5_8"><div class="ShopD_5_9"><img src="<?php echo ($tmpDefault->sDetailData[0]['shsctSourceR00']); ?>" /></div></div>
<div id="mainImgzoom_Mark" onmousemove="tmpShop.OnDetail_ImgMove(event);" class="DHidden ShopD_5_10">&nbsp;</div>
<div id="mainImgzoom_Hidden" onmouseover="tmpShop.OnDetail_ImgHidden();" class="DHidden ShopD_5_11">&nbsp;</div>
<div class="ShopD_5_3"><a href="#Here"><img id="mainImgzoom_Img" onmouseover="tmpShop.OnDetail_ImgZoom('<?php echo ($tmpDefault->sDetailData[0]['shsctSourceR00']); ?>',event);" src="<?php echo ($tmpDefault->sDetailData[0]['shsctSourceR00']); ?>" /></a></div>
</div>
<ul class="ShopD_5_4">
<li class="ShopD_5_5"><a href="#Here"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Shop/67.jpg" /></a></li>
<li class="ShopD_5_6"><table class="ShopD_5_6_0" cellpadding="0" cellspacing="0"><tr>

<td id="mainImgzoom_Button_0" class="ShopD_5_6_1"><a onclick="tmpShop.OnDetail_ImgIndex(0);" href="#Here"><img src="<?php echo ($tmpDefault->sDetailData[0]['shsctSourceR00']); ?>" /></a></td>
<td id="mainImgzoom_Button_1" class="ShopD_5_6_2"><a onclick="tmpShop.OnDetail_ImgIndex(1);" href="#Here"><img src="<?php echo ($tmpDefault->sDetailData[0]['shsctSourceR00']); ?>" /></a></td>

</tr></table></li>
<li class="ShopD_5_7"><a href="#Here"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Shop/66.jpg" /></a></li>
<li class="DClear"></li></ul>
<ul class="">


<li class="DClear"></li></ul>
</div>
<!-- ### -->
<div class="">
<table class="ShopD_0_5_1" cellpadding="4" cellspacing="0"><tr>
<!-- ### -->
<td class="ShopD_0_5_2">现价：</td><td class="ShopD_0_5_3"><span class="ShopD_0_7">￥<?php echo ($tmpDefault->sDetailData[0]['shsctPrice0']); ?></span></td>
<td class="ShopD_0_5_2">原价：</td><td class="ShopD_0_5_3"><span class="ShopD_0_6">￥<?php echo ($tmpDefault->sDetailData[0]['shstPrice']); ?></span></td>
</tr><tr>
<td class="ShopD_0_5_2">积分：</td><td class="ShopD_0_5_3"><?php echo ($tmpDefault->sDetailData[0]['shstCode']); ?></td>
<td class="ShopD_0_5_2">编号：</td><td class="ShopD_0_5_3"><?php echo ($tmpDefault->sDetailData[0]['shstNumCode']); ?></td>
</tr><tr>
<td class="ShopD_0_5_2">发货：</td><td class="ShopD_0_5_3_L">
<ul class="ShopD_0_8_0">
	<li id="mainSale_Inventorys_Tab" class="ShopD_0_8_2 DHidden"><a href="#Here" onclick="tmpShop.OnDetail_InventorysClose();" class="Link1 FBlack2"><?php echo($tmpDefault->sSale_InventorysName); ?></a></li>
	<li id="mainSale_Inventorys_Box" class="ShopD_0_8_3 DHidden">
	<?php $Coun0=0; foreach($tmpDefault->sSale_InventorysZones as $Row0){
	$tmpSTYLE='ShopD_0_8_4';
	if($Row0[0]==$tmpDefault->sSale_Inventorysid){ $tmpSTYLE='ShopD_0_8_4_L'; } ?>
	<div class="<?php echo($tmpSTYLE); ?>"><a href="#Here" onclick="tmpShop.OnDetail_InventorysChoose('<?php echo($Row0[0]); ?>','<?php echo($Row0[1]); ?>','<?php echo($Row0[2]); ?>');" class="Link1 FBlack3"><?php echo($Row0[1]); ?>(<?php echo($Row0[2]); ?>)</a></div>
	<?php $Coun0++; } ?>
	</li>
	<li class="ShopD_0_8_1"><a id="mainSale_Inventorys_Button" href="#Here" onclick="tmpShop.OnDetail_InventorysOpen();" class="Link3 FBlue1"><?php echo($tmpDefault->sSale_InventorysName); ?></a></li>
	</ul>
<div class="ShopD_0_8_12">库存<span id="mainSale_Inventorys_Label" class="ShopD_0_8_13">(<?php echo ($tmpDefault->sSale_InventorysCount); ?>)</span><?php echo ($tmpDefault->sDetailData[0]['shsctUnit']); ?></div>
<input id="mainSale_Inventorys_Txt" name="mainSale_Inventorys_Txt" value="<?php echo ($tmpDefault->sSale_Inventorysid); ?>" type="hidden" />

</td>
</tr><tr>
<td class="ShopD_0_5_2">评价：</td><td class="ShopD_0_5_3_L" colspan="3">
	本商品共被查看<span class="ShopD_0_17"><?php echo ($tmpDefault->sDetailData[0]['shsctCount_Views']); ?></span>次，
	有<span class="ShopD_0_17"><?php echo ($tmpDefault->sDetailData[0]['shsctCount_Discuss']); ?></span>人评论，
	已出售<span class="ShopD_0_17"><?php echo ($tmpDefault->sDetailData[0]['shsctCount_Order']); ?></span>件。</td>
</tr><tr>
<!-- ### -->
<td class="ShopD_0_5_2 ShopD_0_5_4">样式：</td><td class="ShopD_0_5_5" colspan="3">
<ul id="mainSale_Pesents_Box"><?php
$Coun0=0;
foreach($tmpDefault->sSale_Classids as $Row0){
	$tmpSTYLE='DHidden';
	if($Row0['shstID']==$tmpDefault->sMainID){ $tmpSTYLE='ShopD_0_12'; } ?>
<li class="ShopD_0_11"><div class="<?php echo($tmpSTYLE); ?>"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/Common/Img/Common/shop_0.gif" /></div><a href="<?php echo($tmpDefault->sysPage.'?ID='.$Row0['shstID']); ?>" class="Link1 FBlack2"><?php echo($Row0['shstName']); ?></a></li>
<?php } ?><li class="DClear"></li></ul>
<div id="mainSale_Pesents_Alert" class="DHidden"></div>
<input id="mainSale_Pesents_ChooseAble" name="mainSale_Pesents_ChooseAble" value="<?php echo ($tmpDefault->sDetailData[0]['shsctPesents_SelectCount']); ?>" type="hidden" />
<input id="mainSale_Pesents_Txt" name="mainSale_Pesents_Txt" value="" type="hidden" />

</td>
</tr><tr>
<td class="ShopD_0_5_2 ShopD_0_5_6">配件（收费）：</td><td class="ShopD_0_5_7" colspan="3">
<ul id="mainSale_AccessoriesP_Box"><?php
$Coun0=0;
foreach($tmpDefault->sSale_AccessoriesP as $Row0){
	$tmpSTYLE='ShopD_0_11';
	if($Row0[0]==-1){ $tmpSTYLE='ShopD_0_10'; } ?>
<li class="<?php echo($tmpSTYLE); ?>"><div class="DHidden"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/Common/Img/Common/shop_0.gif" /></div><a href="#Here" onclick="tmpShop.OnDetail_ParameterChoose('mainSale_AccessoriesP',<?php echo($Coun0); ?>,this);" class="Link1 FBlack2"><?php echo($Row0[1]); ?>(￥<?php echo($Row0[2]); ?>)</a></li>
<input id="Order_AccessoriesP_<?php echo($Coun0); ?>_ID_Txt" name="Order_AccessoriesP_<?php echo($Coun0); ?>_ID_Txt" value="<?php echo ($Row0[0]); ?>" type="hidden" />
<input id="Order_AccessoriesP_<?php echo($Coun0); ?>_Count_Txt" name="Order_AccessoriesP_<?php echo($Coun0); ?>_Count_Txt" value="1" type="hidden" />
<input id="Order_AccessoriesP_<?php echo($Coun0); ?>_Price_Txt" name="Order_AccessoriesP_<?php echo($Coun0); ?>_Price_Txt" value="<?php echo ($Row0[2]); ?>" type="hidden" />
<input id="Order_AccessoriesP_<?php echo($Coun0); ?>_Code_Txt" name="Order_AccessoriesP_<?php echo($Coun0); ?>_Code_Txt" value="0.00" type="hidden" />
<input id="Order_AccessoriesP_<?php echo($Coun0); ?>_Activeid_Txt" name="Order_AccessoriesP_<?php echo($Coun0); ?>_Activeid_Txt" value="<?php echo ($Row0[0]); ?>" type="hidden" />
<input id="Order_AccessoriesP_<?php echo($Coun0); ?>_Parentid_Txt" name="Order_AccessoriesP_<?php echo($Coun0); ?>_Parentid_Txt" value="<?php echo ($tmpDefault->sMainID); ?>" type="hidden" />
<input id="Order_AccessoriesP_<?php echo($Coun0); ?>_Type_Txt" name="Order_AccessoriesP_<?php echo($Coun0); ?>_Type_Txt" value="3" type="hidden" />
<input id="Order_AccessoriesP_<?php echo($Coun0); ?>_Parameters_Txt" name="Order_AccessoriesP_<?php echo($Coun0); ?>_Parameters_Txt" value="" type="hidden" />

<?php $Coun0++; } ?><li class="DClear"></li></ul>
<div id="mainSale_AccessoriesP_Alert" class="DHidden"></div>
<input id="mainSale_AccessoriesP_ChooseAble" name="mainSale_AccessoriesP_ChooseAble" value="<?php echo ($tmpDefault->sDetailData[0]['shsctAccessoriesP_SelectCount']); ?>" type="hidden" />
<input id="mainSale_AccessoriesP_Txt" name="mainSale_AccessoriesP_Txt" value="" type="hidden" />

</td>
</tr><tr>
<td class="ShopD_0_5_2 ShopD_0_5_6">配件（免费）：</td><td class="ShopD_0_5_7" colspan="3">
<ul id="mainSale_Accessories_Box"><?php
$Coun0=0;
foreach($tmpDefault->sSale_Accessories as $Row0){
	$tmpSTYLE='ShopD_0_11';
	if($Row0[0]==-1){ $tmpSTYLE='ShopD_0_10'; } ?>
<li class="<?php echo($tmpSTYLE); ?>"><div class="DHidden"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/Common/Img/Common/shop_0.gif" /></div><a href="#Here" onclick="tmpShop.OnDetail_ParameterChoose('mainSale_Accessories',<?php echo($Coun0); ?>,this);" class="Link1 FBlack2"><?php echo($Row0[1]); ?></a></li>
<input id="Order_Accessories_<?php echo($Coun0); ?>_ID_Txt" name="Order_Accessories_<?php echo($Coun0); ?>_ID_Txt" value="<?php echo ($Row0[0]); ?>" type="hidden" />
<input id="Order_Accessories_<?php echo($Coun0); ?>_Count_Txt" name="Order_Accessories_<?php echo($Coun0); ?>_Count_Txt" value="1" type="hidden" />
<input id="Order_Accessories_<?php echo($Coun0); ?>_Price_Txt" name="Order_Accessories_<?php echo($Coun0); ?>_Price_Txt" value="0.00" type="hidden" />
<input id="Order_Accessories_<?php echo($Coun0); ?>_Code_Txt" name="Order_Accessories_<?php echo($Coun0); ?>_Code_Txt" value="0.00" type="hidden" />
<input id="Order_Accessories_<?php echo($Coun0); ?>_Activeid_Txt" name="Order_Accessories_<?php echo($Coun0); ?>_Activeid_Txt" value="<?php echo ($Row0[0]); ?>" type="hidden" />
<input id="Order_Accessories_<?php echo($Coun0); ?>_Parentid_Txt" name="Order_Accessories_<?php echo($Coun0); ?>_Parentid_Txt" value="<?php echo ($tmpDefault->sMainID); ?>" type="hidden" />
<input id="Order_Accessories_<?php echo($Coun0); ?>_Type_Txt" name="Order_Accessories_<?php echo($Coun0); ?>_Type_Txt" value="4" type="hidden" />
<input id="Order_Accessories_<?php echo($Coun0); ?>_Parameters_Txt" name="Order_Accessories_<?php echo($Coun0); ?>_Parameters_Txt" value="" type="hidden" />

<?php $Coun0++; } ?><li class="DClear"></li></ul>
<div id="mainSale_Accessories_Alert" class="DHidden"></div>
<input id="mainSale_Accessories_ChooseAble" name="mainSale_Accessories_ChooseAble" value="<?php echo ($tmpDefault->sDetailData[0]['shsctAccessories_SelectCount']); ?>" type="hidden" />
<input id="mainSale_Accessories_Txt" name="mainSale_Accessories_Txt" value="" type="hidden" />

</td>
</tr><tr>
<td class="ShopD_0_5_2 ShopD_0_5_6">赠品：</td><td class="ShopD_0_5_7" colspan="3">
<ul id="mainSale_Pesents_Box"><?php
$Coun0=0;
foreach($tmpDefault->sSale_Pesents as $Row0){
	$tmpSTYLE='ShopD_0_11';
	if($Row0[0]==-1){ $tmpSTYLE='ShopD_0_10'; } ?>
<li class="<?php echo($tmpSTYLE); ?>"><div class="DHidden"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/Common/Img/Common/shop_0.gif" /></div><a href="#Here" onclick="tmpShop.OnDetail_ParameterChoose('mainSale_Pesents',<?php echo($Coun0); ?>,this);" class="Link1 FBlack2"><?php echo($Row0[1]); ?></a></li>
<input id="Order_Pesents_<?php echo($Coun0); ?>_ID_Txt" name="Order_Pesents_<?php echo($Coun0); ?>_ID_Txt" value="<?php echo ($Row0[0]); ?>" type="hidden" />
<input id="Order_Pesents_<?php echo($Coun0); ?>_Count_Txt" name="Order_Pesents_<?php echo($Coun0); ?>_Count_Txt" value="1" type="hidden" />
<input id="Order_Pesents_<?php echo($Coun0); ?>_Price_Txt" name="Order_Pesents_<?php echo($Coun0); ?>_Price_Txt" value="0.00" type="hidden" />
<input id="Order_Pesents_<?php echo($Coun0); ?>_Code_Txt" name="Order_Pesents_<?php echo($Coun0); ?>_Code_Txt" value="0.00" type="hidden" />
<input id="Order_Pesents_<?php echo($Coun0); ?>_Activeid_Txt" name="Order_Pesents_<?php echo($Coun0); ?>_Activeid_Txt" value="<?php echo ($Row0[0]); ?>" type="hidden" />
<input id="Order_Pesents_<?php echo($Coun0); ?>_Parentid_Txt" name="Order_Pesents_<?php echo($Coun0); ?>_Parentid_Txt" value="<?php echo ($tmpDefault->sMainID); ?>" type="hidden" />
<input id="Order_Pesents_<?php echo($Coun0); ?>_Type_Txt" name="Order_Pesents_<?php echo($Coun0); ?>_Type_Txt" value="5" type="hidden" />
<input id="Order_Pesents_<?php echo($Coun0); ?>_Parameters_Txt" name="Order_Pesents_<?php echo($Coun0); ?>_Parameters_Txt" value="" type="hidden" />

<?php $Coun0++; } ?><li class="DClear"></li></ul>
<div id="mainSale_Pesents_Alert" class="DHidden"></div>
<input id="mainSale_Pesents_ChooseAble" name="mainSale_Pesents_ChooseAble" value="<?php echo ($tmpDefault->sDetailData[0]['shsctPesents_SelectCount']); ?>" type="hidden" />
<input id="mainSale_Pesents_Txt" name="mainSale_Pesents_Txt" value="" type="hidden" />

</td>
</tr><tr>
<td class="ShopD_0_5_2 ShopD_0_5_8">订购：</td><td class="ShopD_0_5_9" colspan="3"><table cellpadding="0" cellspacing="0"><tr>
	<td><a href="#Here" onclick="tmpOrder.OnOrder_CountAdd(0);"><img src="<?php echo($netsFileConfig['sysCoreRoot']); ?>Ui/m_nets/Img/User/Shop/28_A.jpg" /></a></td><td>&nbsp;</td>
	<td><input id="Order_0_Count_Txt" name="Order_0_Count_Txt" value="1" class="SControl1" onclick="tmpControl.onControlLight(this,'SControl1');" onblur="tmpControl.onControlBlur(this,'SControl1');" style="width:40px;" /></td><td>&nbsp;</td>
	<td><a href="#Here" onclick="tmpOrder.OnOrder_CountSub(0);"><img src="<?php echo($netsFileConfig['sysCoreRoot']); ?>Ui/m_nets/Img/User/Shop/28_B.jpg" /></a></td>
	</tr></table>
<input id="Order_0_Price0_Txt" name="Order_0_Price0_Txt" value="<?php echo($tmpDefault->sDetailData[0]['shsctPrice0']); ?>" type="hidden" />
<input id="Order_0_PeopleLowLimit_Txt" name="Order_0_PeopleLowLimit_Txt" value="<?php echo($tmpDefault->sDetailData[0]['shsctCount_PeopleLowLimit']); ?>" type="hidden" />
<input id="Order_0_PeopleHighLimit_Txt" name="Order_0_PeopleHighLimit_Txt" value="<?php echo($tmpDefault->sDetailData[0]['shsctCount_PeopleHighLimit']); ?>" type="hidden" />

<span id="OrderInfo_TotalPay" class="DHidden">0</span>
<span id="OrderInfo_TotalSaveprice" class="DHidden">0</span>
<span id="OrderInfo_TotalCode" class="DHidden">0</span>
<span id="OrderInfo_ALLPAY" class="DHidden">0</span>
<input id="OrderInfo_TotalPayTxt" name="OrderInfo_TotalPayTxt" value="0" type="hidden" />
<input id="IDS" name="IDS" value="0" type="hidden" />

</td>

</tr></table>
<input id="Order_0_ID_Txt" name="Order_0_ID_Txt" value="<?php echo ($tmpDefault->sDetailData[0]['shstID']); ?>" type="hidden" />
<!--<input id="Order_0_Count_Txt" name="Order_0_Count_Txt" value="1" type="hidden" />-->
<input id="Order_0_Price_Txt" name="Order_0_Price_Txt" value="<?php echo ($tmpDefault->sDetailData[0]['shstPrice']); ?>" type="hidden" />
<input id="Order_0_Code_Txt" name="Order_0_Code_Txt" value="<?php echo ($tmpDefault->sDetailData[0]['shstCode']); ?>" type="hidden" />
<input id="Order_0_Activeid_Txt" name="Order_0_Activeid_Txt" value="0" type="hidden" />
<input id="Order_0_Parentid_Txt" name="Order_0_Parentid_Txt" value="0" type="hidden" />
<input id="Order_0_Type_Txt" name="Order_0_Type_Txt" value="0" type="hidden" />
<input id="Order_0_Parameters_Txt" name="Order_0_Parameters_Txt" value="" type="hidden" />

<input id="Order_0_Parameters_Controls_Txt" name="Order_0_Parameters_Controls_Txt" value="mainSale_Inventorys_Txt," type="hidden" />
<!-- ### -->
<!-- ### -->
<ul class="ShopD_0_14">
<li class="ShopD_0_15"><a href="#Here" onclick="tmpOrder.OnOrder_Submit(0,0);"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Shop/31.jpg" /></a></li>
<li class="ShopD_0_15"><a href="#Here" onclick="tmpOrder.OnOrder_Submit(1,0);"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Shop/32.jpg" /></a></li>
<li class="DClear"></li></ul>


</div>
<div class="DClear"></div></div><br />
<!-- ------ #Relateds ------ -->
<div class="OutFrame_A">
<ul class="ShopD_5_16">
<?php $Coun0=0; foreach($tmpDefault->sSale_Sets as $Row0){ ?>
<li id="saleSetsTab_A_<?php echo($Coun0); ?>" class="ShopD_5_18"><a href="#Here" onclick="tmpShop.OnSets_Tab('',<?php echo($Coun0); ?>);" class="Link1 FBlack2"><?php echo($Row0['Set']['shssetName']); ?>(<?php echo($Row0['Set']['Count_Info']); ?>)</a></li>
<?php $Coun0++; } ?>

<li id="saleSetsTab_A_<?php echo($Coun0); ?>" class="ShopD_5_18"><a href="#Here" onclick="tmpShop.OnSets_Tab('',<?php echo($Coun0); ?>);" class="Link1 FBlack2">查看已选配件</a></li>
<li class="DClear"></li></ul>
<div class="ShopD_5_19">
<div class="ShopD_5_20">

<div class="ShopD_5_21">
<div class="ShopD_5_22"><a href="#Here"><img src="<?php echo ($tmpDefault->sDetailData[0]['shsctSourceR00']); ?>" /></a></div>
<div class="ShopD_5_23">￥<?php echo ($tmpDefault->sDetailData[0]['shstPrice']); ?></div>
<div class="ShopD_5_24"><a href="#Here" class="Link1 FBlack2"><?php echo ($tmpDefault->sDetailData[0]['shstName']); ?></a></div>
</div>
<div class="ShopD_5_25"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Shop/81.jpg" /></div>
<!-- ### - ShopD_5_30 -->
<?php $Coun0=0; $Coun1=0; foreach($tmpDefault->sSale_Sets as $Row0){ ?>
<ul id="saleSetsBox_A_<?php echo($Coun0); ?>" class="DHidden">
<li class="ShopD_5_31"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Shop/83_a.jpg" /></li>
<li class="ShopD_5_33"><table id="saleSetsCellbox_A_<?php echo($Coun0); ?>" class="ShopD_5_34" cellpadding="0" cellspacing="0"><tr>
<?php foreach($Row0['Sales'] as $Row1){ ?>
<td class="ShopD_5_35">
<div class="ShopD_5_21">
<div class="ShopD_5_22"><a href="<?php echo($tmpDefault->sysPage); ?>?ID=<?php echo ($Row1['shstID']); ?>" target="_blank"><img src="<?php echo ($Row1['shsctSourceR00']); ?>" /></a></div>
<div class="ShopD_5_24_A">￥<?php echo ($Row1['shstPriceOld']); ?></div>
<div class="ShopD_5_23">￥<?php echo ($Row1['shstPrice']); ?></div>
<table class="" cellpadding="0" cellspacing="0"><tr>
<td><input id="Order_A_<?php echo($Coun1); ?>_Txt" name="Order_A_<?php echo($Coun1); ?>_Txt" onclick="tmpShop.OnSets_Choose('A');" value="<?php echo ($Row1['shstID']); ?>" type="checkbox" /></td>
<td><label for="Order_A_<?php echo($Coun1); ?>_Txt"><?php echo ($Row1['shstName']); ?></label></td>
</tr></table>
</div>
<input id="Order_A_<?php echo($Coun1); ?>_ID_Txt" name="Order_A_<?php echo($Coun1); ?>_ID_Txt" value="<?php echo ($Row1['shstID']); ?>" type="hidden" />
<input id="Order_A_<?php echo($Coun1); ?>_Count_Txt" name="Order_A_<?php echo($Coun1); ?>_Count_Txt" value="1" type="hidden" />
<input id="Order_A_<?php echo($Coun1); ?>_Price_Txt" name="Order_A_<?php echo($Coun1); ?>_Price_Txt" value="<?php echo ($Row1['shstPrice']); ?>" type="hidden" />
<input id="Order_A_<?php echo($Coun1); ?>_Code_Txt" name="Order_A_<?php echo($Coun1); ?>_Code_Txt" value="<?php echo ($Row1['shstPrice']); ?>" type="hidden" />
<input id="Order_A_<?php echo($Coun1); ?>_Activeid_Txt" name="Order_A_<?php echo($Coun1); ?>_Activeid_Txt" value="<?php echo ($Row0['Set']['shssetID']); ?>" type="hidden" />
<input id="Order_A_<?php echo($Coun1); ?>_Parentid_Txt" name="Order_A_<?php echo($Coun1); ?>_Parentid_Txt" value="<?php echo ($tmpDefault->sMainID); ?>" type="hidden" />
<input id="Order_A_<?php echo($Coun1); ?>_Type_Txt" name="Order_A_<?php echo($Coun1); ?>_Type_Txt" value="2" type="hidden" />
<input id="Order_A_<?php echo($Coun1); ?>_Parameters_Txt" name="Order_A_<?php echo($Coun1); ?>_Parameters_Txt" value="" type="hidden" />

<input id="Order_A_<?php echo($Coun1); ?>_PriceOld_Txt" name="Order_A_<?php echo($Coun1); ?>_PriceOld_Txt" value="<?php echo ($Row1['shstPriceOld']); ?>" type="hidden" />

</td>
<?php $Coun1++; } ?>
</tr></table></li>
<li class="ShopD_5_32"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Shop/83_b.jpg" /></li>
</ul>
<?php $Coun0++; } ?>
<ul id="saleSetsBox_A_<?php echo($Coun0); ?>" class="ShopD_5_30 DHidden">
<li class="ShopD_5_31"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Shop/83_a.jpg" /></li>
<li class="ShopD_5_33"><table id="saleSetsCellbox_A_<?php echo($Coun0); ?>" class="ShopD_5_34" cellpadding="0" cellspacing="0"><tr>

</tr></table></li>
<li class="ShopD_5_32"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Shop/83_b.jpg" /></li>
</ul>
<div class="DClear"></div></div>

<ul class="ShopD_5_26">
<li class="ShopD_5_27">
<b class="FBlack1">已选择的商品:</b>
<?php echo($tmpDefault->sData_Group[0]['shsgtName']); ?><span class="FBlue2">(1)</span>&nbsp;&nbsp;
配件<span id="Order_A_LabelCount" class="FBlue2">(0)</span>&nbsp;&nbsp;
原价：<span id="Order_A_PriceOld" class="FRed1">￥<?php echo ($tmpDefault->sDetailData[0]['shstPrice']); ?></span>&nbsp;&nbsp;
套餐优惠价：<span id="Order_A_Price" class="ShopD_5_29">￥<?php echo ($tmpDefault->sDetailData[0]['shstPrice']); ?></span>

<input id="Order_A_IDS" name="saleSetsCell_A_IDS" value="" type="hidden" />
</li>
<li class="ShopD_5_28"><a href="#Here" onclick="tmpOrder.OnOrder_Submit(1,1);"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Shop/82.jpg" /></a></li>
<li class="DClear"></li></ul>

</div>
</div><br />
<!-- ------ #Parameter ------ -->
<div class="OutFrame_A">
<!-- ------ #Menu ------ -->
<div class="Shop_BM"><?php require($netsFileConfig['bussinessTemplatePackagePath'].'Component/Menu_Shop_0.php'); ?></div>
<!-- ------ #Content ------ -->
<div class="Shop_BC">
<ul class="Sale_Tab_1">
<?php
$tmpAR0=array('参数','详细介绍','图片',);
$Coun0=0;
foreach($tmpAR0 as $Row0){ ?>
<li id="saleTabA_<?php echo($Coun0); ?>" class="Sale_Tab_3"><a href="#Here" onclick="tmpShop.OnDetail_Tab_A('A',<?php echo($Coun0); ?>);" class="Link2 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>
<?php
$Coun0=0;
foreach($tmpAR0 as $Row0){ 
	if($Coun0==0){ ?>
<!-- #<?php echo($Coun0); ?> -->
<div id="saleBoxA_<?php echo($Coun0); ?>" class="DHidden"><?php echo ($tmpDefault->sDetailData[0]['shsctParameter']); ?></div>
<?php }else if($Coun0==1){ ?>
<div id="saleBoxA_<?php echo($Coun0); ?>" class="DHidden"><?php echo ($tmpDefault->sDetailData[0]['shsctContent']); ?></div>
<?php }else if($Coun0==2){ ?>
<div id="saleBoxA_<?php echo($Coun0); ?>" class="DHidden"><table cellpadding="0" cellspacing="0"><tr>
<?php
$tmpAR0=explode($tmpDefault->sysSPLIT4,$tmpDefault->sDetailData[0]['shsctSources']);
$Coun0=0;
foreach($tmpAR0 as $Row0){ ?>
<td class="ShopD_1_2"><img src="<?php echo($Row0); ?>" class="ShopD_1_3" /></td>
<?php $Coun0++; } ?></tr></table></div>

<?php } $Coun0++; } ?>
<br />
<!-- ------ #Discuss ------ -->
<ul class="Sale_Tab_1">
<?php
$Coun0=0;
foreach($tmpDefault->sType_Question2 as $Row0){ ?>
<li id="saleTabB_<?php echo($Coun0); ?>" class="Sale_Tab_3"><a href="#Here" onclick="tmpShop.OnDetail_DiscussSearch('B',<?php echo($Coun0); ?>,'<?php echo($Row0['Value']); ?>');" class="Link2 FBlack4"><?php echo($Row0['Text']); ?></a></li>
<?php $Coun0++; } ?>

<li class="DClear"></li></ul>
<!-- ### -->
<div class="ShopD_1_4">
<!-- ------ #Discuss ------ -->
<!-- #DiscussData -->
<div id="discussBox_B"><!--S.discussBox_B-->
<?php $Coun0=1; foreach ($tmpDefault->sData_Discuss_B as $Row0){ ?>
<div class="ShopD_1_13">
<div class="ShopD_1_14"><span>#<?php echo ($Coun0); ?></span> 网友：<?php echo ($Row0['shsdctPublisher_Name']); ?> 发表于 <?php echo ($Row0['shsdtCreateTime']); ?></span></div>
<div class="ShopD_1_15"><?php echo ($Row0['shsdctContent']); ?></div>
<?php
$tmpSQL=' SELECT A.shsdtID,A.shsdtName,A.shsdtCreateTime,
	B.shsdctContent,B.shsdctPublisher_Name,B.shsdctCode_BePositive,B.shsdctCode_BeNegative
	FROM {Nets.TableHead}shopsalediscuss AS A
	INNER JOIN {Nets.TableHead}shopsalediscusscont AS B ON B.shsdctIndexID=A.shsdtID
	WHERE 1=1 AND A.shsdtRecycle=0 AND A.shsdtChecked>1 AND A.shsdtParentid={Nets.Parentid}
	ORDER BY A.shsdtOrderBy DESC,A.shsdtID DESC ';
$tmpSTR=str_replace('{Nets.TableHead}',$tmpDefault->sysTableHead,$tmpSQL);
$tmpSTR=str_replace('{Nets.Parentid}',$Row0['shsdtID'],$tmpSTR);
$tmpData1=$tmpDefault->sDb->Search($tmpSTR);
$Coun1=0;
foreach($tmpData1 as $Row1){ ?>
<div class="ShopD_1_16"><?php echo($tmpDefault->sysFileConfig['bussinessName']); ?>回复：</div>
<div class="ShopD_1_15"><?php echo ($Row1['shsdctContent']); ?></div>
<ul class="ShopD_1_18">
<li class="ShopD_1_21"><a href="#Here" onclick="tmpShop.OnDetail_DiscussEvaluation(0,<?php echo ($Row1['shsdtID']); ?>,1);">不满意(<span id="discussEvaluation_<?php echo ($Row1['shsdtID']); ?>_1"><?php echo ($Row1['shsdctCode_BeNegative']); ?></span>)</a></li>
<li class="ShopD_1_20"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/Common/Img/Common/icon_28.jpg" /></li>
<li class="ShopD_1_21"><a href="#Here" onclick="tmpShop.OnDetail_DiscussEvaluation(0,<?php echo ($Row1['shsdtID']); ?>,0);">满意(<span id="discussEvaluation_<?php echo ($Row1['shsdtID']); ?>_0"><?php echo ($Row1['shsdctCode_BePositive']); ?></span>)</a></li>
<li class="ShopD_1_20"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/Common/Img/Common/icon_27.jpg" /></li>
<li class="ShopD_1_19">您对我们的回复：</li>
<li class="DClear"></li></ul>
<?php $Coun1++; } ?>
</div>
<?php $Coun0++; } ?>
<!-- #Pagebutton -->
<br /><div><?php $tmpDefault->sPButton_Ajax_B->showPage(); ?></div><br />
<!--sendRequest--><!--E.discussBox_B--></div>
<!-- #DiscussBox -->
<div class="DocDe_49"><table cellpadding="0" cellspacing="8">
<?php
$tmpFlag='Normal';
foreach ($tmpDefault->sUiDescription_0 as $Row0){ if($Row0['stcoctUiLabelid']==0){
	$tmpDefault->DefUiPanel($Row0,$tmpFlag);
	$tmpControls->getControl($Row0);
} } ?>
<tr><td></td><td class="FBlack4">网友评论只表达了其个人看法，并不表示本站同意其观点。</td></tr>
<tr><td></td><td><input type="submit" value="提交评论" onclick="tmpCommon.setActionType('','DAdd_B','','ID=<?php echo($tmpDefault->sMainID); ?>');" /></td></tr>
</table></div>


</div><br />
<!-- ------ #Discuss ------ -->
<ul class="Sale_Tab_1">
<?php
$tmpAR0=array(
	array('全部评价',-1),
	array('好评',8),
	array('中评',5),
	array('差评',0),
	);
$Coun0=0;
foreach($tmpAR0 as $Row0){ ?>
<li id="saleTabC_<?php echo($Coun0); ?>" class="Sale_Tab_3"><a href="#Here" onclick="tmpShop.OnDetail_DiscussSearch('C',<?php echo($Coun0); ?>,'<?php echo($Row0[1]); ?>');" class="Link2 FBlack4"><?php echo($Row0[0]); ?></a></li>
<?php $Coun0++; } ?>

<li class="DClear"></li></ul>
<!-- ### -->
<div class="ShopD_1_4">
<!-- ------ #Discuss ------ -->
<!-- #DiscussRare -->
<div class="ShopD_1_22">
<div class="ShopD_1_23">
<div class="ShopD_1_24"><?php echo($tmpDefault->sDiscuss_B_Good); ?>%</div>
<div class="ShopD_1_25">好评</div>
</div>
<div class="ShopD_1_26"><table class="ShopD_1_27" cellpadding="0" cellspacing="0"><tr>

<td class="ShopD_1_28">好评</td>
<td class="ShopD_1_29"><div class="ShopD_1_31"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Shop/85.jpg" style="width:<?php echo($tmpDefault->sDiscuss_B_Good*2); ?>px;" /></div></td>
<td class="ShopD_1_30"><?php echo($tmpDefault->sDiscuss_B_Good); ?>%</td>
</tr><tr>
<td class="ShopD_1_28">中评</td>
<td class="ShopD_1_29"><div class="ShopD_1_31"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Shop/85.jpg" style="width:<?php echo($tmpDefault->sDiscuss_B_Normal*2); ?>px;" /></div></td>
<td class="ShopD_1_30"><?php echo($tmpDefault->sDiscuss_B_Normal); ?>%</td>
</tr><tr>
<td class="ShopD_1_28">差评</td>
<td class="ShopD_1_29"><div class="ShopD_1_31"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Shop/85.jpg" style="width:<?php echo($tmpDefault->sDiscuss_B_Bad*2); ?>px;" /></div></td>
<td class="ShopD_1_30"><?php echo($tmpDefault->sDiscuss_B_Bad); ?>%</td>

</tr></table></div>
<div class="DClear"></div></div>
<!-- #DiscussData -->
<div id="discussBox_C"><!--S.discussBox_C-->
<?php $Coun0=1; foreach ($tmpDefault->sData_Discuss_C as $Row0){ ?>
<div class="ShopD_1_13">
<div class="ShopD_1_16"><span>#<?php echo ($Coun0); ?></span> 网友：<?php echo ($Row0['shsdctPublisher_Name']); ?> 发表于 <?php echo ($Row0['shsdtCreateTime']); ?></span></div>
<div class="ShopD_1_15"><?php echo ($Row0['shsdctContent']); ?></div>
<ul class="ShopD_1_18"> 
<li class="ShopD_1_21"><a href="#Here">回复</a></li>
<li class="ShopD_1_21"><a href="#Here" onclick="tmpShop.OnDetail_DiscussEvaluation(0,<?php echo ($Row0['shsdtID']); ?>,1);">无用(<span id="discussEvaluation_<?php echo ($Row0['shsdtID']); ?>_1"><?php echo ($Row0['shsdctCode_BeNegative']); ?></span>)</a></li>
<li class="ShopD_1_21"><a href="#Here" onclick="tmpShop.OnDetail_DiscussEvaluation(0,<?php echo ($Row0['shsdtID']); ?>,0);">有用(<span id="discussEvaluation_<?php echo ($Row0['shsdtID']); ?>_0"><?php echo ($Row0['shsdctCode_BePositive']); ?></span>)</a></li>
<li class="ShopD_1_19">这条评价对您：</li>
<li class="DClear"></li></ul>
<?php
$tmpSQL=' SELECT A.shsdtID,A.shsdtName,A.shsdtCreateTime,
	B.shsdctContent,B.shsdctPublisher_Name,B.shsdctCode_BePositive,B.shsdctCode_BeNegative
	FROM {Nets.TableHead}shopsalediscuss AS A
	INNER JOIN {Nets.TableHead}shopsalediscusscont AS B ON B.shsdctIndexID=A.shsdtID
	WHERE 1=1 AND A.shsdtRecycle=0 AND A.shsdtChecked>1 AND A.shsdtParentid={Nets.Parentid}
	ORDER BY A.shsdtOrderBy DESC,A.shsdtID DESC ';
$tmpSTR=str_replace('{Nets.TableHead}',$tmpDefault->sysTableHead,$tmpSQL);
$tmpSTR=str_replace('{Nets.Parentid}',$Row0['shsdtID'],$tmpSTR);
$tmpData1=$tmpDefault->sDb->Search($tmpSTR);
$Coun1=0;
foreach($tmpData1 as $Row1){ ?>
<div class="ShopD_1_16"><?php echo ($Row1['shsdctPublisher_Name']); ?>回复：</div>
<div class="ShopD_1_15"><?php echo ($Row1['shsdctContent']); ?></div>
<?php $Coun1++; } ?>
</div>
<?php $Coun0++; } ?>
<!-- #Pagebutton -->
<br /><div><?php $tmpDefault->sPButton_Ajax_C->showPage(); ?></div><br />
<!--sendRequest--><!--E.discussBox_C--></div>
<!-- #DiscussBox -->
<div class="DocDe_49"><table cellpadding="0" cellspacing="8">
<?php
$tmpFlag='Normal';
foreach ($tmpDefault->sUiDescription_0 as $Row0){ if($Row0['stcoctUiLabelid']==1){
	$tmpDefault->DefUiPanel($Row0,$tmpFlag);
	$tmpControls->getControl($Row0);
} } ?>
<tr><td></td><td class="FBlack4">网友评论只表达了其个人看法，并不表示本站同意其观点。</td></tr>
<tr><td></td><td><input type="submit" value="提交评论" onclick="tmpCommon.setActionType('','DAdd_C','','ID=<?php echo($tmpDefault->sMainID); ?>');" /></td></tr>
</table></div>


</div><br />







<br /><br /><br />
</div><div class="DClear"></div></div><br />
<?php }else{ ?>
<div class="Error_51"><br /><br /><br /><br /><br /><br /><br />
<div class="Error_52">您所查看的商品并不存在。</div>
<div class="Error_53">您所查看的商品并不存在，您可以查看其它商品：<br />
	<?php foreach ($tmpDefault->sOtherData as $Row0){ ?>
	<a href="../../../Plus/m_default/Shop/saleDetail.php?ID=<?php echo ($Row0['shstID']); ?>" class="FPoint0 Link1 FBlack2" target="_blank"><?php echo ($Row0['shstName']); ?></a><span class="Error_54"><?php echo ($tmpDefault->sCode->TimeFormat($Row0['shstCreateTime'],0)); ?></span><br />
	<?php } ?></div>
<br /><br /><br /><br /><br /><br /><br /></div>
<?php } ?>
<!-- ------ #SCRIPT ------ -->
<script type="text/javascript">
var tmpZone=new Zone();
var tmpShop=new Shop();
var tmpOrder=new Order();
tmpZone.sFlag="Shop";
tmpShop.OnNavigation(0);
tmpShop.OnDetail_Tab_A("A",0);
tmpShop.OnDetail_TabSearch_A("B",0);
tmpShop.OnDetail_TabSearch_A("C",0);
tmpShop.OnSets_Tab("A",0);


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