-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact.php
136 lines (135 loc) · 4.58 KB
/
contact.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
/>
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD"
crossorigin="anonymous"
/>
<script
defer
src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"
integrity="sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB+EYdgRZgiwxhTBTkF7CXvN"
crossorigin="anonymous"
></script>
<link
rel="icon"
type="image/x-icon"
href="/src/fitnesslab-favicon-dark.png"
/>
<link rel="stylesheet" href="styles/style.css" />
<style>
input {
background-color: black;
}
.social > a {
color: white;
margin: 1.5em;
}
</style>
<title>Contact us</title>
</head>
<body>
<!--NavBar-->
<nav class="navbar navbar-expand-lg" data-bs-theme="dark">
<div class="container-fluid">
<a class="navbar-brand" href="index.html">
<img
src="src/FitnessLab-logo-noBg-white.png"
alt="logo"
height="60"
width="70"
/>
</a>
<button
class="navbar-toggler"
type="button"
data-bs-toggle="collapse"
data-bs-target="#navbarNavAltMarkup"
aria-controls="navbarNavAltMarkup"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavAltMarkup">
<div class="navbar-nav ms-auto">
<a class="nav-link" href="index.html">Home</a>
<a class="nav-link" href="training.php">Training Plans</a>
<a class="nav-link" href="health.php">Health</a>
<a
class="nav-link"
href="contact.php"
style="
border-radius: 25px;
border: rgba(255, 255, 255, 0.637);
background-color: rgba(255, 255, 255, 0.637);
color: black;
"
>Contact</a
>
<a class="nav-link" href="questionnaire.php">Questionnaire</a>
<a class="nav-link" href="funpage.html">Game</a>
</div>
</div>
</div>
</nav>
<!--body-->
<div class="container">
<p class="display-6 text-center mb-5">Contact us</p>
<div class="row">
<div class="col-lg-6 mx-auto text-center">
<form
action="<?php echo htmlspecialchars($_SERVER['PHP_SELF']);?>"
method="POST"
enctype="application/x-www-form-urlencoded"
>
<div class="form-outline mb-3">
<input class="form-control" type="text" placeholder="Name" name="name"/>
</div>
<div class="form-outline mb-3">
<input class="form-control" type="email" placeholder="Email" name="email"/>
</div>
<div class="from-outline mb3">
<textarea
name="body"
id="body"
class="form-control"
placeholder="Tell Us"
rows="4"
></textarea>
</div>
<input
type="hidden"
value="Hello FitnessLab 👋"
name="subject"
id="subject"
/>
<button type="submit" class="btn btn-light w-100 mt-3">Send</button>
</form>
<?php include 'php/contact/contact_from.php' ?>
</div>
</div>
<div class="row mt-5">
<div class="col-auto mx-auto text-center">
<p class="display-6">You can also find us on</p>
<div class="social m-auto">
<a href="#"><i class="fa-brands fa-instagram fa-2x"></i></a>
<a href="#"><i class="fa-brands fa-twitter fa-2x"></i></a>
<a href="#"><i class="fa-brands fa-facebook fa-2x"></i></a>
<a href="#"><i class="fa-brands fa-snapchat fa-2x"></i></a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>