blob: 3cda33906f337dbb3941256115c1f615cdcecb02 (
plain)
1
2
3
4
5
6
7
|
local path = "./badges/"
local badges = io.popen("dir "..path)
if badges then
for i in string.gmatch(badges:read("*a"), "(.-)\n") do
io.write("<img alt=\""..path..i.."\" src=\""..path..i.."\">");
end
end
|