-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact.php
More file actions
60 lines (60 loc) · 2.27 KB
/
Copy pathcontact.php
File metadata and controls
60 lines (60 loc) · 2.27 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
<?php
require_once ("includes/header.php");
?>
<link rel="stylesheet" href="contact.css">
<nav id="nav">
<ul id="navigation">
<li id="list"><a href="index.php">Home</a></li>
<li id="list"><a href="info.php">Information</a></li>
<li id="list"><a href="portfolio.php">Portfolio</a></li>
<li id="list"><a id="active" href="contact.php">Contact</a></li>
</ul>
</nav>
<main id="main">
<?php
if ($show_alert):
if ($status_value == "success"):
?>
<div id="success" class="alert alert-success">
<a href="#" class="close" data-dismiss="alert" aria-label="close">×</a>
<strong>Success!</strong> Submission sent successfully!
</div>
<?php
elseif ($status_value == "error"):
?>
<div id="error" class="alert alert-danger">
<a href="#" class="close" data-dismiss="alert" aria-label="close">×</a>
<strong>Error!</strong> There was an issue sending.
</div>
<?php
endif;
endif;
?>
<section id="information">
<p id="spacing"></p>
<form action="form.php" method="POST" id="contact-form">
<div id="title">
<p id="forced" for="name">KONTAKT MIG</p>
</div>
<div id="form-group">
<label id="forced" for="name">Navn:</label>
<input type="text" id="name" name="name" required autocomplete="off">
</div>
<div class="form-group">
<label id="offset" for="email">Email:</label>
<input type="email" id="email" name="email" required autocomplete="off">
</div>
<div class="form-group">
<label id="offset" for="message">Besked:</label>
<textarea id="message" name="message" rows="4" required autocomplete="off"></textarea>
</div>
<div id="form-group">
<button type="submit">Send</button>
</div>
</form>
</section>
</main>
<script src=""></script>
<script src="pageScroll.js"></script>
</body>
</html>