<% local ver = require "luci.version" local disp = require "luci.dispatcher" local remote_addr = luci.http.getenv_htmlencode("REMOTE_ADDR") local remote_mac = luci.sys.net.ip4mac(remote_addr) or "" local board_type = luci.util.get_sys_board() local tw = require "tw" local wifi_status,wifi_device,wifi_ifname,wifi_ssid,wifi_encryption,wifi_channel,wifi_mode = luci.util.get_wifi_device_status() local wan_ip = tw.get_wan_ip() if wan_ip == nil then wan_ip = "" end math.randomseed(os.time()) local random = math.random() local clinet_bind = luci.http.formvalue_htmlencode("clinet_bind") local guide_mode = luci.http.formvalue_htmlencode("guide_mode") local isshow = luci.http.formvalue_htmlencode("isshow") local net = require "hiwifi.net" local bridge_html = "" if net.get_wifi_bridge() then bridge_html = "无线中继 " end -%> <%+header%> <%if clinet_bind == "1" or clinet_bind == 1 then%> 验证通过跳转中... <% luci.http.close(); end %> <%if guide_mode == "1" or guide_mode == 1 then%> 跳转中... <% luci.http.close(); end %> <%+footer%>