<!-- ------ #RIGHT ------ -->
<div class="Fav_FrameR">
<!-- ### -->
<ul class="FavT_2_1">
<li class="FavT_2_2"><a href="../../../Plus/m_default/Shop/favourableList.php" class="Link1 FBlue2">推荐优惠券</a></li>

<li class="DClear"></li></ul>
<div class="FavD_1_49">
<?php
$tmpSQL=' SELECT A.shftID,A.shftName,A.shftNameStyle,
	B.shfctSourceR00
	FROM {Nets.TableHead}shopfavourable AS A
	INNER JOIN {Nets.TableHead}shopfavourablecont AS B ON B.shfctIndexID=A.shftID
	WHERE 1=1 AND A.shftRecycle=0 AND A.shftChecked>1
	ORDER BY A.shftOrderBy DESC,A.shftID DESC LIMIT 0,4 ';
$tmpSTR=str_replace('{Nets.TableHead}',$tmpDefault->sysTableHead,$tmpSQL);
$tmpData0=$tmpDefault->sDb->Search($tmpSTR);
$Coun0=0;
foreach($tmpData0 as $Row0){ if($Coun0==0){ ?>
<div class="FavD_1_13"><a href="../../../Plus/m_default/Shop/favourableDetail.php?ID=<?php echo($Row0['shftID']); ?>" target="_blank"><img src="<?php echo($Row0['shfctSourceR00']); ?>" /></a></div>
<div class="FavD_1_14"><a href="../../../Plus/m_default/Shop/favourableDetail.php?ID=<?php echo($Row0['shftID']); ?>" class="Link1 FBlack2" target="_blank"><?php echo($Row0['shftName']); ?></a></div>

<?php }else { ?>
<div class="FavD_1_15"><a href="../../../Plus/m_default/Shop/favourableDetail.php?ID=<?php echo($Row0['shftID']); ?>" class="Link1 FBlack2" target="_blank">·<?php echo($tmpDefault->sCode->SubString($Row0['shftName'],0,48)); ?></a></div>

<?php } $Coun0++; } ?>
</div><div class="Shadow">&nbsp;</div>





</div>