forked from Darwinsuuuu/leggotravel
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact.php
More file actions
125 lines (85 loc) · 3.74 KB
/
contact.php
File metadata and controls
125 lines (85 loc) · 3.74 KB
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
<!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">
<title>Contact • LeggoTravel</title>
<link rel="icon" href="style/resources/logo_orange_black.png">
<!-- fontawesome -->
<script src="https://kit.fontawesome.com/674b5b9445.js" crossorigin="anonymous"></script>
<!-- bootstrap -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<!-- styling -->
<link rel="stylesheet" href="style/index.css">
<link rel="stylesheet" href="style/contact.css">
</head>
<body>
<nav class="navagation-other">
<a href="index.php" class="banner-wrapper">
<div class="banner-flex-logo">
<p class="text-danger">Leggo</p><i class="fab fa-telegram orange"></i><p class="text-danger">travel</p>
</div>
</a>
<ul class="">
<li>
<a href="index.php">home</a>
</li>
<li>
<a href="adventures.php">adventures</a>
</li>
<li>
<a href="blogs.php">blogs</a>
</li>
<li>
<a href="#" class="active">contact us</a>
</li>
<li>
<a href="about.php">about</a>
</li>
<?php
session_start();
if(!isset($_SESSION["id"])) {
echo "<li>".
"<a href='login.php'>Login</a>".
"</li>";
} else {
echo "<li>".
"<a href='db/db_logout_user.php'>Logout</a>".
"</li>";
}
?>
</ul>
</nav>
<div class="wrapper-contact">
<h3 class="poppins">Contact Form</h3>
<form action="db/db_email_contact.php" class="mt-2" method="POST">
<div class="form-group">
<label for="" class="form-label">Email Address</label>
<input type="text" name="getEmail" class="form-control">
</div>
<div class="form-group mt-2">
<label for="" class="form-label">Full Name</label>
<input type="text" name="name" class="form-control">
</div>
<div class="form-group mt-2">
<label for="" class="form-label">Subject</label>
<input type="text" name="getSubject" class="form-control">
</div>
<div class="form-group mt-2">
<label for="" class="form-label">Message</label>
<textarea name="getConcern" id="getConcern" rows="10" class="form-control"></textarea>
</div>
<div class="form-group mt-2">
<button type="submit" class="btn btn-success w-100 p-2" name="submit_contact">Submit message</button>
</div>
</form>
</div>
<!-- jquery cdn -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js" integrity="sha512-894YE6QWD5I59HgZOGReFYm4dnWc1Qt5NtvYSaNcOP+u1T9qYdvdihz0PPSiiqn/+/3e7Jo4EaG7TubfWGUrMQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<!-- bootstrap script -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
<!-- custom js -->
<script src="js/index.js"></script>
</body>
</html>