aboutsummaryrefslogtreecommitdiffstats
path: root/donators.inc.php
blob: ede6c60c08fcf2906193acf000ca48865d13ac80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
<?php
/**
*/

/**
*/
$donators = array(
    "Pascal Vilarem (Maât)",
    "Vicente Salvador Cubedo",
    "Samuel Verschelde (Stormi)",
    "Frédéric Hugot",
    "Jonathan Bayle",
    "Markus Schimpf (arno911)", 
    "HTJ Simons", 
    "François Jaouen", 
    "Josep Guallar-Esteve", 
    "Daniel Le Berre", 
    "Richard Neill", 
    "Peter Trussel", 
    "Marc Pare", 
    "Dave Postles", 
    "Basilio Rosa", 
    "George Mitchell", 
    "Louis Ramel", 
    "Tomislav Jankovic", 
    "Alexandre Lucazeau", 
    "Michael Golden", 
    "Jean Peyratout", 
    "Philippe Seraphin", 
    "Bernard Siaud", 
    "Luis Maria Garcia Ruiperez", 
    "Céline Harrand", 
    "Ángel Jiménez Álvaro", 
    "Jean-Michel Varvou (vouf)", 
    "Margot Lawrence", 
    "Teofilo Casares De La Iglesia", 
    "Steven Hess", 
    "Erwien Yustitiawan", 
    "Thibaut François", 
    "Bernd Deinzer", 
    "Roland Gillard", 
    "Dušan Pavlík", 
    "Enrico Gsell", 
    "Ernst Pini", 
    "Dick Gevers", 
    "Gonzalo Igartua", 
    "Alexander Andreyev", 
    "Frank Eisele", 
    "Björn Olsson", 
    "Lanfranco Gandolfo", 
    "Gerardo Bueno Jiménez", 
    "Murat Demir", 
    "Николай Путроенок (nick7rus)", 
    "Alfred Lang", 
    "Antonio Pimentel", 
    "Olivier Mergnac", 
    "Anonymous", 
    "Eduardo Llana Ugalde", 
    "Derek Jennings", 
    "Brian Saunderson", 
    "Abel Rodríguez Reádigos", 
    "Barry Jackson", 
    "Mike Burgener", 
    "Jin-tong Hu", 
    "Jani J Välimaa", 
    "Jose Fernández Rosa", 
    "Pierre Bonneau", 
    "Richard Monnier", 
    "Frederic Forjan", 
    "Vincent Calame", 
    "Renaud Michel", 
    "Sahaghian", 
    "Wolfgang Bornath (wobo)", 
    "Werner Brinkmann", 
    "Serge Moreau", 
    "Jean Goujoun", 
    "Anonymous", 
    "Freddy Janssens", 
    "Nico Bergmann", 
    "Adrien Guichard", 
    "Markus Vollmer", 
    "Philippe Cherpentier", 
    "Jean-François Bellanger", 
    "Laurent Clerel", 
    "Anonymous", 
    "Glen Ogilvie", 
    "Jérôme Benoit", 
    "Anonymous", 
    "Doug Lytle", 
    "M. &amp; Mme Vilarem", 
    "Anonymous", 
    "Anonymous", 
    "Hoyt Duff", 
    "Henk Elbers", 
    "Didier Leunen (sisopetron)", 
    "Emmanuel Andry", 
    "Sébastien Pinet", 
    "Vicente Salvador Cubedo", 
    "Sébastien Guerin", 
    "Tomeu Ferrer Redondo", 
    "Philippe Jusseaume", 
    "Anonymous", 
    "Dick Gevers", 
    "Thomas Lottmann", 
    "姜 奕轲", 
    "Raphael Vinet", 
    "Pierre-Yves Dirand", 
    "Yannick Le Ny", 
    "Jean-jacques Barret", 
    "Heiko Geier", 
    "Livre Livre", 
    "Patrick Charpentier", 
    "Brian Hewitt", 
    "Christian Prior", 
    "Livre Livre", 
    "Arnaud Gibert", 
    "David Pernot (deap)", 
    "Sylvain Haye", 
    "Dave Null", 
    "Jacques Spring", 
    "Anonymous", 
    "Anonymous", 
    "Felipe Valladolid Gonzalo", 
    "Rémi Verschelde (Akien)", 
    "Fabrice Gaillard", 
    "Jerome Martin (jmartin)", 
    "Jean-Luc Versini", 
    "Joao P S Carvalho", 
    "Pierre Gabet", 
    "Åke Mellin", 
    "Laurent Espitallier", 
    "Laurent Breton", 
    "Fabrice Jade", 
    "Julio Geraldo", 
    "Patrice Riant", 
    "Corrado Bove", 
    "Marek Walter", 
    'Anonymous',
    'Stefan John',
    'Paul Dupouy',
    'Cedric Drolet',
    'Jacques Paret-gris',
    'Sreejiraj Eluvangal',
    'Rémy Clouard (shikamaru)',
    'Sandro Veronese',
    'Alain Gudefin',
    'Vasileios Karampelas',
    'Morgan Leijström (Tribun AB)',
    'Alain Lamarche',
    'Marita Launonen',
    'Distrowatch.com',
    'Denis Prost',
    'François Lamboley',
    'Martin Alduncin Garrido',
    'Pietr Petronov',
    'Jürgen Thurau',
    'Frederic Hugot',
    'Julia Jumeau',
    'Michael Lossin',
    'Jean-Guy Tesseraud',
    'Lucas Betschart',
    'Otto Fischer',
    'Loïc Carré',
    'Etienne Berger & Barbara Boucher'
);

//$html .= '<img src="/g/images/mageia_0.svg" style="position: absolute; top: 180px; width: 300px; opacity: 0.2;" />';

$orgs = array(
    array('http://www.mandrivafr.org/', 'AUFML'),
    array('http://dedibox.fr/', 'Dédibox'),
    array('http://www.gandi.net/', 'Gandi.net'),
    array('http://www.kazar.net/', 'Kazar.net'),
    array('http://www.lost-oasis.net/', 'Lost-Oasis'),
    array('http://www.mandrivalinux-online.org/', 'MLO'),
    array('http://nfrance.fr/', 'NFrance'),
    array('http://www.spreadshirt.com/', 'Spreadshirt'),
    array('http://zarb.org/', 'zarb.org'),
    
    // see mirrors.mageia.org
    array('http://www.umpc.fr/', 'Université Pierre et Marie Curie'),
    array('http://www.ibiblio.org/', 'The Public\'s Library and Digital Archive'),
    array('http://www.mandrivauser.de', 'Mandrivauser.de'),
    array('http://www.hs-esslingen.de/', 'Hochschule Esslingen'),
    array('http://uni-erlangen.de/', 'Universit&auml;t Erlangen-N&uuml;rnberg'),
    // mageia.supp.name?
    // fundawang.lcuc.org.cn?
    // ftp.LinuxCabal.org?
    // mageia.nautile.nc?
);


/**
 * @param array  $donators
 *
 * @return string
*/
function html_donators_list($donators)
{
    $count_donators = count($donators);
    //$donators = array_unique($donators);
    sort($donators);

    $html = sprintf('<p>%d amazing people <a href="/en/donate/">donated money</a> to Mageia.Org:</p>', $count_donators);
    $html .= '<ul class="ty-ppl-list">';
    foreach ($donators as $p)
        $html .= sprintf('<li>%s</li>', $p);
    $html .= '</ul>';
    
    return $html;
}

/**
*/
function html_people_list($people)
{
    $html = '<ul class="ty-ppl-list">';
    foreach ($people as $p)
        $html .= sprintf('<li>%s</li>', $p);
    $html .= '</ul>';

    return $html;
}

/**
*/
function html_orgs_list($orgs)
{
    $html = '<ul class="ty-ppl-list">';
    foreach ($orgs as $o)
        $html .= sprintf('<li><a href="%s">%s</a> %s</li>', $o[0], $o[1], @$o[2]);
    $html .= '</ul>';

    return $html;
}