Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | daniel-mar | 1 | <?php |
2 | |||
3 | if (!defined('WBLEGAL')) die('Kann nicht ohne Personal WebBase ausgeführt werden.'); |
||
4 | |||
5 | $res = db_query("SELECT `port`, `server`, `username`, `password`, `home_directory` FROM `".$WBConfig->getMySQLPrefix()."net2ftp` WHERE `id` = '".db_escape($id)."' AND `user_cnid` = '".$benutzer['id']."'"); |
||
6 | $row = db_fetch($res); |
||
7 | |||
8 | ?><html> |
||
9 | |||
10 | <body> |
||
11 | |||
12 | <form name="LoginForm" id="LoginForm" action="modules/<?php echo $modul; ?>/system/" method="post"> |
||
13 | <input type="hidden" name="ftpserver" value="<?php echo $row['server']; ?>"> |
||
14 | <input type="hidden" name="ftpserverport" value="<?php echo $row['port']; ?>"> |
||
15 | <input type="hidden" name="username" value="<?php echo $row['username']; ?>"> |
||
16 | <input type="hidden" name="password" value="<?php echo $row['password']; ?>"> |
||
17 | <input type="hidden" name="directory" value="<?php echo $row['home_directory']; ?>"> |
||
18 | <input type="hidden" name="state" value="browse"> |
||
19 | <input type="hidden" name="state2" value="main"> |
||
20 | <input type="hidden" name="cookieset" value="yes"> |
||
21 | <input type="hidden" name="ftpmode" value="binary"> |
||
22 | <input type="hidden" name="skin" value="blue"> |
||
23 | <input type="hidden" name="language" value="de"> |
||
24 | <input type="hidden" name="login" value=""> |
||
25 | </form> |
||
26 | |||
27 | Bitte warten...<br><br> |
||
28 | |||
29 | <script language="JavaScript" type="text/javascript"> |
||
30 | <!-- |
||
31 | document.LoginForm.submit(); |
||
32 | // --> |
||
33 | </script> |
||
34 | |||
35 | </body> |
||
36 | |||
37 | </html> |