$m_return = ''; $Goods = new Products(); $L = Core_Language::getInstance(); $latest = $Goods -> getLatestItems(1); if (!empty($latest)) { $link = $Goods -> getLink($latest['id']); $thumb = $Goods -> getThumbnail($latest['id'], 't'); $m_return .= '
'.$L->StrT('goods', 'title', $latest['id'], $latest['title']).'
'.$L->Str('Add to cart').'