-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact.html
executable file
·112 lines (89 loc) · 3.37 KB
/
contact.html
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
<!DOCTYPE html>
<html>
<head>
<title>Melanie Jane | Contact</title>
<!-- Meta Zone -->
<meta charset="utf-8">
<meta name="description" content="Melanie Yarbrough, designer and illustrator" />
<meta name="keywords" content="Melanie Yarbrough, designer and illustrator">
<meta name="robots" content="index, follow, all" />
<meta name="author" content="Melanie Yarbrough">
<meta name="publisher" content="Melanie Yarbrough">
<meta name="google" content="notranslate" />
<!-- Viewport -->
<meta name="viewport" content="initial-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="apple-mobile-web-app-title" content="Jordan Mike">
<!-- Favicon -->
<link rel="shortcut icon" type="image/png" href="img/favicon.png"/>
<!-- CSS Stylesheets -->
<link rel="stylesheet" href="css/style.css">
<!-- Font -->
<link href='https://fonts.googleapis.com/css?family=Roboto:400,700,300' rel='stylesheet' type='text/css'>
<!-- Javascript -->
<script type="text/javascript" src="js/main.js"></script>
</head>
<body id="page">
<header>
<div id="wrap">
<a href="index.html" title="Home"><img class="logo" src="img/logo.png" alt="Logo"/></a>
<nav id="nav">
<ul>
<li><a href="index.html" title="Home">Home</a></li>
<li><a href="menu.html" title="Menu">Menu</a></li>
<li><a href="gallery.html" title="Gallery">Gallery</a></li>
<li><a class="selected" href="contact.html" title="Contact">Contact</a></li>
<li><a href="https://www.instagram.com/melaniejanestudio" title="Instagram" target="_blank"/><img class="instagram-header-icon" src="img/instagram-header-icon.png" alt="Instagram Icon"></a></li>
</ul>
</nav>
</div>
</header>
<div class="hero-image-contact">
</div>
<div class="main">
<?php
$action=$_REQUEST['action'];
if ($action=="")
{
?>
<form action="" method="POST" enctype="multipart/form-data">
<p>I am available for freelance work and collaborations. I'd love to hear from you!</p>
<input type="hidden" name="action" value="submit">
<input name="name" type="text" value="" size="30" placeholder="First and Last Name"/><br>
<input name="email" type="text" value="" size="30" placeholder="Email"/><br>
<input name="subject" type="text" value="" size="30" placeholder="Subject"/><br>
<textarea name="message" rows="7" cols="30" placeholder="Message"></textarea><br>
<input type="submit" value="Send"/>
</form>
<!--
<?php
}
else
{
$name=$_REQUEST['name'];
$email=$_REQUEST['email'];
$subject=$_REQUEST['subject'];
$message=$_REQUEST['message'];
if (($name=="")||($email=="")||($phone=="")||($message==""))
{
echo "<p>Lorem ipsum dolar</br>sit amet, consectetuer </p>";
}
else{
$from="From: $name<$email>\r\nReturn-path: $email";
$subject="$subject";
mail("melaniejanestudio@gmail.com", $subject,
"$message
From: $name
E-mail: $email", $from);
echo "<p>Lorem ipsum dolar</br>sit amet, consectetuer </p>";
}
}
?> -->
</div>
</div>
<footer>
<p>© 2017 Melanie Yarbrough</p>
</footer>
</body>
</html>