-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSkin.php
executable file
·40 lines (38 loc) · 1.52 KB
/
Skin.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
/*
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en-US">
<head>
<title> Skin Picker 2k </title>
<meta http-equiv="content-language" content="en-US">
<meta http-equiv="content-type" content="text/html; charset=iso-8859-15">
<meta name="Generator" content="EditPlus">
<meta name="Author" content="Null">
<meta name="Keywords" content="Null">
<meta name="Description" content="Null">
</head>
<body>
<?php
if ($handle = opendir('./skin/')) {
while (false != ($num = readdir($handle))) {
if ($num != "." && $num != "..") {
if (file_exists("skin/".$num."/Settings.php")) {
include("skin/".$num."/Settings.php");
echo "<a title=\"This skin was made by ".$SkinSet['SkinMaker']."\" href=\"index.php?Skin=".$num."\">".$SkinSet['SkinName']."</a> - <a title=\"".$SkinSet['SkinMaker']."'s Website\" href=\"".$SkinSet['MakerURL']."\">".$SkinSet['SkinMaker']."'s Website.</a><br />\n";
}
}
} closedir($handle);
}
?>
</body>
</html>