diff --git a/Profice WebSite/scripts/add/send.php b/Profice WebSite/scripts/add/send.php index 77c2773..cd21c51 100644 --- a/Profice WebSite/scripts/add/send.php +++ b/Profice WebSite/scripts/add/send.php @@ -533,6 +533,7 @@ function handleContactForm($data) { 'name' => sanitizeInput($data['name']), 'organisation' => sanitizeInput($data['organisation'] ?? ''), 'contact' => sanitizeInput($data['contact']), + 'phone' => sanitizeInput($data['phone'] ?? ''), 'service' => sanitizeInput($data['service'] ?? ''), 'budget' => sanitizeInput($data['budget'] ?? ''), 'description' => sanitizeInput($data['description'] ?? ''), diff --git a/Profice WebSite/scripts/script.js b/Profice WebSite/scripts/script.js index b595ebd..0efef97 100644 --- a/Profice WebSite/scripts/script.js +++ b/Profice WebSite/scripts/script.js @@ -283,6 +283,7 @@ document.addEventListener("DOMContentLoaded", function() { name: getValue('name'), organisation: getValue('organisation'), contact: getValue('contact'), + phone: getValue('phone'), service: getValue('service'), budget: getValue('budget'), description: getValue('description') diff --git a/Profice WebSite/sites/offers.html b/Profice WebSite/sites/offers.html index 5b45dd9..73b1f0e 100644 --- a/Profice WebSite/sites/offers.html +++ b/Profice WebSite/sites/offers.html @@ -239,15 +239,21 @@
- - + +
- -
- - + +
+
+ + +
+
+ + +
@@ -270,8 +276,8 @@
- - + +