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 | |
0337d704 |
23 | {if $ask_naissance} |
24 | |
25 | {include file='include/form_naissance.tpl'} |
26 | |
27 | {else} |
28 | |
29 | <h1> |
30 | Bienvenue {$smarty.session.prenom} |
31 | {if $birthday} |
32 | et joyeux anniversaire de {$birthday} ans de la part de toute l'équipe ! |
33 | {else} |
34 | :o) |
35 | {/if} |
36 | </h1> |
37 | |
38 | <div class="smaller"> |
39 | Ta connexion précédente date du |
40 | <strong>{$smarty.session.lastlogin|date_format:"%x, %X"}</strong> |
41 | depuis la machine <strong>{$smarty.session.host}</strong> |
42 | </div> |
43 | |
44 | {if $fiche_incitation} |
45 | <p>La dernière mise à jour de ta |
cf1e3ae0 |
46 | <a href="{rel}/fiche.php?user={$smarty.session.forlife}" class="popup2">fiche</a> |
0337d704 |
47 | date du {$fiche_incitation|date_format}. |
48 | Il est possible qu'elle ne soit pas à jour. |
49 | Si tu souhaites la modifier, <a href="profil.php">clique ici !</a> |
50 | </p> |
51 | {/if} |
52 | |
53 | {if $photo_incitation} |
54 | <p> |
55 | Tu n'as pas mis de photo de toi sur ta fiche, c'est dommage. |
56 | Clique <a href="{rel}/trombino.php">ici</a> si tu souhaites en ajouter une. |
57 | </p> |
58 | {/if} |
59 | |
60 | {if $geoloc_incitation > 0} |
61 | <p> |
62 | Parmi tes adresses, il y en a {$geoloc_incitation} que nous n'avons pas pu localiser. Clique <a href="{rel}/profil.php?old_tab=adresses">ici</a> pour rectifier. |
63 | </p> |
64 | {/if} |
65 | <br /> |
66 | |
67 | <table class="bicol"> |
68 | <tr class="pair"> |
69 | {foreach item=links from=$publicite} |
70 | <td class="half"> |
71 | {foreach key=url item=text from=$links} |
72 | <a href="{$url}">{$text}</a><br /> |
73 | {/foreach} |
74 | </td> |
75 | {/foreach} |
76 | </tr> |
77 | </table> |
78 | |
79 | {iterate item=ev from=$evenement} |
80 | <br /> |
81 | |
82 | <table class="bicol"> |
83 | <tr> |
84 | <th> |
85 | <a id="newsid{$ev.id}"></a> |
86 | {tidy} |
87 | {$ev.titre|nl2br} |
88 | {/tidy} |
89 | </th> |
90 | </tr> |
91 | <tr class="{cycle values="impair,pair"}"> |
92 | <td class="half"> |
93 | {tidy} |
94 | {$ev.texte|smarty:nodefaults|nl2br} |
95 | {/tidy} |
96 | <br /> |
97 | <p class="smaller">Annonce proposée par |
98 | <a href="{rel}/fiche.php?user={$ev.forlife}" class="popup2"> |
99 | {$ev.prenom} {$ev.nom} X{$ev.promo} |
100 | </a> |
101 | </p> |
102 | </td> |
103 | </tr> |
104 | </table> |
105 | {/iterate} |
106 | |
107 | <p class="smaller"> |
108 | Nota Bene : les informations présentées ici n'engagent que leurs auteurs |
109 | respectifs et sont publiées à leur initiative. L'association Polytechnique.org |
110 | ne pourrait en aucun cas être tenue responsable de la nature des propos relatés |
111 | sur cet espace d'expression et d'information. Elle se réserve le droit de |
112 | refuser ou de retirer toute information de nature diffamante ou pouvant être |
113 | interprétée comme polémique par un membre de la communauté polytechnicienne. |
114 | </p> |
115 | |
116 | <p> |
117 | <a href="evenements.php">Proposer une information événementielle</a> |
118 | </p> |
119 | {if $smarty.session.core_rss_hash} |
120 | <div class="right"> |
121 | <a href='{rel}/rss.php/{$smarty.session.forlife}/{$smarty.session.core_rss_hash}.xml'><img src='{rel}/images/rssicon.gif' alt='fil rss' /></a> |
122 | </div> |
51c9b362 |
123 | {else} |
124 | <div class="right"> |
125 | <a href='{rel}/filrss.php?referer={$refe}'><img src='{rel}/images/rssact.gif' alt='fil rss' /></a> |
126 | </div> |
0337d704 |
127 | {/if} |
128 | {/if} |
129 | |
130 | {* vim:set et sw=2 sts=2 sws=2: *} |