<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="Generator" content="ECSHOP v2.7.3" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="<?php echo $this->_var['keywords']; ?>" />
<meta name="Description" content="<?php echo $this->_var['description']; ?>" />

<title><?php echo $this->_var['page_title']; ?></title>

<link rel="shortcut icon" href="favicon.ico" />
<link rel="icon" href="animated_favicon.gif" type="image/gif" />
<link href="<?php echo $this->_var['ecs_css_path']; ?>" rel="stylesheet" type="text/css" />
<link href="themes/suning/group.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
function tuan()
{
	var number = document.getElementById('number').value;
	var group_buy_id = '<?php echo $this->_var['group_buy_id']; ?>';
	window.location.href="group_buy.php?act=buy&number="+number+"&group_buy_id="+group_buy_id;
	
}
</script>

<?php echo $this->smarty_insert_scripts(array('files'=>'common.js')); ?>
<script type="text/javascript" charset="utf-8" src="themes/suning/images/group/lefttime.js"></script>
<script type="text/javascript">
  <?php $_from = $this->_var['lang']['js_languages']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['item']):
?>
    var <?php echo $this->_var['key']; ?> = "<?php echo $this->_var['item']; ?>";
  <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
</script>
<script type="text/javascript" charset="utf-8" src="themes/suning/images/group/jquery-1.4.2.min.js"></script>
<script type="text/javascript" charset="utf-8" src="themes/suning/images/group/jquery.all_plugins.js"></script>
<script type="text/javascript" charset="utf-8" src="themes/suning/images/group/Jumei.Core.min.js"></script>
<SCRIPT type="text/javascript" charset="utf-8" src="themes/suning/images/group/Jumei.Account.min.js"></SCRIPT>
<SCRIPT type="text/javascript" charset="utf-8" src="themes/suning/images/group/Jumei.Mall.min.js"></SCRIPT>
<script type="text/javascript">
with(window) {
                        RM_SITE_MAIN_WEBBASEURL='';
                    RM_SITE_MAIN_TOPLEVELDOMAINNAME='';
                    RM_CURRENT_SITE_MAIN_WEBBASEURL='';
                    RM_CONTROL='Home';
                    RM_ACTION='show';
                    RM_SERVER_TIME=1344775354;
                    RM_SITE='sh';
                    RM_IMGDIR='themes/suning/images/group';
                RM_CLIENT_TIME = parseInt((new Date()).getTime() / 1000);
        GA_ACCOUNT = "UA-10208510-1";
    }
window._gaq = window._gaq || [];
_gaq.push(['_setAccount', GA_ACCOUNT]);
_gaq.push(['_setAllowHash', false]);
</script>

<SCRIPT type=text/javascript>
with(window) {
                        RM_SITE_MAIN_WEBBASEURL='';
                    RM_SITE_MAIN_TOPLEVELDOMAINNAME='';
                    RM_CURRENT_SITE_MAIN_WEBBASEURL='';
                    RM_CONTROL='Mall';
                    RM_ACTION='product';
                    RM_SERVER_TIME=1342759490;
                    RM_SITE='sh';
     
                RM_CLIENT_TIME = parseInt((new Date()).getTime() / 1000);
        GA_ACCOUNT = "UA-10208510-1";
    }
window._gaq = window._gaq || [];
_gaq.push(['_setAccount', GA_ACCOUNT]);
 
 
_gaq.push(['_setAllowHash', false]);
</SCRIPT>
<script type="text/javascript">
  <?php $_from = $this->_var['lang']['js_languages']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['item']):
?>
    var <?php echo $this->_var['key']; ?> = "<?php echo $this->_var['item']; ?>";
  <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
</script>
 
</head>
<body class="group_body">
<?php echo $this->fetch('library/page_header.lbi'); ?>
 
 <div class="block group_buy_list clearfix">
 <a href="#"><?php 
$k = array (
  'name' => 'ads',
  'id' => '54',
  'num' => '1',
);
echo $this->_echash . $k['name'] . '|' . serialize($k) . $this->_echash;
?></a>
   <div class="blank"></div>
   
     <div class="group_l">
     
        <div class="home_deal_list">
             <div class="big_list clearfix">
         
        
            <div class="blank"></div>
                <div class="tit">
                    <A class=all-p-ml 
                    href="group_buy.php?act=buy&group_buy_id=<?php echo $this->_var['group_buy_id']; ?>" 
                    target=_blank><?php echo htmlspecialchars($this->_var['group_buy']['goods_name']); ?></A><?php echo $this->_var['group_buy']['goods_brief']; ?>
                 </div>
                <div class="blank"></div>
				<div class="f_l" style="width:224px; float:left;">
                <div class="deal_info">
                    <div class="ribbon">
					
                        <span><b><?php echo $this->_var['group_buy']['cur_price']; ?></b></span>
                        <a  class="f_r" href="group_buy.php?act=buy&group_buy_id=<?php echo $this->_var['group_buy_id']; ?>" target="_blank" title="购买">购买<i class="gp_sp">&nbsp; </i></a>
						<div class="buyit_Right"></div>
						<div class="buyit_Left"> <i class="gp_sp">&nbsp;</i></div>
                    </div>
                    <div class="deal_info_box">
                        <div class="price">
                            <table cellpadding="0" cellspacing="0">
                                <tbody>
                                    <tr>
                                        <th class="">原价</th>
                                        <th class="">折扣</th>
                                        <th style="border:none">节省</th>
                                    </tr>
                                    <tr>
                                        <td class="market_price">¥<?php echo $this->_var['group_buy']['market_price']; ?></td>
                                        <td><?php echo $this->_var['group_buy']['zhekou']; ?><span>折</span></td>
                                        <td style="border:none">¥<?php echo $this->_var['group_buy']['jiesheng']; ?></td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>                     
						<dl class="gp_group_msg">
					<dt><i><?php echo $this->_var['group_buy']['valid_goods']; ?></i>人已购买</dt>
					<dd>数量有限，下单要快哟</dd>
				</dl>
                        <div class="countdown">
                        <input type="hidden" class="time_left" value="15247">
                    <div  class="timer">
                        <span>剩余：</span><font id="leftTime"><?php echo $this->_var['lang']['please_waiting']; ?></font>
                    </div>
                    </div>
					
					
                    </div>
					
                </div>
				<div class="blank" ></div>
				<div class="blank" ></div>
                
                <div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare">
                    <font>分享到：</font>
                    <a class="bds_qzone"></a>
                    <a class="bds_tsina"></a>
                    <a class="bds_tqq"></a>
                    <a class="bds_renren"></a>
                    <span class="bds_more"></span>
                    <a class="shareCount" style="margin-top:5px;"></a>
                </div>
                <script type="text/javascript" id="bdshare_js" data="type=tools&amp;uid=0" ></script>
                <script type="text/javascript" id="bdshell_js"></script>
                <script type="text/javascript">
                document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + Math.ceil(new Date()/3600000)
                </script>
                
				</div>
                <div class="photo">
                    <A href="group_buy.php?act=buy&group_buy_id=<?php echo $this->_var['group_buy_id']; ?>"
 target=_blank><IMG   alt="<?php echo htmlspecialchars($this->_var['group_buy']['goods_name']); ?>" src="<?php echo $this->_var['group_buy']['goods_img']; ?>"  > </A>
                 
                </div>
                
                <div class="blank"></div>
				
         </div>
        </div>  
        
        <div class="blank"></div>
        <div class="blank"></div>
        
        <div class="info_box ">
        <div class="gp_detailAnchor">
				<a href="#a2">温馨提示</a>
                <a href="#a6"> 本单详情</a>
			</div>
        
		<div>
		   <a name="a2"></a>
		     <div class="blank"></div>
		  <h5 class=" gp_dHead" >温馨提示</h5>
        <div class="blank"></div>
		<ul>
            <p>券有效期： 2012-09-07 00:00:00.0 - 2013-05-08 23:59:00.0</p>
             <p>
	预约/提货时间：11:00-19:00<br>
	请提前2天预约，每日限300人<br>
	4月2日开始领取</p>
			</ul>
        </div>
        <div class="blank"></div>
        <div>
                <a name="a6"></a>
                  <div class="blank"></div>
            <h5 class=" gp_dHead">本单详情</h5>  
			 <div class="blank"></div>  
                <?php echo $this->_var['group_buy']['goods_desc']; ?>
        
                <div class="blank"></div>

        </div>
        
     
               
        
        </div>
       
     </div>
   
     <div class="group_r">
 
         <div class="right_tit">同类热门团购</div>
         <div class="box_v1">
     <?php $_from = $this->_var['group_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'group_buy_0_32170900_1413909500');$this->_foreach['no'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['no']['total'] > 0):
    foreach ($_from AS $this->_var['key'] => $this->_var['group_buy_0_32170900_1413909500']):
        $this->_foreach['no']['iteration']++;
?>
     
	<?php if ($this->_foreach['no']['iteration'] < 11): ?>
    
    
    <div class="product_container">
	 <p class="name">
            <A href="group_buy.php?act=view&id=<?php echo $this->_var['group_buy_0_32170900_1413909500']['act_id']; ?>"><?php echo $this->_var['group_buy_0_32170900_1413909500']['goods_name']; ?></A>
        </p>
        <div class="left_part">
            <A href="group_buy.php?act=view&id=<?php echo $this->_var['group_buy_0_32170900_1413909500']['act_id']; ?>"><IMG height=60 alt="" src="<?php echo $this->_var['group_buy_0_32170900_1413909500']['goods_thumb']; ?>"></A> 
        </div>
       
        
        <div class="right_part">
		
            <span class="f_r"><b> <?php echo $this->_var['group_buy_0_32170900_1413909500']['valid_goods']; ?> </b>人已经购买</span>
           <span class="f_l"> <a href="group_buy.php?act=buy&group_buy_id=<?php echo $this->_var['group_buy_id']; ?>">立即购买</a></span>
        </div>
     </div>
<div class="blank"></div>
<div class="blank"></div>
	<?php endif; ?>		

    <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
     </div>
     
         <script type="text/javascript">
        
        $(function(){
            $(".info_titles").hover(function(){
                $(this).next("div").show();
                $(this).parent().siblings().children(".info_titles").not(this).next("div").hide();
            });
        });
        //Ranking height
        $(".wrap_right").height($(".wrap").height());
        </script>
         <script type="text/javascript">
        
            $(document).ready(function(){
                var obj = $('#sidebar_comment_container');
                var per_move =81;
                
                var num = obj.find('.comment_content').length;
                var i = 1;
                obj.everyTime(5000,'sidebar_comments',function(){
                    obj.animate({top: '-'+per_move*i},'fast');
                    if( i == (num-3) ){
                        i = 1;
                    }else{
                        i++;
                    }
                });
            });
        
        </script>

     </div>
    
 </div>   
    
<div class="blank"></div>
<?php echo $this->fetch('library/page_footer.lbi'); ?>
</body>
<script type="text/javascript">
var gmt_end_time = "<?php echo empty($this->_var['group_buy']['gmt_end_date']) ? '0' : $this->_var['group_buy']['gmt_end_date']; ?>";
<?php $_from = $this->_var['lang']['goods_js']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['item']):
?>
var <?php echo $this->_var['key']; ?> = "<?php echo $this->_var['item']; ?>";
<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
var now_time = <?php echo $this->_var['now_time']; ?>;


onload = function()
{
  try
  {
    onload_leftTime();
  }
  catch (e)
  {}
}

</script>
</html>
