diff --git a/app/includes/footer.php b/app/includes/footer.php new file mode 100644 index 0000000..42083e2 --- /dev/null +++ b/app/includes/footer.php @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + '; + } +} \ No newline at end of file diff --git a/app/includes/header.php b/app/includes/header.php new file mode 100644 index 0000000..5c51605 --- /dev/null +++ b/app/includes/header.php @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + ByteCenter + + + + + +
+
+
'; + } +} diff --git a/app/includes/modal.php b/app/includes/modal.php new file mode 100644 index 0000000..d936299 --- /dev/null +++ b/app/includes/modal.php @@ -0,0 +1,58 @@ + \ No newline at end of file diff --git a/app/includes/navBar.php b/app/includes/navBar.php new file mode 100644 index 0000000..f6109f4 --- /dev/null +++ b/app/includes/navBar.php @@ -0,0 +1,89 @@ + + + +header = new Header(); + $this->footer = new Footer(); + } + + // Setea el body obtenido por pageController + + public function setBody($html) { + $this->body = $html; + } + + // Retorna layout HTML + + public function getHTML() { + $page = $this->header->render(); + $page .= $this->body; + $page .= $this->footer->render(); + return $page; + } +} + +?> \ No newline at end of file