<?php require($netsFileConfig['bussinessTemplatePackagePath'].'Component/Head_Shop_0.php'); ?>
<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" />
<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 ------ -->
<div class="OutFrame_A">



<!-- #Order_navigation -->
<ul class="Order_1_1">
<li class="Order_1_1A"><img src="<?php echo($netsFileConfig['sysCoreRoot']); ?>Ui/m_nets/Img/User/Shop/48.jpg" /></li>
<li class="Order_1_1B">结算步骤：</li>
<li class="Order_1_1A"><img src="<?php echo($netsFileConfig['sysCoreRoot']); ?>Ui/m_nets/Img/User/Shop/49.jpg" /></li>
<li class="Order_1_1B">1.选择商品</li>
<li class="Order_1_1A"><img src="<?php echo($netsFileConfig['sysCoreRoot']); ?>Ui/m_nets/Img/User/Shop/49.jpg" /></li>
<li class="Order_1_1D">2.确认购物车内容</li>
<li class="Order_1_1A"><img src="<?php echo($netsFileConfig['sysCoreRoot']); ?>Ui/m_nets/Img/User/Shop/49.jpg" /></li>
<li class="Order_1_1B">3.换购结算</li>
<li class="Order_1_1A"><img src="<?php echo($netsFileConfig['sysCoreRoot']); ?>Ui/m_nets/Img/User/Shop/49.jpg" /></li>
<li class="Order_1_1B">4.成功换购</li>
<li class="Order_1_1C"><img src="<?php echo($netsFileConfig['sysCoreRoot']); ?>Ui/m_nets/Img/User/Shop/50.jpg" /></li>
<li class="DClear"></li></ul>
<div class="Order_1_2">您已选购以下商品：</div>
<!-- #Order_car -->
<div id="OrderInfo" class="Order_1_3">
<table class="Order_1_4" cellpadding="0" cellspacing="1">
<tr class="Order_1_5">
	<th>商品名</th>
	<th class="DHidden">单品积分</th>
	<th class="DHidden">市场价</th>
	<th>本店价（总积分）</th>
	<th>本店单价</th>
	<th class="DHidden">优惠</th>
	<th>数量</th>
	<th>操作</th></tr>
<?php
$tmpTotalcode=0.00;
$tmpTotalprice=0.00;
$tmpTotalmarketprice=0.00;
$Coun0=0;
foreach ($tmpDefault->sData_Orderlist as $Row0){ ?>
<tr id="OrderInfo_Row_<?php echo($Coun0); ?>" class="Order_1_6">
<td class="Order_1_15"><a href="../../../Plus/m_default/Shop/codeDetail.php?ID=<?php echo ($Row0['shcstID']); ?>" class="Link3 FGreen1" target="_blank"><?php echo ($Row0['shcstName']); ?></a>

<input id="Order_<?php echo($Coun0); ?>_Price0_Txt" name="Order_<?php echo($Coun0); ?>_Price0_Txt" value="<?php echo($Row0['shcsctPrice0']); ?>" type="hidden" />
<input id="Order_<?php echo($Coun0); ?>_PeopleLowLimit_Txt" name="Order_<?php echo($Coun0); ?>_PeopleLowLimit_Txt" value="<?php echo($Row0['shcsctCount_PeopleLowLimit']); ?>" type="hidden" />
<input id="Order_<?php echo($Coun0); ?>_PeopleHighLimit_Txt" name="Order_<?php echo($Coun0); ?>_PeopleHighLimit_Txt" value="<?php echo($Row0['shcsctCount_PeopleHighLimit']); ?>" type="hidden" />

<input id="Order_<?php echo($Coun0); ?>_ID_Txt" name="Order_<?php echo($Coun0); ?>_ID_Txt" value="<?php echo ($Row0['shcstID']); ?>" type="hidden" />
<!--<input id="Order_<?php echo($Coun0); ?>_Count_Txt" name="Order_<?php echo($Coun0); ?>_Count_Txt" value="<?php echo ($Row0['Count']); ?>" type="hidden" />-->
<input id="Order_<?php echo($Coun0); ?>_Price_Txt" name="Order_<?php echo($Coun0); ?>_Price_Txt" value="<?php echo ($Row0['Price']); ?>" type="hidden" />
<input id="Order_<?php echo($Coun0); ?>_Code_Txt" name="Order_<?php echo($Coun0); ?>_Code_Txt" value="<?php echo ($Row0['Code']); ?>" type="hidden" />
<input id="Order_<?php echo($Coun0); ?>_Activeid_Txt" name="Order_<?php echo($Coun0); ?>_Activeid_Txt" value="<?php echo ($Row0['Activeid']); ?>" type="hidden" />
<input id="Order_<?php echo($Coun0); ?>_Parentid_Txt" name="Order_<?php echo($Coun0); ?>_Parentid_Txt" value="<?php echo ($Row0['Parentid']); ?>" type="hidden" />
<input id="Order_<?php echo($Coun0); ?>_Type_Txt" name="Order_<?php echo($Coun0); ?>_Type_Txt" value="<?php echo ($Row0['Type']); ?>" type="hidden" />
<input id="Order_<?php echo($Coun0); ?>_Parameters_Txt" name="Order_<?php echo($Coun0); ?>_Parameters_Txt" value="<?php echo ($Row0['Parameters']); ?>" type="hidden" />

</td>
<td class="DHidden">&nbsp;</td>
<td class="DHidden"><span id="OrderInfo_Pay0_<?php echo($Coun0); ?>">0</span></td>
<td><span id="OrderInfo_Pay_<?php echo($Coun0); ?>"><?php echo ($Row0['Price']*$Row0['Count']); ?></span>分</td>
<td><span id="OrderInfo_Price_<?php echo($Coun0); ?>"><?php echo($Row0['Price']); ?></span>分</td>
<td class="DHidden">&nbsp;</td>
<td><table cellpadding="0" cellspacing="0"><tr>
	<td><a href="#Here" onclick="tmpOrder.OnOrder_CountAdd(<?php echo($Coun0); ?>);"><img src="<?php echo($netsFileConfig['sysCoreRoot']); ?>Ui/m_nets/Img/User/Shop/28_A.jpg" /></a></td><td>&nbsp;</td>
	<td><input id="Order_<?php echo($Coun0); ?>_Count_Txt" name="Order_<?php echo($Coun0); ?>_Count_Txt" value="<?php echo ($Row0['Count']); ?>" class="SControl1" onclick="tmpControl.onControlLight(this,'SControl1');" onblur="tmpControl.onControlBlur(this,'SControl1');" onchange="tmpOrder.OnOrder_ReCalculation();" style="width:40px;" /></td><td>&nbsp;</td>
	<td><a href="#Here" onclick="tmpOrder.OnOrder_CountSub(<?php echo($Coun0); ?>);"><img src="<?php echo($netsFileConfig['sysCoreRoot']); ?>Ui/m_nets/Img/User/Shop/28_B.jpg" /></a></td>
	</tr></table></td>
<td><a href="#Here" onclick="tmpOrder.OnOrder_DeleteRow(<?php echo($Coun0); ?>);" class="FBlue1 Link1">删除</a></td>
</tr>
<?php
	$tmpTotalcode+=$Row0['Code']*$Row0['Count'];
	$tmpTotalprice+=$Row0['Price']*$Row0['Count'];
	$tmpTotalmarketprice+=$Row0['shcsctPrice0']*$Row0['Count'];
	$Coun0++; 
}
if($Coun0==0){ ?>
<tr class="Order_1_7"><td colspan="7" class="FSize1 FStrong">您的购物车现在是空的。</td></tr>
<?php } ?>
</table>
<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" />

<!-- #Buttons -->
<ul class="Order_1_10">
<!-- ### -->
<li class="Order_1_11">
<a href="#Here" class="Link1 FBlue1">[百货促销区]</a> 本区商品已满足“满300元减30元现金
<a href="#Here" class="Link1 FBlue1">挑选活动商品>></a>
<br />
<a href="#Here" class="Link1 FRed2">继续挑选商品>></a>
<a href="#Here" class="Link1 FRed2">再逛逛暂存架>></a>

</li>
<!-- ### -->
<li class="Order_1_12"><a href="#Here" onclick="tmpCommon.OnUserURL('../../../Plus/Common/Shop/codesaleorder_list.php','对不起，登陆后才能结算');"><img src="<?php echo($netsFileConfig['sysCoreRoot']); ?>Ui/m_nets/Img/User/Shop/47.jpg" /></a></li>
<!-- ### -->
<li class="Order_1_13">
商品积分总计：<span id="OrderInfo_TotalPay"><?php echo($tmpTotalprice); ?></span>分
<span id="OrderInfo_TotalSaveprice" class="DHidden"><?php echo($tmpTotalmarketprice-$tmpTotalprice); ?></span>
<span id="OrderInfo_TotalCode" class="DHidden"><?php echo($tmpTotalcode); ?></span>
</li>
<li class="DClear"></li></ul>





<!-- ------ ### ------ -->
<br /><div class="Order_1_30">
* 您购物车中的商品信息，我们将为您保存30天，请您及时购买。购物车中显示的价格为商品的最新价格。<br />
* 您对购物车满意么？请<a href="../../../Plus/m_default/Cms/feedback.php" class="Link4 FBlack2" target="_blank">留下您的宝贵建议>></a>
</div><br /></div>
<!-- ------ #SCRIPT ------ -->
<script type="text/javascript">
var tmpShop=new Shop();
tmpShop.OnNavigation(0);
var tmpOrder=new Order();
tmpOrder.sCarURL="Plus/Common/Shop/codesalecar_list.php";
tmpOrder.sOrderURL="Plus/Common/Shop/codesaleorder_list.php";



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