1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
| <p class="summaryDescription"><?=nl2br($classified->getStringLang(EDIR_LANGUAGE, "summarydesc", true))?></p>
<? }?>
<? if (($classified->getString("contactname")) || ($classified->getString("phone")) || ($classified->getString("fax")) || ($classified->getString("email")) || ($classified->getString("url"))) { ?>
<h3 class="detailTitle"><?=ucfirst(system_showText(LANG_CONTACTINFO))?></h3>
<? } ?>
<? if ($classified->getString("contactname")) echo "<p><strong>".system_showText(LANG_LABEL_CONTACT_NAME).":</strong> ".nl2br($classified->getString("contactname", true))."</p>"; ?>
<? if ($classified->getString("phone")) echo "<p><strong>".system_showText(LANG_LABEL_CONTACT_PHONE).":</strong> ".nl2br($classified->getString("phone", true))."</p>"; ?>
<? if ($classified->getString("fax")) echo "<p><strong>".system_showText(LANG_LABEL_CONTACT_FAX).":</strong> ".nl2br($classified->getString("fax", true))."</p>"; ?>
<? if ($classified->getString("email")) { ?>
<p><strong><?=system_showText(LANG_LABEL_CONTACT_EMAIL);?>:</strong> <a href="javascript: void(0);" <? if ($user) { ?> onclick="javascript:window.open('<?=CLASSIFIED_DEFAULT_URL?>/emailform.php?classi_id=<?=$classified->getNumber("id")?>&receiver=owner', 'popup', 'toolbar=0, location=0, directories=0, status=0, width=700, height=420, screenX=0, screenY=0, menubar=0, scrollbars, resizable=0')" <? } ?>><?=nl2br($classified->getString("email", true))?></a></p>
<? } ?>
<? if ($classified->getString("url")) { ?>
<? if ($user){ ?>
<p><strong><?=system_showText(LANG_LABEL_URL)?>:</strong> <a href="<?=nl2br($classified->getString("url", true))?>" target="_blank"><?=nl2br($classified->getString("url", true))?></a></p>
<? } else { ?>
<p><strong><?=system_showText(LANG_LABEL_URL)?>:</strong> <a href="javascript:void(0);"><?=nl2br($classified->getString("url", true))?></a></p> |
Partager