% include("language.html") if _SESSION["logined"] ~= nil then %> <% local result = nil local host = nil local running = false local licenseinfo = "" if _GET["host"] ~= nil then host = _GET["host"] result = c_GetGateway(host) if result == nil then print("") exit() end if _GET["status"] ~= nil and _GET["status"] == "1" then running = true licenseinfo = c_GatewayInfo(host) end end %>
| <%=LANG["str_enable_gateway"]%>: | ><%=LANG["str_yes"]%> |
| <%=LANG["str_gateway_host"]%>: | style="width:230px;"> |
| <%=LANG["str_port"]%>: | "> |
| <%=LANG["str_password"]%>: | "> |
| <%=LANG["title_description"]%>: | "> |
| <%=LANG["str_gateway_failover"]%>: | ><%=LANG["str_yes"]%> (<%=LANG["str_failover_tip"]%>) |
| <%=LANG["str_gateway_singleip"]%>: | ><%=LANG["str_yes"]%> |
| <% if _GET["host"] ~= nil then %> <% else %> <% end %> | |