Upstream tarball 10154
[amule.git] / src / webserver / default / footer.php
blob2eb5554d28265c7c81b9de7a5e1ed0d94e940479
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
3 <html>
4 <head>
5 <title>amule-frame-bottom</title>
6 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
7 <link href="style.css" rel="stylesheet" type="text/css"><style type="text/css">
8 <!--
9 caption {
10 font-family: Helvetica;
11 font-size: 18px;
12 font-weight: bold;
13 color: #003161;
15 th {
16 font-family: Helvetica;
17 font-size: 14px;
18 font-height: 22px;
19 font-weight: bold;
20 color: #003161;
22 a:link {
23 color: #003161;
24 text-decoration: none;
26 a:active {
27 color: #003161;
28 text-decoration: none;
30 a:visited {
31 color: #003161;
32 text-decoration: none;
34 a:hover {
35 color: #c0c0c0;
36 text-decoration: underline;
38 td {
39 font-family: Helvetica;
40 font-size: 12px;
41 font-weight: normal;
43 label {
44 font-family: Helvetica;
45 font-size: 14px;
46 font-weight: bold;
48 .texte {
49 font-family: Helvetica;
50 font-size: 12px;
51 font-weight: normal;
53 label {
54 font-family:"trebuchet ms",sans-serif;
55 font-size: 12px;
56 font-weight:bold
58 input {
59 border:1px solid #003161;
60 background-color: white;
61 font-family:"trebuchet ms",sans-serif;
62 font-size: 12px;
63 color: #003161;
65 select, option {
66 background-color: white;
67 font-size: 12px;
68 color: #003161;
70 textarea {
71 border:1px solid #003161;
72 background-color: #90B6DB;
73 font-family:"trebuchet ms",sans-serif;
74 font-size: 12px;
75 color: white;
77 -->
78 </style>
79 </head>
80 <script language="JavaScript" type="text/JavaScript">
82 function refreshFrames()
84 location = "amuleweb-main-dload.php"
85 location.reload();
88 </script>
90 <body>
92 <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
93 <tr>
94 <td width="50%" align="center" valign="bottom">
95 <form name="formlink" method="post" action="footer.php">
96 <input name="ed2klink" type="text" id="ed2klink" size="50">
97 <select name="selectcat" id="selectcat">
98 <?php
99 $cats = amule_get_categories();
100 if ( $HTTP_GET_VARS["Submit"] != "" ) {
101 $link = $HTTP_GET_VARS["ed2klink"];
102 $target_cat = $HTTP_GET_VARS["selectcat"];
103 $target_cat_idx = 0;
104 foreach($cats as $i => $c) {
105 if ( $target_cat == $c) $target_cat_idx = $i;
107 if ( strlen($link) > 0 ) {
108 amule_do_ed2k_download_cmd($link, $target_cat_idx);
111 foreach($cats as $c) {
112 echo '<option>', $c, '</option>';
115 </select>
116 <input type="submit" name="Submit" value="Download link" onClick="refreshFrames()">
117 </form></td>
118 </table>
119 </body>
120 </html>