%
include("language.html")
%>
<%
if _SESSION["username"] ~= nil and _SESSION["currentpath"] ~= nil then
local plugin_dir = c_GetAppPath().."/webclient/plugins"
for isdir,plugin in c_GetFileDir(plugin_dir) do
if isdir == true and c_FileExist(plugin_dir.."/"..plugin.."/setting.html") then
include("plugins/"..plugin.."/setting.html")
end
end
local enable_changepass, changepass_firstlogon = c_CanChangePass(_SESSION["username"])
local enable_sendmessage = c_CanSendMessage()
local enable_online_edit = c_CanOnlineEdit()
local weblink_url = c_GetWeblinkURL()
local http_keepalive = c_HttpKeepAlive()
local imageDate = c_GetFileTime(c_GetAppPath().."/webclient/images/"..c_GetDomainLogo())
local cellwidth = {"500", "120", "150", "180"}
for i=1,4 do
local index = i - 1
if _COOKIE["cellwidth"..index] ~= nil and tonumber(_COOKIE["cellwidth"..index]) ~= "" then
cellwidth[i] = tonumber(_COOKIE["cellwidth"..index])
if cellwidth[i] < 80 then
cellwidth[i] = 80
end
if cellwidth[i] > 1920 then
cellwidth[i] = 1920
end
end
end
%>
Wing FTP Server - Web Client
<%
local nType = c_GetLicenseInfo()
if nType >= 5 then
print("(UNREGISTERED)")
end
%>