From e148a8f38f9d6014d280fc19026c1732977d7298 Mon Sep 17 00:00:00 2001 From: Juthatip McDevitt Date: Mon, 17 Jun 2024 11:42:13 -0500 Subject: [PATCH] updated contact page and connect with backrnd --- hotel_booking/components/header.php | 4 ++ hotel_booking/contact.php | 103 +++++++++++++++++++++++++--- 2 files changed, 97 insertions(+), 10 deletions(-) diff --git a/hotel_booking/components/header.php b/hotel_booking/components/header.php index 579740c..0260fab 100644 --- a/hotel_booking/components/header.php +++ b/hotel_booking/components/header.php @@ -1,3 +1,7 @@ +
diff --git a/hotel_booking/contact.php b/hotel_booking/contact.php index 2836ceb..4a45182 100644 --- a/hotel_booking/contact.php +++ b/hotel_booking/contact.php @@ -123,6 +123,7 @@ transform: rotate(180deg); } + @media (max-width:980px) { .contact-container{ flex-direction: column; @@ -157,7 +158,58 @@ .accordion-header{ font-size: 20px; } + .contact-form-title{ + margin-top: 0px; + } } + input[type=text], input[type=email], select, textarea { + display: inline-block; + box-sizing: border-box; + vertical-align: top; + width: 100%; + height: 30px; + margin-bottom: 10px; + padding: 20px 0px 20px 10px; + color: #333; + text-align: left; + border: 1px solid #747264; + background-color: #F6F4F3; + border-radius: 4px; + background-clip: padding-box; + outline: none; + resize: none; + } + + input[type=submit] { + border: 1px solid #747264; + background-color: #F6F4F3; + border-radius: 4px; + color: black; + cursor: pointer; + display: inline-block; + width: 100%; + text-align: center; + white-space: nowrap; + padding: 10px 15px 10px; + } + input[type=submit]:hover{ + background-color: #747264; + color: white; + transition: all 0.5s ease; + } + .contact-form-container { + max-width: 910px; + margin: 30px 20px 50px 20px; + background-color: #fff; + padding: 20px; + border: 1px solid #747264; + } + .contact-form-title{ + margin-top: 100px; + padding-bottom: 10px; + text-align: center;" + } + @@ -171,12 +223,18 @@
+

Address

Midtown Hotel

-

36381 Trantow Hill, New Port, FL 57941

+ +

@@ -204,11 +262,11 @@

Phone

-

+1 (123) 456-7891

+

Email

-

accombooking@midtownhotel.com

+

@@ -229,11 +287,11 @@

Phone

-

+1 (123) 456-7892

+

Email

-

reservationsg@midtownhotel.com

+

@@ -254,11 +312,11 @@

Phone

-

+1 (123) 456-7890

+

Email

-

reception@midtownhotel.com

+

@@ -279,15 +337,26 @@

Hotel Manager

-

Fakey McFaker

+ + +

$row[name]

+
+ data; + } + ?>

Phone

-

+1 (123) 456-7899

+

Email

-

officmanager@midtownhotel.com

+

@@ -295,6 +364,20 @@ +
+

Contact Form

+

Can't find the contact and information you're looking for? Write to us via this quick form.

+
+
+ + + + + +
+
+
+