view = $path["view"] . "home.php"; $s_project = "SELECT id " . "FROM project " . "WHERE visible = 1 " . "ORDER BY idx DESC " . "LIMIT " . $this->max_projects . ";"; $q_project = mysqli_query($this->db, $s_project); while($r_project = mysqli_fetch_array($q_project)){ array_push($this->project, new Project($this->db, $this->lang, $r_project["id"])); } $this->title = text($this, "USER_NAME"); $this->description = text($this, "USER_NAME") . " - " . text($this, "USER_TAGLINE"); $this->canonical = $base_url . "/"; } } ?>