<?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" />
<link href="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Ssheet/User/SOrder.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/SOrder.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/auctionHome.php" class="Link1 FBlack1">拍卖首页</a>
<?php
$Coun0=count($tmpDefault->sNavigation)-2;
while ($Coun0>-1) { ?>
<span>>></span> <a href="../../../Plus/m_default/Shop/auctionList.php?ID=<?php echo ($tmpDefault->sNavigation[$Coun0]['shagtID']); ?>" class="Link1 FBlack1"><?php echo ($tmpDefault->sNavigation[$Coun0]['shagtName']); ?></a>
<?php $Coun0--; } ?></div></div>
<!-- ------ #Content ------ -->
<div class="OutFrame_A">
<!-- ------ #Menu ------ -->
<div class="SOrder_M Margin_Top">
<?php require($netsFileConfig['bussinessTemplatePackagePath'].'Component/Menu_SOrder_0.php'); ?>
</div>
<!-- ------ #Center ------ -->
<div class="SOrder_C Margin_Top">
<!-- ------ #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->sState2 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><br />
<!-- ### -->
<ul class="SOrder_Title_7 Margin_Top">
<li class="SOrder_Title_10">共找到<span class="Shop_Title_11_0"><?php echo($tmpDefault->sRecordCount); ?></span>条订单信息</li>

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

<li class="DClear"></li></ul>
<ul class="">
<?php
$Coun0=0;
foreach($tmpDefault->sListData as $Row0){ ?>
<li class="SOrder_3_1">
<table class="SOrder_3_2" cellpadding="0" cellspacing="0"><tr>

<td class="SOrder_3_3" style="width:140px;"><a href="../../../Plus/m_default/Shop/orderDetail.php?ID=<?php echo($Row0['shsotID']); ?>" class="Link1 FBlack2" target="_blank"><?php echo($Row0['shsotNumCode']); ?></a></td>
<td class="SOrder_3_3" style="width:220px;"><span class="SOrder_3_4">订单状态：</span><?php foreach($tmpDefault->sState2 as $Row1){ if($Row0['shsotState']==$Row1['Value']){ echo($Row1['Text']); } } ?></td>
<td class="SOrder_3_3" style="width:160px;">
<span class="SOrder_3_4">总金额：</span><?php echo($Row0['shsotTotalPrice']); ?><br />
<span class="SOrder_3_4">总积分：</span><?php echo($Row0['shsotTotalCode']); ?></td>
<td class="SOrder_3_3" style="width:200px;">
<span class="SOrder_3_4">订购人：</span><?php echo($Row0['shsoctPublisher_Name']); ?><br />
<span class="SOrder_3_4">订购时间：</span><?php echo($Row0['shsotCreateTime']); ?></td>

</tr></table>
<ul class="">
<?php
$tmpSQL=' SELECT A.shstID,A.shstName,A.shstPrice,B.shsctSourceR00
	FROM {Nets.TableHead}shopsale AS A
	INNER JOIN {Nets.TableHead}shopsalecont AS B ON B.shsctIndexID=A.shstID
	WHERE 1=1 AND A.shstRecycle=0 AND A.shstChecked>1 AND (1=2 {Nets.IDS})
	ORDER BY A.shstID DESC ';
$tmpSTR=str_replace('{Nets.TableHead}',$tmpDefault->sysTableHead,$tmpSQL);
$tmpAR1=explode($tmpDefault->sysSPLIT5,$Row0['shsoctSales']);
$tmpSTR_0='';
foreach($tmpAR1 as $Row1){
	$tmpAR2=explode($tmpDefault->sysSPLIT2,$Row1);
	if(count($tmpAR2)==9){
		$tmpSTR_0.=' OR A.shstID='.$tmpAR2[0];
	}
}
$tmpSTR=str_replace('{Nets.IDS}',$tmpSTR_0,$tmpSTR);
$tmpData1=$tmpDefault->sDb->Search($tmpSTR);
$Coun1=0;
foreach($tmpData1 as $Row1){ ?>
<li class="SOrder_3_8">
<div class="SOrder_3_9"><a href="../../../Plus/m_default/Shop/saleDetail.php?ID=<?php echo($Row1['shstID']); ?>" target="_blank"><img src="<?php echo($Row1['shsctSourceR00']); ?>" /></a></div>
<div class="SOrder_3_10"><?php echo($Row1['shstPrice']); ?></div>
<div class="SOrder_3_11"><a href="../../../Plus/m_default/Shop/saleDetail.php?ID=<?php echo($Row1['shstID']); ?>" class="Link3 FBlue3" target="_blank"><?php echo($Row1['shstName']); ?></a></div>
</li>
<?php $Coun1++; } ?>
<li class="DClear"></li></ul>
</li>
<?php $Coun0++; } ?>
<li class="DClear"></li></ul>
<!-- #Pagebutton -->
<div><?php $tmpDefault->sPButton->showPage(); ?></div><br />





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


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