getList($parentid, 'active'); if (!empty($list)) { $m_return .= '
'; foreach ($list as $item) { $pic = $item['image'] ? '/images/content_category/'.$item['image'] : 'nopic.jpg'; $l = $cats -> getPath($item['id'], 'sef'); $l = implode('/',$l); $link = $goods_list_page.$l.'/'; $m_return .= '

'.$L->StrT('content_categories','title', $item['id'], $item['title']).'

'; } $m_return .= '
'; }