1<?php
2/*
3 * Copyright (c) 2008, 2009 Mark C. Prins <mc.prins@gmail.com>
4 *
5 * Permission to use, copy, modify, and distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *
9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 */
17
18/**
19 * OL maps plugin, show available icons.
20 *
21 * @author Mark C. Prins
22 */
23
24?>
25
26<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
27        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
28<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="nl" lang="nl"
29      dir="ltr">
30<head>
31    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
32    <title>Contact Sheet</title>
33    <style type="text/css">
34        .box {
35            width: 200px;
36            float: left;
37            padding: 0.5em;
38            margin: 0;
39            background-color: #FFFFFF;
40        }
41    </style>
42</head>
43<body>
44<div class="box"><?php
45    foreach(glob('*.png') as $img) {
46        echo '<img src="' . $img . '" alt="' . $img . '" title="' . $img . '" /> ';
47    }
48    ?></div>
49</body>
50</html>
51