";
$sql = "SELECT text FROM projects";
$result = $this->db->query($sql);
while ($entry = $result->fetch_object()) {
- echo "
";
echo $entry->text;
- echo "
";
}
+ echo "
";
}
private function list_projects() {
@@ -244,6 +240,24 @@ class page extends cms {
public function __construct() {
parent::__construct();
$this->page_offset();
+ $this->scripts = "
+
+
+