{inc: include("shop/index_header.php");/}
{echo:$language->r('b_location');/}:{echo:$language->r('b_index');/} > {echo:$language->r('i_special');/}
{sta: foreach($CATEGORY[0] as $cat)[loop]}
{echo: $cat['cat_name'];/}
{sta:if(isset($CATEGORY[$cat['cat_id']]) && $CATEGORY[$cat['cat_id']])[exc]} {sta: foreach($CATEGORY[$cat['cat_id']] as $subcat)[loop]}
{echo: $subcat['cat_name'];/}
{end:foreach/} {end:if/}
{end:foreach/}

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

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

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

    {echo:$language->r('p_startend_time');/}:{echo:$v['start_time'];/} {echo:$language->r('p_to');/} {echo:$v['end_time'];/}

    {echo:$language->r('p_special_desc');/}:{echo:sub_str($v['desc'],90);/}

  • {end:foreach/} {sta: }else [exc]}
  • {echo:$language->r('p_no_special_goods');/}!
  • {end:if/}
{inc: include("shop/index_footer.php");/}