forked from aldaitzwild/php_claim_form_workshop
-
Notifications
You must be signed in to change notification settings - Fork 2
/
result.php
58 lines (47 loc) · 1.62 KB
/
result.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
<?php
$errors = [];
// TODO 3 - Get the data from the form and check for errors
if (!empty($errors)) {
require 'error.php';
die();
}
?>
<!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>Récapitulatif - Réclamation</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<header>
<h1>Nous traitons votre retour.</h1>
<img src="images/logo_dunder.png" alt="Logo Dunder Mifflin">
</header>
<main>
<div class="summary">
<!-- BONUS -->
<p>
<img src="images/placeholder.png" alt="">
<span>Votre vendeur</span>
</p>
<!-- TODO 2 - Replace those placeholders by the values sent from the form -->
<ul>
<li>Votre entreprise : <span>Dunder Mifflin</span></li>
<li>Votre nom : <span>Mickael Scott</span></li>
<li>Votre email : <span>[email protected]</span></li>
<li>Votre message :
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit.
Provident facere, tempora possimus aspernatur excepturi
incidunt dolores illo dicta similique harum mollitia enim
voluptates delectus? Repellendus inventore molestiae a
accusamus deleniti?
</p>
</li>
</ul>
</div>
</main>
</body>
</html>