view = $path["view"] . "projects.php"; $s = "SELECT id " . "FROM project " . "WHERE visible = 1 " . "ORDER BY idx;"; $q = mysqli_query($this->db, $s); while($r = mysqli_fetch_array($q)){ array_push($this->project, new Project($this->db, $this->lang, $r["id"])); } $this->title = text($this, "PROJECT_TITLE") . " - " . text($this, "USER_NAME"); $this->description = text($this, "PROJECT_DESCRIPTION"); $this->canonical = $base_url . "/project/"; } } ?>