<?php if ($this->_var['daijin_list']): ?>
<div class="index_right_box">
	<div class="box_top" style=" border-bottom:#ccc dotted 1px; ">
			<div class="f_l">热门代金券</div>
			<div class="f_r top_more"><a href="<?php
echo parse_url_tag("u:youhui|ycate|"."".""); 
?>">更多</a></div>
	</div>
	<div class="box_main clearfix">
		<?php $_from = $this->_var['daijin_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'right_daijin_item');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['right_daijin_item']):
?>
			<div>
			<div class="right_youhui_item right_daijin_item" <?php if ($this->_var['key'] > 0): ?>style="display:none;"<?php endif; ?>>
				<div class="right_youhui_ico">
				<a href="<?php
echo parse_url_tag("u:youhui|ydetail|"."id=".$this->_var['right_daijin_item']['id']."".""); 
?>" title="<?php echo $this->_var['right_daijin_item']['name']; ?>" target="_blank"><img src="<?php 
$k = array (
  'name' => 'get_spec_image',
  'v' => $this->_var['right_daijin_item']['icon'],
  'w' => '50',
  'h' => '50',
  'g' => '1',
);
echo $k['name']($k['v'],$k['w'],$k['h'],$k['g']);
?>" width="50" height="50" alt="<?php echo $this->_var['right_daijin_item']['name']; ?>"  /></a>
				</div>
				<div class="right_youhui_info">					
					<a href="<?php
echo parse_url_tag("u:youhui|ydetail|"."id=".$this->_var['right_daijin_item']['id']."".""); 
?>" title="<?php echo $this->_var['right_daijin_item']['name']; ?>" target="_blank" class="title_link"><?php 
$k = array (
  'name' => 'msubstr',
  'v' => $this->_var['right_daijin_item']['name'],
  'b' => '0',
  'e' => '18',
);
echo $k['name']($k['v'],$k['b'],$k['e']);
?></a>
					<div class="blank1"></div>
					<div class="f_l">
					<span style="color:#f30; font-size:14px; font-weight:bolder; font-family:verdana;"><?php echo $this->_var['right_daijin_item']['current_price_format']; ?></span>
					<span style="text-decoration:line-through; color:#999;"><?php echo $this->_var['right_daijin_item']['origin_price_format']; ?></span>
					</div>
					<div class="f_r">
						<a href="<?php
echo parse_url_tag("u:youhui|ydetail|"."id=".$this->_var['right_daijin_item']['id']."".""); 
?>" class="see_daijin"></a>
					</div>
				</div>
			</div>
		
			<div class="right_daijin_row_item" <?php if ($this->_var['key'] == 0): ?>style="display:none;"<?php endif; ?>>
				<div class="f_l">
					<a href="<?php
echo parse_url_tag("u:youhui|ydetail|"."id=".$this->_var['right_daijin_item']['id']."".""); 
?>" title="<?php echo $this->_var['right_daijin_item']['name']; ?>" target="_blank" class="title_link"><?php 
$k = array (
  'name' => 'msubstr',
  'v' => $this->_var['right_daijin_item']['name'],
  'b' => '0',
  'e' => '10',
);
echo $k['name']($k['v'],$k['b'],$k['e']);
?></a>
				</div>
				<div class="f_r" style="padding-right:10px;">
					<span style="color:#f30; font-size:12px; font-weight:bolder; font-family:verdana;"><?php echo $this->_var['right_daijin_item']['buy_count']; ?></span>
					人购买
				</div>
				<div class="blank1"></div>
			</div>
			</div>
		<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
	</div>
</div>
<div class="blank"></div>
<?php endif; ?>
<adv adv_id="首页右侧代金券模块广告" />