%
include("language.html")
if _SESSION["logined"] ~= nil then
local domain = _GET["domain"]
if domain ~= nil and _GET["type"] ~= nil and _GET["event"] ~= nil and _GET["eventName"] ~= nil then
local bExecute,strExeFile,strParam,bLogfile,strLogFileName,strLogText,bSendMail
local strMailTo,strSubject,strPlainText,strAttachFile,nPriority,bLua,strLua
local type = string.lower(_GET["type"])
if type == "http" then
bExecute,strExeFile,strParam,bLogfile,strLogFileName,strLogText,bSendMail,strMailTo,strSubject,strPlainText,strAttachFile,nPriority,bLua,strLua = c_GetHTTPEvent(domain,_GET["event"])
elseif type == "ssh" then
bExecute,strExeFile,strParam,bLogfile,strLogFileName,strLogText,bSendMail,strMailTo,strSubject,strPlainText,strAttachFile,nPriority,bLua,strLua = c_GetSSHEvent(domain,_GET["event"])
else
bExecute,strExeFile,strParam,bLogfile,strLogFileName,strLogText,bSendMail,strMailTo,strSubject,strPlainText,strAttachFile,nPriority,bLua,strLua = c_GetFTPEvent(domain,_GET["event"])
end
%>