forked from php/web-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdownload-logos.php
380 lines (346 loc) · 10 KB
/
download-logos.php
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
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
<?php
$_SERVER['BASE_PAGE'] = 'download-logos.php';
include_once __DIR__ . '/include/prepend.inc';
$SIDEBAR_DATA = '
<h3>More PHP artwork</h3>
<p>
<a href="http://www.elroubio.net/">Vincent Pontier</a> also made some
really neat PHP artwork, for the French PHP sites, and for the benefit
of the whole community. You can download some of his works and use
under a GPL license.
</p>
';
site_header("Download Logos", ["current" => "downloads"]);
// Print recommended star cell
function print_star(): void
{
echo "<td class=\"star\"><span class=\"star\" title=\"recommended\">*</span></td>\n";
}
// Provide a random bgcolor setting for a cell
function random_bgcolor($min, $max): void
{
echo "style=\"background-color: #" .
sprintf('%02x%02x%02x', mt_rand($min, $max) * 51, mt_rand($min, $max) * 51, mt_rand($min, $max) * 51) .
";\"";
}
?>
<h1>Download Logos and Icons</h1>
<p class="warn">
Do not just include the graphic from our servers on your page!
Copy the image to your site please.
</p>
<p>
In case you have found some PHP logos, icons or other material around
the web, feel free to point those out to us, so we can include them here,
if appropriate. And oh, if you're wondering about the font we used, it's
called <a href="http://www.myfonts.com/fonts/bitstream/handel-gothic/">Handel
Gothic</a>.
</p>
<h2>PHP logo</h2>
<p>
The author Colin Viebrock released the PHP logo as
<a href="https://creativecommons.org/licenses/by-sa/4.0/">Creative Commons
Attribution-Share Alike 4.0 International</a>, feel free to reuse, do not
forget the terms of use:
<ul>
<li>
<strong>Attribution</strong> — You must give appropriate credit, provide a link
to the license, and indicate if changes were made. You may do so in any
reasonable manner, but not in any way that suggests the licensor endorses
you or your use.
</li>
<li>
<strong>ShareAlike</strong> — If you remix, transform, or build upon the material,
you must distribute your contributions under the same license as the original.
</li>
</ul>
</p>
<div class="center logo-list">
<?php print_image("logos/new-php-logo.svg", "PHP logo", false, 'width="200"'); ?>
<br>
<a href="/images/logos/new-php-logo.svg">SVG</a> |
<a href="/images/logos/new-php-logo.png">PNG</a>
</div>
<h2>Alternative logo</h2>
<p>
Levi Morrison created this alternative version to use on PHP.net.
</p>
<div class="center logo-list">
<?php print_image("logos/php-logo.svg", "PHP logo", false, 'width="200"'); ?>
<br>
<a href="/images/logos/php-logo.svg">SVG</a> |
<a href="/images/logos/php-logo-bigger.png">PNG</a>
</div>
<h2>Other logos and graphics</h2>
<p>
The images marked with a <span class="star" title="recommended">*</span> are
the images we recommend to display on your website, in case you are unable
to choose from the formats. Note however, that some combinations of
browser/operating system don't handle transparent PNG images very well.
</p>
<div class="center logo-list">
<table border="0" width="90%" cellspacing="2" cellpadding="10" id="logos">
<tr>
<td class="logo">
<?php print_image("logos/php-med-trans-light.gif", "PHP logo"); ?><br>
(not exactly as shown)
</td>
<?php print_star(); ?>
<td>
<ul>
<li>scaleable vector image</li>
<li>
<a href="/images/logos/php-logo.eps">EPS format</a> |
<a href="/images/logos/php-logo.ai">AI (Adobe Illustrator) format</a>
</li>
</ul>
</td>
</tr>
<tr>
<td class="logo">
<?php print_image("logos/php-med-trans-light.gif", "PHP logo"); ?><br>
(not exactly as shown)
</td>
<td></td>
<td>
<ul>
<li>250 x 134 pixels</li>
<li>white background</li>
<li>large scale for presentations, etc.</li>
<li><a href="/images/logos/php-big.tif">TIF format</a></li>
</ul>
</td>
</tr>
<tr>
<td class="logo" <?php random_bgcolor(0, 5); ?>>
<?php print_image("logos/php-med-trans.png", "PHP logo"); ?>
</td>
<?php print_star(); ?>
<td>
<ul>
<li>95 x 51 pixels</li>
<li>transparent background</li>
<li>suitable for any background</li>
<li><a href="/images/logos/php-med-trans.png">PNG format</a></li>
</ul>
</td>
</tr>
<tr>
<td class="logo">
<?php print_image("logos/php-med-trans-light.gif", "PHP logo"); ?>
</td>
<td></td>
<td>
<ul>
<li>95 x 51 pixels</li>
<li>transparent background</li>
<li>suitable for white/light backgrounds</li>
<li><a href="/images/logos/php-med-trans-light.gif">GIF format</a></li>
</ul>
</td>
</tr>
<tr>
<td class="logob">
<?php print_image("logos/php-med-trans-dark.gif", "PHP logo"); ?>
</td>
<td></td>
<td>
<ul>
<li>95 x 51 pixels</li>
<li>transparent background</li>
<li>suitable for black/dark backgrounds</li>
<li><a href="/images/logos/php-med-trans-dark.gif">GIF format</a></li>
</ul>
</td>
</tr>
<tr>
<td class="logo" <?php random_bgcolor(3, 5); ?>>
<?php print_image("logos/php-power-white.png", "Powered by PHP"); ?>
</td>
<?php print_star(); ?>
<td>
<ul>
<li>88 x 31 pixels</li>
<li>"Powered by PHP" logo</li>
<li>black text on transparent background</li>
<li><a href="/images/logos/php-power-white.png">PNG format</a></li>
</ul>
</td>
</tr>
<tr>
<td class="logo">
<?php print_image("logos/php-power-white.gif", "Powered by PHP"); ?>
</td>
<td></td>
<td>
<ul>
<li>88 x 31 pixels</li>
<li>"Powered by PHP" logo</li>
<li>black text on solid white background</li>
<li><a href="/images/logos/php-power-white.gif">GIF format</a></li>
</ul>
</td>
</tr>
<tr>
<td class="logo" <?php random_bgcolor(0, 2); ?>>
<?php print_image("logos/php-power-black.png", "Powered by PHP"); ?>
</td>
<?php print_star(); ?>
<td>
<ul>
<li>88 x 31 pixels</li>
<li>"Powered by PHP" logo</li>
<li>white text on transparent background</li>
<li><a href="/images/logos/php-power-black.png">PNG format</a></li>
</ul>
</td>
</tr>
<tr>
<td class="logob">
<?php print_image("logos/php-power-black.gif", "Powered by PHP"); ?>
</td>
<td></td>
<td>
<ul>
<li>88 x 31 pixels</li>
<li>"Powered by PHP" logo</li>
<li>white text on solid black background</li>
<li><a href="/images/logos/php-power-black.gif">GIF format</a></li>
</ul>
</td>
</tr>
<tr>
<td class="logo">
<?php print_image("logos/php-power-micro.png", "PHP Powered"); ?><br><br>
<?php print_image("logos/php-power-micro2.png", "PHP Powered"); ?><br><br>
<?php print_image("logos/php5-power-micro.png", "PHP 5 Powered"); ?>
</td>
<td></td>
<td>
<ul>
<li>80 x 15 pixels</li>
<li>"PHP Powered" logo</li>
<li>suitable for any background, usually used on blogs</li>
<li>
<a href="/images/logos/php-power-micro.png">PNG format (1)</a>,
<a href="/images/logos/php-power-micro2.png">PNG format (2)</a>
<a href="/images/logos/php5-power-micro.png">PNG format (3)</a>
</li>
</ul>
</td>
</tr>
<tr>
<td class="logo" <?php random_bgcolor(0, 5); ?>>
<?php print_image("logos/php-icon.png", "PHP icon"); ?>
</td>
<?php print_star(); ?>
<td>
<ul>
<li>32 x 32 pixels</li>
<li>transparent background</li>
<li>suitable for any background</li>
<li><a href="/images/logos/php-icon.png">PNG format</a></li>
</ul>
</td>
</tr>
<tr>
<td class="logo">
<?php print_image("logos/php-icon-white.gif", "PHP icon"); ?>
</td>
<td></td>
<td>
<ul>
<li>32 x 32 pixels</li>
<li>transparent background</li>
<li>suitable for white/light backgrounds</li>
<li><a href="/images/logos/php-icon-white.gif">GIF format</a></li>
</ul>
</td>
</tr>
<tr>
<td class="logob">
<?php print_image("logos/php-icon-black.gif", "PHP icon"); ?>
</td>
<td></td>
<td>
<ul>
<li>32 x 32 pixels</li>
<li>transparent background</li>
<li>suitable for black/dark backgrounds</li>
<li><a href="/images/logos/php-icon-black.gif">GIF format</a></li>
</ul>
</td>
</tr>
<tr>
<td class="logo">
<?php print_image("logos/php-icon-white.gif", "PHP icons"); ?><br>
(not exactly as shown)
</td>
<td></td>
<td>
<ul>
<li>PHP icon resource for Windows</li>
<li>suitable as icons for your desktop</li>
<li>
48x48, 32x32 and 16x16 sizes, in each of 16 colour,
256 colour, and true colour formats ...
all in one .ICO file
</li>
<li><a href="/images/logos/php.ico">ICO format</a></li>
</ul>
</td>
</tr>
<tr>
<td class="logo">
<?php print_image("logos/php_file_ico.gif", "PHP file icons"); ?><br>
(not exactly as shown)
</td>
<td></td>
<td>
<ul>
<li>PHP icon resource for Windows</li>
<li>suitable as icons for file extensions like .php and .phtml</li>
<li>32x32 and 16x16 sizes, in true colour format... all in one .ICO file</li>
<li>these icons are made by Gonzalo de la Pea</li>
<li><a href="/images/logos/php_file.ico">ICO format</a></li>
</ul>
</td>
</tr>
<tr>
<td class="logo">
<?php print_image("logos/php_script_ico.png", "PHP script icons"); ?><br>
(not exactly as shown)
</td>
<td></td>
<td>
<ul>
<li>PHP icon resource for Windows</li>
<li>suitable as icons for file extensions like .php and .phtml</li>
<li>48x48, 32x32, 24x24, 16x16 sizes, in each of Windows XP Alpha, 256 colour, and 16 colour formats... all in one .ICO file</li>
<li>these icons are made by Travis Carden (AM)</li>
<li><a href="/images/logos/php_script.ico">ICO format</a></li>
</ul>
</td>
</tr>
<tr>
<td class="logo">
<?php print_image("logos/php_xpstyle_ico.gif", "Windows XP PHP file icons"); ?><br>
(not exactly as shown)
</td>
<td></td>
<td>
<ul>
<li>PHP icon resource for Windows XP [<b>use only on WinXP!</b>]</li>
<li>suitable as icons for file extensions like .php and .phtml</li>
<li>
48x48, 32x32, 24x24, 16x16 sizes, in each of 16 colour, 256 colour,
and true colour formats... all in one .ICO file
</li>
<li>these icons are made by Jonathan Metillon</li>
<li><a href="/images/logos/php_xpstyle.ico">XP ICO format</a></li>
</ul>
</td>
</tr>
</table>
</div>
<?php site_footer();