<!-- ------ #Content ------ -->
<div id="panel_Normal"><!--S.Normal-->
<!-- #Tab -->
<ul id="NormalTab_Box" class="Tab"><?php $tmpDefault->DefUiButton('ReportLink',array()); ?>
	<li id="ListTab_Option_0" class="Tab_Option" onmouseover="tmpControl.onTabOptionShow('Tab_Option_ListCount','Tab_Option_Box',0);" onmouseout="tmpControl.onTabOptionShow('Tab_Option_ListCount','',1);">
		<div id="Tab_Option_ListCount" class="DHidden"><?php echo ($tmpControlPage->getPrevNextRecord($tmpDefault->sysPage,$tmpDefault->sPrevid,$tmpDefault->sNextid,$tmpDefault->sPrevNextRecordParameters)); ?></div>
		<a href="#Here" class="Link1 FBlack2"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/Common/Img/Common/icon_16.jpg" /></a></li>
	<?php $tmpDefault->DefUiButton('ReportHead',array()); ?><li class="DClear"></li></ul>
<ul id="NormalTabChild_Box" class="TabChild">
<?php
$tmpFlag='Report';
$tmpDataCollection0=$tmpDefault->filterColumnByType($tmpDefault->sUiDescription_Normal,'4');
$Coun0=0;
foreach ($tmpDataCollection0 as $Row0){
	$tmpStyle0='TabChildNormal';
	if($Coun0==0){
		$tmpStyle0='TabChildSelected';
	} ?>
	<li id="panelChildLink<?php echo ($Coun0) ?>" class="<?php echo ($tmpStyle0); ?>"><a href="#Here" class="Link1 FBlack4" title="<?php echo ($Row0['stcoctUiIntroduct']); ?>" onclick="tmpControl.onTabChildSlide(<?php echo ($Coun0); ?>);"><?php echo ($Row0['stcoctUiName']); ?></a></li>
	<li class="TabChildSplit"><img src="<?php echo($netsFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/Mana/34.jpg" /></li>
<?php
	$Coun0++;
}
$tmpPrevCount=$Coun0;
?>
<?php $tmpDefault->DefUiButton('ReportChildLink',array()); ?><li class="DClear"></li></ul>

<!-- ------ #Content ------ -->
<!-- ------ #TITLE ------ -->
<?php if(count($tmpDefault->sDetailData)==0){ ?>
<div class="Order_Error"><br /><br /><br />对不起，您所要查看的订单并不存在<br /><br /><br /></div>

<?php }else{ ?>
<!-- ------ #Orderinfo ------ -->
<div class="ConfirmOrder_1_51">
<span class="FStrong">当前订单状态：</span><span><?php foreach($tmpDefault->sState1 as $Row0){ if($tmpDefault->sDetailData[0]['shcsotState']==$Row0['Value']){ echo($Row0['Text']); } } ?></span><span class="Order_1_17">,</span>
<span class="FStrong">本订单总积分：</span><span><?php echo($tmpDefault->sDetailData[0]['shcsotTotalPrice']); ?></span>
</div>

<!-- ------ #GOODS ------ -->
<div id="OrderInfo">
<table class="ConfirmOrder_1_2" cellpadding="0" cellspacing="0">
<tr class="ConfirmOrder_1_3"><th class="ConfirmOrder_1_4_A"><a href="#Here"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/Mana/42.jpg" /></a></th>
	<th>商品名</th>
	<th>本店价（积分）</th>
	<th>本店单价</th>
	<th>数量</th>
<?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="ConfirmOrder_1_5">&nbsp;</td>
<td class="ConfirmOrder_1_13"><a href="../../../Mana/m_shop/action/codesale.php?ActionType=Normal&Normal=<?php echo ($Row0['shcstID']); ?>,0" class="Link3 FGreen1" target="_blank"><?php echo ($Row0['shcstName']); ?></a></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><?php echo ($Row0['Count']); ?></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="9" class="FSize1 FStrong">购物车现在是空的。</td></tr>
<?php } ?>
</table>
<div class="ConfirmOrder_1_12">
	<span class="FRed3">商品积分总计：</span><span id="OrderInfo_TotalPay" class="FRed3"><?php echo($tmpTotalprice); ?>分
	<?php if($tmpDefault->sActionType=='DView'){ ?> , 已支付了：￥<?php echo($tmpDefault->sDetailData[0]['shcsotPayyet']); ?><?php } ?></span> ,
	<span id="OrderInfo_TotalSaveprice" class="DHidden"><?php echo($tmpTotalmarketprice-$tmpTotalprice); ?></span>
	<span id="OrderInfo_TotalCode" class="DHidden"><?php echo($tmpTotalcode); ?></span>分</div>
<input id="OrderInfo_TotalPayTxt" name="OrderInfo_TotalPayTxt" value="<?php echo($tmpTotalprice); ?>" type="hidden" /><br />
</div>


<!-- ------ #OrderUserinfo ------ -->
<!-- #TITLE -->
<ul class="ConfirmOrder_1_21">
<li class="ConfirmOrder_1_22"><a href="#Here"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/Mana/42.jpg" /></a></li>
<li class="ConfirmOrder_1_23"><a href="#Here" class="Link1 FBlack2">用户联系方式与送货地址</a></li>
<li class="DClear"></li></ul>
<!-- #CONTENT -->
<div id="OrderUserinfo_Label" class="ConfirmOrder_1_48">
<?php
$Coun0=0;
foreach($tmpDefault->sReceiveaddress as $Row0){
	if($Row0['Value']==$tmpDefault->sData_Userinfohabits['Order_Userreceiveaddress']){ ?>
	<?php echo($Row0['shuractPublisher_Name']); ?>
	<?php echo($Row0['shuractZoneChoose']); ?>
	<?php echo($Row0['shuractAddress']); ?>
	邮编：<?php echo($Row0['shuractPostCode']); ?>
	手机：<?php echo($Row0['shuractAddress']); ?>
	电邮：<?php echo($Row0['shuractPublisher_Email']); ?>
	电话：<?php echo($Row0['shuractPublisher_Tele']); ?>
<?php } $Coun0++; } ?>
</div><br />

<!-- ------ #OrderSendmodel ------ -->
<!-- #TITLE -->
<ul class="ConfirmOrder_1_21">
<li class="ConfirmOrder_1_22"><a href="#Here"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/Mana/42.jpg" /></a></li>
<li class="ConfirmOrder_1_23"><a href="#Here" class="Link1 FBlack2">配送方式</a></li>
<li class="DClear"></li></ul>
<!-- #CONTENT -->
<div id="OrderSendmodel_Label" class="ConfirmOrder_1_48">
<?php
$Coun0=0;
foreach($tmpDefault->sSendmodel as $Row0){
	if($Row0['Value']==$tmpDefault->sData_Userinfohabits['Order_Sendmodel']){
		echo($Row0['Text']);
	} $Coun0++; } ?>
</div><br />

<!-- ------ #OrderPaytype ------ -->
<!-- #TITLE -->
<ul class="ConfirmOrder_1_21 DHidden">
<li class="ConfirmOrder_1_22"><a href="#Here"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/Mana/42.jpg" /></a></li>
<li class="ConfirmOrder_1_23"><a href="#Here" class="Link1 FBlack2">支付方式</a></li>
<li class="DClear"></li></ul>
<!-- #CONTENT -->
<div id="OrderPaytype_Label" class="ConfirmOrder_1_48 DHidden">
<?php
$Coun0=0;
foreach($tmpDefault->sPaytype as $Row0){
	if($Row0['Value']==$tmpDefault->sData_Userinfohabits['Order_Userpaytype']){
		echo($Row0['Text'].$Row0['Introduct']);
	} $Coun0++; } ?>
</div><br />

<!-- ------ #OrderPayBeforehand ------ -->
<!-- #TITLE -->
<ul class="ConfirmOrder_1_21 DHidden">
<li class="ConfirmOrder_1_22"><a href="#Here"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/Mana/42.jpg" /></a></li>
<li class="ConfirmOrder_1_23"><a href="#Here" class="Link1 FBlack2">商品支付流程</a></li>
<li class="DClear"></li></ul>
<!-- #CONTENT -->
<div id="OrderPayBeforehand_Label" class="ConfirmOrder_1_48 DHidden">
<?php
$Coun0=0;
foreach($tmpDefault->sPayBeforehand as $Row0){
	if($Row0['Value']==$tmpDefault->sData_Userinfohabits['Order_PayBeforehand']){
		echo($Row0['Text']);
	} $Coun0++; } ?>
</div><br />


<!-- ------ #OrderOther ------ -->
<!-- #TITLE -->
<ul class="ConfirmOrder_1_21 DHidden">
<li class="ConfirmOrder_1_22"><a href="#Here"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/Mana/42.jpg" /></a></li>
<li class="ConfirmOrder_1_23"><a href="#Here" class="Link1 FBlack2">发票与优惠券</a></li>
<li class="DClear"></li></ul>
<!-- #CONTENT -->
<div id="OrderOther_Label" class="ConfirmOrder_1_48 DHidden">
<b>是否要发票：</b><?php
$Coun0=0;
foreach($tmpDefault->sInvoice as $Row0){
	if($Row0['Value']==$tmpDefault->sData_Invoice[0]){
		echo($Row0['Text']);
	} $Coun0++; } ?>&nbsp;&nbsp;
<b>索取人类型：</b><?php
$Coun0=0;
foreach($tmpDefault->sInvoice_Unit as $Row0){
	if($Row0['Value']==$tmpDefault->sData_Invoice[1]){
		echo($Row0['Text']);
	} $Coun0++; } ?>&nbsp;&nbsp;
<b>发票抬头：</b><?php echo($tmpDefault->sData_Invoice[2]); ?>&nbsp;&nbsp;
<b>发票类型：</b><?php
$Coun0=0;
foreach($tmpDefault->sInvoice_TitleType as $Row0){
	if($Row0['Value']==$tmpDefault->sData_Invoice[3]){
		echo($Row0['Text']);
	} $Coun0++; } ?>

</div><br />


<!-- ------ #OrderRemark ------ -->
<!-- #TITLE -->
<ul class="ConfirmOrder_1_21">
<li class="ConfirmOrder_1_22"><a href="#Here"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/Mana/42.jpg" /></a></li>
<li class="ConfirmOrder_1_23"><a href="#Here" class="Link1 FBlack2">其它信息</a></li>
<li class="DClear"></li></ul>
<!-- #CONTENT -->
<div class="ConfirmOrder_1_48"><table class="ConfirmOrder_1_52" cellpadding="0" cellspacing="0"><tr>

<td class="ConfirmOrder_1_53">提交时间：</td><td class="ConfirmOrder_1_54"><?php echo($tmpDefault->sDetailData[0]['shcsotCreateTime']); ?></td>
</tr><tr>
<td class="ConfirmOrder_1_53">备注：</td><td class="ConfirmOrder_1_54"><?php echo($tmpDefault->sDetailData[0]['shcsoctContent']); ?></td>


</tr></table></div><br />
<!-- ------ ### ------ -->
<!-- #TITLE -->
<ul class="ConfirmOrder_1_21">
<li class="ConfirmOrder_1_22"><a href="#Here"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/Mana/42.jpg" /></a></li>
<li class="ConfirmOrder_1_23"><a href="#Here" class="Link1 FBlack2">已往操作记录</a></li>
<li class="DClear"></li></ul>
<div class=""><table class="List" cellpadding="0" cellspacing="1">
<tr class="ListTitle">
<td class="ListTitle1" style="width:60px;"><a href="#Here" class="Link1 FNowrap">编号</a></td>
<td class="ListTitle0">操作内容</td>
<td class="ListTitle0">时间</td>
</tr>
<?php
$Coun0=0;
foreach($tmpDefault->sData_Record as $Row0){ ?>
<tr id="shcsotRow0" class="ListCell">
<td class="ListCellID"><?php echo($Row0['shsortID']); ?></td>
<td class="ListCellTitle"><a href="#Here" class="Link1 FBlue1"><?php echo($Row0['shsortNumCode']); ?></a><?php echo($Row0['shsorctContent']); ?></td>
<td id="shcsotTotalCodeTxtList0PanelBox" class="ListCellContent"><?php echo($Row0['shsortCreateTime']); ?></td>
</tr>
<?php $Coun0++; } ?>
</table></div>
<!-- ------ ### ------ -->
<!-- #TITLE -->
<ul class="ConfirmOrder_1_21">
<li class="ConfirmOrder_1_22"><a href="#Here"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/Mana/42.jpg" /></a></li>
<li class="ConfirmOrder_1_23"><a href="#Here" class="Link1 FBlack2">操作记录</a></li>
<li class="DClear"></li></ul>
<div class=""><table class="Panel" cellpadding="0" cellspacing="0">
<?php
$tmpFlag='Normal';
foreach ($tmpDefault->sUiDescription_Record as $Row0){
	$tmpDefault->DefUiPanel($Row0,$tmpFlag);
	$tmpControls->getControl($Row0);
} ?>
</table></div>
<!-- ------ #Button ------ -->
<div class="ConfirmOrder_1_27">
<!-- #INFO -->
<div class="ConfirmOrder_1_33">
	<!--
	货款：<span id="OrderInfo_TotalPay" class=""><?php echo($tmpTotalprice); ?></span> +
	运费：<span id="OrderInfo_TotalPay" class=""><?php echo($tmpTotalprice); ?></span> +
	发票：<span id="OrderInfo_TotalPay" class=""><?php echo($tmpTotalprice); ?></span> -
	优惠券：<span id="OrderInfo_TotalPay" class=""><?php echo($tmpTotalprice); ?></span> =
	-->
	<span class="FRed1">总计：<span id="OrderInfo_ALLPAY"><?php echo($tmpTotalprice); ?></span></span></div>
<!-- #BUTTON -->
<?php $tmpDefault->DefUiButton('Report',array()); ?>
<div class="DClear"></div></div>



<!-- ------ #PARAMETER ------ -->
<input id="shcsotNumCodeTxt" name="shcsotNumCodeTxt" value="<?php echo($tmpDefault->sDetailData[0]['shcsotNumCode']); ?>" type="hidden" />

<?php } ?>
<!-- ------ #ADV ------ -->
<div class="Adv_Button"><?php echo($tmpDefault->sNetsAdv_C); ?></div>
