<% include("language.html") function in_array(domain,domainArray) for _,tempdomain in pairs(domainArray) do if tempdomain == domain then return true end end return false end if _SESSION["logined"] ~= nil then %> Wing FTP Server
<%=LANG["left_rootnode"]%>
<% if _SESSION["admin_domainadmin"] == 0 then %>
<%=LANG["left_admnistrator"]%>
<%=LANG["left_console"]%>
<%=LANG["left_adminuser"]%>
<%=LANG["left_adminlog"]%>
<%=LANG["left_setting"]%>
<%=LANG["left_ftpserver"]%>
<%=LANG["left_logstatus"]%>
<%=LANG["left_systemstatus"]%>
<%=LANG["left_systemlog"]%>
<%=LANG["left_license"]%>
<%=LANG["left_systemtask"]%>
<%=LANG["left_setting"]%>
<% end %>
<%=LANG["left_domains"]%>
<% local domainNum = 0 local domain = "" local domainArray = Split(_SESSION["admin_domainlist"],",") local bContinue = false for _,domain in pairs(c_GetDomainList()) do local domain_online = c_IsDomainOnline(domain) bContinue = false if _SESSION["admin_domainadmin"] == 1 and in_array(domain,domainArray) == false then bContinue = true end if bContinue == false then %>
);" oncontextmenu="changeDomain('domain<%=domainNum%>',this,'<%=urldecode(domain)%>',1,<%if domain_online == true then print("1") else print("0") end%>);"> <%if domain_online == true then print("") else print("") end%> <%=urldecode(domain)%>
<%=LANG["left_logstatus"]%>
<%=LANG["left_domainstatus"]%>
<%=LANG["left_domainlog"]%>
<%=LANG["left_tempban"]%>
<%=LANG["left_activity"]%>
<%=LANG["left_graphs"]%>
<% if _SESSION["admin_domainadmin"] == 0 then %>
<%=LANG["left_eventmanager"]%>
<%=LANG["left_ftpevent"]%>
<%=LANG["left_httpevent"]%>
<%=LANG["left_sshevent"]%>
<% end %>
<%=LANG["left_user"]%>
<%=LANG["left_group"]%>
<% if _SESSION["admin_domainadmin"] == 0 then %>
<%=LANG["left_setting"]%>
<% end %>
<% end domainNum = domainNum+1 end %>
<% else print("") print("") end %>