-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathobms.php
More file actions
365 lines (300 loc) · 12.5 KB
/
obms.php
File metadata and controls
365 lines (300 loc) · 12.5 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
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
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
<?php
if($_POST["submit"]) {
$recipient="katelynistoll@gmail.com";
$subject="New Entry for OBMS Mailing List!";
$firstname=$_POST["firstname"];
$lastname=$_POST["lastname"];
$emailaddress=$_POST["emailaddress"];
$street=$_POST["street"];
$city=$_POST["city"];
$state=$_POST["state"];
$zipcode=$_POST["zipcode"];
$phone=$_POST["phone"];
$mailBody=
"First Name: $firstname\n
Last Name: $lastname\n
Email: $emailaddress\n
Street: $street\n
City: $city\n
State: $state\n
Zip Code: $zipcode\n
Phone: $phone";
mail($recipient, $subject, $mailBody, "From: NewEntry");
$thankYou="<p>Thank you for signing up for our mailing list!</p>";
}
?>
<!doctype HTML>
<html>
<head>
<title>OBMS</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="styles/base.css">
<link href='http://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'>
<script type="text/javascript" src="obms.js"></script>
<script src="http://code.jquery.com/jquery-1.11.3.min.js"></script>
<script>
$(document).ready(function(){
$('#imageGallery a').on('click', function(){
$('#placeholder').attr('src', this.href );
$('#description').html(this.title );
return false;
});
});
</script>
</head>
<body>
<div id="navigation">
<span id="thankyou" style="font-size: 2.5em; position: absolute; top: 13px; left: 200px; background-color: #a1c7fc; border: 2px solid #002147; font-style: italic;"> <?=$thankYou ?> </span>
<a href="obms.php"><img src="img/OBMSLogo-nowhite.png" alt="logo"></a>
<h1>Oyster Bay Marine Supply</h1>
<nav>
<ul>
<li><a href="obms.php">Home</a></li>
<li><a href="#products">Products</a></li>
<li><a href="#clubs">Clubs</a></li>
<li><a href="#photos">Photos</a></li>
<li><a href="#signup" id="hover" onLoad="showHover('subFeed',0)" onMouseOver="showHover('subFeed',1)" onMouseOut="showHover('subFeed',0)">Sign Up</a></li>
<li><a href="mailto:obmarinesupply@verizon.net">Contact</a></li>
</ul>
</nav>
<span id="subFeed">
Sign up to receive<br>our mailing list!
</span>
</div> <!--navigation-->
<div class="wrapper">
<!---HOME START-->
<div id="home">
<table>
<tr><td>
<img src="img/OBMS_storefront.jpg" alt="storefront" width="480px"></td>
<td><p>
<span class="address">294 South Street<br>
Oyster Bay, NY 11771<br>
<a href="javascript:" onclick="window.open('https://www.google.com/maps/place/Oyster+Bay+Marine+Supply/@40.866222,-73.532129,17z/data=!3m1!4b1!4m2!3m1!1s0x0:0x4cc3dff19e71fc93');" target="_blank">Get Directions</a>
</span>
<br><br>
(516) 922 - 8010<br><br>
Monday-Friday: 9:00AM - 5:30PM<br>
Saturday: 9:00AM - 5:00PM<br>
Sunday: 9:00AM - 4:00PM<br><br>
<span class="social">
<a href="javascript:" onclick="window.open('https://www.facebook.com/pages/Oyster-Bay-Marine-Supply/150879151604437');" target="_blank">Like us on Facebook!</a><br>
<a href="javascript:" onclick="window.open('https://twitter.com/oysterbaymarine');" target="_blank">Follow us on Twitter!</a><br>
<a href="javascript:" onclick="window.open('https://instagram.com/obmarinesupply/');" target="_blank">Follow us on Instagram!</a>
</span></p></td>
</tr>
</table>
</div> <!--home-->
<div id="about">
<h2>About Us</h2>
<p> Open since 1986, Oyster Bay Marine Supply is committed to providing all necessary equipment for a variety of outdoor marine activities. From fishing and clamming to water skiing and tubing, we have everything you'll need for a great day out on the water!</p>
<blockquote>"We're here for all of your boating needs!"</blockquote>
</div> <!--about-->
<!---PRODUCTS START-->
<div id="products">
<h2>Products</h2>
<div class="pic">
<img src="img/poles.jpg" alt="Poles and Reels">
<ul>
<li class="title">Poles and Reels</li>
</ul></div>
<div class="pic">
<img src="img/tackle.jpg" alt="Fishing Tackle">
<ul>
<li class="title">Fishing Tackle</li>
</ul>
</div>
<div class="pic">
<img src="img/bunker.jpg" alt="Fresh Bunker">
<ul>
<li class="title">Fresh and Frozen Bait</li>
</ul>
</div>
<div class="pic">
<img src="img/lifevest.jpg" alt="Life Vests">
<ul>
<li class="title">Boating Supplies</li>
</ul>
</div>
<div class="pic">
<img src="img/safety.jpg" alt="Safety Equipment">
<ul>
<li class="title">Safety Equipment</li>
</ul>
</div>
<div class="pic">
<img src="img/trailer.jpg" alt="Boat Parts">
<ul>
<li class="title">Engine Maintenance Parts</li>
</ul>
</div>
<div class="pic">
<img src="img/boat.jpg" alt="Inflatable Boat">
<ul>
<li class="title">Mercury Inflatables</li>
</ul>
</div>
<div class="pic">
<img src="img/mooring.jpg" alt="Mooring Hardward">
<ul>
<li class="title">Mooring Hardware</li>
</ul>
</div>
<div class="pic">
<img src="img/sports.jpg" alt="Water Skiis">
<ul>
<li class="title">Water Sporting Goods</li>
</ul>
</div>
<div class="pic">
<img src="img/rain.jpg" alt="Rain Gear">
<ul>
<li class="title">Foul Weather Gear</li>
</ul>
</div>
</div> <!--products-->
<!---CLUBS START-->
<div id="clubs">
<h2>Clubs</h2>
<div><h4>OBMS Leader's Board</h4>
We keep track of the top ten fish for all species for the entire season, as well as all time records.<br><br>
Inquire in store to sign up or call (516) 922-8010!<br><br>
DOWNLOADS
<ul>
<li><a href="doc/2015standings.pdf">2015 Point Standings (Through 8/15)</a></li>
<li><a href="doc/2015derby.pdf">2015 Derby Schedule</a></li>
<li><a href="doc/2014standings.pdf">2014 Final Point Standings</a></li>
<li><a href="doc/2014derby.pdf">2014 Derby Schedule</a></li>
</ul><br>
<h4>Oyster Bay Anglers</h4>
Meets 1st Monday of Every Month<br>
Oyster Bay, NY 11771-0085<br>
(516) 922-5413</div>
</div> <!--clubs-->
<!---PHOTOS START-->
<div id="photos">
<h2>Photos</h2>
<div id="imageGallery">
<div class="pic">
<a href="img/img1.jpg" title="Store owner, Tom, and employee, Brett, show off their stripers after a successful fishing trip!"><img src="img/img1.jpg" alt="Men with Fish"></a>
</div>
<div class="pic">
<a href="img/img10.jpg" title="Posted on facebook with the caption:<br><br> 'Two happy customers!! Thanks OBMS!'"><img src="img/img10.jpg" alt="Kayakers"></a>
</div>
<div class="pic">
<a href="img/img2.jpg" title="Happy Birthday to Skipper the Dog.
<br><br>8 consecutive Employee of the Year Awards!"><img src="img/img2.jpg" alt="store dog"></a>
</div>
<div class="pic">
<a href="img/img3.jpg" title="OBMS represented at the New York Sportfishing Federation Show at the Freeport Recreation Center with special deals and discounts on merchandise!<br><br> Rods, reels, jackets, gloves, and more!"><img src="img/img3.jpg" alt="Trade Show"></a>
</div>
<div class="pic">
<a href="img/img4.jpg" title="The stage is set for the 28th Annual Oyster Bay Marine Supply Bluefish Tournament!"><img src="img/img4.jpg" alt="Stage"></a>
</div>
<div class="pic">
<a href="img/img5.jpg" title="Some raffle winners display their prizes."><img src="img/img5.jpg" alt="Raffle Winners"></a>
</div>
<div class="pic">
<a href="img/img6.jpg" title="The fishermen that brought in the Top 15 bluefish pose with their plaques."><img src="img/img6.jpg" alt="Winners"></a>
</div>
<div class="pic">
<a href="img/img7.jpg" title="1st Place Bluefish<br><br>15.48lbs.!!!!"><img src="img/img7.jpg" alt="Bluefish"></a>
</div>
<div class="pic">
<a href="img/img8.jpg" title="Some fishermen carrying in their bluefish."><img src="img/img8.jpg" alt="Fishermen"></a>
</div>
<div class="pic">
<a href="img/img9.jpg" title="Two boys comparing bluefish. Aw!!"><img src="img/img9.jpg" alt="Two Boys"></a>
</div>
</div> <!--imageGallery-->
<table>
<tr>
<td><p id="description"><br><br>CLICK<br> THROUGH<br> THE<br> IMAGES!</p></td>
<td><img id="placeholder" src="img/OBMS_storefront.jpg" alt="Placeholder"></td>
</tr>
</table>
</div> <!--photos-->
<!---SIGN UP START-->
<div id="signup">
<h2>Sign Up</h2>
<h3>to receive our mailing list!</h3>
<form name="signup1" method="post" action="obms.php" onSubmit='return validate()'>
<fieldset>
<legend><u>Note:</u> All fields are required.</legend>
<div class="formdata">
<table>
<tr><td><b>First Name:</b></td><td><input type=text name=firstname size=40></td></tr>
<tr><td><b>Last Name:</b></td><td><input type=text name=lastname size=40></td></tr>
<tr><td><b>Email Address:</b></td><td><input type=text name=emailaddress size=40></td></tr>
<tr><td><b>Street:</b></td><td><input type=text name=street size=40></td></tr>
<tr><td><b>City:</b></td><td><input type=text name=city size=40></td></tr>
<tr>
<td><b>State:</b></td>
<td><select name=state>
<option value="AL">Alabama</option>
<option value="AK">Alaska</option>
<option value="AZ">Arizona</option>
<option value="AR">Arkansas</option>
<option value="CA">California</option>
<option value="CO">Colorado</option>
<option value="CT">Connecticut</option>
<option value="DE">Delaware</option>
<option value="FL">Florida</option>
<option value="GA">Georgia</option>
<option value="HI">Hawaii</option>
<option value="ID">Idaho</option>
<option value="IL">Illinois</option>
<option value="IN">Indiana</option>
<option value="IA">Iowa</option>
<option value="KS">Kansas</option>
<option value="KY">Kentucky</option>
<option value="LA">Louisiana</option>
<option value="ME">Maine</option>
<option value="MD">Maryland</option>
<option value="MA">Massachusetts</option>
<option value="MI">Michigan</option>
<option value="MN">Minnesota</option>
<option value="MS">Mississippi</option>
<option value="MO">Missouri</option>
<option value="MT">Montana</option>
<option value="NE">Nebraska</option>
<option value="NV">Nevada</option>
<option value="NH">New Hampshire</option>
<option value="NJ">New Jersey</option>
<option value="NM">New Mexico</option>
<option value="NY" selected>New York</option>
<option value="NC">North Carolina</option>
<option value="ND">North Dakota</option>
<option value="OH">Ohio</option>
<option value="OK">Oklahoma</option>
<option value="OR">Oregon</option>
<option value="PA">Pennsylvania</option>
<option value="RI">Rhode Island</option>
<option value="SC">South Carolina</option>
<option value="SD">South DakoTennessee</option>
<option value="TX">Texas</option>
<option value="UT">Utah</option>
<option value="VT">Vermont</option>
<option value="VA">Virginia</option>
<option value="WA">Washington</option>
<option value="WV">West Virginia</option>
<option value="WI">Wisconsin</option>
<option value="WY">Wyoming</option>
</select>
</td>
</tr>
<tr><td><b>Zip Code:</b></td><td><input type=text name=zipcode size=40></td></tr>
<tr><td><b>Phone:</b></td><td><input type=text name=phone size=40></td></tr>
<tr>
<td></td>
<td><input type="submit" name="submit">
<input type=reset value='Clear All'></td>
</tr>
</table></div> <!--formdata-->
</fieldset>
</form>
</div> <!--signup-->
</div> <!--wrapper-->
</body>
</html>