1*c8839c22SAnika Henke<!DOCTYPE html> 2*c8839c22SAnika Henke<html lang="en" dir="ltr"> 346c43bd8Sotto<head> 4c6480b76SAndreas Gohr <title>filetype icons</title> 5c6480b76SAndreas Gohr 6c6480b76SAndreas Gohr <style type="text/css"> 7c6480b76SAndreas Gohr body { 8c6480b76SAndreas Gohr background-color: #ccc; 9c6480b76SAndreas Gohr font-family: Arial; 10c6480b76SAndreas Gohr } 11c6480b76SAndreas Gohr 12c6480b76SAndreas Gohr .box { 13c6480b76SAndreas Gohr width: 200px; 14c6480b76SAndreas Gohr float:left; 15c6480b76SAndreas Gohr padding: 0.5em; 16c6480b76SAndreas Gohr margin: 0; 17c6480b76SAndreas Gohr } 18c6480b76SAndreas Gohr 19c6480b76SAndreas Gohr .white { 20c6480b76SAndreas Gohr background-color: #fff; 21c6480b76SAndreas Gohr } 22c6480b76SAndreas Gohr 23c6480b76SAndreas Gohr .black { 24c6480b76SAndreas Gohr background-color: #000; 25c6480b76SAndreas Gohr } 26c6480b76SAndreas Gohr </style> 27c6480b76SAndreas Gohr 28c6480b76SAndreas Gohr</head> 29c6480b76SAndreas Gohr<body> 30c6480b76SAndreas Gohr 31c6480b76SAndreas Gohr<div class="white box"> 32c6480b76SAndreas Gohr<?php 33c6480b76SAndreas Gohrforeach (glob('*.png') as $img) { 34c6480b76SAndreas Gohr echo '<img src="'.$img.'" alt="'.$img.'" title="'.$img.'" /> '; 35c6480b76SAndreas Gohr} 36c6480b76SAndreas Gohr?> 37c6480b76SAndreas Gohr</div> 38c6480b76SAndreas Gohr 39c6480b76SAndreas Gohr<div class="black box"> 40c6480b76SAndreas Gohr<?php 41c6480b76SAndreas Gohrforeach (glob('*.png') as $img) { 42c6480b76SAndreas Gohr echo '<img src="'.$img.'" alt="'.$img.'" title="'.$img.'" /> '; 43c6480b76SAndreas Gohr} 44c6480b76SAndreas Gohr?> 45c6480b76SAndreas Gohr</div> 46c6480b76SAndreas Gohr 47c6480b76SAndreas Gohr</body> 48c6480b76SAndreas Gohr</html> 49