isAdmin( $_SESSION['user_id'] ); if ( $isAdmin ) { $user_homes = $db->getHomesFor('admin', $_SESSION['user_id']); } else { $user_homes = $db->getHomesFor('user_and_group', $_SESSION['user_id']); } echo "

".get_lang('ftp')."

"; if( $user_homes === FALSE ) { return; } if( empty( $_GET['home_id'] ) ) { unset($_GET['home_id']); } if( isset($_GET['home_id']) ) $_SESSION['home_id'] = $_GET['home_id']; $_SESSION['settings'] = $settings; $_SESSION['remote_servers'] = $db->getRemoteServers(); $_SESSION['isAdmin'] = $isAdmin; $_SESSION['user_homes'] = $user_homes; ?>
"; } ?>