Commit | Line | Data |
---|---|---|
8de51304 H |
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">\r |
2 | \r | |
3 | <html>\r | |
4 | <head>\r | |
5 | <meta http-equiv="content-type" content="text/html"; charset="utf-8">\r | |
6 | <title>Redakce - (c) 2oo6 - Harvie</title>\r | |
7 | <meta http-equiv="cache-control" content="no-cache" />\r | |
8 | \r | |
9 | </head>\r | |
10 | \r | |
11 | <body>\r | |
12 | \r | |
13 | <div class="form">\r | |
14 | <form action="edit.php" method="post">\r | |
15 | Login: <input type="text" name="user" size="25"><br>\r | |
16 | Password: <input type="password" name="password" size="25"><br>\r | |
17 | \r | |
18 | Soubor:\r | |
19 | <select name="file" size="10">\r | |
20 | \r | |
21 | <?\r | |
22 | $soubory=opendir('.'); \r | |
23 | while (false!==($file = readdir($soubory))) \r | |
24 | { \r | |
25 | if ($file != "." && $file != "..") \r | |
26 | { \r | |
27 | echo "<option value=\"" .$file."\">".$file."</option>\n"; \r | |
28 | } \r | |
29 | }\r | |
30 | closedir($soubory); \r | |
31 | ?>\r | |
32 | \r | |
33 | </select>\r | |
34 | \r | |
35 | <input type="submit" value="EDIT">\r | |
36 | \r | |
37 | </form>\r | |
38 | </div>\r | |
39 | \r | |
40 | </body>\r | |
41 | </html>\r |