<!doctype html>
<html>
<head>
<include file="public:head" />
<load href="__STATIC__/zhe800/css/good.css" />
<load href="__STATIC__/zhe800/css/gift.css" />
</head>
<body>
<include file="public:header" />

<div class="jiu-nav-main">
	<div class="jiu-nav {:C('ftx_site_width')}">
		<div class="nav-item fl">
			<div class="item-list">
				<ul>
					<li><a href="{:U('gift/index')}" <if condition="$cid eq ''">class="active"</if>>热门兑换</a></li>
					<volist name="cate_list" id="cate">
					<li><a href="{:U('gift/cate',array('cid'=>$cate['id']))}" title="{$cate.name}" <if condition="$cid eq $cate['id']">class="active"</if>>{$cate.name}</a></li>
					</volist>
				</ul>
			</div>
		</div>
	</div>
</div>
<div class="main {:C('ftx_site_width')} clear">
	<div class="huan-login clear">
		<div class="introduce fl"><img src="__STATIC__/images/gift_banner.jpg" /></a></div>
		<div class="nav-userinfo fl">
			<div class="user-img"><a class="userinfo-img" href="{:U('user/index')}"><img src="{:avatar($info['id'], 100)}" width="80" height="80" /></a></div>
			<div class="user-personal">
				<span class="name"><a href="{:U('user/index')}"><i class="org_2">{$info.username}</i></a></span><br>
				<span class="jfb">积分：<i class="green_3">{$info.score}</i> </span><br>
				 
			</div>
			<div class="user-manage clear">
				<a href="{:U('user/gift')}" class="ml10">兑换记录</a>
				<a href="{:U('user/mingxi')}" class="ml25">收入明细</a>
			</div>
		</div>
	</div>
	
	<div class="huan-list clear">
		<ul class="goods-list {:C('ftx_site_wc')} clear">
		<volist name="item_list" id="item" mod="4">
			<li   class="<eq name="mod" value="3"> last</eq>">
				<div class="list-good buy">
					<div class="good-pic huan">
						<a target="_blank" href="{:U('gift/detail', array('id'=>$item['id']))}"><img src="{:attach(str_replace('_s.'.array_pop(explode('.', $item['img'])), '_b.'.array_pop(explode('.', $item['img'])), $item['img']), 'score_item')}" alt="{$item.title}" class="lazy"   /></a>
					</div>
					<h5 class="good-title"><a target="_blank" href="{:U('gift/detail', array('id'=>$item['id']))}">{$item.title}</a></h5>
					<div class="title-tips">
						<span class="fl">开始时间：<em class="old-price">{$item.start_time|date="Y-m-d",###}</em></span>
						<span class="fr">剩余：<em class="org_2">{$item.stock}</em>份</span>
					</div>
										<div class="good-price clear">
						<span class="price-current">{$item.score}<em class="unit">积分</em></span>
						<div class="btn-new buy">
							<a target="_blank" href="{:U('gift/detail', array('id'=>$item['id']))}"><span>我要兑换</span></a>
						</div>
					</div>
				</div>
			</li>
		</volist>
		</ul>
		<div class="clear"></div>
	</div>
	<div class="page">
		<div class="pageNav">{$page_bar}</div>
	</div>
</div>


 
 
<include file="public:footer" />
</body>
</html>
