1 {**************************************************************************}
3 {* Copyright (C) 2003-2009 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 {**************************************************************************}
23 {if $plset_count eq 0}
25 Aucun des camarades concernés n'a de photographie sur sa fiche
28 <table cellpadding="0" cellspacing="2" style="width: 100%">
29 {section name=trombi loop=$set start=0}
30 {if $smarty.section.trombi.index % 3 == 1}
32 <td class="center" style="vertical-align: middle">
33 <a href="{$mainsiteurl}profile/{$set[trombi.index_prev].hruid}" class="popup2">
34 <img src="photo/{$set[trombi.index_prev].hruid}" width="110" alt=" [ PHOTO ] " />
36 {if $trombi_with_admin && hasPerm('admin')}
37 <a href="{$mainsiteurl}admin/trombino/{$set[trombi.index_prev].user_id}">{icon name=wrench title="[admin]"}</a>
40 <td class="center" style="vertical-align: middle">
41 <a href="{$mainsiteurl}profile/{$set[trombi].hruid}" class="popup2">
42 <img src="photo/{$set[trombi].hruid}" width="110" alt=" [ PHOTO ] " />
44 {if $trombi_with_admin && hasPerm('admin')}
45 <a href="{$mainsiteurl}admin/trombino/{$set[trombi].user_id}">{icon name=wrench title="[admin]"}</a>
48 <td class="center" style="vertical-align: middle">
49 {if $set[trombi.index_next]}
50 <a href="{$mainsiteurl}profile/{$set[trombi.index_next].hruid}" class="popup2">
51 <img src="photo/{$set[trombi.index_next].hruid}" width="110" alt=" [ PHOTO ] " />
53 {if $trombi_with_admin && hasPerm('admin')}
54 <a href="{$mainsiteurl}admin/trombino/{$set[trombi.index_next].user_id}">{icon name=wrench title="[admin]"}</a>
60 <td class="center" style="vertical-align: bottom; padding-bottom: 15px">
61 <a href="{$mainsiteurl}profile/{$set[trombi.index_prev].hruid}" class="popup2">
62 <span {if $set[trombi.index_prev].name_tooltip}class="hinted"
63 title="{$set[trombi.index_prev].name_tooltip}"{/if}>{$set[trombi.index_prev].name_display}</span>{if $trombi_with_promo} ({$set[trombi.index_prev].promo_display}){/if}
66 <td class="center" style="vertical-align: bottom; padding-bottom: 15px">
67 <a href="{$mainsiteurl}profile/{$set[trombi].hruid}" class="popup2">
68 <span {if $set[trombi].name_tooltip}class="hinted" title="{$set[trombi].name_tooltip}"{/if}>{$set[trombi].name_display}</span>{if $trombi_with_promo} ({$set[trombi].promo_display}){/if}
71 <td class="center" style="vertical-align: bottom; padding-bottom: 15px">
72 {if $set[trombi.index_next]}
73 <a href="{$mainsiteurl}profile/{$set[trombi.index_next].hruid}" class="popup2">
74 <span {if $set[trombi.index_next].name_tooltip}class="hinted" title="{$set[trombi.index_next].name_tooltip}"{/if}>{$set[trombi.index_next].name_display}</span>{if $trombi_with_promo} ({$set[trombi.index_next].promo_display}){/if}
79 {elseif ($smarty.section.trombi.index % 3 == 0) && ($smarty.section.trombi.last)}
81 <td class="center" style="vertical-align: middle; padding-bottom: 15px">
82 <a href="{$mainsiteurl}profile/{$set[trombi].hruid}" class="popup2">
83 <img src="photo/{$set[trombi].hruid}" width="110" alt=" [ PHOTO ] " />
85 {if $trombi_with_admin && hasPerm('admin')}
86 <a href="{$mainsiteurl}admin/trombino/{$set[trombi].user_id}">{icon name=wrench title="[admin]"}</a>
91 <tr style="margin-top: 0; padding-top: 0">
92 <td class="center" style="vertical-align: bottom">
93 <a href="{$mainsiteurl}profile/{$set[trombi].hruid}" class="popup2">
94 <a href="{$mainsiteurl}profile/{$set[trombi].forlife}" class="popup2">
95 <span {if $set[trombi].name_tooltip}class="hinted" title="{$set[trombi].name_tooltip}"{/if}>{$set[trombi].name_display}</span>{if $trombi_with_promo} ({$set[trombi].promo_display}){/if}
105 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}