% local ver = require("xiaoqiang.XQVersion").webVersion local XQSysUtil = require "xiaoqiang.util.XQSysUtil" -- local XQSecureUtil = require "xiaoqiang.util.XQSecureUtil" if not XQSysUtil.getInitInfo() then luci.http.redirect(luci.dispatcher.build_url("web", "init","hello")) end local router_name = XQSysUtil.getRouterName() or "小米路由器" local isBinded = (XQSysUtil.getPassportBindInfo() and 'true') or 'false' local logType = 1 if logtype then logType = tonumber(logtype) or 1 end local remote_addr = luci.http.getenv("REMOTE_ADDR") local mac = luci.sys.net.ip4mac(remote_addr) -- local xmLoginUrl = XQSecureUtil.passportLoginUrl() %> <%include ("web/inc/head")%>