%
local all_lang = {"english","french","german","italian","dutch","portuguese","spanish","schinese","tchinese","japanese","czech","romanian","turkish","korean","polish"}
if _GET["lang"] ~= nil then
for _,val in pairs(all_lang) do
if _GET["lang"] == val then
setcookie("client_lang",val,2101702507)
break
end
end
if _COOKIE["client_lang"] == nil then
_COOKIE["client_lang"] = "english"
end
end
include("language.html")
local linkid = _GET["linkid"] or ""
local username, subdir, expiretime, uploadpass, email, sender_email = c_GetUplinkData(linkid)
local owner = username
if sender_email ~= nil and sender_email ~= "" then
owner = sender_email
end
local bExpired = false
local nExpireTime = tonumber(expiretime) or 0
if nExpireTime > 0 and c_GetTimeUTC() > nExpireTime then
bExpired = true
end
if username ~= nil and username ~= "" and subdir ~= nil and subdir ~= "" and bExpired == false then
%>
Wing FTP Server - File Request
<% if uploadpass ~= "" and uploadpass ~= _GET["password"] then %>
<% else %>