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