template = $path["template"] . "blog.php"; $s = "SELECT id " . "FROM post " . "WHERE visible = 1 " . "ORDER BY dtime DESC;"; $q = mysqli_query($this->db, $s); while($r = mysqli_fetch_array($q)){ array_push($this->post, new Post($this->db, $this->lang, $r["id"])); } $this->title = $this->string["section_blog"] . " - " . $data["name"]; $this->description = $this->string["section_blog"] . " - " . $data["name"]; $this->canonical = $base_url . "/blog/"; } } ?>