1 {**************************************************************************}
3 {* Copyright (C) 2003-2007 Polytechnique.org *}
4 {* http://opensource.polytechnique.org/ *}
6 {* This program is free software; you can redistribute it and/or modify *}
7 {* it under the terms of the GNU General Public License as published by *}
8 {* the Free Software Foundation; either version 2 of the License, or *}
9 {* (at your option) any later version. *}
11 {* This program is distributed in the hope that it will be useful, *}
12 {* but WITHOUT ANY WARRANTY; without even the implied warranty of *}
13 {* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *}
14 {* GNU General Public License for more details. *}
16 {* You should have received a copy of the GNU General Public License *}
17 {* along with this program; if not, write to the Free Software *}
18 {* Foundation, Inc., *}
19 {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
21 {**************************************************************************}
24 {if !$c.inscrit || $c.dcd}<div class='grayed'>{/if}
25 <div class="contact" {if $c.inscrit}{if $smarty.session.auth ge AUTH_COOKIE}title="fiche mise à jour le {$c.date|date_format}"{/if}{/if}>
28 {if $c.sexe}•{/if}
29 {if !$c.dcd && $c.inscrit}<a href="profile/{$c.forlife}" class="popup2">{/if}
30 {if $c.nom_usage}{$c.nom_usage} {$c.prenom}<br />({$c.nom}){else}{$c.nom} {$c.prenom}{/if}
31 {if !$c.dcd && $c.inscrit}</a>{/if}
36 <img src='images/flags/{$c.iso3166}.gif' alt='{$c.nat}' height='11' title='{$c.nat}' />
38 (X {$c.promo}{if $c.app0text}, {applis_fmt type=$c.app0type text=$c.app0text url=$c.app0url}
39 {/if}{if $c.app1text}, {applis_fmt type=$c.app1type text=$c.app1text url=$c.app1url}{/if})
40 {if $c.dcd}décédé{if $c.sexe}e{/if} le {$c.deces|date_format}{/if}
41 {if $smarty.session.auth ge AUTH_COOKIE}
42 {if !$c.dcd && !$c.wasinscrit}
43 <a href="marketing/public/{$c.user_id}" class='popup'>clique ici si tu connais son adresse email !</a>
50 {if $smarty.session.auth ge AUTH_COOKIE}
51 {if !$c.wasinscrit && !$c.dcd}
52 {if $show_action eq ajouter}
53 <a href="carnet/notifs/add_nonins/{$c.user_id}">{*
54 *}{icon name=add title="Ajouter à la liste de mes surveillances"}</a>
56 <a href="carnet/notifs/del_nonins/{$c.user_id}">{*
57 *}{icon name=cross title="Retirer de la liste de mes surveillances"}</a>
59 {elseif $c.wasinscrit}
60 <a href="profile/{$c.forlife}" class="popup2">{*
61 *}{icon name=user_suit title="Afficher la fiche"}</a>
63 <a href="vcard/{$c.forlife}.vcf">{*
64 *}{icon name=vcard title="Afficher la carte de visite"}</a>
65 {if $show_action eq ajouter}
66 <a href="carnet/contacts?action={$show_action}&user={$c.forlife}">{*
67 *}{icon name=add title="Ajouter à mes contacts"}</a>
69 <a href="carnet/contacts?action={$show_action}&user={$c.forlife}">{*
70 *}{icon name=cross title="Retirer de mes contacts"}</a>
76 {if $smarty.session.perms->hasFlag('admin')}
77 [{if !$c.wasinscrit && !$c.dcd}
78 <a href="marketing/private/{$c.user_id}">{*
79 *}{icon name=email title="marketter user"}</a>
81 <a href="admin/user/{if $c.wasinscrit}{$c.forlife}{else}{$c.user_id}{/if}">{*
82 *}{icon name=wrench title="administrer user"}</a>
83 <a href="http://www.polytechniciens.com/?page=AX_FICHE_ANCIEN&anc_id={$c.matricule_ax}">{*
84 *}{icon name=user_gray title="fiche AX"}</a>]
91 {if $c.web || $c.mobile || $c.countrytxt || $c.city || $c.region || $c.entreprise || $c.freetext || (!$c.dcd && !$c.actif )}
92 <table cellspacing="0" cellpadding="0">
95 <td class="lt">Page web:</td>
96 <td class="rt"><a href="{$c.web}">{$c.web}</a></td>
99 {if $c.countrytxt || $c.city}
101 <td class="lt">Géographie:</td>
102 <td class="rt">{$c.city}{if $c.city && $c.countrytxt}, {/if}{$c.countrytxt}</td>
105 {if $c.mobile && !$c.dcd}
107 <td class="lt">Mobile:</td>
108 <td class="rt">{$c.mobile}</td>
113 <td class="lt">Profession:</td>
115 {$c.entreprise} {if $c.secteur}({$c.secteur}){/if}
116 {if $c.fonction}<br />{$c.fonction}{/if}
122 <td class="lt">Commentaire:</td>
123 <td class="rt">{$c.freetext|nl2br}</td>
126 {if !$c.dcd && !$c.actif && $c.wasinscrit && $smarty.session.auth ge AUTH_COOKIE}
128 <td class="smaller" colspan="2">
129 Ce camarade n'a plus d'adresse redirection valide.
130 <a href="marketing/broken/{$c.forlife}">
131 Si tu en connais une, <strong>n'hésite pas à nous la transmettre</strong>
142 {if !$c.inscrit || $c.dcd}</div>{/if}
144 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}