--- /dev/null
+{***************************************************************************
+ * Copyright (C) 2003-2004 Polytechnique.org *
+ * http://opensource.polytechnique.org/ *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the Free Software *
+ * Foundation, Inc., *
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
+ ***************************************************************************
+ $Id: minifiche.tpl,v 1.1 2004-10-24 14:22:22 x2000bedo Exp $
+ ***************************************************************************}
+
+
+<div class="contact" {min_auth level='cookie'}title="fiche mise à jour le {$c.date|date_format:"%d %b %Y"}"{/min_auth}>
+ <div class="nom">
+ {if $c.epouse}{$c.epouse} {$c.prenom}<br />(née {$c.nom}){else}{$c.nom} {$c.prenom}{/if}
+ </div>
+ <div class="appli">
+ {strip}
+ (X {$c.promo}
+ {if $c.app0text},
+ {applis_fmt type=$c.app0type text=$c.app0text url=$c.app0url}
+ {/if}
+ {if $c.app1text},
+ {applis_fmt type=$c.app1type text=$c.app1text url=$c.app1url}
+ {/if})
+ {if $c.dcd}<br />décédé le {$c.deces}{/if}
+ {/strip}
+ </div>
+ {min_auth level="cookie"}
+ {include file="include/minifiche_pvt.tpl"}
+ {/min_auth}
+</div>
+
+{* vim:set et sw=2 sts=2 sws=2: *}
--- /dev/null
+{***************************************************************************
+ * Copyright (C) 2003-2004 Polytechnique.org *
+ * http://opensource.polytechnique.org/ *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the Free Software *
+ * Foundation, Inc., *
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
+ ***************************************************************************
+ $Id: minifiche_pvt.tpl,v 1.1 2004-10-24 14:22:22 x2000bedo Exp $
+ ***************************************************************************}
+
+
+{if $inscrit==1}
+ <div class="bits">
+ <a href="javascript:x()" onclick="popWin('fiche.php?user={$c.forlife}','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=800,height=500)')">
+ <img src="images/loupe.gif" alt="Afficher la fiche" title="Afficher la fiche" />
+ </a>
+ <a href="vcard.php/{$c.forlife}.vcf?x={$c.forlife}">
+ <img src="images/vcard.png" alt="Afficher la carte de visite" title="Afficher la carte de visite" />
+ </a>
+ <a href="mescontacts.php?action={$show_action}&user={$c.forlife}">
+ <img src="images/{$show_action}.gif" alt="{if $show_action eq "ajouter"}Ajouter à mes{else}Retirer de mes{/if} contacts" title="{if $show_action eq "ajouter"}Ajouter à mes{else}Retirer de mes{/if} contacts" />
+ </a>
+ {if $c.dcd neq 1}
+ {perms level='admin'}
+ <a href="{"admin/utilisateurs.php"|url}?login={$c.forlife}">su</a>
+ <a href="javascript:x()" onclick="popWin('http://www.polytechniciens.com/index.php?page=AX_FICHE_ANCIEN&anc_id={$c.matricule_ax}')">
+ ax
+ </a>
+ {/perms}
+ {/if}
+ </div>
+{else}
+ {if $c.dcd neq 1}
+ <div>
+ <a href="javascript:x()" onclick="popWin('marketing/public.php?num={$c.matricule}')">
+ clique ici si tu connais son adresse email !
+ </a>
+ </div>
+ {/if}
+ <div class="long"></div>
+{/if}
+{if $inscrit==1}
+ <div class="long">
+ {if $c.nat || $c.web || $c.mobile || $c.pays || $c.ville || $c.region || $c.entreprise || $c.libre}
+ <table cellspacing="0" cellpadding="0">
+ {if $c.nat}
+ <tr>
+ <td class="lt">Nationalité:</td>
+ <td class="rt">{$c.nat}</td>
+ </tr>
+ {/if}
+ {if $c.web}
+ <tr>
+ <td class="lt">Page web:</td>
+ <td class="rt"><a href="{$c.web}">{$c.web}</a></td>
+ </tr>
+ {/if}
+ {if $c.pays || $c.ville || $c.region}
+ <tr>
+ <td class="lt">Géographie:</td>
+ <td class="rt">{implode sep=", " s1=$c.ville s2=$c.region s3=$c.pays}</td>
+ </tr>
+ {/if}
+ {if $c.mobile}
+ <tr>
+ <td class="lt">Mobile:</td>
+ <td class="rt">{$c.mobile}</td>
+ </tr>
+ {/if}
+ {if $c.entreprise}
+ <tr>
+ <td class="lt">Profession:</td>
+ <td class="rt">
+ {$c.entreprise}
+ {if $c.secteur}( {$c.secteur} ){/if}
+ {if $c.fonction}<br />( {$c.fonction} ){/if}
+ </td>
+ </tr>
+ {/if}
+ {if $c.libre}
+ <tr>
+ <td class="lt">Commentaire:</td>
+ <td class="rt">{$c.libre|nl2br}</td>
+ </tr>
+ {/if}
+ </table>
+ {/if}
+ </div>
+{/if}
+
+{* vim:set et sw=2 sts=2 sws=2: *}