Example #1
0
        if (isset($this->fDisplay[5])) {
            foreach ($this->fDisplay[5] as $field) {
                $c = $this->field->showFieldValue($this->content, $field);
                if ($c !== "" && $c !== null) {
                    $title = $this->field->showFieldTitle(@$this->content->catid, $field);
                    echo "<span class='f" . $field->name . "'>";
                    if ($title != "") {
                        echo "<b>" . htmlspecialchars($title) . "</b>: ";
                    }
                    echo "{$c}<br/>";
                    echo "</span>";
                }
            }
        }
        if ($this->content->userid != 0 && $conf->allow_contact_by_pms == 1) {
            echo TLink::getPMSLink($this->content);
        }
    } else {
        echo JText::_('ADSMANAGER_CONTACT_NO_RIGHT');
    }
}
?>
		</div>
	</div>
        </div>
        <div class="span4 adsmanager-images text-center">
			<?php 
$this->loadScriptImage($this->conf->image_display);
if (count($this->content->images) == 0) {
    $image_found = 0;
} else {
Example #2
0
    echo "<h3>" . @$strtitle . "</h3>";
    if ($this->showContact) {
        if (isset($this->fDisplay[5])) {
            foreach ($this->fDisplay[5] as $field) {
                $c = $this->field->showFieldValue($content, $field);
                if ($c !== "" && $c !== null) {
                    $title = $this->field->showFieldTitle(@$content->catid, $field);
                    echo "<span class='f" . $field->name . "'>";
                    if ($title != "") {
                        echo "<b>" . htmlspecialchars($title) . "</b>: ";
                    }
                    echo "{$c}<br/>";
                    echo "</span>";
                }
            }
        }
        if ($content->userid != 0 && $this->conf->allow_contact_by_pms == 1) {
            echo TLink::getPMSLink($content);
        }
    } else {
        echo JText::_('ADSMANAGER_CONTACT_NO_RIGHT');
    }
    ?>
            </div>
        </div>
        <div class="adsmanager_spacer"></div>
    </div>
</div>
<hr/>
<?php 
}