{inc: include("shop/index_header.php");/}
{echo:$language->r('b_location');/}:{echo:$language->r('b_index');/} > {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/}
{sta:if($goodshistory) [exc]}

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

    {sta:foreach($goodshistory as $value)[exc]}
  • {echo: $value['goods_name'];/}

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

    {echo:$language->r('b_price');/}:{echo: $value['goods_price'];/}
  • {end:foreach/}
{end:if/}

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

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

{sta: if($rankprice) [exc]} {echo:$language->r('b_rank_price');/}:{echo: $rankprice;/}{echo:$language->r('b_yuan');/} {sta: }elseif($USER['user_rank_id']) [exc]} {echo:$language->r('b_price');/}:{sta: if(number_format($goodsinfo['goods_price']*$discount/100,2,'.','')==0) [exc]}{echo:$language->r('i_no_price');/}{sta: }else [exc]}{echo: $rankprice;/}{end:if/}{echo:$language->r('b_yuan');/} {end:if/}

{sta:if($goodsinfo['points']) [exc]}

{echo:$language->r('b_points');/}:+{echo: $goodsinfo['points'];/}

{end:if/}

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

{echo:$language->r('b_transport_price');/}:{echo: $goodsinfo['transport_price'];/}{echo:$language->r('b_yuan');/}{echo:$language->r('g_goods_favorite');/}

{sta:if($goodsinfo['coin_purchase']) [exc]}

{echo:$language->r('g_use_coin');/}{echo: $goodsinfo['coin_purchase'];/}{echo: $language->r('g_mall_currency');/}

{end:if/} {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');/}:

    {sta: if($goodsinfo['goods_price']==0) [exc]} {echo:$language->r('g_askprice');/} {sta: }else [exc]}
  • {end:if/}
{echo:$language->r('i_to_left');/}
    {sta:$i=1;foreach($gallery as $val)[loop]} {end:$i++;foreach/}
{echo:$language->r('i_to_right');/}
{sta: if($attr_status) { $i = 0; foreach($attr as $key=>$value)[loop]} {sta: if($i%2) { echo ""; } $i++; } if/}
{echo: $attribute[$key];/} {echo: $value;/}
{echo: $goodsinfo['goods_intro'];/}
{sta: if($SYSINFO['open_tag']=='true') [exc]}

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

{sta:if($tags_results){ foreach($tags_results as $v) [loop]} [{echo:$v['tag_words'];/}] {end:foreach/} {end:if/}
{sta: if($SYSINFO['competence_tag'] == 'true') [exc]}
{sta: } else [exc]} {sta: if($USER['login']) [exc]}
{sta: } else [exc]}
{echo:$language->r('i_hi');/},{echo:$language->r('g_tag_login');/},{echo:$language->r('i_please_login');/}{echo:$language->r('i_or');/}{echo:$language->r('i_free_register');/}
{end:if/} {end:if/}
{end:if/} {sta: if($SYSINFO['open_comment']=='true') [exc]}

{echo:$language->r('g_goods_comment');/} {echo:$language->r('b_gong');/}{echo:$comment['countnum'];/}{echo:$language->r('g_comment_nums');/}

    {sta:if($comment['result']){ foreach($comment['result'] as $v) [loop]}
  • {echo: $v['user_name'];/}{echo:$language->r('g_publish_time');/}:{echo:$v['datetime'];/}

    {echo:$v['content'];/}

    {sta:if($v['reply']) [exc]}

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

    {echo:$v['reply_content'];/}

    {end:if/}
  • {end:foreach/}
{sta: }else [exc]}
{echo:$language->r('g_not_comment');/}!
{end:if/}
{sta: if($SYSINFO['competence_comment'] == 'true') [exc]}

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

{echo:$language->r('b_user_name');/}: {sta:if($USER['user_name'])[exc]}{sta: }else[exc]}{echo:$language->r('g_anonymous_user');/}{end:if/}
{echo:$language->r('i_tag');/}Emaill:
{echo:$language->r('g_comment_grade');/}:
{echo:$language->r('g_comment_content');/}:
{echo:$language->r('b_verifycode');/}:
{echo:$language->r('g_now_comment');/}
{sta: } else [exc]} {sta: if($USER['login']) [exc]}

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

{echo:$language->r('b_user_name');/}: {sta:if($USER['user_name'])[exc]}{sta: }else[exc]}{echo:$language->r('g_anonymous_user');/}{end:if/}
{echo:$language->r('b_email');/}:
{echo:$language->r('g_comment_grade');/}:
{echo:$language->r('g_comment_content');/}:
{echo:$language->r('b_verifycode');/}:
{echo:$language->r('g_now_comment');/}
{sta: } else [exc]}
{echo:$language->r('i_hi');/},{echo:$language->r('g_login_comment');/},{echo:$language->r('i_please_login');/}{echo:$language->r('i_or');/}{echo:$language->r('i_free_register');/}
{end:if/} {end:if/} {end:if/}
{inc: include("shop/index_footer.php");/}