{if $youhui_list}
<div class="index_right_box">
	<div class="box_top">
			<div class="f_l">热门优惠券</div>
			<div class="f_r top_more"><a href="{url x="youhui" r="fcate"}">更多</a></div>
	</div>
	<div class="box_main clearfix">
		{foreach from=$youhui_list item=right_youhui_item key=key}
			<div class="right_youhui_item">
				<div class="right_youhui_ico">
				<a href="{url x="youhui" r="fdetail" p="id=$right_youhui_item.id"}" title="{$right_youhui_item.name}" target="_blank"><img src="{function name="get_spec_image" v=$right_youhui_item.icon w=50 h=50 g=1}" width="50" height="50" alt="{$right_youhui_item.name}" class="lazy" /></a>
				</div>
				<div class="right_youhui_info">					
					<a href="{url x="youhui" r="fdetail" p="id=$right_youhui_item.id"}" title="{$right_youhui_item.name}" target="_blank" class="title_link">{function name="msubstr" v=$right_youhui_item.name b=0 e=18}</a>
					<div class="blank1"></div>
					<div class="youhui_downcount"><span style="color:#fe7000; font-weight:bolder; font-family:verdana;"><?php echo intval($this->_var['right_youhui_item']['sms_count'])+intval($this->_var['right_youhui_item']['print_count']);?></span>人已下载</div>		
				</div>
			</div>
		{/foreach}
	</div>
</div>
<div class="blank"></div>
{/if}
<adv adv_id="首页右侧优惠券模块广告" />