<?php defined('G_IN_SYSTEM')or exit('No permission resources.'); ?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">


<script type="text/javascript" src="<?php echo G_TEMPLATES_JS; ?>/koala.min.1.5.js"></script>
<meta charset="UTF-8">

<title><?php if(isset($title)): ?><?php echo $title; ?><?php  else: ?><?php echo _cfg("web_name"); ?><?php endif; ?></title>
<meta name="Generator" content="">
<meta name="Author" content="">
<meta name="keywords" content="<?php if(isset($keywords)): ?><?php echo $keywords; ?><?php  else: ?><?php echo _cfg("web_key"); ?><?php endif; ?>" />
<meta name="description" content="<?php if(isset($description)): ?><?php echo $description; ?><?php  else: ?><?php echo _cfg("web_des"); ?><?php endif; ?>" />
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE = edge"> 
<link rel="stylesheet" type="text/css" href="<?php echo G_TEMPLATES_CSS; ?>/commnew.css">
<link rel="stylesheet" type="text/css" href="<?php echo G_TEMPLATES_CSS; ?>/footer_header.css">
<link rel="stylesheet" type="text/css" href="<?php echo G_TEMPLATES_CSS; ?>/indexnew.css">
<link rel="stylesheet" type="text/css" href="<?php echo G_TEMPLATES_CSS; ?>/new_join.css">
<link rel="stylesheet" type="text/css" href="<?php echo G_TEMPLATES_CSS; ?>/login_box.css">
<link rel="stylesheet" type="text/css" href="<?php echo G_TEMPLATES_CSS; ?>/goods.css">
<link rel="stylesheet" href="<?php echo G_TEMPLATES_CSS; ?>/forgetPwd.css">
<link rel="stylesheet" href="<?php echo G_TEMPLATES_CSS; ?>/loginnew.css">
<link rel="stylesheet" href="<?php echo G_TEMPLATES_CSS; ?>/login_box.css">
<link rel="stylesheet" href="<?php echo G_TEMPLATES_CSS; ?>/registerNew.css">
<script type="text/javascript" src="<?php echo G_GLOBAL_STYLE; ?>/global/js/jquery-1.8.3.min.js"></script>

<script type="text/javascript" src="<?php echo G_TEMPLATES_JS; ?>/jquery.webox.js"></script>

	<script type="text/javascript" src="<?php echo G_TEMPLATES_JS; ?>/common.js"></script>
	<script type="text/javascript" src="<?php echo G_TEMPLATES_JS; ?>/common_ajaxfunction_main.js"></script>
	<script type="text/javascript" src="<?php echo G_TEMPLATES_JS; ?>/common_ajaxfunction_other.js"></script>
	<script type="text/javascript" src="<?php echo G_TEMPLATES_JS; ?>/footer_header.js"></script>
	<script type="text/javascript" src="<?php echo G_TEMPLATES_JS; ?>/mowo.js"></script>
	<script type="text/javascript" src="<?php echo G_TEMPLATES_JS; ?>/index.js"></script>
<script type="text/javascript" src="<?php echo G_TEMPLATES_JS; ?>/indexExt.js" id="qclient_js"></script>



<style>
.Left-fixed-divs {
	/*2015 8 18*/
	display: none; /*2015 8 18 end*/
}

.module_loading {
	width: 1208px;
	height: 418px;
	text-align: center;
	border: 1px solid #ddd;
}

.news_loading {
	width: 368px;
	height: 376px;
	text-align: center;
}

.expose_loading {
	width: 771px;
	height: 411px;
	text-align: center;
	border: 1px solid #ddd;
}

.addtime_loading {
	width: 1208px;
	height: 581px;
	text-align: center;
	border: 1px solid #ddd;
}
/*2015 9 16*/
.yConNew ul {
	width: 1211px;
}

.y_new_index_Center {
	height: 639px;
}

.y_new_index_Center .yConCenterIn {
	height: 583px;
}

.y_new_index_Center .w_goods_one {
	width: 1210px;
}

.y_new_index_Center .yConCenterInList {
	height: 583px;
}

.y_new_index_Center .w_goods_details {
	height: 260px;
}

/* 2015 12 21 */
.yCon h2 {
	margin-top: 0px;
	padding-top: 15px;
}

.header2 #ww_span {
	background: url(/statics/templates/mowov9mb1/img/front/index/newyear_2016/yuandan2_2016.jpg)
		no-repeat left bottom;
	display: block;
	width: 260px;
	height: 40px;
	background-size: 260px;
	position: absolute;
	left: -14px;
	bottom: 0px;
}

  .sd_yContent {
	background: url(/statics/templates/mowov9mb1/img/front/index/newyear_2016/yuandan_2016.jpg)
		no-repeat center 0px;
} 
</style>
<body onselectstart="return false">

 	<!--S 底层悬浮 -->
	<div style="" class="index_float_bottom">
		<div class="index_float_bottoms">
		</div>
		<div class="index_float_bottom_in">
			<div class="index_float_close">
				<a onClick="floatClose()" href="javascript:void(0);"></a>
			</div>
			<div class="index_float_img">
			</div>
			<div class="index_float_wx">
				<p>扫描二维码<br>参与更多惊喜</p>
				<img src="<?php echo G_TEMPLATES_IMAGE; ?>/weixin.jpg">
			</div>
		</div>
	</div>
 	<!--E 底层悬浮 -->	
<!-- 左侧悬浮 -->
	<ul class="y-fixed-divs" style="left: 286.5px;">

	<?php $data=$this->DB()->GetList("select * from `@#_category` where `model`='1' and `parentid` = '0' order by `order` ASC",array("type"=>1,"key"=>'',"cache"=>0)); ?>
	<?php $ln=1;if(is_array($data)) foreach($data AS $categoryx): ?>
	<li><em><?php echo $categoryx['name']; ?></em><b></b></li>
    <?php  endforeach; $ln++; unset($ln); ?>
	</ul>
	<!-- 左侧悬浮 end-->
	<!-- 导航   start  -->
<!-- 顶部 -->
<input type="hidden" id="mid" value="">
<input type="hidden" id="signTime" value="">
<input type="hidden" id="signDays" value="">
<div class="header header_fixed">
	<div class="header1">
		<div class="header1in">
			<ul class="headerul1">
				<li><a style="padding-left:40px;font-size: 14px;"><i class="header-tel"></i><?php echo _cfg('cell'); ?></a></li>
				<li class="hreder-hover" style="border-right:none;"><a href="http://wpa.qq.com/msgrd?v=3&uin=<?php echo _cfg('qq'); ?>&site=qq&menu=yes" target="_blank">在线客服</a></li>
				<li class="phoneli header-WeChatli">
					<a href="/go/index/weixin" style=" padding-bottom: 0px;">关注我们<i class="i-header-WeChat"></i></a>
					<img src="<?php echo G_TEMPLATES_IMAGE; ?>/weixin.jpg">
				</li>
				<li class="phoneli header-Xlli">
					<a href="#" style=" padding-bottom: 0px;">新浪微博<i class="i-header-WeChat"></i></a>
					<img style="border:0px;width:180px;" src="<?php echo G_TEMPLATES_IMAGE; ?>/weibo.jpg">
				</li>
				<li class="phoneli header-phoneli">
					<a href="<?php echo WEB_PATH; ?>/go/shaidan/app" style="border-right:0px;" target="_black">手机客户端<i class="i-header-phone"></i></a>
					 <img src="<?php echo G_TEMPLATES_IMAGE; ?>/shouji.jpg">
				</li>
			</ul>
			<ul class="headerul2">
			<?php if(get_user_arr()): ?>
		        <li><a href="<?php echo WEB_PATH; ?>/member/home/qiandao">签到</a></li>
				<li class="li_popup_doregister"><a href="<?php echo WEB_PATH; ?>/member/home">欢迎您：<?php echo get_user_name(get_user_arr(),'username'); ?></a></li>
				<li class="li_popup_login"><a href="<?php echo WEB_PATH; ?>/member/user/cook_end">退出</a></li>
			
			
			<?php  else: ?>
				<li><a href="javascript:void(0);" id="sign" onClick="sign()">签到</a></li>
				<li class="li_popup_doregister"><a href="<?php echo WEB_PATH; ?>/register" style="padding-left:30px;color:#dd2726;"><img style="position:absolute;top:-2px;left:7px;" src="<?php echo G_TEMPLATES_IMAGE; ?>/top_add.png">免费注册</a></li>
				<li class="li_popup_login"><a href="<?php echo WEB_PATH; ?>/login">登录</a></li>
           <?php endif; ?>
				<li class="MyzhLi">
					<a href="<?php echo WEB_PATH; ?>/member/home">我的<?php echo _cfg('web_name_two'); ?><i class="top"></i></a>
					<dl class="Myzh">
						<dd><a href="<?php echo WEB_PATH; ?>/member/home/userbuylist"><?php echo _cfg('web_name_two'); ?>记录</a></dd>
						<dd><a href="<?php echo WEB_PATH; ?>/member/home/orderlist">获得的商品</a></dd>
						<dd><a  href="<?php echo WEB_PATH; ?>/member/home/userrecharge">帐户充值</a></dd>
						<dd><a href="<?php echo WEB_PATH; ?>/member/home/modify">个人设置</a></dd>
					</dl>
				</li>
				<li><a href="<?php echo WEB_PATH; ?>/member/home/userrecharge">充值</a></li>	
				<li><a href="<?php echo WEB_PATH; ?>/help/1">帮助</a></li>
			    <li class="fl"><a href="javascript:;" onClick="AddFavorite(window.location,document.title)">收藏<?php echo _cfg('web_name_two'); ?></a></li>
				
				<li><a style="border-right:none;" href="<?php echo WEB_PATH; ?>/group_qq">官方QQ群</a></li>
			</ul>
		</div>
	</div>
	<div class="header2">
	    <span id="ww_span"></span>
		<a href="<?php echo G_WEB_PATH; ?>/" class="header_logo" title="<?php echo _cfg('web_name'); ?>"><img src="<?php echo G_UPLOAD_PATH; ?>/<?php echo Getlogo(); ?>"></a>
		
		<div class="search_header2">
			<s></s>
			<input id="txtSearch" class="init" placeholder="搜索您需要的商品" value='iphon6s' type="text">
			<a id="butSearch" href="javascript:;" class="btnHSearch">搜索</a>
			
		</div>
		<!-- 头部显示累计交易金额 -->
		<div class="yJoinNum">
		<span class="yBefore">累计参与人数</span>
		<span>
             <div class="number">
                 <a href="<?php echo WEB_PATH; ?>/buyrecord" target="_blank">
                      <ul id="ulHTotalBuy">
                <li class="num" style="display: none;"><cite><em>0</em></cite><i></i></li>
                <li class="num"><cite><em>0</em></cite><i></i></li>
                <li class="num"><cite><em>0</em></cite><i></i></li>
				<li class="num"><cite><em>0</em></cite><i></i></li>
                <li class="num"><cite><em>0</em></cite><i></i></li>
                <li class="num"><cite><em>0</em></cite><i></i></li>
                <li class="num"><cite><em>0</em></cite><i></i></li>
                <li class="num"><cite><em>0</em></cite><i></i></li>
                <li class="num"><cite><em>0</em></cite><i></i></li>
			</ul> </a>
			</span>
             </div>
		</div>
	</div>
</div>
<div style="clear:both;"></div>
<!-- 导航   start  -->
 <?php 
    if($this->db){
      $cmodel=$this->db;
    }else{
      $cmodel=$mysql_model;
    }

    $two_cate_list = $cmodel->GetList("select cateid,parentid,name from `@#_category` where `model` = '1' and `parentid` = '0' order by `order` DESC");
   ?>
<div class="yNavIndexOut yNavIndexOut_fixed yNavIndexOut_fixed_index">
	<div class="yNavIndex">
		<div class="pullDown">
			<h4 class="pullDownTitle">
				<a href="<?php echo WEB_PATH; ?>/goods_list" target="">所有商品分类</a>
			</h4>
			<ul class="pullDownList" style="display: block;">
             	<?php $data=$this->DB()->GetList("select * from `@#_category` where `model`='1' and `parentid` = '0' order by `order` ASC",array("type"=>1,"key"=>'',"cache"=>0)); ?>
	<?php $ln=1;if(is_array($data)) foreach($data AS $categoryx): ?>
		     	<li >
								<a href="<?php echo WEB_PATH; ?>/goods_list/<?php echo $categoryx['cateid']; ?>"><i class="listi<?php echo $i; ?>"><img src="<?php echo G_UPLOAD_PATH; ?>/<?php echo $categoryx['pic_url']; ?>" height="20"></i><?php echo $categoryx['name']; ?></a>
				<span>
				</span>
				</li>

	<?php  endforeach; $ln++; unset($ln); ?>
	<?php if(defined('G_IN_ADMIN')) {echo '<div style="padding:8px;background-color:#F93; color:#fff;border:1px solid #D80000;text-align:center"><b>This Tag</b></div>';}?>
			</ul>

			<!-- 下拉详细列表具体分类 -->
		 <!-- 	<div class="yMenuListCon">
		 	</div> -->
		</div>
		<ul class="yMenuIndex">
			
		<li><a href="<?php echo G_WEB_PATH; ?>" class="yMenua">首页</a><em>/</em></li>
		<li><?php echo Getheader('index'); ?><em></em></li>
		<li class="hide-menu-nav" style="padding: 0 13px 0px 15px;">
		<span></span><a href="#" class="hide-menu-nava">发现</a>
		<dl>
		<dd><a href="<?php echo WEB_PATH; ?>/group" target="_blank">云粉社区</a></dd>
	    <dd style="border-top:1px solid #ddd;"><a href="<?php echo WEB_PATH; ?>/member/lottery" target="_blank">下单抽奖</a></dd>
		<dd style="border-top:1px solid #ddd;"><a href="http://www.a8mx.com" target="_blank">技术论坛</a></dd>
		</dl>
		</li>
		</ul>
	</div>
</div>                                          
<!-- 导航   end  -->

<!--r-fixed start-->
<div class="r-fixed">
    <ul class="r-fixed-nav">
        <li class="toolbar-item" id="btnMyCart">
        	<a href="<?php echo WEB_PATH; ?>/member/cart/cartlist" class="shoppingCartRightFix" id="sCartNavi">
        		<em class="num-rt" id="sCartTotal">0</em>
	            <div class="item-tip-c item-tip-checkpage" id="sCart">
	                <div class="item-box">
	                    <u class="u-code u-g-ft-wx"></u>
	                    <div class="item-tip">购物车</div>
	                </div>
	            </div>
	            <i id="iconfont" class="iconfont" style="background:url(../statics/templates/mowov9mb1/img/front/add_index/r-fixed1.png) no-repeat center center;"></i>
	        </a>
        </li>
        <li class="toolbar-item">
            <a href="http://wpa.qq.com/msgrd?v=3&uin=<?php echo _cfg('qq'); ?>&site=qq&menu=yes" title="在线客服" target="_blank">
                <div class="item-tip-c item-tip-kefu">
                    <div class="item-box">
                        <div class="item-tip">在线客服</div>
                    </div>
                </div>
                <i class="iconfont" style="background:url(../statics/templates/mowov9mb1/img/front/add_index/r-fixed2.png) no-repeat center center;"></i>
            </a>
        </li>
        <li class="toolbar-item">
        	<a href="javascript:void(0);">
	            <div class="item-tip-c item-tip-wx">
	                <div class="item-box">
	                    <u class="u-code u-g-ft-wx">
	                    	<img src="<?php echo G_TEMPLATES_IMAGE; ?>/weixin.jpg">
	                    </u>
	                    <div class="item-tip">关注微信</div>
	                </div>
	            </div>
	            <i class="iconfont" style="background:url(../statics/templates/mowov9mb1/img/front/add_index/r-fixed3.png) no-repeat center center;"></i>
	        </a>
        </li>
         <li class="toolbar-item">
        	<a href="javascript:void(0);">
	            <div class="item-tip-c item-tip-app">
	                <div class="item-box">
	                    <u class="u-code u-g-ft-app">
	                    	  <img src="<?php echo G_TEMPLATES_IMAGE; ?>/shouji.jpg">
	                    </u>
	                    <div class="item-tip">扫码下载APP</div>
	                </div>
	            </div>
	            <i class="iconfont" style="background:url(../statics/templates/mowov9mb1/img/front/add_index/r-fixed4.png) no-repeat center center;"></i>
	        </a>
        </li>
        <li class="toolbar-item">
            <a href="<?php echo WEB_PATH; ?>/member/home/userrecharge" title="我要充值">
                <div class="item-tip-c item-tip-checkpage">
                    <div class="item-box">
                        <div class="item-tip">我要充值</div>
                    </div>
                </div>
                <i class="iconfont" style="background:url(../statics/templates/mowov9mb1/img/front/add_index/r-fixed5.png) no-repeat center center;"></i>
            </a>
        </li>
        <li id="back" class="toolbar-item">
        	<a href="javascript:void(0);">
	            <div class="item-tip-c item-tip-back">
	                <div class="item-box">
	                    <div class="item-tip">返回顶部</div>
	                </div>
	            </div>
	            <i class="iconfont" style="background:url(../statics/templates/mowov9mb1/img/front/add_index/r-fixed6.png) no-repeat center center;"></i>
	        </a>
        </li>
    </ul>
</div>
<!--r-fixed end-->

    <div class="a_world_bg" style="z-index:1011"></div>
	<span id="index" style="display: none"></span>
	<!-- 导航   end  -->
<!-- banner   start -->
	<div class="yBanner">
	<div class="banner_box b_gray" style="border-top:0;">
	<?php $slides=$this->DB()->GetList("select * from `@#_slide` where 1",array("type"=>1,"key"=>'',"cache"=>0)); ?>
		<div id="fsD1" class="focus">
			<div id="D1pic1" class="fPic">
			<?php $ln=1;if(is_array($slides)) foreach($slides AS $slide): ?>
			 <?php if($ln == 1): ?>
				<div class="fcon">
					<a href="<?php echo $slide['link']; ?>" target="_blank">
					<img style="opacity: 1;" src="<?php echo G_UPLOAD_PATH; ?>/<?php echo $slide['img']; ?>"></a>
				</div>
			 	<?php  else: ?>
			 	<div class="fcon" style="display: none;">
			 		<a href="<?php echo $slide['link']; ?>" target="_blank">
			 		<img style="opacity: 1;" src="<?php echo G_UPLOAD_PATH; ?>/<?php echo $slide['img']; ?>"></a>
			 	</div>
			    <?php endif; ?>
			    <?php  endforeach; $ln++; unset($ln); ?>
		</div>
			<div class="fbg">
			<div class="D1fBt" id="D1fBt">
							<a href="javascript:void(0)" hidefocus="true" target="_self" class="current"></a>
							<a href="javascript:void(0)" hidefocus="true" target="_self" class=""></a>
							<a href="javascript:void(0)" hidefocus="true" target="_self" class=""></a>
							<a href="javascript:void(0)" hidefocus="true" target="_self" class=""></a>
							<a href="javascript:void(0)" hidefocus="true" target="_self" class=""></a>
							<a href="javascript:void(0)" hidefocus="true" target="_self" class=""></a>
							<a href="javascript:void(0)" hidefocus="true" target="_self" class=""></a>
							<a href="javascript:void(0)" hidefocus="true" target="_self" class=""></a>
						</div>
			</div>
			<span class="prev"></span>
			<span class="next"></span>
		</div>
	</div>
</div>
	<!-- banner   end -->		
	<!-- 最新动态 -->
	<div class="yscroll_list">
		<div class="yscroll_listin">
			<span><i></i><a href="<?php echo WEB_PATH; ?>/help/1" target="_blank">最新动态：</a></span>
			<ul class="yscroll_list_left" style="margin-top:0px;">
			<?php $tiezi=$this->DB()->GetList("select * from `@#_article` where 1 AND cateid = 21 order by posttime DESC",array("type"=>1,"key"=>'',"cache"=>0)); ?>
			<?php $ln=1;if(is_array($tiezi)) foreach($tiezi AS $tz): ?>
			<li><p class="yscrollfont"><a href="<?php echo WEB_PATH; ?>/help/<?php echo $tz['id']; ?>" title="<?php echo $tz['title']; ?>"><?php echo $tz['title']; ?></a></p><p class="yscrolltime"><?php echo date("m月d日",$tz['posttime']); ?></p></li>
			<?php  endforeach; $ln++; unset($ln); ?>
			</ul>
			<ul class="yscroll_list_right">
				<a href="<?php echo WEB_PATH; ?>/help/1" target="_blank"><span></span><em>更多</em></a>
			</ul>
		</div>
	</div>
	
	
	
	
	
	

	<div class="sd_yContent">
		<div class="yContent">
		<div class="yConNew yCon" style="position: relative;">
				<h2>
					<a href="<?php echo WEB_PATH; ?>/goods_lottery" target="_blank">最新揭晓</a><span></span><a href="<?php echo WEB_PATH; ?>/goods_lottery" class="yMoreLink" target="_blank"><em>更多</em></a>
				</h2>
                   <div class="yConulout">
					<div class="module_loading" id="publishList">
	<ul id="prin_pp">
	<?php $ln=1;if(is_array($shopqishu)) foreach($shopqishu AS $sq): ?>
		<li>
		<dl class="yTimesDl">	
			<dd class="yddImg">
				<a href="<?php echo WEB_PATH; ?>/dataserver/<?php echo $sq['id']; ?>" target="_blank"><img src="<?php echo G_UPLOAD_PATH; ?>/<?php echo $sq['thumb']; ?>"></a></dd>
				 <dd class="yddName">恭喜<a href="<?php echo WEB_PATH; ?>/uname/<?php echo idjia($sq['q_user']['uid']); ?>" target="_blank" class="yddNameas"><?php echo get_user_name($sq['q_user']); ?></a>获得</dd>
				<dd class="yGray"><a href="<?php echo WEB_PATH; ?>/dataserver/<?php echo $sq['id']; ?>" target="_blank"><?php echo _strcut($sq['title'],56); ?></a></dd>
				 <dd class="yGray">幸运号码：<?php echo $sq['q_user_code']; ?></dd>
				<dd class="yddName">回报率：<a class="yddNameas"><?php echo $sq['rate']; ?></a>倍</dd><i></i>
				   </dl>  
		</li>
	<?php  endforeach; $ln++; unset($ln); ?>		
	</ul>
	</div>
</div>
</div>
<script>
 var APP = {
      WEB_PATH : '<?php echo WEB_PATH; ?>',
      G_WEB_PATH : '<?php echo G_WEB_PATH; ?>',
      G_PARAM_URL : '<?php echo G_PARAM_URL; ?>'
    };		
</script>
<script type="text/javascript" src="<?php echo G_GLOBAL_STYLE; ?>/global/js/jquery.BusyTime.js"></script>	
<script type="text/javascript" src="<?php echo G_GLOBAL_STYLE; ?>/global/js/jquery.cmsapi.js"></script>
<script>
	$.YunCmsApi.Loop({
		"timer"	  : 15000,
		"callback": function(data){
			var path='<?php echo WEB_PATH; ?>';
			var html= '';	
			html+= '<li class="yTimesLi" id="timeloop'+data.id+'">';		
			html+= '<dd class="yddImg">';	
			html+= '<a href="'+path+'/dataserver/'+data.id+'" target="_blank"><img src="<?php echo G_UPLOAD_PATH; ?>/'+data.thumb+'"></a>';
			html+= '</dd>';	
			html+= '<dd class="yddName">';							
			html+= '恭喜<a  href="'+path+'/dataserver/'+data.id+'" target="_blank" class="yddNameas">马上揭晓</a>获得';	
			html+= '</dd>';	
            html+= '<dd class="yGray">';	
			html+= '<a href="'+path+'/dataserver/'+data.id+'" target="_blank">'+data.title+'</a>';
			html+= '</dd>';				
			html+= '<p>幸运号码：马上揭晓</p>';	
			html+= '<span class="shi"><span class="busytime" pattern="<j>mm</j><e>:</e><j>ss</j><e>:</e><j>ms</j>" time="'+(new Date().getTime() + (data.times * 1000)) +'"><j>00</j><e>:</e><j>00</j><e>:</e><j>00</j></span>';							
			html+= '</span>';	
            html+= '<strong></strong>';				
			html+= '</li>';	
			var divl = $("#prin_pp").find('li');
			var len = divl.length;			
			if(len==3 && len  >0){
				var this_len = len - 1;
				divl.eq(this_len).remove();
			}			
			$("#prin_pp").prepend(html);
			$("#timeloop"+data.id+" .busytime").busytime({
				callback:function($dom){
					$dom.find(".shi").html('<dd class="yddNameas">正在计算,请稍后…</dd>');	
					setTimeout(function(){
					$.post(path+'/api/getshop/lottery_shop_getjson/',{gid:data.id},function(info){
						var uhtml = '';		
						uhtml+= '<div>';
						uhtml+= '<dd class="yddImg">';	
						uhtml+= '<a href="'+path+'/dataserver/'+info.id+'" target="_blank"><img src="<?php echo G_UPLOAD_PATH; ?>/'+info.thumb+'"></a>';
						uhtml+= '</dd>';							
			            uhtml+= '<dd class="yddName">';						
						uhtml+= '恭喜<a href="'+path+'/uname/'+(1000000000 + parseInt(info.uid))+'"  target="_blank" class="yddNameas">'+info.user+'</a>获得';	
			            uhtml+= '</dd>';
						uhtml+= '<dd class="yGray">';	
						uhtml+= '<a href="'+path+'/dataserver/'+info.id+'" target="_blank"><p class="c_black">'+info.title+'</p></a>';	
						uhtml+= '</dd>';	
                        uhtml+= '<dd class="yGray">';						
						uhtml+= '花费 <span>'+info.huafei+'</span>云币，获得了';
			            uhtml+= '</dd>';						
						uhtml+= '<dd class="yddName">回报率：<a class="yddNameas">'+info.huibaolv+'</a> 倍</dd>';	
                        uhtml+= '<i></i>';						
						uhtml+= '</div>';	
						$("#timeloop"+data.id).html(uhtml);					
					},'json');
					},5000);
				}
			}).start();		
			
		}
	});
	</script>		
</div>
<script type="text/javascript" src="<?php echo G_TEMPLATES_JS; ?>/jquery.cookie.js"></script>
<script type="text/javascript" src="<?php echo G_TEMPLATES_JS; ?>/cloud-zoom.min.js"></script>
<script type="text/javascript" src="<?php echo G_TEMPLATES_JS; ?>/jquery.webox.js"></script>
<script type="text/javascript" src="<?php echo G_TEMPLATES_JS; ?>/jquery.cartlist.js"></script>
<div class="clear"></div>
	<div id="modules">
			<div class="yCon yCon0 yConCenter">
				<h2>
					<i>1F</i><a href="<?php echo WEB_PATH; ?>/goods_list/1_0_0" class="yCon-title" id="module_1_name" target="_blank">奢侈品区</a>
					<!-- 2015-6-25 start -->
					<a href="<?php echo WEB_PATH; ?>/goods_list" class="yMoreLink" id="module_1_more" target="_blank"><em>更多</em></a>
					<!-- 2015-6-25 end -->
					<ul id="module_1_child_nav"></ul>
				</h2>
				<div class="yConCenterIn" id="module_1_child_html">
					<!-- 1 div -->
					<div class="yConCenterInList" style="display: block;" id="module_1_child_goodslist_show">
					<ul class="w_goods_one">
		             <?php $data=$this->DB()->GetList("select * from `@#_shoplist` where `cateid`='1' and `q_uid` is null and `period1_date`='' ORDER BY id DESC LIMIT 8",array("type"=>1,"key"=>'',"cache"=>0)); ?>
					 <?php $ln=1;if(is_array($data)) foreach($data AS $shop): ?>
			
					 <?php 			
					 $i=$i+1;
					  ?>
					<li class="w_goods_details">
					<div class="w_imgOut"><a class="w_goods_img" href="<?php echo WEB_PATH; ?>/goods/<?php echo $shop['id']; ?>" target="_blank">
					<img id="img_<?php echo $shop['id']; ?>" data-original="<?php echo G_UPLOAD_PATH; ?>/<?php echo $shop['thumb']; ?>" class="lazy9" src="<?php echo G_UPLOAD_PATH; ?>/<?php echo $shop['thumb']; ?>" style="display: inline;"></a>
					</div>
					<a class="w_goods_three" href="<?php echo WEB_PATH; ?>/goods/<?php echo $shop['id']; ?>" target="_blank" title="<?php echo $shop['title']; ?>"><?php echo $shop['title']; ?></a>
					<b>价值：￥<?php echo $shop['money']; ?></b>
					<div class="w_line">
					<span style="width:<?php echo width($shop['canyurenshu'],$shop['zongrenshu'],100); ?>%;"></span>
					</div>
					<ul class="w_number">
					<li class="w_amount"><?php echo $shop['canyurenshu']; ?></li>
					<li class="w_amount"><?php echo $shop['zongrenshu']; ?></li>
					<li class="w_amount"><?php echo $shop['zongrenshu']-$shop['canyurenshu']; ?></li>
					<li>已夺宝人次</li>
					<li>总需人次</li>
					<li>剩余人次</li>
					</ul>
					<dl class="w_rob">
					<dd>
					<a href="javascript:;" style="line-height:40px;font-size:14px;" class="w_slip" onClick="jwebox.goshopnow(<?php echo $shop['id']; ?>,'<?php echo WEB_PATH; ?>')">立即<?php echo _cfg('web_name_two'); ?></a>
					<a href="javascript:cartoon(<?php echo $shop['id']; ?>,3)" onClick="gcartlist.gocartlist(<?php echo $shop['id']; ?>,'<?php echo WEB_PATH; ?>','wc_')" class="w_slip2" style="line-height:40px;font-size:14px;" id="car_<?php echo $shop['id']; ?>"></a>
					<input type="hidden" value="1" id="priceArea_<?php echo $shop['id']; ?>">
					</dd>
					</dl>
					
				<div class="fail" style="display:none">
			    <div class="main" style="text-indent:4em">购物车已存在！加入失败</div>
			</div>
			<div class="success" style="display:none">
				<div class="main" style="text-indent:4em">恭喜您,加入购物车成功</div>
			</div>			
				<span class="w_zone">强烈推荐</span>
					</li>
					<?php  endforeach; $ln++; unset($ln); ?>
				</ul></div>
				</div>
			</div>

			<div class="yCon yCon1 yConCenter">
				<h2>
					<i>2F</i><a href="<?php echo WEB_PATH; ?>/goods_list/2_0_0" class="yCon-title" id="module_1_name" target="_blank">汽车专区</a>
					<!-- 2015-6-25 start -->
					<a href="<?php echo WEB_PATH; ?>/goods_list" class="yMoreLink" id="module_1_more" target="_blank"><em>更多</em></a>
					<!-- 2015-6-25 end -->
					<ul id="module_1_child_nav"></ul>
				</h2>
				<div class="yConCenterIn" id="module_1_child_html">
					<!-- 1 div -->
					<div class="yConCenterInList" style="display: block;" id="module_1_child_goodslist_show">
					<ul class="w_goods_one">
		             <?php $data=$this->DB()->GetList("select * from `@#_shoplist` where `cateid`='2' and `q_uid` is null and `period1_date`='' ORDER BY id DESC LIMIT 8",array("type"=>1,"key"=>'',"cache"=>0)); ?>
					 <?php $ln=1;if(is_array($data)) foreach($data AS $shop): ?>
			
					 <?php 			
					 $i=$i+1;
					  ?>
					<li class="w_goods_details">
					<div class="w_imgOut"><a class="w_goods_img" href="<?php echo WEB_PATH; ?>/goods/<?php echo $shop['id']; ?>" target="_blank">
					<img id="img_<?php echo $shop['id']; ?>" data-original="<?php echo G_UPLOAD_PATH; ?>/<?php echo $shop['thumb']; ?>" class="lazy9" src="<?php echo G_UPLOAD_PATH; ?>/<?php echo $shop['thumb']; ?>" style="display: inline;"></a>
					</div>
					<a class="w_goods_three" href="<?php echo WEB_PATH; ?>/goods/<?php echo $shop['id']; ?>" target="_blank" title="<?php echo $shop['title']; ?>"><?php echo $shop['title']; ?></a>
					<b>价值：￥<?php echo $shop['money']; ?></b>
					<div class="w_line">
					<span style="width:<?php echo width($shop['canyurenshu'],$shop['zongrenshu'],100); ?>%;"></span>
					</div>
					<ul class="w_number">
					<li class="w_amount"><?php echo $shop['canyurenshu']; ?></li>
					<li class="w_amount"><?php echo $shop['zongrenshu']; ?></li>
					<li class="w_amount"><?php echo $shop['zongrenshu']-$shop['canyurenshu']; ?></li>
					<li>已夺宝人次</li>
					<li>总需人次</li>
					<li>剩余人次</li>
					</ul>
					<dl class="w_rob">
					<dd>
					<a href="javascript:;" style="line-height:40px;font-size:14px;" class="w_slip" onClick="jwebox.goshopnow(<?php echo $shop['id']; ?>,'<?php echo WEB_PATH; ?>')">立即<?php echo _cfg('web_name_two'); ?></a>
					<a href="javascript:cartoon(<?php echo $shop['id']; ?>,3)" onClick="gcartlist.gocartlist(<?php echo $shop['id']; ?>,'<?php echo WEB_PATH; ?>','wc_')" class="w_slip2" style="line-height:40px;font-size:14px;" id="car_<?php echo $shop['id']; ?>"></a>
					<input type="hidden" value="1" id="priceArea_<?php echo $shop['id']; ?>">
					</dd>
					</dl>
					
				<div class="fail" style="display:none">
			    <div class="main" style="text-indent:4em">购物车已存在！加入失败</div>
			</div>
			<div class="success" style="display:none">
				<div class="main" style="text-indent:4em">恭喜您,加入购物车成功</div>
			</div>			
				<span class="w_zone">汽车专区</span>
					</li>
					<?php  endforeach; $ln++; unset($ln); ?>
				</ul></div>
				</div>
			</div>

		    <?php $res=$this->DB()->GetList("select img,link from `@#_recom` where 1  order by `id` ASC",array("type"=>1,"key"=>'',"cache"=>0)); ?>
			<div class="aBJCon">
	              <a href="<?php echo $res['0']['link']; ?>" target="_blank" style="display: block;"><img src="<?php echo G_UPLOAD_PATH; ?>/<?php echo $res['0']['img']; ?>" border="0" height="88" width="1210" align="middle"></a>
			</div>
			
			
			
<div class="yCon yCon1 yConCenter">
				<h2>
					<i>3F</i><a href="<?php echo WEB_PATH; ?>/goods_list/3_0_0" class="yCon-title" id="module_1_name" target="_blank">手机数码</a>
					<!-- 2015-6-25 start -->
					<a href="<?php echo WEB_PATH; ?>/goods_list" class="yMoreLink" id="module_1_more" target="_blank"><em>更多</em></a>
					<!-- 2015-6-25 end -->
					<ul id="module_1_child_nav"></ul>
				</h2>
				<div class="yConCenterIn" id="module_1_child_html">
					<!-- 1 div -->
					<div class="yConCenterInList" style="display: block;" id="module_1_child_goodslist_show">
					<ul class="w_goods_one">
		             <?php $data=$this->DB()->GetList("select * from `@#_shoplist` where `cateid`='3' and `q_uid` is null and `period1_date`='' ORDER BY id DESC LIMIT 8",array("type"=>1,"key"=>'',"cache"=>0)); ?>
					 <?php $ln=1;if(is_array($data)) foreach($data AS $shop): ?>
			
					 <?php 			
					 $i=$i+1;
					  ?>
					<li class="w_goods_details">
					<div class="w_imgOut"><a class="w_goods_img" href="<?php echo WEB_PATH; ?>/goods/<?php echo $shop['id']; ?>" target="_blank">
					<img id="img_<?php echo $shop['id']; ?>" data-original="<?php echo G_UPLOAD_PATH; ?>/<?php echo $shop['thumb']; ?>" class="lazy9" src="<?php echo G_UPLOAD_PATH; ?>/<?php echo $shop['thumb']; ?>" style="display: inline;"></a>
					</div>
					<a class="w_goods_three" href="<?php echo WEB_PATH; ?>/goods/<?php echo $shop['id']; ?>" target="_blank" title="<?php echo $shop['title']; ?>"><?php echo $shop['title']; ?></a>
					<b>价值：￥<?php echo $shop['money']; ?></b>
					<div class="w_line">
					<span style="width:<?php echo width($shop['canyurenshu'],$shop['zongrenshu'],100); ?>%;"></span>
					</div>
					<ul class="w_number">
					<li class="w_amount"><?php echo $shop['canyurenshu']; ?></li>
					<li class="w_amount"><?php echo $shop['zongrenshu']; ?></li>
					<li class="w_amount"><?php echo $shop['zongrenshu']-$shop['canyurenshu']; ?></li>
					<li>已夺宝人次</li>
					<li>总需人次</li>
					<li>剩余人次</li>
					</ul>
					<dl class="w_rob">
					<dd>
					<a href="javascript:;" style="line-height:40px;font-size:14px;" class="w_slip" onClick="jwebox.goshopnow(<?php echo $shop['id']; ?>,'<?php echo WEB_PATH; ?>')">立即<?php echo _cfg('web_name_two'); ?></a>
					<a href="javascript:cartoon(<?php echo $shop['id']; ?>,3)" onClick="gcartlist.gocartlist(<?php echo $shop['id']; ?>,'<?php echo WEB_PATH; ?>','wc_')" class="w_slip2" style="line-height:40px;font-size:14px;" id="car_<?php echo $shop['id']; ?>"></a>
					<input type="hidden" value="1" id="priceArea_<?php echo $shop['id']; ?>">
					</dd>
					</dl>
					
				<div class="fail" style="display:none">
			    <div class="main" style="text-indent:4em">购物车已存在！加入失败</div>
			</div>
			<div class="success" style="display:none">
				<div class="main" style="text-indent:4em">恭喜您,加入购物车成功</div>
			</div>			
				<span class="w_zone">手机数码</span>
					</li>
					<?php  endforeach; $ln++; unset($ln); ?>
				</ul></div>
				</div>
			</div>
<div class="yCon yCon3 yConCenter">
				<h2>
					<i>4F</i><a href="<?php echo WEB_PATH; ?>/goods_list/4_0_0" class="yCon-title" id="module_1_name" target="_blank">家用电器</a>
					<!-- 2015-6-25 start -->
					<a href="<?php echo WEB_PATH; ?>/goods_list" class="yMoreLink" id="module_1_more" target="_blank"><em>更多</em></a>
					<!-- 2015-6-25 end -->
					<ul id="module_1_child_nav"></ul>
				</h2>
				<div class="yConCenterIn" id="module_1_child_html">
					<!-- 1 div -->
					<div class="yConCenterInList" style="display: block;" id="module_1_child_goodslist_show">
					<ul class="w_goods_one">
		             <?php $data=$this->DB()->GetList("select * from `@#_shoplist` where `cateid`='4' and `q_uid` is null and `period1_date`='' ORDER BY id DESC LIMIT 8",array("type"=>1,"key"=>'',"cache"=>0)); ?>
					 <?php $ln=1;if(is_array($data)) foreach($data AS $shop): ?>
			
					 <?php 			
					 $i=$i+1;
					  ?>
					<li class="w_goods_details">
					<div class="w_imgOut"><a class="w_goods_img" href="<?php echo WEB_PATH; ?>/goods/<?php echo $shop['id']; ?>" target="_blank">
					<img id="img_<?php echo $shop['id']; ?>" data-original="<?php echo G_UPLOAD_PATH; ?>/<?php echo $shop['thumb']; ?>" class="lazy9" src="<?php echo G_UPLOAD_PATH; ?>/<?php echo $shop['thumb']; ?>" style="display: inline;"></a>
					</div>
					<a class="w_goods_three" href="<?php echo WEB_PATH; ?>/goods/<?php echo $shop['id']; ?>" target="_blank" title="<?php echo $shop['title']; ?>"><?php echo $shop['title']; ?></a>
					<b>价值：￥<?php echo $shop['money']; ?></b>
					<div class="w_line">
					<span style="width:<?php echo width($shop['canyurenshu'],$shop['zongrenshu'],100); ?>%;"></span>
					</div>
					<ul class="w_number">
					<li class="w_amount"><?php echo $shop['canyurenshu']; ?></li>
					<li class="w_amount"><?php echo $shop['zongrenshu']; ?></li>
					<li class="w_amount"><?php echo $shop['zongrenshu']-$shop['canyurenshu']; ?></li>
					<li>已夺宝人次</li>
					<li>总需人次</li>
					<li>剩余人次</li>
					</ul>
					<dl class="w_rob">
					<dd>
					<a href="javascript:;" style="line-height:40px;font-size:14px;" class="w_slip" onClick="jwebox.goshopnow(<?php echo $shop['id']; ?>,'<?php echo WEB_PATH; ?>')">立即<?php echo _cfg('web_name_two'); ?></a>
					<a href="javascript:cartoon(<?php echo $shop['id']; ?>,3)" onClick="gcartlist.gocartlist(<?php echo $shop['id']; ?>,'<?php echo WEB_PATH; ?>','wc_')" class="w_slip2" style="line-height:40px;font-size:14px;" id="car_<?php echo $shop['id']; ?>"></a>
					<input type="hidden" value="1" id="priceArea_<?php echo $shop['id']; ?>">
					</dd>
					</dl>
					
				<div class="fail" style="display:none">
			    <div class="main" style="text-indent:4em">购物车已存在！加入失败</div>
			</div>
			<div class="success" style="display:none">
				<div class="main" style="text-indent:4em">恭喜您,加入购物车成功</div>
			</div>			
				<span class="w_zone">家用电器</span>
					</li>
					<?php  endforeach; $ln++; unset($ln); ?>
				</ul></div>
				</div>
			</div>
			
<div class="yCon yCon4 yConCenter">
				<h2>
					<i>5F</i><a href="<?php echo WEB_PATH; ?>/goods_list/17_0_0" class="yCon-title" id="module_1_name" target="_blank">金银珠宝</a>
					<!-- 2015-6-25 start -->
					<a href="<?php echo WEB_PATH; ?>/goods_list" class="yMoreLink" id="module_1_more" target="_blank"><em>更多</em></a>
					<!-- 2015-6-25 end -->
					<ul id="module_1_child_nav"></ul>
				</h2>
				<div class="yConCenterIn" id="module_1_child_html">
					<!-- 1 div -->
					<div class="yConCenterInList" style="display: block;" id="module_1_child_goodslist_show">
					<ul class="w_goods_one">
		             <?php $data=$this->DB()->GetList("select * from `@#_shoplist` where `cateid`='17' and `q_uid` is null and `period1_date`='' ORDER BY id DESC LIMIT 8",array("type"=>1,"key"=>'',"cache"=>0)); ?>
					 <?php $ln=1;if(is_array($data)) foreach($data AS $shop): ?>
			
					 <?php 			
					 $i=$i+1;
					  ?>
					<li class="w_goods_details">
					<div class="w_imgOut"><a class="w_goods_img" href="<?php echo WEB_PATH; ?>/goods/<?php echo $shop['id']; ?>" target="_blank">
					<img id="img_<?php echo $shop['id']; ?>" data-original="<?php echo G_UPLOAD_PATH; ?>/<?php echo $shop['thumb']; ?>" class="lazy9" src="<?php echo G_UPLOAD_PATH; ?>/<?php echo $shop['thumb']; ?>" style="display: inline;"></a>
					</div>
					<a class="w_goods_three" href="<?php echo WEB_PATH; ?>/goods/<?php echo $shop['id']; ?>" target="_blank" title="<?php echo $shop['title']; ?>"><?php echo $shop['title']; ?></a>
					<b>价值：￥<?php echo $shop['money']; ?></b>
					<div class="w_line">
					<span style="width:<?php echo width($shop['canyurenshu'],$shop['zongrenshu'],100); ?>%;"></span>
					</div>
					<ul class="w_number">
					<li class="w_amount"><?php echo $shop['canyurenshu']; ?></li>
					<li class="w_amount"><?php echo $shop['zongrenshu']; ?></li>
					<li class="w_amount"><?php echo $shop['zongrenshu']-$shop['canyurenshu']; ?></li>
					<li>已夺宝人次</li>
					<li>总需人次</li>
					<li>剩余人次</li>
					</ul>
					<dl class="w_rob">
					<dd>
					<a href="javascript:;" style="line-height:40px;font-size:14px;" class="w_slip" onClick="jwebox.goshopnow(<?php echo $shop['id']; ?>,'<?php echo WEB_PATH; ?>')">立即<?php echo _cfg('web_name_two'); ?></a>
					<a href="javascript:cartoon(<?php echo $shop['id']; ?>,3)" onClick="gcartlist.gocartlist(<?php echo $shop['id']; ?>,'<?php echo WEB_PATH; ?>','wc_')" class="w_slip2" style="line-height:40px;font-size:14px;" id="car_<?php echo $shop['id']; ?>"></a>
					<input type="hidden" value="1" id="priceArea_<?php echo $shop['id']; ?>">
					</dd>
					</dl>
					
				<div class="fail" style="display:none">
			    <div class="main" style="text-indent:4em">购物车已存在！加入失败</div>
			</div>
			<div class="success" style="display:none">
				<div class="main" style="text-indent:4em">恭喜您,加入购物车成功</div>
			</div>			
				<span class="w_zone">金银珠宝</span>
					</li>
					<?php  endforeach; $ln++; unset($ln); ?>
				</ul></div>
				</div>
			</div>
			
			
<div class="yCon yCon5 yConCenter">
				<h2>
					<i>6F</i><a href="<?php echo WEB_PATH; ?>/goods_list10" class="yCon-title" id="module_1_name" target="_blank">十元专区</a>
					<!-- 2015-6-25 start -->
					<a href="<?php echo WEB_PATH; ?>/goods_list" class="yMoreLink" id="module_1_more" target="_blank"><em>更多</em></a>
					<!-- 2015-6-25 end -->
					<ul id="module_1_child_nav"></ul>
				</h2>
				<div class="yConCenterIn" id="module_1_child_html">
					<!-- 1 div -->
					<div class="yConCenterInList" style="display: block;" id="module_1_child_goodslist_show">
					<ul class="w_goods_one">
		             <?php $data=$this->DB()->GetList("select * from `@#_shoplist` where `cateid`='18' and `q_uid` is null and `period1_date`='' ORDER BY id DESC LIMIT 8",array("type"=>1,"key"=>'',"cache"=>0)); ?>
					 <?php $ln=1;if(is_array($data)) foreach($data AS $shop): ?>
			
					 <?php 			
					 $i=$i+1;
					  ?>
					<li class="w_goods_details">
					<div class="w_imgOut"><a class="w_goods_img" href="<?php echo WEB_PATH; ?>/goods/<?php echo $shop['id']; ?>" target="_blank">
					<img id="img_<?php echo $shop['id']; ?>" data-original="<?php echo G_UPLOAD_PATH; ?>/<?php echo $shop['thumb']; ?>" class="lazy9" src="<?php echo G_UPLOAD_PATH; ?>/<?php echo $shop['thumb']; ?>" style="display: inline;"></a>
					</div>
					<a class="w_goods_three" href="<?php echo WEB_PATH; ?>/goods/<?php echo $shop['id']; ?>" target="_blank" title="<?php echo $shop['title']; ?>"><?php echo $shop['title']; ?></a>
					<b>价值：￥<?php echo $shop['money']; ?></b>
					<div class="w_line">
					<span style="width:<?php echo width($shop['canyurenshu'],$shop['zongrenshu'],100); ?>%;"></span>
					</div>
					<ul class="w_number">
					<li class="w_amount"><?php echo $shop['canyurenshu']; ?></li>
					<li class="w_amount"><?php echo $shop['zongrenshu']; ?></li>
					<li class="w_amount"><?php echo $shop['zongrenshu']-$shop['canyurenshu']; ?></li>
					<li>已夺宝人次</li>
					<li>总需人次</li>
					<li>剩余人次</li>
					</ul>
					<dl class="w_rob">
					<dd>
					<a href="javascript:;" style="line-height:40px;font-size:14px;" class="w_slip" onClick="jwebox.goshopnow(<?php echo $shop['id']; ?>,'<?php echo WEB_PATH; ?>')">立即<?php echo _cfg('web_name_two'); ?></a>
					<a href="javascript:cartoon(<?php echo $shop['id']; ?>,3)" onClick="gcartlist.gocartlist(<?php echo $shop['id']; ?>,'<?php echo WEB_PATH; ?>','wc_')" class="w_slip2" style="line-height:40px;font-size:14px;" id="car_<?php echo $shop['id']; ?>"></a>
					<input type="hidden" value="1" id="priceArea_<?php echo $shop['id']; ?>">
					</dd>
					</dl>
					
				<div class="fail" style="display:none">
			    <div class="main" style="text-indent:4em">购物车已存在！加入失败</div>
			</div>
			<div class="success" style="display:none">
				<div class="main" style="text-indent:4em">恭喜您,加入购物车成功</div>
			</div>			
				<span class="w_zone">十元专区</span>
					</li>
					<?php  endforeach; $ln++; unset($ln); ?>
				</ul></div>
				</div>
			</div>
			
					
			
<div class="yCon yCon6 yConCenter">
				<h2>
					<i>7F</i><a href="<?php echo WEB_PATH; ?>/goods_list100" class="yCon-title" id="module_1_name" target="_blank">百元专区</a>
					<!-- 2015-6-25 start -->
					<a href="<?php echo WEB_PATH; ?>/goods_list" class="yMoreLink" id="module_1_more" target="_blank"><em>更多</em></a>
					<!-- 2015-6-25 end -->
					<ul id="module_1_child_nav"></ul>
				</h2>
				<div class="yConCenterIn" id="module_1_child_html">
					<!-- 1 div -->
					<div class="yConCenterInList" style="display: block;" id="module_1_child_goodslist_show">
					<ul class="w_goods_one">
		             <?php $data=$this->DB()->GetList("select * from `@#_shoplist` where `cateid`='19' and `q_uid` is null and `period1_date`='' ORDER BY id DESC LIMIT 8",array("type"=>1,"key"=>'',"cache"=>0)); ?>
					 <?php $ln=1;if(is_array($data)) foreach($data AS $shop): ?>
			
					 <?php 			
					 $i=$i+1;
					  ?>
					<li class="w_goods_details">
					<div class="w_imgOut"><a class="w_goods_img" href="<?php echo WEB_PATH; ?>/goods/<?php echo $shop['id']; ?>" target="_blank">
					<img id="img_<?php echo $shop['id']; ?>" data-original="<?php echo G_UPLOAD_PATH; ?>/<?php echo $shop['thumb']; ?>" class="lazy9" src="<?php echo G_UPLOAD_PATH; ?>/<?php echo $shop['thumb']; ?>" style="display: inline;"></a>
					</div>
					<a class="w_goods_three" href="<?php echo WEB_PATH; ?>/goods/<?php echo $shop['id']; ?>" target="_blank" title="<?php echo $shop['title']; ?>"><?php echo $shop['title']; ?></a>
					<b>价值：￥<?php echo $shop['money']; ?></b>
					<div class="w_line">
					<span style="width:<?php echo width($shop['canyurenshu'],$shop['zongrenshu'],100); ?>%;"></span>
					</div>
					<ul class="w_number">
					<li class="w_amount"><?php echo $shop['canyurenshu']; ?></li>
					<li class="w_amount"><?php echo $shop['zongrenshu']; ?></li>
					<li class="w_amount"><?php echo $shop['zongrenshu']-$shop['canyurenshu']; ?></li>
					<li>已夺宝人次</li>
					<li>总需人次</li>
					<li>剩余人次</li>
					</ul>
					<dl class="w_rob">
					<dd>
					<a href="javascript:;" style="line-height:40px;font-size:14px;" class="w_slip" onClick="jwebox.goshopnow(<?php echo $shop['id']; ?>,'<?php echo WEB_PATH; ?>')">立即<?php echo _cfg('web_name_two'); ?></a>
					<a href="javascript:cartoon(<?php echo $shop['id']; ?>,3)" onClick="gcartlist.gocartlist(<?php echo $shop['id']; ?>,'<?php echo WEB_PATH; ?>','wc_')" class="w_slip2" style="line-height:40px;font-size:14px;" id="car_<?php echo $shop['id']; ?>"></a>
					<input type="hidden" value="1" id="priceArea_<?php echo $shop['id']; ?>">
					</dd>
					</dl>
					
				<div class="fail" style="display:none">
			    <div class="main" style="text-indent:4em">购物车已存在！加入失败</div>
			</div>
			<div class="success" style="display:none">
				<div class="main" style="text-indent:4em">恭喜您,加入购物车成功</div>
			</div>			
				<span class="w_zone">百元专区</span>
					</li>
					<?php  endforeach; $ln++; unset($ln); ?>
				</ul></div>
				</div>
			</div>
    <?php $res=$this->DB()->GetList("select img,link from `@#_recom` where 1  order by `id` DESC",array("type"=>1,"key"=>'',"cache"=>0)); ?>
			<div class="aBJCon">
	              <a href="<?php echo $res['0']['link']; ?>" target="_blank" style="display: block;"><img src="<?php echo G_UPLOAD_PATH; ?>/<?php echo $res['0']['img']; ?>" border="0" height="88" width="1210" align="middle"></a>
			</div>
<div class="yCon yCon7 yConCenter">
				<h2>
					<i>8F</i><a href="<?php echo WEB_PATH; ?>/goods_list/20_0_0" class="yCon-title" id="module_1_name" target="_blank">其他商品</a>
					<!-- 2015-6-25 start -->
					<a href="<?php echo WEB_PATH; ?>/goods_list" class="yMoreLink" id="module_1_more" target="_blank"><em>更多</em></a>
					<!-- 2015-6-25 end -->
					<ul id="module_1_child_nav"></ul>
				</h2>
				<div class="yConCenterIn" id="module_1_child_html">
					<!-- 1 div -->
					<div class="yConCenterInList" style="display: block;" id="module_1_child_goodslist_show">
					<ul class="w_goods_one">
		             <?php $data=$this->DB()->GetList("select * from `@#_shoplist` where `cateid`='20' and `q_uid` is null and `period1_date`='' ORDER BY id DESC LIMIT 8",array("type"=>1,"key"=>'',"cache"=>0)); ?>
					 <?php $ln=1;if(is_array($data)) foreach($data AS $shop): ?>
			
					 <?php 			
					 $i=$i+1;
					  ?>
					<li class="w_goods_details">
					<div class="w_imgOut"><a class="w_goods_img" href="<?php echo WEB_PATH; ?>/goods/<?php echo $shop['id']; ?>" target="_blank">
					<img id="img_<?php echo $shop['id']; ?>" data-original="<?php echo G_UPLOAD_PATH; ?>/<?php echo $shop['thumb']; ?>" class="lazy9" src="<?php echo G_UPLOAD_PATH; ?>/<?php echo $shop['thumb']; ?>" style="display: inline;"></a>
					</div>
					<a class="w_goods_three" href="<?php echo WEB_PATH; ?>/goods/<?php echo $shop['id']; ?>" target="_blank" title="<?php echo $shop['title']; ?>"><?php echo $shop['title']; ?></a>
					<b>价值：￥<?php echo $shop['money']; ?></b>
					<div class="w_line">
					<span style="width:<?php echo width($shop['canyurenshu'],$shop['zongrenshu'],100); ?>%;"></span>
					</div>
					<ul class="w_number">
					<li class="w_amount"><?php echo $shop['canyurenshu']; ?></li>
					<li class="w_amount"><?php echo $shop['zongrenshu']; ?></li>
					<li class="w_amount"><?php echo $shop['zongrenshu']-$shop['canyurenshu']; ?></li>
					<li>已夺宝人次</li>
					<li>总需人次</li>
					<li>剩余人次</li>
					</ul>
					<dl class="w_rob">
					<dd>
					<a href="javascript:;" style="line-height:40px;font-size:14px;" class="w_slip" onClick="jwebox.goshopnow(<?php echo $shop['id']; ?>,'<?php echo WEB_PATH; ?>')">立即<?php echo _cfg('web_name_two'); ?></a>
					<a href="javascript:cartoon(<?php echo $shop['id']; ?>,3)" onClick="gcartlist.gocartlist(<?php echo $shop['id']; ?>,'<?php echo WEB_PATH; ?>','wc_')" class="w_slip2" style="line-height:40px;font-size:14px;" id="car_<?php echo $shop['id']; ?>"></a>
					<input type="hidden" value="1" id="priceArea_<?php echo $shop['id']; ?>">
					</dd>
					</dl>
					
				<div class="fail" style="display:none">
			    <div class="main" style="text-indent:4em">购物车已存在！加入失败</div>
			</div>
			<div class="success" style="display:none">
				<div class="main" style="text-indent:4em">恭喜您,加入购物车成功</div>
			</div>			
				<span class="w_zone">其他商品</span>
					</li>
					<?php  endforeach; $ln++; unset($ln); ?>
				</ul></div>
				</div>
			</div>
	<div class="yCon yConCenter y_new_index_Center">
		<h2>
			<i>9F</i><a href="<?php echo WEB_PATH; ?>/goods_list/0_0_4" class="yCon-title" target="_blank">官方推荐</a> <a href="<?php echo WEB_PATH; ?>/goods_list/0_0_4" class="yMoreLink" target="_blank"><em>更多</em></a>
		</h2>
		<div class="yConCenterIn">
			<!-- 1 div -->
			<div class="yConCenterInList" style="display: block;">

				<div class="addtime_loading" id="GoodsOrderByAddTime">
				<ul class="w_goods_one">
					 <?php $ln=1;if(is_array($new_shop)) foreach($new_shop AS $new): ?>
					 <li class="w_goods_details">
					 <div class="w_imgOut">
					 <a class="w_goods_img" href="<?php echo WEB_PATH; ?>/goods/<?php echo $new['id']; ?>" target="_blank">
					 <img class="lazy_addtime" data-original="<?php echo G_UPLOAD_PATH; ?>/<?php echo $new['thumb']; ?>" style="height: 200px; width: 200px; display: inline;" src="<?php echo G_UPLOAD_PATH; ?>/<?php echo $new['thumb']; ?>"></a></div>
					 <a class="w_goods_three" href="<?php echo WEB_PATH; ?>/goods/<?php echo $new['id']; ?>" target="_blank"><?php echo $new['title']; ?></a>
					 <b>总需：<?php echo $new['money']; ?>人次</b>
					</li>
					<?php  endforeach; $ln++; unset($ln); ?>	
					</ul>
			</div>
		</div>
	</div>
		</div> 
	<!-- 云购社区部分 start -->
	<div>
		<div class="yCon yConCenter">
			<h2>
				<i>10F</i><a href="<?php echo WEB_PATH; ?>/group" class="yCon-title" target="_blank">云购社区</a>

				<!-- 2015 6 2 start -->
				<span class="yCon8span" style="width: 1070px;"></span>
				<!-- 2015 6 2 end -->
			</h2>
			<div class="yCon8Centerin">
			<?php $tiezi=$this->DB()->GetList("select * from `@#_article` where 1 AND cateid = 21 order by posttime DESC",array("type"=>1,"key"=>'',"cache"=>0)); ?>
				<div class="yCon8CenterinList yCon8CenterinList1">
					<h4><a href="<?php echo WEB_PATH; ?>/help/1" style="float:left;" target="_blank">官方动态</a><a href="<?php echo WEB_PATH; ?>/help/1" target="_blank" class="yMoreas"><em>更多</em></a></h4>
					<div class="news_loading" id="news_loading">	
					 <?php $ln=1;if(is_array($tiezi)) foreach($tiezi AS $tz): ?>		
					<ul><li><div class="yCon8Calendar"><b><?php echo date("d日",$tz['posttime']); ?></b><br><span><?php echo date("y年m月",$tz['posttime']); ?></span></div>
					<div class="yCon8Li1a"><a href="<?php echo WEB_PATH; ?>/help/<?php echo $tz['id']; ?>" title="<?php echo $tz['title']; ?>"><span><?php echo $tz['title']; ?></span></a>
					<span class="new-con8Cale-span"><?php echo $tz['content']; ?></span></div></li>		
					</ul><?php  endforeach; $ln++; unset($ln); ?></div>	
				</div>
				<div class="yCon8CenterinList yCon8CenterinList2">
					<h4 style="border-bottom:0px;"><a href="<?php echo WEB_PATH; ?>/go/shaidan" style="float:left;" target="_blank">晒单分享</a><a href="<?php echo WEB_PATH; ?>/go/shaidan" class="yMoreas" target="_blank"><em>更多</em></a></h4>
					<div class="yCon8Centerscroll">		
						<div class="expose_loading" id="expose6">
						<ul>
						<?php $ln=1;if(is_array($shaidan_six)) foreach($shaidan_six AS $sd_six): ?>
						<li><a href="<?php echo WEB_PATH; ?>/go/shaidan/detail/<?php echo $sd_six['sd_id']; ?>" target="_blank" class="List2Imga"><img class="lazy_expose" data-original="<?php echo G_UPLOAD_PATH; ?>/<?php echo $sd_six['sd_thumbs']; ?>" style="height: 147px; width: 220px; display: block;" src="<?php echo G_UPLOAD_PATH; ?>/<?php echo $sd_six['sd_thumbs']; ?>"></a>
						<div class="List2ImgRight">
						<p><a href="<?php echo WEB_PATH; ?>/go/shaidan/detail/<?php echo $sd_six['sd_id']; ?>" target="_blank"><?php echo _strcut($sd_six['sd_title'],30); ?></a></p>
						</div>
						</li>	
						<?php  endforeach; $ln++; unset($ln); ?>
						</ul>
						</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<!-- 云购社区部分 end -->
	<input type="hidden" id="yg_sq" value="">
<div style="clear:both" > </div></div>
<div class="footer_change">
	<div class="footer">
	<ul class="footerIn">
				<li>
					<span style="display:block;background-position: -119px -70px;height: 46px;margin-top: 6px"></span>
					<p>100%公平公正公开</p>
				</li>
				<li>
					<span style="display:block;background-position: -119px -122px;margin-top: 4px;height: 48px;"></span>
					<p>100%品质保障</p>
				</li>
				<li>
					<span style="display:block;background-position: -193px -18px;margin-top: 7px;height: 43px;"></span>
					<p>全国免运费（港澳除外）</p>
				</li>
				<li>
					<span style="display:block;background-position: -193px -62px;"></span>
					<p>100%权益保障</p>
				</li>
			</ul>
		<div class="yFootSupport">
			<div class="yFootSupport_in">
				<div id="articleTypeList" style="float: left;">
		<?php $category=$this->DB()->GetList("select * from `@#_category` where `parentid`='13'",array("type"=>1,"key"=>'',"cache"=>0)); ?>
		<?php $ln=1;if(is_array($category)) foreach($category AS $help): ?>
		   <dl>
		   	<dt><?php echo $help['name']; ?></dt>
			<?php $article=$this->DB()->GetList("select * from `@#_article` where `cateid`='$help[cateid]'",array("type"=>1,"key"=>'',"cache"=>0)); ?>
			<?php 
			foreach($article as $art){
			echo "<dd><a href='".WEB_PATH.'/help/'.$art['id']."' target='_blank'>".$art['title'].'</a></dd>';}
			 ?>				
		 </dl>   			
			<?php  endforeach; $ln++; unset($ln); ?>
		           	 <?php if(defined('G_IN_ADMIN')) {echo '<div style="padding:8px;background-color:#F93; color:#fff;border:1px solid #D80000;text-align:center"><b>This Tag</b></div>';}?>

			
			</div>			
				<dl class="dl_Time">
					<dd title="服务热线" style="background:url(<?php echo G_TEMPLATES_IMAGE; ?>/phone.png) no-repeat 0px 5px;margin-top: 29px;"><?php echo _cfg('cell'); ?></dd>
					<dd title="服务器时间" style="background:url(<?php echo G_TEMPLATES_IMAGE; ?>/time.png) no-repeat 0px 6px;background-size:21px;margin-top: 15px;" id='pServerTime' class="sysTime"></dd>
				</dl>
				<dl class="dlLast">
					<a href="javascript:void(0);">
						<dd class="dlLast-WeChat">
							<div class="y-popover">
								<span class="y-arrow"></span>
								<b><?php echo _cfg('web_name_two'); ?>官方微信</b>
								<img src="<?php echo G_TEMPLATES_IMAGE; ?>/weixin.jpg" alt="">
							</div>
						</dd>
					</a>
					<a href="javascript:void(0);">
						<dd class="dlLast-Sina">
							<div class="y-popover">
								<span class="y-arrow"></span>
								<b><?php echo _cfg('web_name_two'); ?>新浪微博</b>
								<img src="<?php echo G_TEMPLATES_IMAGE; ?>/weibo.jpg" alt="">
							</div>
						</dd>
					</a>
					<a href="javascript:void(0);">
						<dd class="dlLast-apple">
							 <div class="y-popover">
								<span class="y-arrow"></span>
								<b>扫二维码下载</b>
								<img src="<?php echo G_TEMPLATES_IMAGE; ?>/shouji.jpg" alt="">
							</div> 
						</dd>
					</a>
					<a href="javascript:void(0);">
						<dd class="dlLast-Android">
							 <div class="y-popover">
								<span class="y-arrow"></span>
								<b>扫二维码下载</b>
								<img src="<?php echo G_TEMPLATES_IMAGE; ?>/shouji.jpg" alt="">
							</div>
						</dd>
					</a>
				</dl>
			</div>
			<meta property="qc:admins" content="20067121176104763757" />
			<div class="footer-time-list" id="pageEnd">
				<div class="yFootBottomRight" style="text-align:left;">
				 版权所有  <?php echo _cfg('web_copyright'); ?>
				</div>
				<div class="yFootBottomLeft">
					
				</div>
			</div>
		</div>
		<div class="yFootBottom">
			<div class="yFootBottomIn" style="clear: both;">
              <p>友情链接：
				<?php 
		$mysql_model=System::load_sys_class('model');
		$title="友情链接";
		$link_size=$mysql_model->GetList("select * from `@#_link` where `type`='1'");
       ?>

				<?php $ln=1;if(is_array($link_size)) foreach($link_size AS $size): ?>	
					|<a target="_blank" href="<?php echo $size['url']; ?>"><?php echo $size['name']; ?></a>

				<?php  endforeach; $ln++; unset($ln); ?>
				</p>
			</div>
		</div>

	</div>
</div>
<!--红包开始-->
<?php if(get_user_hongbao()>0): ?>
<style type="text/css">
#hongbao{ position:fixed;right: 0;bottom: 200px;}
#hongbao img{ width:125px; height: 150px;}
</style>
<div id="hongbao">
	<img data-id="<?php echo get_user_hongbao(); ?>" src="/statics/templates/mowov9mb1/images/hongbao.jpg"/>
</div>
<script type="text/javascript">
jQuery("#hongbao img").on('click',function () {
	var the=jQuery(this);
	if (the.hasClass('yiling')) {
		return false;
	}
	the.addClass('yiling');
	jQuery.post(
		"/hongbao/index/lingqu",
		{id:the.attr('data-id')},
		function (data) {
			if (data.jine>0) {
				alert("恭喜你获得"+data.jine+"元现金红包，已经冲入你的账户余额");
			}
			the.remove();
		}
	);
})
</script>
<?php endif; ?>
<script type="text/javascript">
jQuery.post(
	"/hongbao/index/fafang"
);
</script>
<!--红包结束-->
<script type="text/javascript">
(function(){				
		var week = '日一二三四五六';
		var innerHtml = '{0}:{1}:{2}';
		var dateHtml = "{0}月{1}日 &nbsp;周{2}";
		var timer = 0;
		var beijingTimeZone = 8;				
				function format(str, json){
					return str.replace(/{(\d)}/g, function(a, key) {
						return json[key];
					});
				}				
				function p(s) {
					return s < 10 ? '0' + s : s;
				}			

				function showTime(time){
					var timeOffset = ((-1 * (new Date()).getTimezoneOffset()) - (beijingTimeZone * 60)) * 60000;
					var now = new Date(time - timeOffset);
					document.getElementById('pServerTime').innerHTML = format(innerHtml, [p(now.getHours()), p(now.getMinutes()), p(now.getSeconds())]);				
					//document.getElementById('date').innerHTML = format(dateHtml, [ p((now.getMonth()+1)), p(now.getDate()), week.charAt(now.getDay())]);
				}				
				
				window.yungou_time = 	function(time){						
					showTime(time);
					timer = setInterval(function(){
						time += 1000;
						showTime(time);
					}, 1000);					
				}
	window.yungou_time(<?php echo time(); ?>*1000);
				
})();

	$(".weixinload").click(function(){
		$(".yun_mobile").fadeIn();
	})
	$(".yun_close").click(function(){
		$(".yun_mobile").fadeOut();
	})
	
	
</script>
<script>
$(function(){  
	$("#txtSearch").focus(function(){
		$("#txtSearch").css({background:"#FFFFCC"});
		var va1=$("#txtSearch").val();
		if(va1=='iphon6s'){
			$("#txtSearch").val("");
		}
	});
	$("#txtSearch").blur(function(){
		$("#txtSearch").css({background:"#FFF"});
		var va2=$("#txtSearch").val();
		if(va2==""){
			$("#txtSearch").val('iphon6s');
		}
	});
	$("#butSearch").click(function(){
		window.location.href="<?php echo WEB_PATH; ?>/s_tag/"+$("#txtSearch").val();
	});
});
	$(".yu_ff").mouseover(function(){
	  $(".h_1yyg_eject").show();
	})
	$(".yu_ff").mouseout(function(){
	  $(".h_1yyg_eject").hide();
	})

		
	//收藏
	function AddFavorite(sURL, sTitle){
		try
		{
			window.external.addFavorite(sURL, sTitle);
		}
		catch (e)
		{
			try
			{
				window.sidebar.addPanel(sTitle, sURL, "");
			}
			catch (e)
			{
				alert("您可以通过快捷键Ctrl+D进行添加");
			}
		}
	}
	
	$(".mobile").mouseover(function(){
		$(".h_mobile").show();
		$(".h_mobile  s").css("background","../images/headbg11.png").css("background-position","5px -64px");
	})
	$(".h_mobile").mouseout(function(){
		$(".h_mobile").hide();
	})

	
</script>
<script type="text/javascript" src="<?php echo G_TEMPLATES_JS; ?>/IndexFun.js"></script> 	
</div>


<script type="text/javascript">
	Qfast.add('widgets', { path: "<?php echo G_TEMPLATES_JS; ?>/terminator2.2.min.js", type: "js", requires: ['fx'] });
	Qfast(false, 'widgets', function () {
		K.tabs({
			id: 'fsD1',   //焦点图包裹id
			conId: "D1pic1",  //** 大图域包裹id
			tabId:"D1fBt",
			tabTn:"a",
			conCn: '.fcon', //** 大图域配置class
			auto: 1,   //自动播放 1或0
			effect: 'fade',   //效果配置
			eType: 'mouseover', //** 鼠标事件
			pageBt:true,//是否有按钮切换页码
			bns: ['.prev', '.next'],//** 前后按钮配置class
			interval: 3000  //** 停顿时间
		})
	})
</script>
<script type="text/javascript">

$(function(){
	$("#ulGoodsList li a.go_cart").click(function(){ 
		var sw = $("#ulGoodsList li a.go_cart").index(this);
		var src = $("#ulGoodsList li .pic a img").eq(sw).attr('src');				
		var $shadow = $('<img id="cart_dh" style="display:none; border:1px solid #aaa; z-index:99999;" width="200" height="200" src="'+src+'" />').prependTo("body");  			
		var $img = $("#ulGoodsList li .pic").eq(sw);
		$shadow.css({ 
			'width' : 200, 
			'height': 200, 
			'position' : 'absolute',      
			"left":$img.offset().left+16, 
			"top":$img.offset().top+9,
			'opacity' : 1    
		}).show();
		var $cart = $("#btnMyCart");
		$shadow.animate({   
			width: 1, 
			height: 1, 
			top: $cart.offset().top,    
			left: $cart.offset().left, 
			opacity: 0
		},500,function(){
			Cartcookie(sw,false);
		});	
		
	});
	$("#ulGoodsList li a.go_Shopping").click(function(){	
		var sw = $("#ulGoodsList li a.go_Shopping").index(this);

		Cartcookie(sw,true); 
	});	
});
//存到COOKIE
function Cartcookie(sw,cook){
	var shopid = $(".Curbor_id").eq(sw).text(),
		shenyu = $(".Curbor_yunjiage").eq(sw).text(),
		money = $(".Curbor_shenyu").eq(sw).text();
	var Cartlist = $.cookie('Cartlist');
	if(!Cartlist){
		var info = {};
	}else{
		var info = $.evalJSON(Cartlist);
	}
	if(!info[shopid]){
		var CartTotal=$("#sCartTotal").text();
			$("#sCartTotal").text(parseInt(CartTotal)+1);
			$("#btnMyCart em").text(parseInt(CartTotal)+1);
	}	
	info[shopid]={};
	info[shopid]['num']=1;
	info[shopid]['shenyu']=shenyu;
	info[shopid]['money']=money;
	info['MoenyCount']='0.00';
	$.cookie('Cartlist',$.toJSON(info),{expires:30,path:'/'});
	if(cook){
		window.location.href="<?php echo WEB_PATH; ?>/member/cart/cartlist";
	}
}  

</script>
</body></html>