|
1 [%USE date%] |
|
2 <html> |
|
3 <head> |
|
4 <title>Up & Down</title> |
|
5 </head> |
|
6 <body> |
|
7 <div align="right"> |
|
8 [ <a href="[%alink%]">admin</a> ] |
|
9 </div> |
|
10 <h1>Ansicht [%view ? view : "[unbekannt]"%]</h1> |
|
11 |
|
12 <table> |
|
13 <tr align=right> |
|
14 <td>dir:</td> |
|
15 <td>[%directory%]</td> |
|
16 </tr> |
|
17 </table> |
|
18 |
|
19 <hr/> |
|
20 Der gültige Download-Link ist die Link-Adresse, die sich hinter |
|
21 dem Datei-Namen verbirgt. (Firefox: Rechte Maustaste, Link-Location). |
|
22 Nach Ablauf des <a href="http://de.wikipedia.org/wiki/Mindesthaltbarkeitsdatum">MHD</a> |
|
23 wird die Datei automatisch gelöscht. |
|
24 <hr/> |
|
25 |
|
26 <form method=POST enctype="multipart/form-data"> |
|
27 Filename: <input name="upload" type="file" /><br/> |
|
28 Löschung in: <select name="expires" type=popup> |
|
29 <option value=1 [%sel.1 %]> 1 Tag </option> |
|
30 <option value=7 [%sel.7 %]> 7 Tagen</option> |
|
31 <option value=10 [%sel.10%]>10 Tagen</option> |
|
32 <option value=30 [%sel.30%]>30 Tagen</option> |
|
33 <option value=90 [%sel.90%]>90 Tagen</option> |
|
34 </select> |
|
35 <br> |
|
36 <input type="submit" value="Hochladen"/> |
|
37 </form> |
|
38 |
|
39 [%IF files.size%] |
|
40 <hr/> |
|
41 <table> |
|
42 <tr> |
|
43 <th align=left>Name</th> |
|
44 <th align=left>Größe</th> |
|
45 <th align=left>Hochgeladen</th> |
|
46 <th align=left>Löschung</th> |
|
47 </tr> |
|
48 [%FOREACH files%] |
|
49 [%# link name size mtime dtime dlink %] |
|
50 <tr> |
|
51 <td><a href="[%link%]">[%name%]</a></td> |
|
52 <td align=right>[%size%]</td> |
|
53 <td>[%date.format(mtime)%]</td> |
|
54 <td>[%date.format(dtime)%]</td> |
|
55 <td><a href="[%dlink%]">Jetzt Löschen</a></td> |
|
56 </tr> |
|
57 [% END %] |
|
58 </table> |
|
59 [%END%] |
|
60 |
|
61 [%INCLUDE footer%] |
|
62 </body> |
|
63 </html> |