% 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,os.time()+3600*24*365) break end end if _COOKIE["client_lang"] == nil then _COOKIE["client_lang"] = "english" end end include("language.html") local nType = c_GetLicenseInfo() local client_login_name = _COOKIE["client_login_name"] or "" local oldtheme = _COOKIE["oldtheme"] or "" client_login_name = specialhtml_encode(client_login_name) local imageDate = c_GetFileTime(c_GetAppPath().."/webclient/images/"..c_GetDomainLogo()) local strUserAgent = string.match(strHead,"User%-Agent:%s?(%s[^\r\n]*)") local isIE = false if strUserAgent ~= nil and string.find(strUserAgent, "MSIE") then isIE = true end if _SESSION["username"] == nil then %>
|
||||||
|
||||||