diff options
author | Elan Ruusamäe <glen@delfi.ee> | 2012-09-17 11:08:34 +0300 |
---|---|---|
committer | Elan Ruusamäe <glen@delfi.ee> | 2012-09-17 11:08:34 +0300 |
commit | a0df75e62c09594d1d1ed11be9a911badab0699e (patch) | |
tree | 48e26435f0733b88ca9a6069717437839c2126e8 /lib/images | |
parent | d33f2760e5d9ba44d858fef247c03fff3ca877f8 (diff) | |
download | rpg-a0df75e62c09594d1d1ed11be9a911badab0699e.tar.gz rpg-a0df75e62c09594d1d1ed11be9a911badab0699e.tar.bz2 |
add index file similar to fileicons to show active smileys
Diffstat (limited to 'lib/images')
-rw-r--r-- | lib/images/smileys/index.php | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/lib/images/smileys/index.php b/lib/images/smileys/index.php new file mode 100644 index 000000000..9a2905b33 --- /dev/null +++ b/lib/images/smileys/index.php @@ -0,0 +1,48 @@ +<!DOCTYPE html> +<html lang="en" dir="ltr"> +<head> + <title>simleys</title> + + <style type="text/css"> + body { + background-color: #ccc; + font-family: Arial; + } + + .box { + width: 200px; + float:left; + padding: 0.5em; + margin: 0; + } + + .white { + background-color: #fff; + } + + .black { + background-color: #000; + } + </style> + +</head> +<body> + +<div class="white box"> +<?php +foreach (glob('*.gif') as $img) { + echo '<img src="'.$img.'" alt="'.$img.'" title="'.$img.'" /> '; +} +?> +</div> + +<div class="black box"> +<?php +foreach (glob('*.gif') as $img) { + echo '<img src="'.$img.'" alt="'.$img.'" title="'.$img.'" /> '; +} +?> +</div> + +</body> +</html> |