%
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("admin_lang",val,2101702507)
break
end
end
if _COOKIE["admin_lang"] == nil then
_COOKIE["admin_lang"] = "english"
end
end
include("language.html")
if _SESSION["logined"] ~= nil then
local IpList = c_GetLocalIpList()
%>
Wing FTP Server - Web Administration
<%
local nType,strVersion,strUserName,strCopyNumber,strOS,nLeftDay = c_GetLicenseInfo()
if nType == LICENSE_TRIAL then
print("(UNREGISTERED)")
elseif nType == LICENSE_EXPIRE then
print("(EXPIRED)")
elseif nType == LICENSE_FAILED then
print("(VIOLATED)")
end
%>
<%
if nType == LICENSE_TRIAL then
print("
(UNREGISTERED COPY)
")
elseif nType == LICENSE_EXPIRE then
print("
(TRIAL IS EXPIRED)
")
elseif nType == LICENSE_FAILED then
print("
(VIOLATED LICENSE)
")
end
%>
<% if _SESSION["admin_readonly"] ~= nil and _SESSION["admin_readonly"] == 1 then %>