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