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

?>
<link href="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Ssheet/User/Zone.css" rel="stylesheet" />
<script src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/JScript/User/Zone.js" type="text/javascript"></script>
<link href="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Ssheet/User/Shop.css" rel="stylesheet" />
<script src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/JScript/User/Shop.js" type="text/javascript"></script>
<link href="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Ssheet/User/Code.css" rel="stylesheet" />
<script src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/JScript/User/Code.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/codeHome.php" class="Link1 FBlack1">积分商城首页</a>
<?php
$Coun0=count($tmpDefault->sNavigation)-2;
while ($Coun0>-1) { ?>
<span>>></span> <a href="../../../Plus/m_default/Shop/codeList.php?ID=<?php echo ($tmpDefault->sNavigation[$Coun0]['shcsgtID']); ?>" class="Link1 FBlack1"><?php echo ($tmpDefault->sNavigation[$Coun0]['shcsgtName']); ?></a>
<?php $Coun0--; } ?>
<span>>></span> <a href="#Here" class="Link1 FBlack1"><?php echo($tmpDefault->sMetaTitle); ?></a></div></div>

<!-- ------ #Content ------ -->
<!-- #Search -->
<div class="OutFrame_A DHidden"><div class=""><table class="" cellpadding="0" cellspacing="8"><tr>
<td><select id="" name=""></select></td>
<td><input id="" name="" type="text" /></td>
<td><input value="查询" type="button" /></td>
</tr></table></div></div>
<!-- #Content -->
<div class="OutFrame_A">
<!-- #Menu -->
<?php require($netsFileConfig['bussinessTemplatePackagePath'].'Component/Menu_Code_0.php'); ?>
<!-- #Center -->
<div class="Code_C">
<!-- ### -->
<div class="Code_C_2"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Shop/6.jpg" /></div>
<!-- ### -->
<ul class="Code_C_3">
<li class="Code_C_5"><a href="../../../Plus/m_default/Shop/codeList.php" class="Link1 FBlue1">推荐积分商品</a></li>
<li class="DClear"></li></ul>
<ul class="Code_C_9">
<?php
$tmpSQL=' SELECT A.shcstID,A.shcstName,A.shcstPrice,B.shcsctSourceR00
	FROM {Nets.TableHead}shopcodesale AS A
	INNER JOIN {Nets.TableHead}shopcodesalecont AS B ON B.shcsctIndexID=A.shcstID
	WHERE 1=1 AND A.shcstRecycle=0 AND A.shcstChecked>1
	ORDER BY A.shcstOrderBy DESC,A.shcstID DESC LIMIT 0,5 ';
$tmpSTR=str_replace('{Nets.TableHead}',$tmpDefault->sysTableHead,$tmpSQL);
$tmpData0=$tmpDefault->sDb->Search($tmpSTR);
foreach($tmpData0 as $Row0){ ?>
<li class="Code_C_10">
<div class="Code_C_11"><a href="../../../Plus/m_default/Shop/codeDetail.php?ID=<?php echo($Row0['shcstID']); ?>" target="_blank"><img src="<?php echo($Row0['shcsctSourceR00']); ?>" /></div>
<div class="Code_C_12"><a href="../../../Plus/m_default/Shop/codeDetail.php?ID=<?php echo($Row0['shcstID']); ?>" class="Link1 FBlue1" target="_blank"><?php echo($tmpDefault->sCode->SubString($Row0['shcstName'],0,12)); ?></a></div>
<div class="Code_C_13">现只需<?php echo($Row0['shcstPrice']); ?>积分</div>
</li>
<?php $Coun0++; } ?>
<li class="DClear"></li></ul>
<!-- ### -->
<ul class="Code_C_3">
<li class="Code_C_5"><a href="../../../Plus/m_default/Shop/codeList.php" class="Link1 FBlue1">热门积分商品</a></li>
<li class="DClear"></li></ul>
<ul class="Code_C_9">
<?php
$tmpSQL=' SELECT A.shcstID,A.shcstName,A.shcstPrice,B.shcsctSourceR00
	FROM {Nets.TableHead}shopcodesale AS A
	INNER JOIN {Nets.TableHead}shopcodesalecont AS B ON B.shcsctIndexID=A.shcstID
	WHERE 1=1 AND A.shcstRecycle=0 AND A.shcstChecked>1
	ORDER BY A.shcstOrderBy DESC,A.shcstID DESC LIMIT 0,5 ';
$tmpSTR=str_replace('{Nets.TableHead}',$tmpDefault->sysTableHead,$tmpSQL);
$tmpData0=$tmpDefault->sDb->Search($tmpSTR);
foreach($tmpData0 as $Row0){ ?>
<li class="Code_C_10">
<div class="Code_C_11"><a href="../../../Plus/m_default/Shop/codeDetail.php?ID=<?php echo($Row0['shcstID']); ?>" target="_blank"><img src="<?php echo($Row0['shcsctSourceR00']); ?>" /></div>
<div class="Code_C_12"><a href="../../../Plus/m_default/Shop/codeDetail.php?ID=<?php echo($Row0['shcstID']); ?>" class="Link1 FBlue1" target="_blank"><?php echo($tmpDefault->sCode->SubString($Row0['shcstName'],0,12)); ?></a></div>
<div class="Code_C_13">现只需<?php echo($Row0['shcstPrice']); ?>积分</div>
</li>
<?php $Coun0++; } ?>
<li class="DClear"></li></ul>

<!-- ### -->
<ul class="Code_C_3">
<li class="Code_C_5"><a href="../../../Plus/m_default/Shop/codeList.php" class="Link1 FBlue1">积分商品</a></li>
<li class="DClear"></li></ul>
<ul class="Code_C_9_A">
<?php
$tmpSQL=' SELECT A.shcstID,A.shcstName,A.shcstPrice,B.shcsctSourceR00
	FROM {Nets.TableHead}shopcodesale AS A
	INNER JOIN {Nets.TableHead}shopcodesalecont AS B ON B.shcsctIndexID=A.shcstID
	WHERE 1=1 AND A.shcstRecycle=0 AND A.shcstChecked>1
	ORDER BY A.shcstOrderBy DESC,A.shcstID DESC LIMIT 0,20 ';
$tmpSTR=str_replace('{Nets.TableHead}',$tmpDefault->sysTableHead,$tmpSQL);
$tmpData0=$tmpDefault->sDb->Search($tmpSTR);
foreach($tmpData0 as $Row0){ ?>
<li class="Code_C_10">
<div class="Code_C_11"><a href="../../../Plus/m_default/Shop/codeDetail.php?ID=<?php echo($Row0['shcstID']); ?>" target="_blank"><img src="<?php echo($Row0['shcsctSourceR00']); ?>" /></div>
<div class="Code_C_12"><a href="../../../Plus/m_default/Shop/codeDetail.php?ID=<?php echo($Row0['shcstID']); ?>" class="Link1 FBlue1" target="_blank"><?php echo($tmpDefault->sCode->SubString($Row0['shcstName'],0,12)); ?></a></div>
<div class="Code_C_13">现只需<?php echo($Row0['shcstPrice']); ?>积分</div>
</li>
<?php $Coun0++; } ?>
<li class="DClear"></li></ul>

<!-- ### -->
<div class="Code_C_1">
<span class="FRed3 FStrong">1.兑换规则：</span><br />
·每帐户每日只能兑换一定量的礼品，具体数量可以查询兑换礼品单品页说明；<br />
·部分礼品总量有限，每日兑换上限先到先得；<br />
·兑换后会扣除相应积分，兑换的礼品及兑换积分不能退回；<br /><br />
<span class="FRed3 FStrong">2.兑换商品使用小帖士：</span><br />
·兑换成功后，您可以到“我的京东-我的积分-兑换记录”中查询已兑换礼品；<br />
·兑换礼品使用/咨询服务由礼品提供商提供，如有疑问，可查看该礼品单品页介绍，或咨询礼品提供商；<br />
·兑换礼品均有有效期，请及时使用。<br /><br />
商务合作请联系：chenyajing@360buy.com   查看免责条款 <br />
</div>

</div>

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

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