action && $this->action != "index" ? bees_decrypt($this->action) : 0; $data = db("app_pack")->where("user_id", $this->userid)->where("id", $id)->json(["config"], true)->find(); $edit = $data && ($data["period"] < 1 || $data["period"] > time()); $time = $this->userid . "-" . time(); $data = $data ?: ["name" => "", "url" => "", "bundle_id" => "", "version" => "", "type" => 0, "config" => $this->configData]; $data["icon"] = $data["icon"] ?? $data["config"]["icon"] ?? ""; $data["launch"] = $data["launch"] ?? $data["config"]["launch"] ?? ""; $IN_WEBVIEWPOINTS = json_decode(IN_WEBVIEWPOINTS, true); $step = 1; include_once "webview_index.php"; } function createHtml() { Header("Content-type: application/octet-stream"); Header("Content-Disposition: attachment; filename=app1.html"); $_var_0 = SafeRequest("id", "get"); $_var_0 = is_numeric($_var_0) ? bees_encrypt($_var_0) : $_var_0; $_var_1 = bees_encrypt("https://" . $_SERVER["HTTP_HOST"] . "/index/webview_valid/verify?id=" . $_var_0); $_var_2 = "\r\n\r\n
\r\n \r\n