1 {**************************************************************************}
3 {* Copyright (C) 2003-2006 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 <script type="text/javascript">
25 function chgMainWinLoc( strPage ) {
27 parent.opener.document.location = strPage;
29 document.location = strPage;
35 {if $logged and $x.forlife eq $smarty.session.forlife}
36 [<a href="javascript:x()" onclick="chgMainWinLoc('{rel}/profil.php')">Modifier ma fiche</a>]
39 <table id="fiche" cellpadding="0" cellspacing="0">
41 <td id="fiche_identite">
42 <div class="civilite">
43 {if $x.sexe}•{/if}
44 {$x.prenom} {if $x.nom_usage eq ""}{$x.nom}{else}{$x.nom_usage} ({$x.nom}){/if}
46 {if $x.nickname} (aka {$x.nickname}){/if}
47 <a href="vcard/{$x.forlife}.vcf">
48 <img src="images/vcard.png" alt="Afficher la carte de visite" title="Afficher la carte de visite"/>
51 <a href="javascript:x()" onclick="chgMainWinLoc('{rel}/carnet/contacts?action=ajouter&user={$x.forlife}')">
52 <img src="images/ajouter.gif" alt="Ajouter à mes contacts" title="Ajouter à mes contacts" />
55 <a href="javascript:x()" onclick="chgMainWinLoc('{rel}/carnet/contacts?action=retirer&user={$x.forlife}')">
56 <img src="images/retirer.gif" alt="Retirer de mes contacts" title="Retirer de mes contacts" />
60 <a href="javascript:x()" onclick="chgMainWinLoc('{rel}/admin/utilisateurs.php?login={$x.forlife}')">
61 <img src="images/admin.png" alt='admin' title="administrer user" />
68 Fiche mise à jour<br />
69 le {$x.date|date_format}
72 {if $logged || $x.mobile}
77 Décédé{if $x.sexe}e{/if} le {$x.deces|date_format}
79 Le compte de cette personne n'est pas actif (personne non inscrite ou exclue).
82 <a href="mailto:{$virtualalias}">{$virtualalias}</a><br />
84 <a href="mailto:{$x.bestalias}@polytechnique.org">{$x.bestalias}@polytechnique.org</a>
85 {if $x.bestalias neq $x.forlife}<br />
86 <a href="mailto:{$x.forlife}@polytechnique.org">{$x.forlife}@polytechnique.org</a>
92 {if $x.mobile}<em class="intitule">Mobile : </em>{$x.mobile}<br />{/if}
94 <div class='spacer'></div>
97 <div class='formation'>
99 <img src='{rel}/images/flags/{$x.iso3166}.gif' alt='{$x.nationalite}' height='11' title='{$x.nationalite}' />
102 {if ($x.promo_sortie-3 > $x.promo)}
103 - X {math equation="a-b" a=$x.promo_sortie b=3}
106 - Formation : {$x.applis_join|smarty:nodefaults}
110 [<a href="{rel}/profile/referent/{$x.forlife}" class='popup2'>Ma fiche référent</a>]
115 <td rowspan="4" id='photo'>
116 {if $photo_url}<img alt="Photo de {$x.forlife}" src="{$photo_url}" width="{$x.x}" height="{$x.y}" />{/if}
118 {if $x.section}<div><em class="intitule">Section : </em><span>{$x.section}</span></div>{/if}
119 {if $x.binets_join}<div><em class="intitule">Binet(s) : </em><span>{$x.binets_join}</span></div>{/if}
120 {if $x.gpxs_join}<div><em class="intitule">Groupe(s) X : </em><span>{$x.gpxs_join|smarty:nodefaults}</span></div>{/if}
122 {if $x.web}<div><em class="intitule">Site Web : </em><a href="{$x.web}" class='popup'>{$x.web}</a></div>{/if}
123 {if $x.freetext}<div><em class="intitule">Commentaires : </em><br /><span>{$x.freetext|nl2br}</span></div>{/if}
130 {foreach from=$x.adr item="address" key="i"}
132 {include file="geoloc/address.tpl" address=$address titre_div=true titre="Mon adresse actuelle :"}
133 {elseif $address.secondaire}
134 {include file="geoloc/address.tpl" address=$address titre_div=true titre="Adresse secondaire :"}
136 {include file="geoloc/address.tpl" address=$address titre_div=true titre="Adresse principale :"}
139 <div class="spacer"> </div>
146 <h2>Informations professionnelles :</h2>
147 {foreach from=$x.adr_pro item="address" key="i"}
148 {include file="include/emploi.tpl" address=$address}
149 {include file="geoloc/address.tpl" address=$address titre="Adresse : "}
150 <div class="spacer"> </div>
158 <h2>Distinctions : </h2>
159 {foreach from=$x.medals item=m}
160 <table style="float: left; width: 33%;">
163 <img src="{rel}/images/medals/{$m.img}" width="24" alt="{$m.medal}" title="{$m.medal}" style='float: left;' />
166 <strong>{$m.medal}</strong>
172 <div class="spacer"> </div>
180 <h2>Curriculum Vitae :</h2>
189 {* vim:set et sw=2 sts=2 sws=2: *}