function __construct(viewNavigation $Navigation) { global $phpbb_root_path, $phpEx; $this->Raids = new \bbdkp\controller\raids\Raids(); $this->PointsController = new \bbdkp\controller\points\PointsController(); $this->PointsController->guild_id = $Navigation->getGuildId(); $this->PointsController->query_by_pool = $Navigation->getQueryByPool(); $this->PointsController->dkpsys_id = $Navigation->getDkpsysId(); $this->PointsController->show_inactive = $Navigation->getShowAll(); $this->PointsController->query_by_armor = $Navigation->getQueryByArmor(); $this->PointsController->armor_filter = ''; if ($this->PointsController->query_by_armor) { $this->PointsController->armor_filter = $Navigation->getFilter(); } $this->PointsController->query_by_class = $Navigation->getQueryByClass(); $this->PointsController->class_id = 0; if ($this->PointsController->query_by_class) { $this->PointsController->class_id = $Navigation->getClassId(); } $this->PointsController->query_by_rank = false; $this->PointsController->rankfilter = ''; if (request_var('rank', '') != '') { $this->PointsController->query_by_rank = true; $this->PointsController->rankfilter = request_var('rank', ''); } $this->PointsController->member_filter = utf8_normalize_nfc(request_var('member_name', '', true)); $this->PointsController->query_by_name = false; if ($this->PointsController->member_filter != '') { $this->PointsController->query_by_name = true; } $this->start = request_var('start', 0, false); $this->u_listmemberdkp = append_sid("{$phpbb_root_path}dkp.{$phpEx}", 'page=standings' . '&guild_id=' . $Navigation->getGuildId() . '&' . URI_DKPSYS . '=' . $this->PointsController->dkpsys_id . '&member_name=' . urlencode($this->PointsController->member_filter)); $this->buildpage($Navigation); }