-
Notifications
You must be signed in to change notification settings - Fork 0
/
rsvp.php
101 lines (89 loc) · 3.28 KB
/
rsvp.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="user-scalable=yes width=device-width"/>
<link rel="stylesheet"
type="text/css"
href="weeding.css"/>
<link rel='stylesheet'
type='text/css'
href='http://fonts.googleapis.com/css?family=Playfair+Display:400,700,400italic,700italic|Open+Sans:400,700'/>
<link rel="icon"
type="image/png"
href="favicon.png"/>
<title> RSVP </title>
</head>
<body id="rsvp">
<header class="clearfix wrapper">
<div id="topnav" class="blue">
<ul>
<li>
<a href="index.html"><img src="images/home.png"/>HOME</a>
</li>
<li>
<a href="rsvp.php" class="active"><img src="images/rsvp.png"/>RSVP</a>
</li>
<li>
<a href="info.html"><img src="images/info.png"/>DETAILS</a>
</li>
</ul>
</div> <!-- END topnav -->
<div class="invert">
<div id="title">
<h1> Fred & Ginger </h1>
<h2> Répondez S'Il Vous Plait </h2>
</div> <!-- END Title -->
</div> <!-- END invert -->
</header>
<section id="respond" class="clearfix wrapper">
<?php include('form.php') ?>
<form method="post" action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]);?>">
<div class="info">
<h6> Kindly RSVP ASAP.</h6>
<br/>
<label for="name1"> Full Name(s): </label>
<span class="error"> <?php echo $nameErr ?> </span>
<br/>
<input type="text" name="name1" value="<?php echo $name1;?>" placeholder="Who is in your party?">
</div>
<div class="info">
<label for="email"> Email: </label>
<span class="error"> <?php echo $emailErr ?> </span>
<br/>
<input type="text" name="email" value="<?php echo $email;?>" placeholder="In case we need to contact you">
</div>
<div class="info">
<label for="attend" class="attend"> Will you be attending? </label>
<span class="error"> <?php echo $attendErr ?> </span>
<br/>
<input type="radio" name="attend"
<?php if (isset($attend) && $attend=="affirmative") echo "checked";?>
value="affirmative"><span class="input"> <span class="bold">YES!</span> We are looking forward to sharing in the celebration. </span>
<br/>
<input type="radio" name="attend"
<?php if (isset($attend) && $attend=="negative") echo "checked";?>
value="negative"><span class="input">
<span class="bold">No:</span> We regret that we cannot attend. </span>
</div>
<div class="info">
<label for="comment" class="playfair italic"> A message to the bride and groom: </label>
<br/>
<textarea name="comment"><?php echo $comment; ?></textarea>
</div>
<div class="info">
<input type="submit" name="submit" value="Répondez" class="submit">
</div>
<br/>
<?php echo $success;?>
</form>
<a class="attribution whitebg" href="http://www.sarahmadden.com/"> PHOTO: SARAH MADDEN </a>
</section>
<footer class="wrapper clearfix">
<div class="footbg">
<p class="left"> We are excited. We hope you can make it! </p>
<p class="right"> Website handmade by <a href="http://www.ajfarkas.com"> AJ</a>. Fixed by <a href="http://www.sarahmadden.com"> Sarah</a>.</p>
</div> <!-- END footbg -->
</footer>
</body>
</html>