0337d704 |
1 | {**************************************************************************} |
2 | {* *} |
3 | {* Copyright (C) 2003-2004 Polytechnique.org *} |
4 | {* http://opensource.polytechnique.org/ *} |
5 | {* *} |
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. *} |
10 | {* *} |
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. *} |
15 | {* *} |
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 *} |
20 | {* *} |
21 | {**************************************************************************} |
22 | |
23 | |
24 | {if !$c.inscrit || $c.dcd}<div class='grayed'>{/if} |
25 | <div class="contact" {if $c.inscrit}{min_auth level='cookie'}title="fiche mise à jour le {$c.date|date_format}"{/min_auth}{/if}> |
26 | |
27 | <div class="nom"> |
28 | {if $c.sexe}•{/if} |
29 | {min_auth level="cookie"} |
30 | {if !$c.dcd && $c.inscrit}<a href="{"fiche.php"|url}?user={$c.forlife}" class="popup2">{/if} |
31 | {/min_auth} |
32 | {only_public} |
33 | {if !$c.dcd && $c.inscrit}<a href="{"fiche.php"|url}?user={$c.user_id}" class="popup2">{/if} |
34 | {/only_public} |
35 | {if $c.nom_usage}{$c.nom_usage} {$c.prenom}<br />({$c.nom}){else}{$c.nom} {$c.prenom}{/if} |
36 | {if !$c.dcd && $c.inscrit}</a>{/if} |
37 | </div> |
38 | |
39 | <div class="appli"> |
40 | {if $c.iso3166} |
41 | <img src='{"images/"|url}flags/{$c.iso3166}.gif' alt='{$c.nat}' height='14' title='{$c.nat}' /> |
42 | {/if} |
43 | (X {$c.promo}{if $c.app0text}, {applis_fmt type=$c.app0type text=$c.app0text url=$c.app0url} |
44 | {/if}{if $c.app1text}, {applis_fmt type=$c.app1type text=$c.app1text url=$c.app1url}{/if}) |
45 | {if $c.dcd}décédé{if $c.sexe}e{/if} le {$c.deces|date_format}{/if} |
46 | {min_auth level="cookie"} |
47 | {if !$c.dcd && !$c.wasinscrit} |
48 | <a href="{rel}/marketing/public.php?num={$c.user_id}" class='popup'>clique ici si tu connais son adresse email !</a> |
49 | {/if} |
50 | {/min_auth} |
51 | </div> |
52 | |
53 | <div class="bits"> |
54 | {min_auth level="cookie"} |
55 | {if !$c.wasinscrit} |
56 | {if $show_action eq ajouter} |
57 | <a href="{rel}/carnet/notifs.php?add_nonins={$c.user_id}">{* |
58 | *}<img src="{rel}/images/ajouter.gif" alt="Ajouter à la liste de mes surveillances" title="Ajouter à la liste de mes surveillances" /></a> |
59 | {else} |
60 | <a href="{rel}/carnet/notifs.php?del_nonins={$c.user_id}">{* |
61 | *}<img src="{rel}/images/retirer.gif" alt="Retirer de la liste de mes surveillances" title="Retirer de la liste de mes surveillances" /></a> |
62 | {/if} |
63 | {elseif !$c.dcd} |
64 | <a href="{rel}/fiche.php?user={$c.forlife}" class="popup2">{* |
65 | *}<img src="{rel}/images/loupe.gif" alt="Afficher la fiche" title="Afficher la fiche" /></a> |
66 | <a href="{rel}/vcard.php/{$c.forlife}.vcf?x={$c.forlife}">{* |
67 | *}<img src="{rel}/images/vcard.png" alt="Afficher la carte de visite" title="Afficher la carte de visite" /></a> |
68 | <a href="{rel}/carnet/mescontacts.php?action={$show_action}&user={$c.forlife}">{* |
69 | *}<img src="{rel}/images/{$show_action}.gif" alt="{if $show_action eq "ajouter"}Ajouter à mes{else}Retirer de mes{/if} contacts" |
70 | title="{if $show_action eq "ajouter"}Ajouter à mes{else}Retirer de mes{/if} contacts" /></a> |
71 | {/if} |
72 | {/min_auth} |
73 | |
74 | {perms level='admin'} |
75 | {if !$c.wasinscrit} |
76 | <a href="{rel}/marketing/private.php?uid={$c.user_id}">{* |
77 | *}<img src="{rel}/images/admin.png" alt='admin' title="marketter user" /></a> |
78 | {elseif !$c.dcd} |
79 | <a href="{rel}/admin/utilisateurs.php?login={$c.forlife}">{* |
80 | *}<img src="{rel}/images/admin.png" alt='admin' title="administrer user" /></a> |
81 | {/if} |
82 | <a href="http://www.polytechniciens.com/index.php?page=AX_FICHE_ANCIEN&anc_id={$c.matricule_ax}">{* |
83 | *}<img src="{rel}/images/ax.png" alt='AX' title="fiche AX" /></a> |
84 | {/perms} |
85 | </div> |
86 | |
87 | <div class="long"> |
88 | {if $c.wasinscrit} |
89 | {if $c.web || $c.mobile || $c.countrytxt || $c.city || $c.region || $c.entreprise || $c.freetext} |
90 | <table cellspacing="0" cellpadding="0"> |
91 | {if $c.web} |
92 | <tr> |
93 | <td class="lt">Page web:</td> |
94 | <td class="rt"><a href="{$c.web}">{$c.web}</a></td> |
95 | </tr> |
96 | {/if} |
97 | {if $c.countrytxt || $c.city} |
98 | <tr> |
99 | <td class="lt">Géographie:</td> |
100 | <td class="rt">{$c.city}{if $c.city && $c.countrytxt}, {/if}{$c.countrytxt}</td> |
101 | </tr> |
102 | {/if} |
103 | {if $c.mobile} |
104 | <tr> |
105 | <td class="lt">Mobile:</td> |
106 | <td class="rt">{$c.mobile}</td> |
107 | </tr> |
108 | {/if} |
109 | {if $c.entreprise} |
110 | <tr> |
111 | <td class="lt">Profession:</td> |
112 | <td class="rt"> |
113 | {$c.entreprise} {if $c.secteur}({$c.secteur}){/if} |
114 | {if $c.fonction}<br />{$c.fonction}{/if} |
115 | </td> |
116 | </tr> |
117 | {/if} |
118 | {if $c.freetext} |
119 | <tr> |
120 | <td class="lt">Commentaire:</td> |
121 | <td class="rt">{$c.freetext|nl2br}</td> |
122 | </tr> |
123 | {/if} |
124 | </table> |
125 | {/if} |
126 | {/if} |
127 | </div> |
128 | |
129 | </div> |
130 | {if !$c.inscrit || $c.dcd}</div>{/if} |
131 | |
132 | {* vim:set et sw=2 sts=2 sws=2: *} |