<!-- ------ #Menu ------ -->
<div class="Shopcode_M">
<!-- ### -->
<ul class="Shopcode_Title_0">
<li class="Shopcode_Title_1"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Shop/1.jpg" /></li>
<li class="Shopcode_Title_2"><a href="../../../Plus/m_default/Shop/codeList.php" class="Link1 FBlack2">热门积分商品</a></li>
<li class="DClear"></li></ul>
<div class="Shopcode_Title_3 Shopcode_M_3">
<?php
$tmpSQL=' SELECT A.shcstID,A.shcstName
	FROM {Nets.TableHead}shopcodesale AS A 
	WHERE 1=1 AND A.shcstRecycle=0 AND A.shcstChecked>1 
	ORDER BY A.shcstOrderBy DESC,A.shcstID DESC LIMIT 0,8 ';
$tmpSTR=str_replace('{Nets.TableHead}',$tmpDefault->sysTableHead,$tmpSQL);
$tmpData0=$tmpDefault->sDb->Search($tmpSTR);
$Coun0=0;
foreach($tmpData0 as $Row0){ ?>
<a href="../../../Plus/m_default/Shop/codeDetail.php?ID=<?php echo($Row0['shcstID']); ?>" class="Link1 FBlack2" target="_blank"><?php echo($Row0['shcstName']); ?></a><br />
<?php $Coun0++; } ?>
</div>
<!-- ### -->
<ul class="Shopcode_Title_0">
<li class="Shopcode_Title_1"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Shop/1.jpg" /></li>
<li class="Shopcode_Title_2"><a href="../../../Plus/m_default/Cms/docList.php" class="Link1 FBlack2">积分商城公告</a></li>
<li class="DClear"></li></ul>
<div class="Shopcode_Title_3 Shopcode_M_3">
<?php
$tmpParid=1;
$tmpSQL=' SELECT A.cdtID,A.cdtName,B.cdctContent
	FROM {Nets.TableHead}cmsdoc AS A 
	INNER JOIN {Nets.TableHead}cmsdoccont AS B ON B.cdctIndexID=A.cdtID
	WHERE 1=1 AND A.cdtRecycle=0 AND A.cdtChecked>1 AND A.cdtParid={Nets.Parid}
	ORDER BY A.cdtOrderBy DESC,A.cdtID DESC LIMIT 0,3 ';
$tmpSTR=str_replace('{Nets.TableHead}',$tmpDefault->sysTableHead,$tmpSQL);
$tmpSTR=str_replace('{Nets.Parid}',$tmpParid,$tmpSTR);
$tmpData0=$tmpDefault->sDb->Search($tmpSTR);
$Coun0=0;
foreach($tmpData0 as $Row0){ ?>
<a href="../../../Plus/m_default/Cms/docDetail.php?ID=<?php echo($Row0['cdtID']); ?>" class="Link1 FBlack2 FStrong" target="_blank"><?php echo($Row0['cdtName']); ?></a><br /><span class=""><?php echo($tmpDefault->sCode->SubString($tmpDefault->sCode->FilterHTML($Row0['cdctContent'],0,''),0,48)); ?></span><br />
<?php $Coun0++; } ?>
</div>
<!-- ### -->
<ul class="Shopcode_Title_0">
<li class="Shopcode_Title_1"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Shop/1.jpg" /></li>
<li class="Shopcode_Title_2"><a href="../../../Plus/m_default/Shop/codeList.php" class="Link1 FBlack2">积分商品分类</a></li>
<li class="DClear"></li></ul>
<div class="Shopcode_Title_3">
<?php
$tmpParid=3;
$tmpSQL=' SELECT A.shcsgtID,A.shcsgtName
	FROM {Nets.TableHead}shopcodesalegroup AS A 
	WHERE 1=1 AND A.shcsgtRecycle=0 AND A.shcsgtChecked>1 AND A.shcsgtParid={Nets.Parid}
	ORDER BY A.shcsgtOrderBy DESC,A.shcsgtID DESC LIMIT 0,12 ';
$tmpSTR=str_replace('{Nets.TableHead}',$tmpDefault->sysTableHead,$tmpSQL);
$tmpSTR=str_replace('{Nets.Parid}',$tmpParid,$tmpSTR);
$tmpData0=$tmpDefault->sDb->Search($tmpSTR);
$Coun0=0;
foreach($tmpData0 as $Row0){ ?>
<div class="Shopcode_M_1"><a href="../../../Plus/m_default/Shop/codeList.php?ID=<?php echo($Row0['shcsgtID']); ?>" class="Link1 FBlack2" target="_blank"><?php echo($Row0['shcsgtName']); ?></a></div>
<div class="Shopcode_M_2">
<?php
$tmpSTR=str_replace('{Nets.TableHead}',$tmpDefault->sysTableHead,$tmpSQL);
$tmpSTR=str_replace('{Nets.Parid}',$Row0['shcsgtID'],$tmpSTR);
$tmpData1=$tmpDefault->sDb->Search($tmpSTR);
$Coun1=0;
foreach($tmpData1 as $Row1){ ?>
<a href="../../../Plus/m_default/Shop/codeList.php?ID=<?php echo($Row1['shcsgtID']); ?>" class="Link1 FBlack2" target="_blank"><?php echo($Row1['shcsgtName']); ?></a>
<?php $Coun1++; } ?>
</div>
<?php $Coun0++; } ?>
</div>

</div>
