<% function GetTempBanList(domain) local xml = "" local count = 1 local banlist = c_GetTempBlockIpList(domain) xml = xml.."\r\n" xml = xml.."\r\n" for _,banip in pairs(banlist) do xml = xml.."\r\n" xml = xml.."" xml = xml..count xml = xml.."" xml = xml.."" xml = xml..banip["ip"] xml = xml.."" xml = xml.."" xml = xml..tostring(banip["sec"]) xml = xml.."\r\n" xml = xml.."\r\n" count = count + 1 end xml = xml.."\r\n" return xml end if _SESSION["logined"] ~= nil then setContentType("text/xml; charset=UTF-8") local domain = _POST["domain"] local liststr = GetTempBanList(domain) print(liststr) end %>