params->get( 'pageclass_sfx' ).'">'; if ($this->t['backbutton'] != '') { echo $this->t['backbutton']; echo '
'; } // Min Width $wRightO = $wLeftO = $wLeftOIE = ''; if ($this->t['multibox_fixed_cols'] == 1) { $wLeft = $this->t['large_image_width']; $wRight = (int)$this->t['multibox_width'] - (int)$wLeft - 20;//margin 4 x 5px $wRightO = 'min-width: '.$wRight.'px'; $wLeftO = 'min-width: '.$wLeft.'px'; $wLeftOIE = 'width: '.$wLeft.'px'; // IE7 $document = JFactory::getDocument(); $document->addCustomTag(""); } // - - - - - // LEFT // - - - - - echo '
| '. "\n";
$over = 'onmouseover="document.getElementById(\'phocagallerymultiboxnext\').style.display = \'block\';document.getElementById(\'phocagallerymultiboxprev\').style.display = \'block\';" ';
$out = 'onmouseout="document.getElementById(\'phocagallerymultiboxnext\').style.display = \'none\';document.getElementById(\'phocagallerymultiboxprev\').style.display = \'none\';"';
echo ' '. "\n";
// - - - - -
// RIGHT
// - - - - -
echo '';
if ($this->item->download	 == 1) {
	echo $this->loadTemplate('download');
} else {
	if ($this->item->videocode != '') {
		$this->item->linkimage = $this->item->videocode;
	}
	if ($this->item->nextbuttonhref != '') {
		echo ''.$this->item->linkimage.'';
	} else {
		echo ''.$this->item->linkimage.'';
	}
	echo $this->item->prevbutton;
	echo $this->item->nextbutton;
}
echo ''. "\n";
echo ' | '. "\n";
echo ' '. "\n";
echo ''. "\n";
// Title
if ($this->t['mb_title']) {
echo ''. "\n";
echo ' '.$this->item->title.''. "\n";
}
// Description
if ($this->t['mb_desc']) {
//echo ' '.$this->item->description.''. "\n";
echo ' '.Joomla\CMS\HTML\HTMLHelper::_('content.prepare', $this->item->description, 'com_phocagallery.item').''. "\n";
}
// Uploaded By
if ($this->t['mb_uploaded_by']) {
	echo ' ' . JText::_('COM_PHOCAGALLERY_UPLOADED_BY') . '';
	if ($this->t['useravatarimg'] != '') {
	echo ' '.$this->t['useravatarimg'].'';
	}
	echo ' '.$this->item->usernameno.'';
	echo '';
}
// Rating
if ($this->t['mb_rating']) {
	echo "\n";
	echo $this->loadTemplate('rating');
	echo "\n";
}
//Thumbnails
if ($this->t['mb_thumbs']) {
	if (!empty($this->t['mb_thumbs_data'])) {
		echo ' ';
		foreach ($this->t['mb_thumbs_data'] as $k => $v) {
			$extImage = PhocaGalleryImage::isExtImage($v->extid);
			//$altValue	= PhocaGalleryRenderFront::getAltValue($this->t['altvalue'], $v->title, $v->description, $v->metadesc);
			$altValue = '';//Save resources - not necessary
			if ($extImage) {
				$img = Joomla\CMS\HTML\HTMLHelper::_( 'image', $v->exts, $altValue);
			} else {
				$linkthumbnailpath	= PhocaGalleryImageFront::displayCategoryImageOrNoImage($v->filename, 'small');
				$img = Joomla\CMS\HTML\HTMLHelper::_( 'image', $linkthumbnailpath, $altValue);
			}
			if ($this->t['detailwindow'] == 7) {
				$tCom = '';
			} else {
				$tCom = '&tmpl=component';
			}
			echo '';
		}
		echo '';
		echo '';
	}
}
// Map
if ($this->t['mb_maps']) {
	$src = JRoute::_('index.php?option=com_phocagallery&view=map&catid='.$this->item->catid
	.'&id='.$this->item->id.'&mapwidth='
	.$this->t['multibox_map_width'].'&mapheight='
	.$this->t['multibox_map_height'].'&tmpl=component&Itemid='
	.$this->itemId );
	$this->t['multibox_map_width'] = $this->t['multibox_map_width'] + 20;
	$this->t['multibox_map_height'] = $this->t['multibox_map_height'] + 10;
	echo ''. "\n";
}
// Tags
if ($this->t['mb_tags'] && $this->t['displaying_tags_output'] != '') {
	echo '';
}
// Comments
if ($this->t['mb_comments']) {
	echo ' ';
	if ((int)$this->t['externalcommentsystem'] == 2) {
		echo $this->loadTemplate('comments-fb');
	} else if ((int)$this->t['externalcommentsystem'] == 1) {
		if (JComponentHelper::isEnabled('com_jcomments', true)) {
			include_once(JPATH_BASE.'/components/com_jcomments/jcomments.php');
			echo JComments::showComments($this->item->id, 'com_phocagallery_images', JText::_('COM_PHOCAGALLERY_IMAGE') .' '. $this->item->title);
		}
	} else {
		$src = JRoute::_('index.php?option=com_phocagallery&view=comment&catid='.$this->item->catid.'&id='.$this->item->id.'&tmpl=component&commentsi=1&Itemid='. $this->itemId );
		echo ''. "\n";
	}
	echo '';
}
echo ' | 
'; echo PhocaGalleryUtils::getExtInfo(); } ?>