<?php $katao_user =/*(KataoUser)*/ $supplier ?>
<?php $katao_supplier = $katao_user->getKataoSupplier() ?>

<?php if ($katao_supplier->getWebsite()): ?>
<p><a href="<?php echo $katao_supplier->getWebsite() ?>" target="_blank" title"Voir le site internet de ce fournisseur"><?php echo addslashes($katao_supplier->getName()) ?></a></p>
<?php else: ?>
<?php echo addslashes($katao_supplier->getName()) ?>
<?php endif ?>
<p><?php echo addslashes(nl2br($katao_supplier->getFullAdress())) ?></p>
<p><?php echo $katao_supplier->getPhone() ?><br /><?php echo mail_to($katao_supplier->getEmail()) ?></p>

<?php if ($popup): ?>
<p><a href="javascript://" onclick="window.opener.location = \'<?php echo url_for('@katao_fournisseurs_details?supplier=' . $katao_supplier->getUrlIdentifier()) ?>\'; window.close();">Voir la fiche de ce fournisseur &rsaquo;</a></p>
<?php else: ?>
<p><a href="<?php echo url_for('@katao_fournisseurs_details?supplier=' . $katao_supplier->getUrlIdentifier()) ?>">Voir la fiche de ce fournisseur &rsaquo;</a></p>
<?php endif ?>