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)){ $c = new Cv($this->db, $r["id"]); array_push($this->cv, $c); if ($c->lang == $this->lang){ $this->main_cv = $c; } else{ array_push($this->other_cv, $c); } } $this->title = text($this, "USER_NAME"); $this->description = text($this, "SECTION_ME") . " - " . text($this, "USER_NAME"); $this->canonical = $base_url . "/profile/"; } } ?>