<?
include("../config/conn.php");
include("../config/function.php");
include("../config/xy.php");
$sj=date("Y-m-d H:i:s");
$id=$_GET[id];
while0("*","yjcode_pro where zt<>99 and id=".$id);if(!$row=mysql_fetch_array($res)){php_toheader("../");}
$nowmoney=returnjgdian(returnyhmoney($row[yhxs],$row[money2],$row[money3],$sj,$row[yhsj1],$row[yhsj2],$row[id]));

$nch="";
if(isset($_COOKIE['prohistoy'])){
$nch=$_COOKIE['prohistoy'];
if(check_in($row[id]."xcf",$nch)){$nch=str_replace($row[id]."xcf","",$nch);}
$a=preg_split("/xcf/",$nch);
if(count($a)>6){$ni=6;}else{$ni=count($a);}
 $nch="";
 for($i=0;$i<=$ni;$i++){
 $nch=$nch.$a[$i]."xcf";
 }
}

$Month = 864000 + time();
setcookie(prohistoy,$row[id]."xcf".$nch, $Month,'/');
$nch=$_COOKIE['prohistoy'];
?>
<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="<?=returnjgdw($row[wkey],"",$row[tit])?>">
<meta name="description" content="<?=returnjgdw($row[wdes],"",strgb2312(strip_tags($row[txt]),0,250))?>">
<title><?=$row[tit]?> - <?=webname?></title>

	<script type="text/javascript">PVTJ()</script>
	
	
	
	<link href="css/new_top.css" rel="stylesheet" type="text/css" />
<link href="../css/bottom.css" rel="stylesheet" type="text/css" />
<link href="css/scene.css" rel="stylesheet" type="text/css" />
<link href="css/basic.css" rel="stylesheet" type="text/css" />
<link href="css/product.css" rel="stylesheet" type="text/css" />
<script src="js/weili.js" ></script>
<script src="js/masonry.min.js" ></script>
<script src="js/jquery-1.7.1.min.js"></script>
<script src="js/public_new.js"></script>
<script src="js/scene.js"></script>
<script language="javascript" src="index.js"></script>
<link href="index.css" rel="stylesheet" type="text/css" />


    <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.0242;
        obj.loadCode = 3003;
        obj.loadTime = 0;
        obj.kid = 0;
        obj.bigclassid = 0;
        obj.smallclassid = 0;
        obj.page = 0;
    </script>
	<script src="js/scene.js"></script>
	<script type="text/javascript">PVTJ()</script>
</head>
<body>

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

<link href="css/weili.css" rel="stylesheet" type="text/css" />
<div style="width:1200px; margin:0 auto;height: 43px;line-height: 43px;color: #898989;font-size:12px" class="g-taskposition col-lg-12 col-left">

您的位置：<a href="<?=weburl?>">首页</a> &gt; <a href="search_j<?=$row[ty1id]?>v.html"><?=returntype(1,$row[ty1id])?></a> 
<? if(0!=$row[ty2id]){?> &gt; <a href="search_j<?=$row[ty1id]?>v_k<?=$row[ty2id]?>v.html"><?=returntype(2,$row[ty2id])?></a><? }?>
<? if(0!=$row[ty3id]){?> &gt; <a href="search_j<?=$row[ty1id]?>v_k<?=$row[ty2id]?>v_m<?=$row[ty3id]?>v.html"><?=returntype(3,$row[ty3id])?></a><? }?>
 &gt; <?=$row[tit]?>
</div>

<div id="weili-wrap" style="display: inline-block;width: 100%;min-width: 1200px;">
    <div class="weili-wrap-m" id="wrapBox">

        <!-- 作品下架 -->
                <div class="weili-box clearfix">
            <div class="weili-left fl">
                <div class="top">
                    <div class="top-pic-name fl">
                        <span class="copyright-icon" style="float: left;margin-top: 26px;">素材名称</span>
              <h1 style="float:left;font-size:16px;width: 320px;margin-left: 5px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;line-height: 72px;"><?=$row[tit]?></h1>
                    </div>
					
					<? while1("*","yjcode_user where id=".$row[userid]);$row1=mysql_fetch_array($res1);$xy=returnjgdw($row1[xinyong],"",returnxy($row[userid],1));?>
					
					

                    <div class="top-user fr">
                        <dl class="top-user-info clearfix">
                            <dt class="fl user-img">
                                <a href="../shop/view<?=$row[userid]?>.html" target="_blank">
                                    <img src="../upload/<?=$row[userid]?>/shop.jpg" width="38" height="38" class="lazy" >
                                </a>
                            </dt>
                            <dd class="fl user-info-box">
                                <div class="name">
                                    <a href="../shop/view<?=$row[userid]?>.html" target="_blank" style="display:block;width:164px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;"><?=$row1[shopname]?></a>
                                </div>
                                <div class="label">
                                                                        <span class="label-icon sole"></span>
                                                                        <span class="label-icon probate"></span>
                                                                    </div>
                            </dd>
                        </dl>
                    </div>
                </div>
				
                <div class="pic-main" style="position: relative;">
                  <div class="pic">
                    <ul>
                      <style>#pic_first{width: 780px; height: auto; position:relative; overflow: hidden;margin: 0 auto;}</style>
                      <li class="main_info_5 tc" id="pic_first" name="10" style="width:780px">
                        <embed src='<?=$row[videourl]?>' allowFullScreen='true' quality='high' width='780' height='498' align='middle' allowScriptAccess='always' onclick="return false"></embed>
						
						
						
						<?=$row[txt]?></li>
                    </ul>
                  </div>
				  
                </div>
				
				
				<div class="simg clearfix" id="gallery">
      <ul>
	  
	  
	  <?
  $tparr=array("","","","","");
  $i=0;
  while1("*","yjcode_tp where bh='".$row[bh]."' order by xh asc limit 4");while($row1=mysql_fetch_array($res1)){
  $tpa=preg_split("/\//",$row1[tp]);
  $ti=preg_split("/\./",$tpa[3]);
  $tparr[$i]=$ti[0];
  $i++;
  }
  $lj="../upload/".$row[userid]."/".$row[bh]."/";
  $tp=$lj.$tparr[0]."-1.jpg";
  ?>
  <? for($j=0;$j<$i;$j++){?>
               <li><a href="../tp/showpic.php?bh=<?=$row[bh]?>" title="<?=$row[tit]?>" rel="lightbox-g"><img id="simg0" alt="<?=$row[tit]?>" src="<?=$lj.$tparr[$j]?>-2.jpg" width="145" height="120"></a></li>
			   
<? }?>
<a class="last" href="../tp/showpic.php?bh=<?=$row[bh]?>" rel="nofollow" target="_blank" title="<?=$row[tit]?>素材图"><img src="img/datu.gif" alt="大图" width="145" height="120"></a>
      </ul>
    </div>
	
	
	<div class="fw">
        <b>本商品支持以下保障服务：</b>
        <span class="danbao">担保交易，安全有保证，质量问题24小时内可申请退款&nbsp;&nbsp;(<a class="green" href="#" rel="nofollow" target="_blank">点击阅读细则</a>)</span>
		<? $w=502;if($row[fhxs]==2 || $row[fhxs]==3 || $row[fhxs]==4){$w=$w-30;?>
		<span class="zidong" id="cserfh" onMouseOver="serover('serfh')">购买后自动发货，无需等待 </span> 
		<? }?>
		<? if(1==$row[ifuserdj]){$w=$w-30;?>
   <span class="dengji" id="cserdj" onMouseOver="serover('serdj')">不同会员等级尊享不同购买折扣</span>
   <? }?>
		  <? while1("*","yjcode_user where id=".$row[userid]);$row1=mysql_fetch_array($res1);$xy=returnjgdw($row1[xinyong],"",returnxy($row[userid],1));?>

		<span>友情提醒：本产品由<font color="red"> <?=$row1[shopname]?> </font>提供售后服务！</span>
	</div>
				

				
                <div class="clearfix" style="display: inline-block;width: 100%;">
                    <div class="share clearfix fl" >
                        <div class="bdsharebuttonbox bdshare-button-style0-24 fl" data-bd-bind="1477378760737">
                            <a href="#" class="bds_sqq" data-cmd="sqq" title="分享到QQ好友"></a>
                            <a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a>
                            <a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a>
                            <a href="#" class="bds_huaban" data-cmd="huaban" title="分享到花瓣"></a>
                            <a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a>
                        </div>
                    </div>
                    <div class="report-button fr" ><a href="/user/gd.php"><i></i>举报投诉</a></div>
					
					
					
                </div>
				
				
                
                <div class="cankao" style="padding-top: 24px;color: #cfcfcf;padding-right: 8px;">【关键词：<?=$row[wkey]?>】</div>
                <div class="statement">【声明】未经权利人许可，任何人不得随意使用《<?=$row[tit]?>》的任何信息，否则将按照我国著作权法的相关规定被要求承担最高达50万元人民币的赔偿责任。</div>
            </div>
			
            <div class="weili-right  fr">
                <div class="weili-info">
				
                    <? 
   if(2==$row[yhxs] && $sj<=$row[yhsj2]){
   if($sj<$row[yhsj1]){$a=1;}else{$a=2;}
   ?>
   <div class="info-list remarks">
   <span id="nyhsj1" style="display:none;"><?=str_replace("-","/",$row[yhsj1])?></span>
   <span id="nyhsj2" style="display:none;"><?=str_replace("-","/",$row[yhsj2])?></span>
   <span id="nmoney2" style="display:none;"><?=returnjgdian($row[money2])?></span>
   <span id="nmoney3" style="display:none;"><?=returnjgdian($row[money3])?></span>
   <span id="nowsj" style="display:none;"><?=str_replace("-","/",$sj)?></span>
   <ul class="u5" id="xsyh" style="color:#00B369;weight:bold; font-family:Georgia;" >
   <li class="l2"><span class="s2">促销将于&nbsp;【<span id="yhsjv"></span>】</span></li>
   </ul>
   <script language="javascript" src="yhsj.js"></script>
   <script language="javascript">yhsj(<?=$a?>);</script>
   </div>
   <? }?>
                  
                    <div class="info-list ">

                        <div class="price clearfix" style="display: inline-block; width: 100%;">
                      <div class="same-user clearfix">
                        <span style="color: #ff6600;font-weight: bold;font-style: normal;font-family: Georgia;"   class="pic-price fl">￥
                          <span id="nowmoney">
                            <?=$nowmoney?></span>&nbsp;
                          </span><a href="<?=weburl?>user/pay.php" class="chongzhi">[充值]</a>
						  <span class="discount-price fr">
                                               购买数量 :<input type="text" onChange="moneycha()" id="tkcnum" value="1"   style="width:30px;" />件
                                            </span>
                      </div>
					  
                    </div>

                     <? $a1="none" ;$a2="none" ; if($_SESSION[ "SHOPUSER"]=="" ){$a1="" ;}else{ $nuid=returnuserid($_SESSION[ "SHOPUSER"]); if(panduan( "probh,userid", "yjcode_profav where probh='".$row[bh]. "' and userid=".$nuid)==1){$a2="" ;}else{$a1="" ;} } ?>

						  
						  <ul class="u4">   
   <li class="pic-button clearfix" style="display: inline-block; width: 100%;">
   <a href="javascript:buyInto('<?=$row[bh]?>')" class="download-but fl"><i>
                          </i>立即购买</a>
   <? 
   $a1="none";$a2="none";
   if($_SESSION["SHOPUSER"]==""){$a1="";}else{
    if(panduan("probh,userid","yjcode_car where probh='".$row[bh]."' and userid=".$nuid)==1){$a2="";}else{$a1="";}
   }
   ?>
   <a href="javascript:carInto('<?=$row[bh]?>')" id="cara1" style="display:<?=$a1?>;" class="shopcar-but fr">加入购物车</a>
   <a href="../user/car.php" id="cara2" style="display:<?=$a2?>;" class="shopcar-but fr">已在购物车</a>
   <? if(!empty($row[ysweb])){?><a href="../tem/gotourl.php?u=<?=$row[ysweb]?>" target="_blank" class="ysweb">查看演示</a><? }?>
   </li>
   </ul>
						  
						  
						  
                      <div class="pic-button-info clearfix" id="dynamicInfo" style="display: inline-block;width: 100%;">
                        <span class="already-download fl" style="line-height: 22px;">已售出：
                          <?=$row[xsnum]?></span>
                        <div class="collect-pic fr" style="display: block;">
                          <? $a1="none" ;$a2="none" ; if($_SESSION[ "SHOPUSER"]=="" ){$a1="" ;}else{ $nuid=returnuserid($_SESSION[ "SHOPUSER"]); if(panduan( "probh,userid", "yjcode_profav where probh='".$row[bh]. "' and userid=".$nuid)==1){$a2="" ;}else{$a1="" ;} } ?>
                            <i class="collect-icon"></i>
                            <span class="shoucangzuo" id="favpno" style="display:<?=$a1?>;">
                              <a href="javascript:profavInto('<?=$row[bh]?>')">加入收藏</a></span>
                            <span class="shoucangzuo" id="favpyes" style="display:<?=$a2?>;">
                              <a href="../user/favpro.php">已收藏</a></span>
                        </div>
                      </div>
                        <div class="pic-info-box clearfix">
                        <ul class="pic-info">
                          <li>编号 : <?=$row[bh]?></li>
                          <li>软件 : Photoshop CS6(.psd)
                            <br></li>
                          <li>颜色模式 : RGB</li>
                          <li>图像类型 : 位图</li>
                          <li>分辨率 : 72 dpi</li>
                          <li>印刷尺寸 : 宽320 X 高200 厘米</li>
                          <li>上传时间 : <?=$row[lastsj]?></li></ul>
                      </div>
                    </div>
					
                    <div class="info-list remarks">
                    <dl class="clearfix fl">
                      <dt class="fl" style="background: #fff url(img/weili-icon.png) no-repeat 0 -126px;">正</dt>
                      <dd class="fl">正版授权</dd></dl>
                    <dl class="clearfix fl">
                      <dt class="fl" style="background: #fff url(img/weili-icon.png) no-repeat 0 -126px;">质</dt>
                      <dd class="fl">质量保障</dd></dl>
                    <dl class="clearfix fl" style="margin-right:0;width: 100px;">
                      <dt class="fl" style="background: #fff url(img/weili-icon.png) no-repeat 0 -126px;">保</dt>
                      <dd class="fl">贴心售后</dd></dl>
                  </div>
                  <div class="info-list find-button">
                    <a href="http://wpa.qq.com/msgrd?v=3&uin=<?=returnqq($row[userid])?>&site=<?=weburl?>&menu=yes" target="_blank">联系卖家要成品&gt;&gt;</a></div>
                  <div id="similar" class="info-list similar " style="display: inline-block;">
                    <div class="similar-top">
                      <span class="fl">相似的作品</span>
                      <!--<a href="#">查看更多</a>--></div>
                    <ul class="similar-box clearfix">
                      <? while1( "*", "yjcode_pro where userid=".$row[userid]. " and zt=0 and ifxj=0 order by xsnum desc limit 8");while($row1=mysql_fetch_array($res1)){$tp="../" .returntp( "bh='".$row1[bh]. "' order by xh asc", "-2");?>
                        <li class="list fl">
                          <a style="display: inline-block;width: 100%;" href="view<?=$row1[id]?>.html" target="_blank" class="alink">
                            <img alt="<?=$row1[tit]?>" title="<?=$row1[tit]?>" class="lazy" data-original="<?=returntppd($tp," ../img/none60x60.gif ")?>" src="<?=returntppd($tp," ../img/none60x60.gif ")?>" style="display: block;" width="156" height="170"></a>
                        </li>
                        <? }?></ul>
                    </div>
                    <div class="info-list related-search" style="display: none;">
                        <h3 class="title">相关搜索：</h3>
                        <div class="clearfix list-a" style="display: inline-block;width: 325px;">
                        </div>
                    </div>
                    <!--<div class="info-list recomm-album" >
                                                <h3 class="title">推荐专辑：</h3>
                        <div class="clearfix list-a">
                                                        <a href="http://www.ooopic.com/zhuanti/2507_1.html" target="_blank" >简约电视背景墙</a>
                                                        <a href="http://www.ooopic.com/zhuanti/2523_1.html" target="_blank" >美式背景墙</a>
                                                        <a href="http://www.ooopic.com/bangongshibeijingqiang/" target="_blank" >办公室背景墙</a>
                                                        <a href="http://www.ooopic.com/ruanbaobeijingqiang/" target="_blank" >软包背景墙</a>
                                                        <a href="http://www.ooopic.com/masaikebeijingqiang/" target="_blank" >马赛克背景墙</a>
                                                        <a href="http://www.ooopic.com/litibeijingqiang/" target="_blank" >立体背景墙</a>
                                                        <a href="http://www.ooopic.com/jiazhuangbeijingqiang/" target="_blank" >家装背景墙</a>
                                                        <a href="http://www.ooopic.com/guizaonibeijingqiang/" target="_blank" >硅藻泥背景墙</a>
                                                        <a href="http://www.ooopic.com/gongsibeijingqiang/" target="_blank" >公司背景墙</a>
                                                        <a href="http://www.ooopic.com/dianshibeijingqiangbizhi/" target="_blank" >电视背景墙壁纸</a>
                                                        <a href="http://www.ooopic.com/caihuibeijingqiang/" target="_blank" >彩绘背景墙</a>
                                                        <a href="http://www.ooopic.com/xiandaijianyuebeijingqiang/" target="_blank" >现代简约电视背景墙</a>
                                                    </div>
                                            </div>-->
                </div>
            </div>
        </div>
    </div>
</div>



<script type="text/javascript">
    $(function(){
        //举报作品查看详情说明弹框显示&隐藏
        $(".look-detail .look-but").click(function(){
            $(this).css("color",'#e18e22');
            $(".prompt-popup").fadeToggle();
        });
        $('.but').click(function(){
            $('.tipsone').hide();
            $('.tipstwo').hide();
            $('.tipsthr').hide();
        });

    })
</script>



<!--footer start-->
        <? include( "../tem/bottom.html");?>

</body>
</html>
