1<?php 2$_SERVER['BASE_PAGE'] = 'download-logos.php'; 3include_once __DIR__ . '/include/prepend.inc'; 4$SIDEBAR_DATA = ' 5<h3>More PHP artwork</h3> 6<p> 7 <a href="http://www.elroubio.net/">Vincent Pontier</a> also made some 8 really neat PHP artwork, for the French PHP sites, and for the benefit 9 of the whole community. You can download some of his works and use 10 under a GPL license. 11</p> 12'; 13site_header("Download Logos", ["current" => "downloads"]); 14 15// Print recommended star cell 16function print_star(): void 17{ 18 echo "<td class=\"star\"><span class=\"star\" title=\"recommended\">*</span></td>\n"; 19} 20 21// Provide a random bgcolor setting for a cell 22function random_bgcolor($min, $max): void 23{ 24 echo "style=\"background-color: #" . 25 sprintf('%02x%02x%02x', mt_rand($min, $max) * 51, mt_rand($min, $max) * 51, mt_rand($min, $max) * 51) . 26 ";\""; 27} 28?> 29 30<h1>Download Logos and Icons</h1> 31 32<p class="warn"> 33 Do not just include the graphic from our servers on your page! 34 Copy the image to your site please. 35</p> 36 37<p> 38 In case you have found some PHP logos, icons or other material around 39 the web, feel free to point those out to us, so we can include them here, 40 if appropriate. And oh, if you're wondering about the font we used, it's 41 called <a href="http://www.myfonts.com/fonts/bitstream/handel-gothic/">Handel 42 Gothic</a>. 43</p> 44 45<h2>PHP logo</h2> 46 47<p> 48 The author Colin Viebrock released the PHP logo as 49 <a href="https://creativecommons.org/licenses/by-sa/4.0/">Creative Commons 50 Attribution-Share Alike 4.0 International</a>, feel free to reuse, do not 51 forget the terms of use: 52 53 <ul> 54 <li> 55 <strong>Attribution</strong> — You must give appropriate credit, provide a link 56 to the license, and indicate if changes were made. You may do so in any 57 reasonable manner, but not in any way that suggests the licensor endorses 58 you or your use. 59 </li> 60 <li> 61 <strong>ShareAlike</strong> — If you remix, transform, or build upon the material, 62 you must distribute your contributions under the same license as the original. 63 </li> 64 </ul> 65</p> 66 67<div class="center logo-list"> 68 <?php print_image("logos/new-php-logo.svg", "PHP logo", false, 'width="200"'); ?> 69 <br> 70 <a href="/images/logos/new-php-logo.svg">SVG</a> | 71 <a href="/images/logos/new-php-logo.png">PNG</a> 72</div> 73 74<h2>Alternative logo</h2> 75 76<p> 77 Levi Morrison created this alternative version to use on PHP.net. 78</p> 79 80<div class="center logo-list"> 81 <?php print_image("logos/php-logo.svg", "PHP logo", false, 'width="200"'); ?> 82 <br> 83 <a href="/images/logos/php-logo.svg">SVG</a> | 84 <a href="/images/logos/php-logo-bigger.png">PNG</a> 85</div> 86 87<h2>Other logos and graphics</h2> 88 89<p> 90 The images marked with a <span class="star" title="recommended">*</span> are 91 the images we recommend to display on your website, in case you are unable 92 to choose from the formats. Note however, that some combinations of 93 browser/operating system don't handle transparent PNG images very well. 94</p> 95 96<div class="center logo-list"> 97<table border="0" width="90%" cellspacing="2" cellpadding="10" id="logos"> 98 99 <tr> 100 <td class="logo"> 101 <?php print_image("logos/php-med-trans-light.gif", "PHP logo"); ?><br> 102 (not exactly as shown) 103 </td> 104 <?php print_star(); ?> 105 <td> 106 <ul> 107 <li>scaleable vector image</li> 108 <li> 109 <a href="/images/logos/php-logo.eps">EPS format</a> | 110 <a href="/images/logos/php-logo.ai">AI (Adobe Illustrator) format</a> 111 </li> 112 </ul> 113 </td> 114 </tr> 115 116 <tr> 117 <td class="logo"> 118 <?php print_image("logos/php-med-trans-light.gif", "PHP logo"); ?><br> 119 (not exactly as shown) 120 </td> 121 <td></td> 122 <td> 123 <ul> 124 <li>250 x 134 pixels</li> 125 <li>white background</li> 126 <li>large scale for presentations, etc.</li> 127 <li><a href="/images/logos/php-big.tif">TIF format</a></li> 128 </ul> 129 </td> 130 </tr> 131 132 <tr> 133 <td class="logo" <?php random_bgcolor(0, 5); ?>> 134 <?php print_image("logos/php-med-trans.png", "PHP logo"); ?> 135 </td> 136 <?php print_star(); ?> 137 <td> 138 <ul> 139 <li>95 x 51 pixels</li> 140 <li>transparent background</li> 141 <li>suitable for any background</li> 142 <li><a href="/images/logos/php-med-trans.png">PNG format</a></li> 143 </ul> 144 </td> 145 </tr> 146 147 <tr> 148 <td class="logo"> 149 <?php print_image("logos/php-med-trans-light.gif", "PHP logo"); ?> 150 </td> 151 <td></td> 152 <td> 153 <ul> 154 <li>95 x 51 pixels</li> 155 <li>transparent background</li> 156 <li>suitable for white/light backgrounds</li> 157 <li><a href="/images/logos/php-med-trans-light.gif">GIF format</a></li> 158 </ul> 159 </td> 160 </tr> 161 162 <tr> 163 <td class="logob"> 164 <?php print_image("logos/php-med-trans-dark.gif", "PHP logo"); ?> 165 </td> 166 <td></td> 167 <td> 168 <ul> 169 <li>95 x 51 pixels</li> 170 <li>transparent background</li> 171 <li>suitable for black/dark backgrounds</li> 172 <li><a href="/images/logos/php-med-trans-dark.gif">GIF format</a></li> 173 </ul> 174 </td> 175 </tr> 176 177 <tr> 178 <td class="logo" <?php random_bgcolor(3, 5); ?>> 179 <?php print_image("logos/php-power-white.png", "Powered by PHP"); ?> 180 </td> 181 <?php print_star(); ?> 182 <td> 183 <ul> 184 <li>88 x 31 pixels</li> 185 <li>"Powered by PHP" logo</li> 186 <li>black text on transparent background</li> 187 <li><a href="/images/logos/php-power-white.png">PNG format</a></li> 188 </ul> 189 </td> 190 </tr> 191 192 <tr> 193 <td class="logo"> 194 <?php print_image("logos/php-power-white.gif", "Powered by PHP"); ?> 195 </td> 196 <td></td> 197 <td> 198 <ul> 199 <li>88 x 31 pixels</li> 200 <li>"Powered by PHP" logo</li> 201 <li>black text on solid white background</li> 202 <li><a href="/images/logos/php-power-white.gif">GIF format</a></li> 203 </ul> 204 </td> 205 </tr> 206 207 <tr> 208 <td class="logo" <?php random_bgcolor(0, 2); ?>> 209 <?php print_image("logos/php-power-black.png", "Powered by PHP"); ?> 210 </td> 211 <?php print_star(); ?> 212 <td> 213 <ul> 214 <li>88 x 31 pixels</li> 215 <li>"Powered by PHP" logo</li> 216 <li>white text on transparent background</li> 217 <li><a href="/images/logos/php-power-black.png">PNG format</a></li> 218 </ul> 219 </td> 220 </tr> 221 222 <tr> 223 <td class="logob"> 224 <?php print_image("logos/php-power-black.gif", "Powered by PHP"); ?> 225 </td> 226 <td></td> 227 <td> 228 <ul> 229 <li>88 x 31 pixels</li> 230 <li>"Powered by PHP" logo</li> 231 <li>white text on solid black background</li> 232 <li><a href="/images/logos/php-power-black.gif">GIF format</a></li> 233 </ul> 234 </td> 235 </tr> 236 237 <tr> 238 <td class="logo"> 239 <?php print_image("logos/php-power-micro.png", "PHP Powered"); ?><br><br> 240 <?php print_image("logos/php-power-micro2.png", "PHP Powered"); ?><br><br> 241 <?php print_image("logos/php5-power-micro.png", "PHP 5 Powered"); ?> 242 </td> 243 <td></td> 244 <td> 245 <ul> 246 <li>80 x 15 pixels</li> 247 <li>"PHP Powered" logo</li> 248 <li>suitable for any background, usually used on blogs</li> 249 <li> 250 <a href="/images/logos/php-power-micro.png">PNG format (1)</a>, 251 <a href="/images/logos/php-power-micro2.png">PNG format (2)</a> 252 <a href="/images/logos/php5-power-micro.png">PNG format (3)</a> 253 </li> 254 </ul> 255 </td> 256 </tr> 257 258 <tr> 259 <td class="logo" <?php random_bgcolor(0, 5); ?>> 260 <?php print_image("logos/php-icon.png", "PHP icon"); ?> 261 </td> 262 <?php print_star(); ?> 263 <td> 264 <ul> 265 <li>32 x 32 pixels</li> 266 <li>transparent background</li> 267 <li>suitable for any background</li> 268 <li><a href="/images/logos/php-icon.png">PNG format</a></li> 269 </ul> 270 </td> 271 </tr> 272 273 <tr> 274 <td class="logo"> 275 <?php print_image("logos/php-icon-white.gif", "PHP icon"); ?> 276 </td> 277 <td></td> 278 <td> 279 <ul> 280 <li>32 x 32 pixels</li> 281 <li>transparent background</li> 282 <li>suitable for white/light backgrounds</li> 283 <li><a href="/images/logos/php-icon-white.gif">GIF format</a></li> 284 </ul> 285 </td> 286 </tr> 287 288 <tr> 289 <td class="logob"> 290 <?php print_image("logos/php-icon-black.gif", "PHP icon"); ?> 291 </td> 292 <td></td> 293 <td> 294 <ul> 295 <li>32 x 32 pixels</li> 296 <li>transparent background</li> 297 <li>suitable for black/dark backgrounds</li> 298 <li><a href="/images/logos/php-icon-black.gif">GIF format</a></li> 299 </ul> 300 </td> 301 </tr> 302 303 <tr> 304 <td class="logo"> 305 <?php print_image("logos/php-icon-white.gif", "PHP icons"); ?><br> 306 (not exactly as shown) 307 </td> 308 <td></td> 309 <td> 310 <ul> 311 <li>PHP icon resource for Windows</li> 312 <li>suitable as icons for your desktop</li> 313 <li> 314 48x48, 32x32 and 16x16 sizes, in each of 16 colour, 315 256 colour, and true colour formats ... 316 all in one .ICO file 317 </li> 318 <li><a href="/images/logos/php.ico">ICO format</a></li> 319 </ul> 320 </td> 321 </tr> 322 323 <tr> 324 <td class="logo"> 325 <?php print_image("logos/php_file_ico.gif", "PHP file icons"); ?><br> 326 (not exactly as shown) 327 </td> 328 <td></td> 329 <td> 330 <ul> 331 <li>PHP icon resource for Windows</li> 332 <li>suitable as icons for file extensions like .php and .phtml</li> 333 <li>32x32 and 16x16 sizes, in true colour format... all in one .ICO file</li> 334 <li>these icons are made by Gonzalo de la Pea</li> 335 <li><a href="/images/logos/php_file.ico">ICO format</a></li> 336 </ul> 337 </td> 338 </tr> 339 340 <tr> 341 <td class="logo"> 342 <?php print_image("logos/php_script_ico.png", "PHP script icons"); ?><br> 343 (not exactly as shown) 344 </td> 345 <td></td> 346 <td> 347 <ul> 348 <li>PHP icon resource for Windows</li> 349 <li>suitable as icons for file extensions like .php and .phtml</li> 350 <li>48x48, 32x32, 24x24, 16x16 sizes, in each of Windows XP Alpha, 256 colour, and 16 colour formats... all in one .ICO file</li> 351 <li>these icons are made by Travis Carden (AM)</li> 352 <li><a href="/images/logos/php_script.ico">ICO format</a></li> 353 </ul> 354 </td> 355 </tr> 356 357 <tr> 358 <td class="logo"> 359 <?php print_image("logos/php_xpstyle_ico.gif", "Windows XP PHP file icons"); ?><br> 360 (not exactly as shown) 361 </td> 362 <td></td> 363 <td> 364 <ul> 365 <li>PHP icon resource for Windows XP [<b>use only on WinXP!</b>]</li> 366 <li>suitable as icons for file extensions like .php and .phtml</li> 367 <li> 368 48x48, 32x32, 24x24, 16x16 sizes, in each of 16 colour, 256 colour, 369 and true colour formats... all in one .ICO file 370 </li> 371 <li>these icons are made by Jonathan Metillon</li> 372 <li><a href="/images/logos/php_xpstyle.ico">XP ICO format</a></li> 373 </ul> 374 </td> 375 </tr> 376 377</table> 378</div> 379 380<?php site_footer(); 381