check($this->queryParam("to") . "/"); if (OPENVK_ROOT_CONF["openvk"]["preferences"]["susLinks"]["warnings"]) { if (sizeof($checkBanEntries) > 0) { $this->pass("openvk!Away->view", $checkBanEntries[0]); } } header("HTTP/1.0 302 Found"); header("X-Robots-Tag: noindex, nofollow, noarchive"); header("Location: " . $this->queryParam("to")); exit; } public function renderView(int $lid) { $this->template->link = (new BannedLinks())->get($lid); if (!$this->template->link) { $this->notFound(); } $this->template->to = $this->queryParam("to"); } }