Skip to content
Snippets Groups Projects
Commit cff21c5a authored by Andreas Gohr's avatar Andreas Gohr
Browse files

Merge pull request #130 from glensc/smileys-index

add index file similar to fileicons to show active smileys
parents 2005b6b6 a0df75e6
No related branches found
No related tags found
No related merge requests found
<!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>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment