Server : Apache
System : Linux iZ2vcgyutqttsd1p850kl8Z 3.10.0-1160.92.1.el7.x86_64 #1 SMP Tue Jun 20 11:48:01 UTC 2023 x86_64
User : www ( 1000)
PHP Version : 5.6.40
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Directory :  /www/wwwroot/saimikebio.com/themes/lingshi/
Upload File :
Current Directory [ Writeable ] Root Directory [ Writeable ]


Current File : /www/wwwroot/saimikebio.com/themes/lingshi/exchange_goods.dwt
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="{$keywords}" />
<meta name="Description" content="{$description}" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>{$page_title}</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
<link rel="shortcut icon" href="favicon.ico" />
<link rel="icon" href="animated_favicon.gif" type="image/gif" />
<link href="{$ecs_css_path}" rel="stylesheet" type="text/css" />
<link href="goods.css" rel="stylesheet" type="text/css" />
<link href="magiczoomplus.css" rel="stylesheet" type="text/css" />
{* 包含脚本文件 *}
{insert_scripts files='common.js'}
<script type="text/javascript">
function $id(element)
{
  return document.getElementById(element);
}
//切屏--是按钮,_v是内容平台,_h是内容库
function reg(str)
{
  var bt=$id(str+"_b").getElementsByTagName("h2");

  for(var i=0;i<bt.length;i++)
  {
    bt[i].subj=str;
    bt[i].pai=i;
    bt[i].style.cursor="pointer";

    bt[i].onclick=function()
    {
      $id(this.subj+"_v").innerHTML=$id(this.subj+"_h").getElementsByTagName("blockquote")[this.pai].innerHTML;

      for(var j=0;j<$id(this.subj+"_b").getElementsByTagName("h2").length;j++)
      {
        var _bt=$id(this.subj+"_b").getElementsByTagName("h2")[j];
        var ison=j==this.pai;
        _bt.className=(ison?"":"h2bg");
      }
    }
  }

  $id(str+"_h").className="none";
  $id(str+"_v").innerHTML=$id(str+"_h").getElementsByTagName("blockquote")[0].innerHTML;
}
</script>
</head>
<body>
<!-- #BeginLibraryItem "/library/page_header.lbi" --><!-- #EndLibraryItem -->{insert_scripts files='magiczoomplus.js,easydialog.min.js'}
<script type="text/javascript" src="js/lizi_goods.js"></script>
<div id="wrapper">
  <div class="breadcrumbs cle"> <!-- #BeginLibraryItem "/library/ur_here.lbi" --><!-- #EndLibraryItem -->
  </div>
  <div class="detail cle"> 
    <!-- 图片 --> 
    <!-- #BeginLibraryItem "/library/goods_gallery.lbi" --><!-- #EndLibraryItem -->
   
    <!-- 商品 -->
    <div class="item-info" id="item-info">
    <dl class="loaded">
    <!-- 名字 -->
    <dt class="product_name">
      <h1>{$goods.goods_style_name}</h1>
      <p class="desc"> <span class="gray">{$goods.goods_brief}</span> </p>
    </dt>
    
    <!-- 价格——正常时 -->
    <dd class="property">
      <ul>
        
        <!-- {if $cfg.show_goodssn} 显示商品货号-->
        <li> <span class="lbl">{$lang.goods_sn}</span> <em>{$goods.goods_sn}</em> </li>
        <!-- {/if} --> 
        
        <!-- {if $cfg.show_goodsweight} 商品重量-->
        <li> <span class="lbl">{$lang.goods_weight}</span> <em>{$goods.goods_weight}</em> </li>
        
        <!-- {/if} --> 
        
        <!-- {if $cfg.show_marketprice} 市场价格-->
        <li> <span class="lbl">{$lang.market_price}</span> <em class="cancel">{$goods.market_price}</em> </li>
        <!-- {/if} -->
        
        <li><span class="lbl">{$lang.exchange_integral}</span> <span class="unit"> <strong class="nala_price red">{$goods.exchange_integral}</strong> </span> </li>


          
        <li><span class="lbl">销&nbsp;&nbsp;&nbsp;量</span><span>最近售出<em class="red">{$goods.sales_volume_base}</em>件</span></li>
        
        
        
        
          
          
      </ul>
    </dd>
    
    <!-- 赠品 --> 
    
    <!-- 规格 -->
    
    <dd class="tobuy-box cle">
   
      <ul class="sku">
      <form action="exchange.php?act=buy" method="post" name="ECS_FORMBUY" id="ECS_FORMBUY" >
   
      <!-- {* 开始循环所有可选属性 *} --> 
      <!-- {foreach from=$specification item=spec key=spec_key} --> 
      <!-- {if $spec.attr_type eq 1} -->
      
      <li class="sku_box cle" id="sku_box"> <span class="lbl">{$spec.name}</span>
        <div id="sku_list" class="sku_list cle"> 
          <!-- {foreach from=$spec.values item=value key=key} --> 
          <a {if $key eq 0}class="selected"{/if} href="javascript:;">{$value.label}<span class="icon_bg">已选中</span>
          <input id="spec_value_{$value.id}" style="display:none;" type="radio" name="spec_{$spec_key}" value="{$value.id}" {if $key eq 0}checked{/if} />
          </a> 
          <!-- {/foreach} --> 
          
        </div>
      </li>
      
      <!-- {else} -->
      
      <li class="sku_box cle" id="sku_box"> <span class="lbl">{$spec.name}</span>
        <div id="sku_list" class="sku_list cle"> 
          <!-- {foreach from=$spec.values item=value key=key} -->
          <label for="spec_value_{$value.id}">
            <input type="checkbox" name="spec_{$spec_key}" value="{$value.id}" id="spec_value_{$value.id}" onclick="changePrice()" />
            {$value.label} [{if $value.price gt 0}{$lang.plus}{elseif $value.price lt 0}{$lang.minus}{/if} {$value.format_price|abs}] </label>
          </a> 
          <!-- {/foreach} -->
          <input type="hidden" name="spec_list" value="{$key}" />
        </div>
      </li>
      
      <!-- {/if} --> 
      <!-- {/foreach} --> 
      <!-- {* 结束循环可选属性 *} --> 
      
      <!-- 购买——正常按钮时  -->
      <li class="add_cart_li"> <a href="javascript:$('#ECS_FORMBUY').submit();" class="btn" id="buy_btn"><i class="iconfont">&#xe608;</i>{$lang.exchange_goods}</a> </li>
      <input type="hidden" name="goods_id" value="{$goods.goods_id}" />
    </form>
    </ul>
    </dd>
    </dl>
  </div>
</div>
  <div class="detail_bgcolor">
    <div class="z-detail-box cle">
      <div class="z-detail-left">
        <div class="itemContent">
		<ul class="itemContentHead" id="D1">
			<li data-position="D1" class="itemContentHeadFocus"><a href="javascript:void(0);">规格参数</a></li>
			<li data-position="D2"><a href="javascript:void(0);">产品介绍</a></li>
			<li data-position="D3"><a href="javascript:void(0);">评价 <em>({$goods.comments_number})</em></a></li>
		</ul>
	</div>
        <div class="product_tabs">
          <div class="sectionbox z-box itemSpan">
				<h4 style="padding-top:10px;">规格参数</h4>
			  <div class="spxq_main">
					  <table>
						<tbody>
						  <tr>
							<td width="20%" class="th"> 产品名称 :</td>
							<td width="80%"> {$goods.goods_name}</td>
						  </tr>
						  <!-- {if $goods.goods_brand neq "" and $cfg.show_brand} 显示商品品牌-->
						  <tr>
							<td width="20%" class="th"> 产品品牌 :</td>
							<td width="80%"> {$goods.goods_brand}</td>
						  </tr>
						  <!--{/if}--> 
						  <!-- {foreach from=$properties item=property_group key=key} --> 
						  <!-- {foreach from=$property_group item=property} -->
						  <tr>
							<td width="64" class="th"> {$property.name|escape:html}:</td>
							<td> {$property.value}</td>
						  </tr>
						  <!-- {/foreach}--> 
						  <!-- {/foreach}-->
						</tbody>
					  </table>
			  </div>

          </div>
          <div id="D2" class="z-box sectionbox itemSpan">
			  <h4>产品介绍</h4>
				<div class="spxq_main">
              <div class="spxq_dec">
			  
{if $goods.goods_video}
		<div style=" text-align:center">
		 <script type="text/javascript" src="../js/chplayer/chplayer.js"></script>
		 <div id="video" style=" height:600px; width:750px; margin:0 auto;"></div>
		 <script type="text/javascript">
			var videoObject = {
				container: '#video',//“#”代表容器的ID,“.”或“”代表容器的class
			variable: 'player',//该属性必需设置,值等于下面的new chplayer()的对象
			volume: 0.6, //默认音量,范围是0-1
			poster: '', //封面图片地址
			autoplay: false, //是否自动播放,默认true=自动播放,false=默认暂停状态
			loop: false, //是否循环播放,默认false=不需要,true=需要
		 live: false, //是否是直播,默认false=点播放,true=直播
			loaded: 'loadedHandler', //当播放器加载后执行的函数
		 seek: 0, //默认需要跳转的时间
			drag: 'start', //在flashplayer情况下是否需要支持按关键帧拖动,不需要留空,需要请填写拖动时请求的属性,本例中使用start,如果需要强制按时间点拖动则增加前缀time_,本例中即time_start,如果需要强制按关键帧进行拖动,则前缀是frames_,本例中即:frames_start
			front: '', //前一集按钮点击触发函数,即点击前一集时调用的函数名称,默认为空
			next: '', //下一集按钮点击触发函数,即点击下一集时调用的函数名称,默认为空
			flashplayer:false,//强制使用flashplayer
			html5m3u8:false,//是否使用hls,默认不选择,如果此属性设置成true,则不能设置flashplayer:true,
		
				video:'{$goods.goods_video}'//视频地址
		 };
			var player=new chplayer(videoObject);
		 </script>
		</div>
{/if}
			  
			  
			  {$goods.goods_desc}
			  
			  
			  </div>
				</div>
          </div>
          <div id="D3" class="z-box sectionbox itemSpan">
	      <h4>用户评价</h4>
              <!-- #BeginLibraryItem "/library/my_comments.lbi" --><!-- #EndLibraryItem -->
          </div>
        </div>
      </div>
	  
	  <div class="z-detail-right">
	  <!-- #BeginLibraryItem "/library/goods_related.lbi" --><!-- #EndLibraryItem -->
	  	<div class="tabs_bar_right">
			<div class="tabs_bar2">精品推荐</div>
		</div>
	  	<div class="hot_box">
			<ul>
				<!--{foreach from=$best_goods item=goods name=goods}-->
				{if $smarty.foreach.goods.iteration < 6}
				<li>
					<a href="{$goods.url}" target="_self">
						<img width="194px" height="194px" data-original="{$goods.thumb}" src="images/spacer.gif" class="loading" />
						<p>{$goods.short_style_name}</p>
						<p class="hot_price">
							<!-- {if $goods.promote_price neq ""} -->
          					{$goods.promote_price}
          					<!-- {else}-->
          					{$goods.shop_price}
          					<!--{/if}-->
						</p>
					</a>
				</li>
				{/if}
				<!--{/foreach}-->
			</ul>
		</div>
	  </div>
	  
	  
    </div>
  </div>
</div>

<div class="itemBar" style="">
	<div class="wrapper">
		<div class="itemBuy"><a href="javascript:$('#ECS_FORMBUY').submit();" class="itemAddCart">加入购物车</a></div>
		<div class="itemMin" title="{$goods.goods_style_name}">
			<span><img src="{$goods.goods_thumb}"></span>
			<p>{$goods.goods_name|truncate:30:'...'}</p>
		</div>
		<ul class="itemContentHead" id="iteamBarHead">
			<li id="H1" data-position="D1" class="itemContentHeadFocus"><a href="javascript:void(0);">规格参数</a></li>
			<li id="H2" data-position="D2"><a href="javascript:void(0);">产品介绍</a></li>
			<li id="H3" data-position="D3"><a href="javascript:void(0);">评价 <em>({$goods.comments_number})</em></a></li>
		</ul>
	</div>
</div>
<!-- #BeginLibraryItem "/library/page_footer.lbi" --><!-- #EndLibraryItem -->
</body>
<script type="text/javascript">
<!-- {literal} -->
onload = function()
{
  fixpng();
}
<!-- {/literal} -->
</script>
</html>