view = $path["view"] . "profile.php"; $s = "SELECT id " . "FROM cv " . "WHERE visible = 1 " . "ORDER BY lang = '" . $this->lang . "' DESC;"; $q = mysqli_query($this->db, $s); while($r = mysqli_fetch_array($q)){ array_push($this->cv, new Cv($this->db, $r["id"])); } $this->title = text($this, "USER_NAME"); $this->description = text($this, "SECTION_ME") . " - " . text($this, "USER_NAME"); $this->canonical = $base_url . "/profile/"; } } ?>