-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
244 lines (201 loc) · 9.23 KB
/
index.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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
<?php
/**
* Portfolio of Projects
*
* Portfolio site built to showcase web design and development projects I have completed,
* housed in a responsive website with as many bells and whistles as I could pack in.
* Main purpose is to educate myself and display finished and ongoing projects.
* Inspiration for particular design by {@link http://html5up.net}
*
* @category Bailey-Ann
* @package Portfolio
* @access public
* @author Bailey-Ann <[email protected]>
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
* @link http://bailey-ann.codes
*/
require_once "./include/fgcontactform.php";
$formproc = new FGContactForm();
$formproc->AddRecipient('[email protected]');
$formproc->SetFormRandomKey('GXrGOWCDR2bsruX');
if (isset($_POST['submitted'])) {
if ($formproc->ProcessForm()) {
$formproc->RedirectToURL("thank-you.html#contact");
}
}
?>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Portfolio | Bailey-Ann Slaughter</title>
<link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="css/skel-noscript.css" />
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/style-wide.css" />
<script src="js/jquery.min.js"></script>
<script src="js/skel.min.js"></script>
<script src="js/skel-panels.min.js"></script>
<script src="js/init.js"></script>
<script src="js/gen_validatorv4.js"></script>
<!--[if lte IE 8]><script src="js/html5shiv.js"></script><![endif]-->
<!--[if lte IE 9]><link rel="stylesheet" href="css/ie9.css" /><![endif]-->
<!--[if lte IE 8]><link rel="stylesheet" href="css/ie8.css" /><![endif]-->
</head>
<body>
<div id="header" class="skel-panels-fixed">
<div class="top">
<div id="logo">
<span class="image avatar200"><img src="images/avatar.jpg" alt="Smiley Face!" /></span><br>
<h1 id="name">Bailey-Ann Slaughter</h1>
<span class="byline">Academic: CS & Physics<br><br>Self-Driven: Web Design</span>
</div>
<nav id="nav">
<ul>
<li><a href="#top" id="top-link" class="skel-panels-ignoreHref"><span class="fa fa-home">Intro</span></a></li>
<li><a href="#portfolio" id="portfolio-link" class="skel-panels-ignoreHref"><span class="fa fa-th">Portfolio</span></a></li>
<li><a href="#about" id="about-link" class="skel-panels-ignoreHref"><span class="fa fa-user">About Me</span></a></li>
<li><a href="#contact" id="contact-link" class="skel-panels-ignoreHref"><span class="fa fa-envelope">Contact</span></a></li>
</ul>
</nav>
</div>
<div class="bottom">
<ul class="icons">
<li><a href="https://www.linkedin.com/in/baileyanns" class="fa fa-linkedin solo" target="_blank"><span>LinkedIn</span></a></li>
<li><a href="https://www.facebook.com/baileyanns" class="fa fa-facebook solo" target="_blank"><span>Facebook</span></a></li>
<li><a href="http://instagram.com/baileyanns" class="fa fa-instagram solo" target="_blank"><span>Instagram</span></a></li>
<li><a href="http://www.pinterest.com/baileyannsl" class="fa fa-pinterest solo" target="_blank"><span>Pinterest</span></a></li>
<li><a href="https://www.github.com/bailey-ann/" class="fa fa-github solo" target="_blank"><span>Github</span></a></li>
</ul>
</div>
</div>
<div id="main">
<section id="top" class="one">
<div class="container">
<a class="image featured"><img src="images/header.png" alt="Featured Picture" /></a>
<header>
<h2 class="alt"><strong><u>One-Page Portfolio</u></strong><br><br>
<p>More showcase, less tell.<br>
<p>First attempt at a <strong>responsive</strong> design.<br> Good size for a portfolio.</h2>
<p>Some day I'll be as responsive as a <strong>Ninja</strong></p>
</header>
<footer><a href="https://www.scribd.com/doc/248992239/B-Slaughter-Resume#fullscreen=1" target="_blank" class="button scrolly">Résumé (Scribd)</a></footer>
</div>
</section>
<section id="portfolio" class="two">
<div class="container">
<header><h2 id="portfolioTitle">Portfolio</h2></header>
<p>
<strong>University:</strong> Programming theory, functional programming in Scheme/Racket, Python, and Java<br>
<strong>Work:</strong> Data acquisition and equipment automation in MATLAB<br>
<strong>Personal:</strong> 100% self-taught in web design and development, graphic design, CS6 experience
</p>
<div class="row">
<div class="4u">
<article class="item">
<a href="#" target="_blank" class="image full"><img src="images/drawings.png" alt="Drawings" /></a>
<header><h3>Drawings</h3></header>
</article>
<article class="item">
<a href="#" target="_blank" class="image full"><img src="images/htmlcss.png" alt="Web Coding" /></a>
<header>
<h3>HTML & CSS</h3>
</header>
</article>
</div>
<div class="4u">
<article class="item">
<a href="http://www.flickr.com/photos/bailey-ann" target="_blank" class="image full"><img src="images/flickr.png" alt="Flickr" /></a>
<header>
<h3>Photography </h3>
</header>
</article>
<article class="item">
<a href="https://github.com/bailey-ann" target="_blank" class="image full"><img src="images/github.png" alt="Github" /></a>
<header>
<h3>Github</h3>
</header>
</article>
</div>
<div class="4u">
<article class="item">
<a href="http://eepurl.com/SOLvj" target="_blank" class="image full"><img src="images/email.png" alt="Newsletters" /></a>
<header>
<h3>Mock Newsletter</h3>
</header>
</article>
<article class="item">
<a href="http://ba-codes.tumblr.com/" target="_blank" class="image full"><img src="images/tumblr.png" alt="Tumblr" /></a>
<header>
<h3>Blog</h3>
</header>
</article>
</div>
</div>
</div>
</section>
<section id="about" class="three">
<div class="container">
<header><h2 id="aboutmeTitle">About Me</h2></header>
<a class="image featured"><img src="images/about-me.jpg" alt="About-Me Featured" /></a>
<p>
Pursuing a <strong>Bachlor of Science</strong> in <strong>Computer Science</strong>, and a <strong>Minor</strong> in <strong>Physics</strong>.<br>
Strong personal interest in <strong>Web Design & Development</strong>,<br>
Also love ice cream, stand-up comedy, traveling, music festivals, and knowing the unknown.<br><br>
<i><strong>"I don't want to write articles; I want to do things people write articles about."</strong> - Mike Birbiglia</i>
</p>
</div>
</section>
<section id="contact" class="four">
<div class="container">
<header><h2 id="contactTitle">Contact</h2></header>
<form id='contactme' action='<?php echo $formproc->GetSelfScript(); ?>' method='post' accept-charset='UTF-8'>
<fieldset>
<input type='hidden' name='submitted' id='submitted' value='1'/>
<input type='hidden' name='<?php echo $formproc->GetFormIDInputName(); ?>' value='<?php echo $formproc->GetFormIDInputValue(); ?>'/>
<input type='hidden' name='<?php echo $formproc->GetFormIDInputName(); ?>' value='<?php echo $formproc->GetFormIDInputValue(); ?>'/>
<div class='short_explanation'>Say Hi, I also love jokes!<br>(All fields are required to submit).</div>
<div><span class='error'><?php echo $formproc->GetErrorMessage(); ?></span></div>
<div class="row half">
<div class="6u container">
<input type='text' class='text' name='name' value='<?php echo $formproc->SafeDisplay('name') ?>' placeholder="Name" /><br>
<span id='contactme_name_errorloc' class='error'></span>
</div>
<div class="6u container">
<input type='text' class='text' name='email' value='<?php echo $formproc->SafeDisplay('email') ?>' placeholder="Email" /><br>
<span id='contactme_email_errorloc' class='error'></span>
</div>
</div>
<div class="row half">
<div class="12u container">
<span id='contactme_message_errorloc' class='error'></span>
<textarea name='message' placeholder="Message"><?php echo $formproc->SafeDisplay('message') ?></textarea>
</div>
</div>
<div class="row">
<div class="12u container">
<input type='submit' class='button submit' name='Submit' value='Submit' />
</div>
</div>
</fieldset>
</form>
<script type='text/javascript'>
var frmvalidator = new Validator("contactme");
frmvalidator.EnableOnPageErrorDisplay();
frmvalidator.EnableMsgsTogether();
frmvalidator.addValidation("name","req","Please provide your Name.");
frmvalidator.addValidation("email","req", "Please provide your Email Address.");
frmvalidator.addValidation("email","email", "Please provide a Valid Email Address.");
frmvalidator.addValidation("message","maxlen=2048", "The message cannot exceed 2KB.");
</script>
</div>
</section>
</div>
<div id="footer">
<div class="copyright"><p>Bailey-Ann Slaughter</p></div>
<ul class="menu">
<li>Updated: <time datetime="2014-12-02">2 December 2014</time></li>
</ul>
</div>
</body>
</html>