Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:group [2016/06/24 13:06] cangiani |
en:group [2016/09/14 13:37] cangiani |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | <php> | ||
+ | $users1 = array( | ||
+ | "@name@, @fname@, @func@, @tel@, @page@, @add@", | ||
+ | | ||
+ | "bixio, Prof. Bixio Rimoldi, Head of LCM, 2679, http://people.epfl.ch/113819", | ||
+ | "behn, Françoise Behn, Admin. Assistant LCM, 7662, http://people.epfl.ch/114979", | ||
+ | "Emre, Prof. Emre Telatar, Head of LTHI, 7693, http://people.epfl.ch/131639", | ||
+ | "muriel, Muriel Bardet, Admin. Assistant LTHI,7695, http://people.epfl.ch/133321", | ||
+ | | ||
+ | "R_urbanke, Prof. Rüdiger Urbanke, Head of LTHC, 7692, http://people.epfl.ch/124369", | ||
+ | "muriel, Muriel Bardet, Admin. Assistant LTHC,7695, http://people.epfl.ch/133321", | ||
+ | "Olivier, Olivier Levêque, Scientific collaborator, 8112, http://people.epfl.ch/107931", | ||
+ | "Nicolas, Nicolas Macris, Scientific collaborator, 8114, http://people.epfl.ch/107423", | ||
+ | "Damir, Damir Laurenzi, System Manager IPG, 7667, http://people.epfl.ch/173563", | ||
+ | "Giovanni, Giovanni Cangiani, System Manager, 7526, http://people.epfl.ch/121769" | ||
+ | ); | ||
+ | |||
+ | $users2 = array( | ||
+ | "@name@, @fname@, @func@, @tel@, @page@, @add@", | ||
+ | | ||
+ | "nicholae, Nicolae Chiurtu, Scientist, 35657, http://people.epfl.ch/114012", | ||
+ | "Jean, Jean Barbier, Scientist,38111,http://people.epfl.ch/258926", | ||
+ | "Mani, Mani Bastani Parizi, PhD Assistant, 7539, http://people.epfl.ch/191230", | ||
+ | "Mohammad Dia, Mohammad Dia, PhD Assistant, 35618,http://people.epfl.ch/222953", | ||
+ | "rafah, Rafah El-Khatib, PhD Assistant, 7504, http://people.epfl.ch/218004", | ||
+ | |||
+ | "Serj, Serj Haddad, PhD Assistant, 1357, http://people.epfl.ch/202646", | ||
+ | |||
+ | |||
+ | "Wei, Wei Liu, PhD Assistant, 37665, http://people.epfl.ch/199312", | ||
+ | "Marco, Marco Mondelli, PhD Assistant, 37514, http://people.epfl.ch/222089", | ||
+ | "Rajai, Rajai Nasser, PhD Assistant, 7554, http://people.epfl.ch/200664", | ||
+ | |||
+ | | ||
+ | | ||
+ | "Elie, Elie Najm, PhD Assistant, 37535,http://people.epfl.ch/223530", | ||
+ | |||
+ | "Akshat, Akshat Dewan, Technical Assistant, 7552,http://people.epfl.ch/201096", | ||
+ | |||
+ | "Karol, Karol Kruzelecki, Technical Assistant, http://people.epfl.ch/227576 ", | ||
+ | "Chun Lam, Chun Lam Chan, PhD Assistant, http://people.epfl.ch/254899",); | ||
+ | |||
+ | $template='<div class="people_page"><p><a href="@page@" class="media" title="en:group:members:@name@"><img src="/lib/exe/fetch.php?h=56&h=&cache=cache&media=en:group:@name@.jpg" class="media" title="@name@" alt="@name@" height="56"/></a><a href="@page@" class="urlextern" title="@page@" rel="nofollow">@fname@</a><br/>@func@<br/> tel. +41 [0]21 693 @tel@<br/><strong>@add@</strong></p></div>'; | ||
+ | ?> | ||
+ | <style type="text/css"> | ||
+ | div.people_page { | ||
+ | float: left; | ||
+ | width: 200px; | ||
+ | } | ||
+ | div.people_page a.media img { | ||
+ | float: left; | ||
+ | border: none; | ||
+ | margin: 4px; | ||
+ | } | ||
+ | hr { | ||
+ | margin-bottom: 1em; | ||
+ | } | ||
+ | .clear { | ||
+ | clear: both; | ||
+ | margin-bottom: 1em; | ||
+ | } | ||
+ | </style> | ||
+ | <?php | ||
+ | fill_template($template, $users1); | ||
+ | echo '<div class="clear"></div>'; | ||
+ | echo '<hr/>'; | ||
+ | fill_template($template, $users2); | ||
+ | echo '<div class="clear"></div>'; | ||
+ | </php> | ||