view = $path["view"] . "fusion.php"; $s = "SELECT DISTINCT target " . "FROM fusion " . "ORDER BY target_stars DESC; "; $q = $this->db->query($s); while ($r = $q->fetchArray(SQLITE3_ASSOC)){ array_push($this->fusion, new Fusion($this->db, $r["target"])); } $s = "SELECT id " . "FROM monster_collection " . "WHERE level <> 0 " . "ORDER BY " . " stars DESC, " . " level DESC; "; $q = $this->db->query($s); while ($r = $q->fetchArray(SQLITE3_ASSOC)){ array_push($this->collection, new Monster_Collection($this->db, $r["id"])); } $this->title = ""; $this->name = ""; $this->description = ""; $this->favicon = ""; $this->icon = ""; $this->canonical = $root . "fusion/"; $this->author = $root; } } ?>