view = $path["view"] . "fusion.php"; $s = "SELECT DISTINCT target " . "FROM fusion " . "ORDER BY target_stars DESC; "; $q = mysqli_query($this->db, $s); while ($r = mysqli_fetch_array($q)){ 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 = mysqli_query($this->db, $s); while ($r = mysqli_fetch_array($q)){ 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 . "/fusion/"; } } ?>