' .'' .HTMLHelper::_('image', $imgUrl . $image, $text ) .'
'.$text.'
'. "\n"; } public static function getLinks() { $app = Factory::getApplication(); $option = $app->input->get('option'); $oT = strtoupper($option); $links = array(); switch ($option) { case 'com_phocamaps': $links[] = array('Phoca Maps site', 'https://www.phoca.cz/phocamaps'); $links[] = array('Phoca Maps documentation site', 'https://www.phoca.cz/documentation/category/53-phoca-maps-component'); $links[] = array('Phoca Maps download site', 'https://www.phoca.cz/download/category/81-phoca-maps'); break; } $links[] = array('Phoca News', 'https://www.phoca.cz/news'); $links[] = array('Phoca Forum', 'https://www.phoca.cz/forum'); $components = array(); $components[] = array('Phoca Gallery','phocagallery', 'pg'); $components[] = array('Phoca Guestbook','phocaguestbook', 'pgb'); $components[] = array('Phoca Download','phocadownload', 'pd'); $components[] = array('Phoca Documentation','phocadocumentation', 'pdc'); $components[] = array('Phoca Favicon','phocafavicon', 'pfv'); $components[] = array('Phoca SEF','phocasef', 'psef'); $components[] = array('Phoca PDF','phocapdf', 'ppdf'); $components[] = array('Phoca Restaurant Menu','phocamenu', 'prm'); $components[] = array('Phoca Maps','phocamaps', 'pm'); $components[] = array('Phoca Font','phocafont', 'pf'); $components[] = array('Phoca Email','phocaemail', 'pe'); $components[] = array('Phoca Install','phocainstall', 'pi'); $components[] = array('Phoca Template','phocatemplate', 'pt'); $components[] = array('Phoca Panorama','phocapanorama', 'pp'); $components[] = array('Phoca Commander','phocacommander', 'pcm'); $components[] = array('Phoca Photo','phocaphoto', 'pcm'); $banners = array(); $banners[] = array('Phoca Restaurant Menu','phocamenu', 'prm'); $banners[] = array('Phoca Cart','phocacart', 'pc'); $o = ''; $o .= '

 

'; $o .= '

'.Text::_($oT.'_USEFUL_LINKS'). '

'; $o .= ''; $o .= '
'; $o .= '

 

'; $o .= '

'.Text::_($oT.'_USEFUL_TIPS'). '

'; $m = mt_rand(0, 10); if ((int)$m > 3) { $o .= '
'; $num = range(0,(count($components) - 1 )); shuffle($num); for ($i = 0; $i<3; $i++) { $numO = $num[$i]; $o .= '
'; $o .= '
'.HtmlHelper::_('image', 'media/'.$option.'/images/administrator/icon-box-'.$components[$numO][2].'.png', ''). '
'; $o .= '
'.$components[$numO][0].'
'; $o .= '
'; } $o .= '
'; $o .= '
'; } else { $num = range(0,(count($banners) - 1 )); shuffle($num); $numO = $num[0]; $o .= '
'.HTMLHelper::_('image', 'media/'.$option.'/images/administrator/b-'.$banners[$numO][2].'.png', ''). '
'; } $o .= '

 

'; $o .= '

'.Text::_($oT.'_PLEASE_READ'). '

'; $o .= '
'.Text::_($oT.'_PHOCA_NEEDS_YOUR_HELP'). '
'; $o .= '
'; return $o; } }