<% 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,os.time()+3600*24*365) break end end if _COOKIE["admin_lang"] == nil then _COOKIE["admin_lang"] = "english" end end include("language.html") local admin_login_name = _COOKIE["admin_login_name"] or "" admin_login_name = specialhtml_encode(admin_login_name) local imageDate = c_GetFileTime(c_GetAppPath().."/webadmin/images/loginbg.jpg") if _SESSION["admin"] == nil then %> Wing FTP Server - Administration

Administration

"> ">

"> ">

">
Wing FTP Server ©2003-2025 wftpserver.com All Rights Reserved
<% else local enableTwoFactor, twoFactorCode = c_GetAdminSecretCode(_SESSION["admin"]) if enableTwoFactor ~= nil and enableTwoFactor == true and _SESSION["logined"] == nil then rawset(_SESSION,"logintime",os.time()) if _SESSION["totp_randomkey"] == nil or _SESSION["totp_randomkey"] == "" then rawset(_SESSION,"totp_randomkey",c_TotpRandomKey(_REMOTE_IP)) end SessionModule.save(_SESSION_ID) if twoFactorCode ~= nil and twoFactorCode == "" then %> Wing FTP Server - Administration
<%=LANG["totp_auth_required"]%> " title="<%=LANG["str_switch_account"]%>">
<%=LANG["totp_init_tip1"]%>
<%=LANG["totp_init_tip2"]%> "".
<%=LANG["totp_init_tip3"]%>
" onclick="return ch()" tabindex="5" />
Wing FTP Server ©2003-2025 wftpserver.com All Rights Reserved
<% else %> Wing FTP Server - Administration
<%=LANG["totp_auth_required"]%> " title="<%=LANG["str_switch_account"]%>">
<%=LANG["totp_input_tip1"]%>
<%=LANG["totp_input_tip2"]%>
" onclick="return ch()" tabindex="5" />
Wing FTP Server ©2003-2025 wftpserver.com All Rights Reserved
<% end else print("") print("") print("") end end %>