view = $path["view"] . "catalog.php"; $s = "SELECT DISTINCT type FROM monster;"; $q = $this->db->query($s); while ($r = $q->fetchArray(SQLITE3_ASSOC)){ array_push($this->types, $r["type"]); } $this->title = "Catalog - SWDB"; $this->name = "SWDB"; $this->description = "Catalog of all monsters"; $this->favicon = ""; $this->icon = ""; $this->canonical = $root . "catalog/"; $this->author = $root; } } ?>