From 3de5f5c079c3922d7f6df447e49cb4d1cd681369 Mon Sep 17 00:00:00 2001 From: Olu Amey Date: Thu, 12 Aug 2021 20:05:53 -0400 Subject: [PATCH] Added Contact logic --- app/Controllers/Contact.php | 19 +++++++++++++++ app/Views/merms-home.php | 46 ++++++++++++++++++++++++++++++++----- 2 files changed, 59 insertions(+), 6 deletions(-) create mode 100644 app/Controllers/Contact.php diff --git a/app/Controllers/Contact.php b/app/Controllers/Contact.php new file mode 100644 index 0000000..73287b3 --- /dev/null +++ b/app/Controllers/Contact.php @@ -0,0 +1,19 @@ +renderExtPage('developers', $data); + } + + public function formMessage(){ + $returnMsg ="
Message Recieved, wewill get back in touch to follow up
"; + echo $returnMsg ; + } + +} \ No newline at end of file diff --git a/app/Views/merms-home.php b/app/Views/merms-home.php index 3ff3344..977ff24 100644 --- a/app/Views/merms-home.php +++ b/app/Views/merms-home.php @@ -366,7 +366,8 @@

Contact Us

-
+ +
@@ -391,8 +392,7 @@ &$value) { - var_dump($ctr); - echo ""; + echo ""; } ?> @@ -416,9 +416,11 @@
.
-
-
- +
+
+
+ +
@@ -467,3 +469,35 @@
+ +