positions[0]->title) {$strtitle = JText::_($this->positions[0]->title);} ?>
".@$strtitle."";
if (isset($this->fDisplay[1]))
{
foreach($this->fDisplay[1] as $field)
{
$title = $this->field->showFieldTitle($this->content,$field);
if ($title != "")
echo htmlspecialchars($title).": ";
echo $this->field->showFieldValue($this->content,$field)."
";
}
} ?>
content->event->onContentAfterTitle; ?>
content->userid != 0)
{
echo JText::_('ADSMANAGER_SHOW_OTHERS');
if ($conf->comprofiler == 3) {
$target = TRoute::_("index.php?option=com_community&view=profile&userid=".$this->content->userid);
}
else if ($conf->comprofiler == 2)
{
$target = TRoute::_("index.php?option=com_comprofiler&task=userProfile&tab=AdsManagerTab&user=".$this->content->userid);
}
else
{
$target = TRoute::_("index.php?option=com_adsmanager&view=list&user=".$this->content->userid);
}
if ($conf->display_fullname == 1)
echo "
".$this->content->fullname."";
else
echo "
".$this->content->user."";
if ($this->userid == $this->content->userid) {
?>
positions[3]->title) {$strtitle = JText::_($this->positions[3]->title); } ?>
".@$strtitle."";
if (isset($this->fDisplay[4]))
{
foreach($this->fDisplay[4] as $field)
{
$title = $this->field->showFieldTitle($this->content,$field);
if ($title != "")
echo htmlspecialchars($title).": ";
echo $this->field->showFieldValue($this->content,$field)."
";
}
}?>
positions[2]->title) {$strtitle = JText::_($this->positions[2]->title);} ?>
".@$strtitle."";
if (isset($this->fDisplay[3]))
{
foreach($this->fDisplay[3] as $field)
{
$title = $this->field->showFieldTitle($this->content,$field);
if ($title != "")
echo htmlspecialchars($title).": ";
echo $this->field->showFieldValue($this->content,$field)."
";
}
} ?>
positions[1]->title) {$strtitle = JText::_($this->positions[1]->title);} ?>
".@$strtitle."";
if (isset($this->fDisplay[2]))
{
foreach($this->fDisplay[2] as $field)
{
$title = $this->field->showFieldTitle($this->content,$field);
if ($title != "")
echo htmlspecialchars($title).": ";
echo $this->field->showFieldValue($this->content,$field)."
";
}
}
?>
positions[5]->title) {$strtitle = JText::_($this->positions[5]->title);} ?>
".@$strtitle."";
if (isset($this->fDisplay[6]))
{
foreach($this->fDisplay[6] as $field)
{
$title = $this->field->showFieldTitle($this->content,$field);
if ($title != "")
echo htmlspecialchars($title).": ";
echo $this->field->showFieldValue($this->content,$field)."
";
}
} ?>
loadScriptImage($this->conf->image_display);
$image_found =0;
$nbimages = $this->conf->nb_images;
if (function_exists("getMaxPaidSystemImages"))
{
$nbimages += getMaxPaidSystemImages();
}
for($i=1;$i < $nbimages + 1;$i++)
{
$ext_name = chr(ord('a')+$i-1);
$pic = JPATH_BASE."/images/com_adsmanager/ads/".$this->content->id.$ext_name."_t.jpg";
$piclink = $this->baseurl."images/com_adsmanager/ads/".$this->content->id.$ext_name.".jpg";
if (file_exists($pic))
{
switch($this->conf->image_display)
{
case 'popup':
echo "
";
break;
case 'lightbox':
case 'lytebox':
echo "
";
break;
case 'highslide':
echo "
";
break;
case 'default':
default:
echo "
";
break;
}
$image_found = 1;
}
}
if (($image_found == 0)&&($conf->nb_images > 0))
{
echo '
';
}
?>