{inc: include("shop/index_header.php");/}
{echo:$language->r('b_location');/}:{echo:$language->r('b_index');/} > {echo:$language->r('i_exchange');/} > {echo: $header['title'];/}

{echo:$this_catinfo['cat_name'];/}

{sta: if(isset($CATEGORY[$cat_id]) && $CATEGORY[$cat_id]) [exc]}
{sta: foreach($CATEGORY[$cat_id] as $value)[loop]}
{echo: $value['cat_name'];/}
{end:foreach/}
{end:if/} {sta: if($attr_info){ foreach($attr_info as $key => $value)[loop]}
{echo: $value['attr_name'];/}
{sta:if(get_args('attr'.$value['attr_id'])) [exc]} {echo:$language->r('i_all');/} {sta:}else[exc]} {echo:$language->r('i_all');/} {end:if/}
{sta: foreach($value['attr_values'] as $k => $v)[loop]} {sta:if(get_args('attr'.$value['attr_id'])) [exc]} {sta:$url = preg_replace("/attr".$value['attr_id']."=([^&]+)/","attr".$value['attr_id']."=".urlencode($v),$url_this);/} {sta:}else [exc]} {sta:$url = $url_this."&attr".$value['attr_id']."=".urlencode($v);/} {end:if/}
{sta:if(get_args('attr'.$value['attr_id'])==$v) [exc]} {echo: $v;/} {sta:}else[exc]} {echo: $v;/} {end:if/}
{end:foreach/}
{end:}foreach/}

{echo:$language->r('i_other_category');/}

    {sta:if(isset($this_parent_info['cat_name'])){ foreach($category_all as $value){ if($value['cat_name'] != $this_parent_info['cat_name'])[exc]}
  • {echo:$value['cat_name'];/}
  • {end:}foreach/} {sta:}else{ foreach($category_all as $value){ if($value['cat_name'] != $this_catinfo['cat_name'])[exc]}
  • {echo:$value['cat_name'];/}
  • {end:}}if/}

{echo:$language->r('i_new_browse');/}

{echo: $goodsinfo['goods_name'];/}

{echo:$language->r('b_goods_no');/}:{echo:$goodsinfo['goods_no'];/}

{echo:$language->r('i_original_price');/}: {sta: if($goodsinfo['goods_price']=='0.00') [exc]} {echo: $language->r('i_no_price');/} {sta: } else[exc]} {echo: $goodsinfo['goods_price'];/} {echo: $language->r('b_yuan');/} {end:if/}

{echo:$language->r('b_coin');/}:{echo:$goodsinfo['exchange_coin'];/} {sta:if($goodsinfo['specification']) [exc]}

{sta:foreach($spec_name as $k=>$value)[loop]} {sta:if($value['spec_type']==1)[exc]}

{echo:$value['spec_name'];/}:

    {sta:foreach($spec_info as $v){ if(in_array($v['info_id'],$infolist_arr) && $v['spec_id']==$value['spec_id'])[exc]}
  • {echo:$v['info_name'];/}
  • {end:if/} {end:foreach/}
{sta:}elseif($value['spec_type']==2) [exc]}

{echo:$value['spec_name'];/}:

    {sta:foreach($spec_info as $v){ if(in_array($v['info_id'],$infolist_arr) && $v['spec_id']==$value['spec_id'])[exc]}
  • {echo:$v['info_name'];/}
  • {end:if/} {end:foreach/}
{end:if/} {end:foreach/}
{end:if/} {sta:if(isset($product_info)){ foreach($product_info as $value)[loop]} {end:foreach/} {end:if/}

{echo:$language->r('b_buy_nums');/}:

{echo:$language->r('i_to_right');/}
    {sta:$i=1;foreach($gallery as $val)[loop]} {end:$i++;foreach/}
{echo:$language->r('i_to_left');/}
{echo: $goodsinfo['goods_intro'];/}
{inc: include("shop/index_footer.php");/}