* @copyright Copyright (C) 2010-2013 by www.teglo.info * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL * @date $Date$ * @revision $Revision$ * @author $Author$ * @headurl $HeadURL$ */ // No direct access to this file defined('_JEXEC') or die('Restricted Access'); //Load JavaScripts for light box JHtml::_('behavior.modal'); //Load PlayJoom Slider JLoader::import('helpers.pjslider', JPATH_SITE . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_playjoom'); $artist = base64_decode(JRequest::getVar('artist')); $artist_infos = PlayJoomModelArtist::getArtistInfos($artist); $artist_count = PlayJoomModelArtist::getArtistCount($artist); $number_of_albums = PlayJoomArtistHelper::getOptions('album', base64_decode(JRequest::getVar('artist'))); if ($artist_count->counter == 1 && $artist_infos->infotxt != '' || $artist_count->counter == 1 && $artist_infos->members != '' || $artist_count->counter == 1 && $artist_infos->formation != '0000-00-00') { $artist_content = '<div class="infotxt">' . $artist_infos->infotxt . '</div>' . '<ul class="infolist">'; if ($artist_infos->members != '') { $artist_content .= '<li>' . JText::_('COM_PLAYJOOM_ALBUM_MEMBERS') . ': ' . $artist_infos->members . '</li>'; } if ($artist_infos->formation != '0000-00-00') { $artist_content .= '<li>' . JText::_('COM_PLAYJOOM_ALBUM_FOUNDED') . ': ' . $artist_infos->formation . '</li>'; } $artist_content .= '</ul>'; echo '<div class="trackbox">'; echo '<h3 class="subheader">' . $artist . ' | ' . $this->pagination->total . ' Tracks</h3>'; echo JHtml::_('PlayJoomSliders.start'); echo JHtml::_('PlayJoomSliders.panel', JText::_('COM_PLAYJOOM_ALBUM_MORE_INFO'), 'more'); echo $artist_content;