{inc: include("shop/index_header.php");/}
{echo:$language->r('b_location');/}:{echo:$language->r('b_index');/} {sta:if(isset($this_parent_info['cat_name']) && $this_parent_info['cat_name'])[exc]} > {echo: $this_parent_info['cat_name'];/}{end:if/} > {echo: $this_catinfo['cat_name'];/}
{sta:if(!$cat_id)[exc]}

{echo:$language->r('i_all');/}{echo:$language->r('i_category');/}Category

{sta:$i=0;/} {sta: foreach($CATEGORY[0] as $cat) { $i++;/} {sta:if($i%2)[exc]}

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

{sta: } else [exc]}

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

{end:if/}
{sta: if($CATEGORY[$cat['cat_id']]) { foreach($CATEGORY[$cat['cat_id']] as $subcat) [loop]}
{echo: $subcat['cat_name'];/}
{sta: } if/}
{end:if/}
{sta:}else [exc]}

{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:$language->r('g_goods_list');/}

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

{sta:if($result['countpage']>1)[exc]} {inc: require("modules/page.php");/} {end:if/}
{end:if/} {inc: include("shop/index_footer.php");/}