<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title><?php echo ($page_seo["title"]); ?>  <?php echo C('ftx_site_name');?></title>
<meta name="keywords" content="<?php echo ($page_seo["keywords"]); ?>" />
<meta name="description" content="<?php echo ($page_seo["description"]); ?>" />
<meta name="generator" content="huameiFtxia" />
<meta name="renderer" content="webkit">
<meta name="version" content="<?php echo FTX_RELEASE; ?>">
<meta name="MSSmartTagsPreventParsing" content="True" />
<meta http-equiv="MSThemeCompatible" content="Yes" />
<script type="text/javascript">
	SITEURL="<?php echo C('ftx_site_url');?>";
	CURURL="<?php echo C('ftx_site_url');?>";
	WEBNICK="<?php echo C('ftx_site_name');?>";
	URL_COOKIE=0;
</script>
<link rel=stylesheet type=text/css href="__STATIC__/zhe800/css/base.css" />
<link rel=stylesheet type=text/css href="__STATIC__/zhe800/css/global.css" />
<link rel=stylesheet type=text/css href="__STATIC__/zhe800/css/alert.css" />
<link rel=stylesheet type=text/css href="__STATIC__/zhe800/css/page.css" />
<link rel=stylesheet type=text/css href="__STATIC__/zhe800/css/kefu.css" />
<script src="http://siteapp.baidu.com/static/webappservice/uaredirect.js" type="text/javascript"></script><script type="text/javascript">uaredirect("<?php echo C('ftx_headerm_html');?>");</script>
<script type="text/javascript" src="__STATIC__/zhe800/js/jquery.js"></script>
<script type="text/javascript" src="__STATIC__/zhe800/js/jquery.cookie.js"></script>
<script type="text/javascript" src="__STATIC__/zhe800/js/lazyload.js"></script>
<script type="text/javascript" src="__STATIC__/zhe800/js/fun.js"></script>
<script type="text/javascript" src="__STATIC__/zhe800/js/jumpbox.js"></script>
<script type="text/javascript" src="__STATIC__/zhe800/js/funs.js"></script>
<script type="text/javascript" src="__STATIC__/zhe800/js/index.js"></script>
</head>
<body>
<!-- 头部开始 -->
<div class="head">
	<div class="logo <?php echo C('ftx_site_width');?>">
		<?php if(C('ftx_site_logo') != ''): ?><h1><a title="<?php echo C('ftx_site_name');?>" href="<?php echo C('ftx_site_url');?>"><img src="/<?php echo C('ftx_site_logo');?>" width="240" height="45" /></a><img src="/static/jky/images/hengtop.png" alt="zhe800" style="margin-left:60px"/></h1>
		<?php else: ?>
			<h1><a title="<?php echo C('ftx_site_name');?>" href="<?php echo C('ftx_site_url');?>"><img src="/static/zhe800/images/logo3.png" width="240" height="45" /></a></h1><?php endif; ?>
		<div class="search_box">
			<form method="get" action="index.php" onsubmit="return search_submit();" >
				<input type="hidden" name="m" value="index" />
				<input type="hidden" name="a" value="so" />
				<input x-webkit-speech name="k" id="keywords" onblur="this.value==''?this.value=this.title:null" onfocus="this.value==this.title?this.value='':null" title="懒得找了，我搜..." value="懒得找了，我搜..." class="text" />
				<button type="submit" value="" class="btn2">搜折扣</button>
			</form>
		</div>
		<div id="toolbar">
		<div class="top-nav <?php echo C('ftx_site_width');?>">
			
			<div id="userlogin" style="display:block">
				<p class="other-links fr">
					<span><a href="<?php echo U('user/login');?>" class="whi">登录</a> / <a href="<?php echo U('user/register');?>" class="whi">免费注册</a></span>
					<span>|</span>
					<span><a href="<?php echo C('ftx_kefu_html');?>">在线客服</a></span>
			        <span><a href="<?php echo U('user/union');?>">邀请好友</a></span>
					<span><a href="<?php echo U('baoming/index');?>">卖家报名</a></span>
				</p>
				<ul class="login-union fr">

				<?php if(is_array($oauth_list)): $i = 0; $__LIST__ = $oauth_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?><li><a href="<?php echo U('oauth/index', array('mod'=>$val['code']));?>"><i class="icon-<?php echo ($val["code"]); ?>"></i><span><?php echo ($val["name"]); ?></span></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
					 
				</ul>
			</div>
			<script>
			function topHtml() {/*<p class="other-links fr">
				<span class="{:U('bm/index')}">|</span>
				<span><a href="<?php echo U('baoming/index');?>">卖家报名</a></span></p>
				<p class="info fr ffv"><a href="<?php echo U('user/msg');?>">{$msgsrc}</a></p>
				
				<p class="info fr ffv"><a href="<?php echo U('user/mingxi');?>">积分：{$jifen}</a></p> 
				<div class="login-ed fr">
					<div class="normal">
						<a href="<?php echo U('user/index');?>" class="nor-a" onmouseover="this.className='nor-a active'" onmouseout="this.className='nor-a'"><span class="ffv">{$name}</span><em class="cur"></em></a>
						<div class="login-box">
						<ul>
							<li><a href="<?php echo U('user/gift');?>"><i class="icon-04"></i><span>我的订单</span></a></li>
							<li><a href="<?php echo U('user/mingxi');?>"><i class="icon-05"></i><span>账户明细</span></a></li>
							<li><a href="<?php echo U('user/index');?>"><i class="icon-06"></i><span>账号设置</span></a></li>
							<li><a href="<?php echo U('user/logout');?>" class="exit" ><i class="icon-07"></i><span>退出</span></a></li>
						</ul>
						</div>
					</div>
				</div>
				<p class="fr">Hi~欢迎回来</p>*/;}
				$.ajax({
					url: '<?php echo U('ajax/userinfo');?>',
					dataType:'jsonp',
					jsonp:"callback",
					success: function(data){
						if(data.s==1){
							topHtml=getTplObj(topHtml,data.user);
							$('#userlogin').html(topHtml).show();
						}
						else{
							$('#userlogin').show();
						}
					}
				});
			</script>
		</div>
		</div>
	</div>	
	<div id="head_nav">
	
	<div class="nav <?php echo C('ftx_site_width');?>">
	
		<ul class="navigation">
			<li <?php if($nav_curr == 'index'): ?>class="current"<?php endif; ?>><a href="<?php echo C('ftx_site_url');?>"><?php echo L('index_page');?></a></li>
			<?php $tag_nav_class = new navTag;$data = $tag_nav_class->lists(array('type'=>'lists','style'=>'main','cache'=>'0','return'=>'data',)); if(is_array($data)): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?><li class="split <?php if($nav_curr == $val['alias']): ?>current<?php endif; ?>"><a href="<?php echo ($val["link"]); ?>" <?php if($val["target"] == 1): ?>target="_blank"<?php endif; ?>><?php echo ($val["name"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
		</ul>
		<div class="state-show">
			<div class="sign fr"><a id="signIn_btn" href="javascript:;" class="signin_a sign_btn"><i></i><span>签到</span></a></div>
			 
		</div>
	</div>
	</div>
</div>

<!--头部结束-->
<div class="jiu-nav-main">
	<div class="jiu-nav <?php echo C('ftx_site_width');?>">
	<span id="dealnum">今日已更新<b><?php echo ($total_item); ?></b>款</span>
		<div class="nav-item fl">
			<div class="item-list">
				<ul>
				<li><a href="<?php echo C('ftx_site_url');?>" <?php if(empty($cid)): ?>class="active"<?php endif; ?>>全部</a></li>
				<?php  $cdi=0; ?>
				<?php if(is_array($cate_data)): $i = 0; $__LIST__ = $cate_data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$bcate): $mod = ($i % 2 );++$i; if(($bcate['pid'] == 0) AND ($cdi < 9)): $cdi++; ?>
					<li><a <?php if(($cid == $bcate['id']) OR ($cate_data[$cid]['pid'] == $bcate['id'])): ?>class="active"<?php endif; ?> href="<?php echo U('index/cate', array('cid'=>$bcate['id']));?>" title="<?php echo ($bcate["name"]); ?>"><?php echo ($bcate["name"]); ?></a></i><?php endif; endforeach; endif; else: echo "" ;endif; ?>
				</ul>
			</div>
		</div>
		<div class="nav-other fl">
			<ul>
				<li><a href="<?php echo U('xinpin/index');?>" ><i class="today"></i><span>今日新品</span></a><em><?php echo ($today_item); ?></em></li>
			</ul>
		</div>
		<div class="n_h">
			<span>排序：</span>
			<a href="<?php echo U('index/cate',array('cid'=>$cid,'sort'=>'default'));?>"  class=" <?php if($index_info['sort'] == 'default'): ?>active<?php endif; ?> ">默认</a>
			<a href="<?php echo U('index/cate',array('cid'=>$cid,'sort'=>'new'));?>" class=" <?php if($index_info['sort'] == 'new'): ?>active<?php endif; ?> ">最新</a>
			<a href="<?php echo U('index/cate',array('cid'=>$cid,'sort'=>'hot'));?>" class=" <?php if($index_info['sort'] == 'hot'): ?>active<?php endif; ?> ">最热</a></div>
		</div>
	</div>
</div>
 
<?php if(!empty($subnav)): ?><div class="jiu-nav-main jiu-nav-main-2" id="seclevel">
	<div class="jiu-nav <?php echo C('ftx_site_width');?>  seclevelinner">
		<div class="nav-item  ">
			<div class="item-list">
				<ul>
				<li><a href="<?php echo U('index/cate', array('cid'=>$cinfo['pid']));?>" <?php if(empty($cinfo['pid'])): ?>class="active"<?php endif; ?>>全部</a></li>
				<?php if(is_array($subnav)): $i = 0; $__LIST__ = $subnav;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$bcate): $mod = ($i % 2 );++$i;?><li><a <?php if($cid == $bcate['id']): ?>class="active"<?php endif; ?> href="<?php echo U('index/cate', array('cid'=>$bcate['id']));?>" title="<?php echo ($bcate["name"]); ?>"><?php echo ($bcate["name"]); ?></a></i><?php endforeach; endif; else: echo "" ;endif; ?>
				</ul>
			</div>
		</div>
	</div>
</div><?php endif; ?>

<div class="jiu-side-nav <?php echo C('ftx_site_width');?>">
	<?php if(C('ftx_site_navlogo') != ''): ?><div><a class="logo" href="<?php echo C('ftx_site_url');?>"><img src="/<?php echo C('ftx_site_navlogo');?>" width="144" height="74" /></a></div>
	<?php else: ?>
		<div><a class="logo" href="<?php echo C('ftx_site_url');?>"><img src="/static/zhe800/images/fl_nav_logo.jpg" width="142" height="74" /></a></div><?php endif; ?>
		<div class="content">
		<div class="hd">
			<h3>[独家]每天9点更新</h3>
		</div>
		<div class="bd">
			<ul>
			<li><a href="<?php echo C('ftx_site_url');?>" <?php if(empty($cid)): ?>class="on"<?php endif; ?>>全部</a></li>
			<?php  $cdi=0; ?>
			<?php if(is_array($cate_data)): $i = 0; $__LIST__ = $cate_data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$bcate): $mod = ($i % 2 );++$i; if(($bcate['pid'] == 0) AND ($cdi < 19)): $cdi++; ?>
				<li><a <?php if(($cid == $bcate['id']) OR ($cate_data[$cid]['pid'] == $bcate['id'])): ?>class="on"<?php endif; ?> href="<?php echo U('index/cate', array('cid'=>$bcate['id']));?>" title="<?php echo ($bcate["name"]); ?>"><?php echo ($bcate["name"]); ?></a></i><?php endif; endforeach; endif; else: echo "" ;endif; ?>
			</ul>
		</div>
		<div class="hd">
			<h3>精选推荐</h3>
		</div>
		<div class="bd">
			<ul class="bd-other">
			<?php $tag_nav_class = new navTag;$data = $tag_nav_class->lists(array('type'=>'lists','style'=>'main','cache'=>'0','return'=>'data',)); if(is_array($data)): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?><li><a <?php if($nav_curr == $val['alias']): ?>class="on"<?php endif; ?> href="<?php echo ($val["link"]); ?>" <?php if($val["target"] == 1): ?>target="_blank"<?php endif; ?>><?php echo ($val["name"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>				
			</ul>
		</div>
		
		<div class="bottom"> </div>
	</div>
</div>
 
 
<link rel=stylesheet type=text/css href="__STATIC__/zhe800/css/good.css" />
<!--List Start-->
<div class="main <?php echo C('ftx_site_width');?> clear">
			<ul class="goods-list <?php echo C('ftx_site_wc');?>">
		<?php if(is_array($items_list)): $i = 0; $__LIST__ = $items_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 3 );++$i;?><li class="<?php if(($mod) == "2"): ?>last<?php endif; ?>">
			<div class="sid_<?php echo ($item["sellerId"]); ?>  list-good   <?php echo ($item["class"]); ?> " id="nid_<?php echo ($item["num_iid"]); ?>">
				<a href="<?php echo U('jump/index',array('id'=>$item['num_iid']));?>" target="_blank" ><div class="good-pic" style="height:340px;background-image:url(<?php echo attach(get_thumb($item['pic_url'], '_t'),'item');?>);">
				<?php if($item["zk"] == '10'): ?><div class="sold">
                <span><em><?php echo ($item["likes"]); ?></em>人喜欢</span><i></i>
                </div><?php else: ?><div class="sold">
                <span>限时<em><?php echo ($item["zk"]); ?></em>折</span><i></i>
                </div><?php endif; ?>					
				</div></a>
				<h5 class="good-title">
					<?php if($item["shop_type"] == 'C' ): ?><b class="icon tao-n" title="淘宝网"></b><?php endif; ?>
					<?php if($item["shop_type"] == 'B' ): ?><b class="icon tao-t" title="天猫商城"></b><?php endif; ?>

					<a target="_blank" href="<?php echo U('jump/index',array('id'=>$item['num_iid']));?>" class="title"><?php echo ($item["title"]); ?></a>
				</h5>
				<div class="good-price">
					<span class="price-current"><em>￥</em><?php echo ($item["coupon_price"]); ?></span>
					<span class="des-other">
						<?php if($item["coupon_price"] == $item['price'] ): ?><span class="price-old">已售<?php echo ($item["volume"]); ?>件 </span><?php else: ?><span class="price-old"><em>¥<?php echo ($item["price"]); ?></em> </span><?php endif; ?>
						<span class="discount show">
							<?php if($item["ems"] == 1): ?><b class="i2" title="包邮"></b><?php endif; ?>
							<?php if(!empty($visitor)): if($visitor['username'] == C('ftx_index_admin')): ?><a title="不显示" href="javascript:void(0);" data-id="<?php echo ($item["num_iid"]); ?>">取消</a><?php endif; endif; ?>
						</span>
					</span>
					<div class="btn-new <?php echo ($item["class"]); ?>">
						<a href="<?php echo U('jump/index',array('id'=>$item['num_iid']));?>" target="_blank" rel="nofollow"><span>
						<?php if($item["class"] == 'wait'): ?>即将开始<?php endif; ?>
						<?php if($item["class"] == 'sellout'): ?>已卖光<?php endif; ?>
						<?php if($item["class"] == 'end'): ?>已结束<?php endif; ?>
						<?php if($item["class"] == 'buy'): if($item["shop_type"] == 'C' ): ?>去淘宝抢购<?php endif; if($item["shop_type"] == 'B' ): ?>去天猫抢购<?php endif; endif; ?></span></a>
					</div>
				</div>
				<div class="pic-des">
					<div class="des-state">
						<div style="height:26px;width:310px"><span class="state-time fl">开始：<?php echo (date("m月d日 H时i分",$item["coupon_start_time"])); ?></span><span class="q1" title="全网独家"></span></div>
						<div style="text-align:left;height:auto;line-height:20px"><?php echo ($item["intro"]); ?>
						<a class="des-report report buy_ed fr" znid="<?php echo ($item["id"]); ?>" title="<?php echo ($item["title"]); ?>" href="javascript:;">举报</a></div>
					</div>
				</div>
				<?php echo (newicon($item["coupon_start_time"])); ?>
			</div>
		</li><?php endforeach; endif; else: echo "" ;endif; ?>
	</ul>

	<div class="clear"></div> 
<div class="page_div <?php echo C('ftx_site_width');?>">
<div class="list_page">
<?php echo ($zpage); ?>
</div>
<span class="picnext"></span>
</div>

</div>

<!--List End-->

 
﻿<?php if(C('ftx_kefu_open') == '1'): ?><!-- S 客服 -->
<script type="text/javascript" src="__STATIC__/zhe800/js/jquery.fixed.js"></script>
<script>
$(function(){
	//悬浮客服
	$("#fixedBox").fix({
		position 	: "right",	//悬浮位置 - left或right
		horizontal  	: 0,		//水平方向的位置 - 默认为数字
		vertical    	: null,		//垂直方向的位置 - 默认为null
		halfTop     	: true,		//是否垂直居中位置
		minStatue 	: true,		//是否最小化
		hideCloseBtn 	: false,	//是否隐藏关闭按钮
		skin 		: "<?php echo C('ftx_kefu_color');?>",	//皮肤
		showBtnWidth 	: 28,		//show_btn_width
		contentBoxWidth : 154, 		//side_content_width
		durationTime 	: 100		//完成时间
	});
});
</script>
<div class="fixed_box" id="fixedBox">
	<div class="content_box">
		<div class="content_inner">
			<div class="close_btn"><a title="关闭"><span>关闭</span></a></div>
			<div class="content_title"><span>客服中心</span></div>
			<div class="content_list">            	
				<div class="qqserver">
					<?php if(C('ftx_kefu_one_value') != ''): ?><if condition="C('ftx_kefu_one_value') eq 'ss'"><?php endif; endif; ?>

					<?php if(C('ftx_kefu_one_value') != ''): ?><p>
						
						<?php if(C('ftx_kefu_one_value') == 'ss'): endif; ?>
						<?php if(C('ftx_kefu_one_su') == 'qq'): ?><span><?php echo C('ftx_kefu_one_name');?>:</span> 
							<a href="http://wpa.qq.com/msgrd?v=3&amp;uin=<?php echo C('ftx_kefu_one_value');?>&amp;site=qq&amp;menu=yes" rel="nofollow" target="_blank"><img border="0" src="http://wpa.qq.com/pa?p=2:<?php echo C('ftx_kefu_one_value');?>:41" alt="点击这里给我发消息" title="点击这里给我发消息"></a>
						<?php elseif(C('ftx_kefu_one_su') == 'ww'): ?>
							<span><?php echo C('ftx_kefu_one_name');?>:</span> 
							<a href="http://amos.im.alisoft.com/msg.aw?v=2&uid=<?php echo C('ftx_kefu_one_value');?>&site=cntaobao&s=2&charset=utf-8" rel="nofollow" target="_blank"><img border="0" src="http://amos.im.alisoft.com/online.aw?v=2&uid=<?php echo C('ftx_kefu_one_value');?>&site=cntaobao&s=1&charset=utf-8" alt="点击这里给我发消息" title="点击这里给我发消息"></a><?php endif; ?>
					</p><?php endif; ?>

					<?php if(C('ftx_kefu_two_value') != ''): ?><p>
						<span><?php echo C('ftx_kefu_two_name');?>:</span> 
						<?php if(C('ftx_kefu_two_su') == 'qq'): ?><a href="http://wpa.qq.com/msgrd?v=3&amp;uin=<?php echo C('ftx_kefu_two_value');?>&amp;site=qq&amp;menu=yes" rel="nofollow" target="_blank"><img border="0" src="http://wpa.qq.com/pa?p=2:<?php echo C('ftx_kefu_two_value');?>:41" alt="点击这里给我发消息" title="点击这里给我发消息"></a>
						<?php elseif(C('ftx_kefu_two_su') == 'ww'): ?>
							<a href="http://amos.im.alisoft.com/msg.aw?v=2&uid=<?php echo C('ftx_kefu_two_value');?>&site=cntaobao&s=2&charset=utf-8" rel="nofollow" target="_blank"><img border="0" src="http://amos.im.alisoft.com/online.aw?v=2&uid=<?php echo C('ftx_kefu_two_value');?>&site=cntaobao&s=1&charset=utf-8" alt="点击这里给我发消息" title="点击这里给我发消息"></a><?php endif; ?>
					</p><?php endif; ?>


					<?php if(C('ftx_kefu_three_value') != ''): ?><p>
						<span><?php echo C('ftx_kefu_three_name');?>:</span> 
						<?php if(C('ftx_kefu_three_su') == 'qq'): ?><a href="http://wpa.qq.com/msgrd?v=3&amp;uin=<?php echo C('ftx_kefu_three_value');?>&amp;site=qq&amp;menu=yes" rel="nofollow" target="_blank"><img border="0" src="http://wpa.qq.com/pa?p=2:<?php echo C('ftx_kefu_three_value');?>:41" alt="点击这里给我发消息" title="点击这里给我发消息"></a>
						<?php elseif(C('ftx_kefu_three_su') == 'ww'): ?>
							<a href="http://amos.im.alisoft.com/msg.aw?v=2&uid=<?php echo C('ftx_kefu_three_value');?>&site=cntaobao&s=2&charset=utf-8" rel="nofollow" target="_blank"><img border="0" src="http://amos.im.alisoft.com/online.aw?v=2&uid=<?php echo C('ftx_kefu_three_value');?>&site=cntaobao&s=1&charset=utf-8" alt="点击这里给我发消息" title="点击这里给我发消息"></a><?php endif; ?>
					</p><?php endif; ?>




					<?php if(C('ftx_kefu_four_value') != ''): ?><p>
						<span><?php echo C('ftx_kefu_four_name');?>:</span> 
						<?php if(C('ftx_kefu_four_su') == 'qq'): ?><a href="http://wpa.qq.com/msgrd?v=3&amp;uin=<?php echo C('ftx_kefu_four_value');?>&amp;site=qq&amp;menu=yes" rel="nofollow" target="_blank"><img border="0" src="http://wpa.qq.com/pa?p=2:<?php echo C('ftx_kefu_four_value');?>:41" alt="点击这里给我发消息" title="点击这里给我发消息"></a>
						<?php elseif(C('ftx_kefu_four_su') == 'ww'): ?>
							<a href="http://amos.im.alisoft.com/msg.aw?v=2&uid=<?php echo C('ftx_kefu_four_value');?>&site=cntaobao&s=2&charset=utf-8" rel="nofollow" target="_blank"><img border="0" src="http://amos.im.alisoft.com/online.aw?v=2&uid=<?php echo C('ftx_kefu_four_value');?>&site=cntaobao&s=1&charset=utf-8" alt="点击这里给我发消息" title="点击这里给我发消息"></a><?php endif; ?>
					</p><?php endif; ?>



					<?php if(C('ftx_kefu_five_value') != ''): ?><p>
						<span><?php echo C('ftx_kefu_five_name');?>:</span> 
						<?php if(C('ftx_kefu_five_su') == 'qq'): ?><a href="http://wpa.qq.com/msgrd?v=3&amp;uin=<?php echo C('ftx_kefu_five_value');?>&amp;site=qq&amp;menu=yes" rel="nofollow" target="_blank"><img border="0" src="http://wpa.qq.com/pa?p=2:<?php echo C('ftx_kefu_five_value');?>:41" alt="点击这里给我发消息" title="点击这里给我发消息"></a>
						<?php elseif(C('ftx_kefu_five_su') == 'ww'): ?>
							<a href="http://amos.im.alisoft.com/msg.aw?v=2&uid=<?php echo C('ftx_kefu_five_value');?>&site=cntaobao&s=2&charset=utf-8" rel="nofollow" target="_blank"><img border="0" src="http://amos.im.alisoft.com/online.aw?v=2&uid=<?php echo C('ftx_kefu_five_value');?>&site=cntaobao&s=1&charset=utf-8" alt="点击这里给我发消息" title="点击这里给我发消息"></a><?php endif; ?>
					</p><?php endif; ?>
				</div>
				<hr>
				<div class="phoneserver">
					<h5>客户服务热线</h5>
					<p><?php echo C('ftx_kefu_telephone');?></p>
				</div>
				<hr>
				<div class="msgserver"><p><a href="<?php echo U('user/msg',array('do'=>'send'));?>" target="_blank">给我们留言</a></p></div>
			</div>
			<div class="content_bottom"></div>
		</div>
	</div>
	<div class="show_btn"><span>展开客服</span></div>
</div>
<!-- E 客服 -->
</if>
<?php if(!empty($visitor)): if($visitor['username'] == C('ftx_index_admin')): ?><script type="text/javascript">
	function noshow(id){
		if(!$.ftxia.dialog.islogin()) return ;
		$(this).html('<img src="/static/ftxia/images/loading.gif" />');
		$.ajax({
			url: FTXIAER.root + '/?m=item&a=noshow',
				type: 'POST',
				data: {
					id: id
				},
			dataType: 'json',
			success: function(result){
				if(result.status == 1){
					$.ftxia.tip({content:result.msg, icon:'success'});
				}else{
					$.ftxia.tip({content:result.msg, icon:'error'});
				}
			}
		});
	}

	$(".show a").click(function() {
		id = $(this).attr("data-id");
		if(!$.ftxia.dialog.islogin()) return ;
		$(this).html('<img src="/static/ftxia/images/loading.gif" />');
		$.ajax({
			url: FTXIAER.root + '/?m=item&a=noshow',
				type: 'POST',
				data: {
					id: id
				},
			dataType: 'json',
			success: function(result){
				if(result.status == 1){
					$(this).html('成功');
					$.ftxia.tip({content:result.msg, icon:'success'});
				}else{
					$(this).html('已取消');
					$.ftxia.tip({content:result.msg, icon:'error'});
				}
			}
		});
	});  
</script><?php endif; endif; ?>
 <div class="footers">
  <ul class="<?php echo C('ftx_site_width');?>" style="margin: 0 auto;zoom: 1;">
    <li class="lw w1">
	<span>关注我们</span>
	<a href="<?php echo U('help/read',array('id'=>1));?>" target="_blank">关于我们</a>
	<a href="<?php echo U('help/read',array('id'=>3));?>" target="_blank">联系我们</a>
    <a href="<?php echo C('ftx_sina_url');?>" target="_blank" rel="nofollow">新浪微博</a>
	<a href="<?php echo C('ftx_qzone_url');?>" target="_blank" rel="nofollow">QQ空间</a>
	<a href="<?php echo C('ftx_tenxun_url');?>" target="_blank" rel="nofollow">腾讯微博</a>	
	 </li>
	 
    <li class="lw">
	<span>商务合作</span>
	<a href="<?php echo U('baoming/index');?>" target="_blank">商家报名</a>
	<a href="<?php echo U('help/read',array('id'=>5));?>" target="_blank">免责声明</a>
	<a href="<?php echo U('help/read',array('id'=>2));?>" target="_blank">广告合作</a>
    </li>
	
    <li class="lw">
	 <span>用户帮助</span>
	<a href="<?php echo U('help/read',array('id'=>6));?>" target="_blank">常见问题</a>
	<a href="<?php echo U('help/qianggou');?>" target="_blank">抢购小技巧</a>
	<a href="<?php echo U('article/index');?>" target="_blank">文章中心</a>
    </li>	
     <li class="lw w2">
	 <span>会员中心</span>
     <a href="<?php echo U('user/register');?>" target="_blank">免费注册</a>
     <a href="<?php echo U('user/login');?>" target="_blank">登录本站</a>
     <a href="<?php echo U('forget/index');?>" target="_blank">找回密码</a>	 
    </li>
    <li class="w3">
    <span>下次怎么来?</span>
    <h3>记住域名：<a href="http://www.wanpin123.com"><em>http://www.wanpin123.com</em></a></h3>
    <h4>百度搜索：<input type="text" value="万品网" onfocus="this.blur()" class="bdtxt"><a href="http://www.baidu.com/s?tn=baiduhome_pg&ie=utf-8&bs=万品网&f=8&rsv_bp=1&rsv_spt=1&wd=万品网&inputT=0" target="_blank" class="bdso"></a></h4>
    <h5>收藏本站：<a href="javascript:void(0)" onclick="AddFavorite(true)"><u>收藏本站</u></a></h5>
    <h6>保存桌面：<a target="_blank" href="/?m=index&a=shortcut"><em>下载到桌面</em></a></h6>
    </li>
  <li class="w4">
  <span>手机客户端</span>
  <a href="#iphone" class="ios" target="_blank"></a>
  <a href="#android" class="android" target="_blank"></a>
  <a href="#winphone" class="wp" target="_blank"></a>
  <a href="#wap" class="wap" target="_blank"></a>
  <h4>
  <img src="/<?php echo C('ftx_site_weixin');?>" alt="" width="72" height="72">
  <p>关注折800，秒杀早知道<br>
  如何关注？<br>
  1) 查找微信号“<em>好东西</em>”<br>
  2) 用微信扫描左侧二维码
  </p>
  </h4>
  </li>
  </ul>
</div>

<div class="friendly_links">
<span>友情链接：</span>
<div class="links">
<ul>
<div id="demo">
<div id="indemo">
<div id="demo1">
<?php $tag_link_class = new linkTag;$data = $tag_link_class->lists(array('type'=>'lists','status'=>'1','cache'=>'0','return'=>'data',)); if(is_array($data)): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?><li><a href="<?php echo ($val["url"]); ?>" target="_blank"><?php echo ($val["name"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
</div>
<div id="demo2"></div>
</div>
</div>
</ul>
</div>
</div>
  
  <div class="footer2">Copyright @ 2010-2014 <?php echo C('ftx_site_url');?> all Rights Reserved <a href="<?php echo C('ftx_site_url');?>" target="_blank"><?php echo C('ftx_site_name');?></a> (<a href="http://www.miibeian.gov.cn" class="tdu clr6" target="_blank"><?php echo C('ftx_site_icp');?></a>)
  <!--统计代码开始-->
  <?php echo C('ftx_statistics_code');?><!--统计代码结束--> 
  </div>

<script type="text/javascript" src="__STATIC__/ftxia/js/report.js"></script>
<script type="text/javascript">
var FTXIAER = {
    root: "__ROOT__",
	site: "<?php echo C('ftx_site_url');?>",
    uid: "<?php echo $visitor['id'];?>", 
    url: {}
};
var lang = {};
<?php $_result=L('js_lang');if(is_array($_result)): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?>lang.<?php echo ($key); ?> = "<?php echo ($val); ?>";<?php endforeach; endif; else: echo "" ;endif; ?>
</script>
<?php $tag_load_class = new loadTag;$data = $tag_load_class->js(array('type'=>'js','href'=>'__STATIC__/js/jquery/plugins/jquery.tools.min.js,__STATIC__/js/jquery/plugins/jquery.masonry.js,__STATIC__/js/jquery/plugins/formvalidator.js,__STATIC__/js/fileuploader.js,__STATIC__/js/ftxia.js,__STATIC__/js/front.js,__STATIC__/js/dialog.js,__STATIC__/js/item.js,__STATIC__/js/user.js,__STATIC__/js/comment.js,__STATIC__/zhe800/js/comm.js','cache'=>'0','return'=>'data',));?>
<?php echo C('ftx_taojindian_html');?>

<script>
var speed=80;//友情链接滚动速度控制。
var tab=document.getElementById("demo");
var tab1=document.getElementById("demo1");
var tab2=document.getElementById("demo2");
tab2.innerHTML=tab1.innerHTML;
function Marquee(){
if(tab2.offsetWidth-tab.scrollLeft<=0)
tab.scrollLeft-=tab1.offsetWidth
else{
tab.scrollLeft++;
}
}
var MyMar=setInterval(Marquee,speed);
tab.onmouseover=function() {clearInterval(MyMar)};
tab.onmouseout=function() {MyMar=setInterval(Marquee,speed)};
</script>
</body>
</html>