<?

include("config/conn.php");

include("config/function.php");

include("config/xy.php");

$sj=date("Y-m-d H:i:s");

?>
<html>
<head>
<meta http-equiv="x-ua-compatible" content="ie=7" />
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta name="keywords" content="<?=$rowcontrol[webkey]?>">
<meta name="description" content="<?=$rowcontrol[webdes]?>">
<title><?=$rowcontrol[webtit]?> - <?=webname?></title>
<link href="css/xing.css" rel="stylesheet" type="text/css" />
<link href="css/index_zhu.css" rel="stylesheet" type="text/css" />
<link href="css/bottom.css" rel="stylesheet" type="text/css" />
<script src="js/jquery-1.7.1.min.js" ></script>
<script src="js/public_new.js" ></script>
<script type="text/javascript" src="js/jquery.SuperSlide.js"></script>
<script type="text/javascript" src="js/index_2016_new.js"></script>

    <script>
        var now = new Date();
        var beginTime = now.getTime();
        var isLazyload = 1;
        var isMasonry = 1;
        var obj = {};
        obj.picid = 0;
        obj.exeCode = 3000;
        obj.exeTime = 0.0275;
        obj.loadCode = 3003;
        obj.loadTime = 0;
        obj.kid = 0;
        obj.bigclassid = 0;
        obj.smallclassid = 0;
        obj.page = 0;
    </script>
</head>
<body>

<? include("tem/top.html");?>
<? include("tem/top1.html");?>




<div class="banner" style="position:relative;background:#fff;z-index:3;">
    <div class="slideTxtBox">
        <div class="bd" style="width: 100%; height:400px; position: absolute;">
		
		 <? autoAD("jiandan_01");$i=0;while1("*","yjcode_ad where adbh='jiandan_01' and zt=0 order by xh asc");while($row1=mysql_fetch_array($res1)){if($i==0){$s=" center";}else{$s=" 50% 0";}?>

                            <ul style="position: absolute; width: 100%; left: 0px; top: 0px; height:400px;">
                     <li style="background:url(<?=weburl?>ad/<?=$row1[bh]?>.<?=$row1[jpggif]?>)<?=$s?> no-repeat;"><a href="<?=$row1[aurl]?>" target="_blank"></a></li>

                </ul>
		 <? $i++;}?>		

                    </div>
        <div class="img_pagebox" style="z-index: 11;">
            <div class="hd">
                <ul>
                                            <li>1</li>
                                            <li>2</li>
                                            <li>3</li>
                                            <li>4</li>
                                </div>
        </div>
        <div class="control" style="z-index: 11;">
            <div class="w1200">
                <div class="arrow">
                    <a href="javascript:void(0)" class="cons prev" ></a>
                    <a href="javascript:void(0)" class="cons next"></a>
                </div>
            </div>
        </div>
        <div class="arrow1">
            <img id="gao" src="../homeimg/guanggao.png" style="width:24px;height:14px;display:block;left:522px;bottom:0;position:absolute;">
        </div>

    </div>

</div>
<div class="tip clearfix w1200">
 <div class="tip-count">
    <p class="fl">会员数：
      <i>
        <?=returncount( "yjcode_user")?></i>人</p>
    <p class="fl">商家数：
      <i>
        <?=returncount( "yjcode_user where shopzt=2")?></i>家</p>
    <p class="fl">作品数：
      <i>
        <?=returncount( "yjcode_pro where zt=0 and ifxj=0")?></i>套</p>
  </div>
	
<div class="notice fr">

  <div class="txtscroll"><i class="yy-icon yy-laba"></i>

  <div class="bd"><ul>
    <? while0("*","yjcode_gg where zt=0 order by sj desc limit 4");while($row=mysql_fetch_array($res)){?>

    <li><a href="help/ggview<?=$row[id]?>.html" title="<?=$row[tit]?>" target="_blank"><font color="#00b369">[<?=dateMD($row[sj])?>] <?=returntitdian($row[tit],36)?></font> </a></li>
  <? }?>
     

     </ul></div><div class="hd"><a class="next"></a><a class="prev"></a></div></div>

  <script>jQuery(".txtscroll").slide({titCell:".hd ul",mainCell:".bd ul",autoPage:true,effect:"topLoop",autoPlay:true,easing:"easeOutCirc"});</script>

  </div>

</div>
<!--banner over-->



<!--content start-->
<div class="content">
    <div class="w1200">
        <!-- 推荐列表 start -->
         <div class="recmd-list">
            <div class="public-title">
			 <span class="title fl">
                  <i class="tb13 fl"></i>限时优惠促销</span>
             <!-- <a href="#" target="_blank">
			 
			 
               
              </a>-->
            </div>

            <!--<ul class="recmd-box clearfix">
              <li class="list fl">
                <img class='lazy' data-original="http://img1.ooopic.com/upfile/default/2724.jpg" src="http://icon.wotucdn.com/2015/image/index_2016/lazyload.jpg">
                <div class="list-bg">
                  <a target="_blank" href="https://www.xydai.cn">
                    <span class="list-name">2017鸡年素材</span>
                    <em class="look-but">点击查看 ></em></a>
                </div>
              </li>
            </ul>-->
			
			
			 <div class="tjpro fontyh">

 <? 

 $i=1;

 while1("*","yjcode_pro where zt=0 and ifxj=0 and iftuan=1 and yhxs=2 and yhsj2>'".$sj."' order by yhsj2 asc limit 5");while($row1=mysql_fetch_array($res1)){

 $money1=returnyhmoney($row1[yhxs],$row1[money2],$row1[money3],$sj,$row1[yhsj1],$row1[yhsj2],$row1[id]);

 $au="product/view".$row1[id].".html";

 $dqsj=str_replace("-","/",$row1[yhsj2]);

 while2("*","yjcode_user where id=".$row1[userid]);$row2=mysql_fetch_array($res2);

 ?>

 <span id="dqsj<?=$i?>" style="display:none;"><?=$dqsj?></span>

 <ul class="u1 u1<?=$i?>" onMouseOver="this.className='u1 u1<?=$i?> u21';" onMouseOut="this.className='u1 u1<?=$i?>';">

 <li class="l1"><a href="<?=$au?>" target="_blank"><img class="tp" border="0" src="<?=returntppd(returntp("bh='".$row1[bh]."'","-1"),"img/none200x200.gif")?>" width="185" height="180" /></a><span class="djs" id="djs<?=$i?>">正在加载</span></li>

 <li class="l2"><a href="<?=$au?>" title="<?=$row1[tit]?>" target="_blank"><?=strgb2312($row1[tit],0,56)?></a></li>

 <li class="l3">￥<?=$money1?></li>

 <li class="l4"><a href="<?=$au?>" target="_blank">去抢购</a></li>

 </ul>

 <? $i++;}?>

 </div>

 <script language="javascript">

 userChecksj();

 </script>
			
			

          </div>
        <!-- 推荐列表 end -->
        <div id="findpic" class="findpic"></div>

        <!-- 展示列表 start -->
        <div class="show-list">
            <div class="public-title">
                <span class="title fl"><i class="tb15 fl"></i>模板</span>
				<em class="fl" style="color:#ff7200;">简单快捷做出属于自己的作品</em>
                <a target="_blank" href="/product/" class="more fr">查看更多 ></a>
            </div>
            <ul class="show-box clearfix">			
<?
 $i=1;
while1("*","yjcode_pro where zt=0 and ty1id=44 order by yhsj2 asc limit 10");while($row1=mysql_fetch_array($res1)){
$money1=returnyhmoney($row1[yhxs],$row1[money2],$row1[money3],$sj,$row1[yhsj1],$row1[yhsj2],$row1[id]);
$au="product/view".$row1[id].".html";
$dqsj=str_replace("-","/",$row1[yhsj2]);
while2("*","yjcode_user where id=".$row1[userid]);$row2=mysql_fetch_array($res2);
?>				
<div class="citem last">
  <div class="citemtop">
    <a target="_blank" href="<?=$au?>">
   <img alt="<?=$row1[tit]?>下载" src="<?=returntppd(returntp("bh='".$row1[bh]."'","-2"),"img/none200x200.gif")?>" height="182" width="280"></a>
    <div class="citemtxt els"><?=$row1[seokey]?></div></div>
  <div class="citemqt">
    <a href="<?=$au?>" target="_blank" class="citemtitle" title="<?=$row1[tit]?>下载"><?=strgb2312($row1[tit],0,56)?></a></div>
  
  <div class="citemfoot">
    <a class="citemfimg" target="_blank" href="shop/view<?=$row2[id]?>.html">
      <img alt="<?=$row2[shopname]?>素材店铺" src="../upload/<?=$row2[id]?>/shop.jpg" height="24" width="24">
      <span class="els"><?=$row2[shopname]?></span></a>
    <span class="fr">
      <em class="price">&yen;<?=returnjgdian(returnyhmoney($row1[yhxs],$row1[money2],$row1[money3],$sj,$row1[yhsj1],$row1[yhsj2],$row1[id]))?></em></span>
  </div>
  
</div>
<? }?>
            </ul>
        </div>
        <!-- 展示列表 end -->

        <!-- 展示列表 start -->
        <div class="show-list">
            <div class="public-title">
                <span class="title fl"><i class="tb16 fl"></i>素材</span>
				<em class="fl" style="color:#ff7200;">为你的作品画龙点睛</em>
                <a target="_blank" href="/product/search_sy9iyxA|c|cv.html" class="more fr">查看更多 ></a>
            </div>
            <ul class="show-box clearfix">			
<?
 $i=1;
while1("*","yjcode_pro where zt=0 and ty1id=52 order by yhsj2 asc limit 10");while($row1=mysql_fetch_array($res1)){
$money1=returnyhmoney($row1[yhxs],$row1[money2],$row1[money3],$sj,$row1[yhsj1],$row1[yhsj2],$row1[id]);
$au="product/view".$row1[id].".html";
$dqsj=str_replace("-","/",$row1[yhsj2]);
while2("*","yjcode_user where id=".$row1[userid]);$row2=mysql_fetch_array($res2);
?>				
<div class="citem last">
  <div class="citemtop">
    <a target="_blank" href="<?=$au?>">
   <img alt="<?=$row1[tit]?>下载" src="<?=returntppd(returntp("bh='".$row1[bh]."'","-2"),"img/none200x200.gif")?>" height="182" width="280"></a>
    <div class="citemtxt els"><?=$row1[seokey]?></div></div>
  <div class="citemqt">
    <a href="<?=$au?>" target="_blank" class="citemtitle" title="<?=$row1[tit]?>下载"><?=strgb2312($row1[tit],0,23)?></a></div>
  
  <div class="citemfoot">
    <a class="citemfimg" target="_blank" href="shop/view<?=$row2[id]?>.html">
      <img alt="<?=$row2[shopname]?>素材店铺" src="../upload/<?=$row2[id]?>/shop.jpg" height="24" width="24">
      <span class="els"><?=$row2[shopname]?></span></a>
    <span class="fr">
      <em class="price">&yen;<?=returnjgdian(returnyhmoney($row1[yhxs],$row1[money2],$row1[money3],$sj,$row1[yhsj1],$row1[yhsj2],$row1[id]))?></em></span>
  </div>
  
</div>
<? }?>
            </ul>
        </div>
        <!-- 展示列表 end -->


        <!-- 展示列表 start -->
        <div class="show-list">
            <div class="public-title">
                <span class="title fl"><i class="tb18 fl"></i>教程</span>
				<em class="fl" style="color:#ff7200;">学习距离完美更近一步</em>
                <a target="_blank" href="/product/search_svcyzzA|c|cv.html" class="more fr">查看更多 ></a>
            </div>
            <ul class="show-box clearfix">			
<?
 $i=1;
while1("*","yjcode_pro where zt=0 and ty1id=55 order by yhsj2 asc limit 10");while($row1=mysql_fetch_array($res1)){
$money1=returnyhmoney($row1[yhxs],$row1[money2],$row1[money3],$sj,$row1[yhsj1],$row1[yhsj2],$row1[id]);
$au="product/view".$row1[id].".html";
$dqsj=str_replace("-","/",$row1[yhsj2]);
while2("*","yjcode_user where id=".$row1[userid]);$row2=mysql_fetch_array($res2);
?>				
<div class="citem last">
  <div class="citemtop">
    <a target="_blank" href="<?=$au?>">
   <img alt="<?=$row1[tit]?>下载" src="<?=returntppd(returntp("bh='".$row1[bh]."'","-2"),"img/none200x200.gif")?>" height="182" width="280"></a>
    <div class="citemtxt els"><?=$row1[seokey]?></div></div>
  <div class="citemqt">
    <a href="<?=$au?>" target="_blank" class="citemtitle" title="<?=$row1[tit]?>下载"><?=strgb2312($row1[tit],0,23)?></a></div>
  
  <div class="citemfoot">
    <a class="citemfimg" target="_blank" href="shop/view<?=$row2[id]?>.html">
      <img alt="<?=$row2[shopname]?>素材店铺" src="../upload/<?=$row2[id]?>/shop.jpg" height="24" width="24">
      <span class="els"><?=$row2[shopname]?></span></a>
    <span class="fr">
      <em class="price">&yen;<?=returnjgdian(returnyhmoney($row1[yhxs],$row1[money2],$row1[money3],$sj,$row1[yhsj1],$row1[yhsj2],$row1[id]))?></em></span>
  </div>
  
</div>
<? }?>
            </ul>
        </div>
        <!-- 展示列表 end -->

		<!-- 展示列表 start -->
        <div class="show-listt">
            <div class="public-title">
                
				<span class="title fl">
				<i class="tb14 fl"></i>推荐店铺</span>
							<em class="fl" style="color:#ff7200; margin-right:40px;">谷堆<?=$inittjarr[1]+returncount( "yjcode_pro where zt=0 and ifxj=0")?>件商品源于TA们的灵感，出自他们的创作</em>

                <div class="find-pic fr">
                    <a target="_blank" href="/user/openshop1.php" class="find-pic-but">开店入驻 ></a>
                </div>
            </div>
			
<div class="i_s_div">
<div class="rec_shop">
<div>


   <? 

   while1("*","yjcode_user where zt=1 and shopzt=2 and shopname<>'' and pm>0 order by pm asc limit 7");for($i=1;$i<=2;$i++){

   if($row1=mysql_fetch_array($res1)){

   $sucnum=returnjgdw($row1[xinyong],"",returnxy($row1[id],1));

   ?>
<ul><li>
      <a href="shop/view<?=$row1[id]?>.html" class="tx" target="_blank"><img alt="<?=$row1[shopname]?>" src="<?=returntppd("upload/".$row1[id]."/shop.jpg","img/none180x180.gif")?>"></a>
	  <span class="info"><a href="shop/view<?=$row1[id]?>.html" target="_blank" class="name"><?=strgb2312($row1[shopname],0,17)?></a>
	  <p class="i_bz"><img class="xy" src="../img/dj/<?=returnxytp($sucnum)?>" title="信用值<?=$sucnum?>"></p>
	  <p><a class="slink" href="shop/view<?=$row1[id]?>.html" target="_blank">TA的店铺</a></p>
	 </span>
     </li>
	   <li class="hot_goods">
	   <strong>TA的宝贝<i>(<?=returncount("yjcode_pro where zt=0 and ifxj=0 and userid=".$row1[id])?>)</i></strong>
   <? while2("*","yjcode_pro where userid=".$row1[id]." and zt=0 and ifxj=0 and iftj>0 order by iftj asc");if($row2=mysql_fetch_array($res2)){?>

   <p><em>￥<?=returnjgdian(returnyhmoney($row2[yhxs],$row2[money2],$row2[money3],$sj,$row2[yhsj1],$row2[yhsj2],$row2[id]))?></em><a href="product/view<?=$row2[id]?>.html" target="_blank" title="<?=returntitdian($row2[tit],30)?>"><?=returntitdian($row2[tit],15)?></a></p>
   
   <? }?>
  </li>
 </ul>
 <? }}?>

  </div>
 </div>			

</div>
        </div>
        <!-- 展示列表 end -->
		
		
        <!-- 优质客户 -->
        <div class="friend-link">
            <div class="linkBox-nav">
                <span class="current-link-li" for="1">友情连接</span>
                <span class="link-li" for="2">合作伙伴</span>
                <span class="link-li" for="4">网站地图</span>
            </div>
            <div id="linkBoxContent" class="clearfix f14">
                <div id="linkBox_1" class="linkBox_div">
				 <? while0("*","yjcode_ad where adbh='ADI14' and type1='文字' order by xh asc");while($row=mysql_fetch_array($res)){?>
                      <a href="<?=$row[aurl]?>" target="_blank"><?=$row[tit]?></a>
				 <? }?>
                    <span>&nbsp;友情链接请联系 QQ：10373458</span>
                </div>
                <div id="linkBox_2" class="linkBox_div none">
				 <? while0("*","yjcode_ad where adbh='ADI13' order by xh asc");while($row=mysql_fetch_array($res)){?>

                     <a href="<?=$row[aurl]?>" target="_blank"><?=$row[tit]?></a>
					 
                  <? }?>
                </div>
                <div id="linkBox_4" class="linkBox_div none">
                       <a href="/product/" target="_blank">AE模板</a>
					   <a href="/product/" target="_blank">AE婚庆模板</a>
					   <a href="/product/" target="_blank">企业电子相册</a>
                        
					   <a href="/product/" target="_blank">更多&gt;&gt;</a>
                </div>




            </div>
        </div>
    </div>
</div>

<script>
    $(function () {
        var bw = $(document.body).width();
        if(bw <= 1680 && bw > 1440){
            $('#gao').css("left","402px");
        }
        if(bw <= 1440 && bw > 1365){
            $('#gao').css("left","282px");
        }
        if(bw <= 1365 && bw >= 1360){
            $('#gao').css("left","242px");
        }
        if(bw < 1360){
            $('#gao').hide();
        }
    });
</script>

<!--content end-->


<? include("tem/bottom.html");?>
</body>
</html>