Repository navigation
Expand file tree
/
Copy pathabout.php
More file actions
281 lines (227 loc) · 14 KB
/
Copy pathabout.php
File metadata and controls
281 lines (227 loc) · 14 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
<?php
if(isset($_POST["message"])) {
$sender=$_POST["name"];
$email_subject="Potential Client: $sender";
$phone=$_POST["phone"];
$senderEmail=$_POST["email"];
$message=$_POST["message"];
// EDIT THE 2 LINES BELOW AS REQUIRED
$email_to = "frothman@rssslaw.com";
function died($error) {
// your error code can go here
echo "We are very sorry, but there were error(s) found with the form you submitted. ";
echo "These errors appear below.<br /><br />";
echo $error."<br /><br />";
echo "Please go back and fix these errors.<br /><br />";
die();
}
// validation expected data exists
if(!isset($sender) ||
!isset($phone) ||
!isset($senderEmail) ||
!isset($message)) {
died('We are sorry, but there appears to be a problem with the form you submitted.');
}
$error_message = "";
$email_exp = '/^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/';
if(!preg_match($email_exp,$senderEmail)) {
$error_message .= 'Whoops, the email address looks wrong.<br />';
}
$string_exp = "/^[A-Za-z .'-]+$/";
if(!preg_match($string_exp,$sender)) {
$error_message .= 'Whoa there, we think you misspelled your name.<br />';
}
if(strlen($message) < 2) {
$error_message .= 'Wow, that is a very short message. Can you write some more? <br />';
}
if(strlen($error_message) > 0) {
died($error_message);
}
$email_message = "Form details below.\n\n";
function clean_string($string) {
$bad = array("content-type","bcc:","to:","cc:","href");
return str_replace($bad,"",$string);
}
$email_message .= "Name: ".clean_string($sender)."\n";
$email_message .= "Email: ".clean_string($senderEmail)."\n";
$email_message .= "Phone: ".clean_string($phone)."\n";
$email_message .= "Message: ".clean_string($message)."\n";
// create email headers
$headers = 'From: '.$senderEmail."\r\n".
'Reply-To: '.$senderEmail."\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($email_to, $email_subject, $email_message, $headers);
header('Location: about.php');
?>
<?php
}
?>
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
<link href='http://fonts.googleapis.com/css?family=Arvo' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=EB+Garamond' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,700italic,700,300,400' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=PT+Sans' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Raleway:400,200,100,500,700' rel='stylesheet' type='text/css'>
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/gsap/latest/TweenMax.min.js"></script>
<script src="js/jquery.gsap.min.js"></script>
<script src="js/jquery.scrollmagic.min.js"></script>
<script src="https://maps.googleapis.com/maps/api/js"></script>
<script src="js/jquery.stellar.min.js"></script>
<script src="js/mainscript.js"></script>
<title>About Me | The Lower East Side Lawyer</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
</head>
<body>
<div id="background" class="desktop" data-stellar-background-ratio=".05">
</div>
<div class="consultation">
<div class="consultation-box">
<div class="close-button close-consult" id="close"></div>
<div class="consultation-form">
<div style="width:100%;text-align:center;">
<img src="images/rothman-logo-white.png" style="height:70px;">
</div>
<div style="color:white;font-size:30px;font-family:arvo;text-align:center;margin-top:10px;">
Let's make this a <span style="color:rgb(255,92,43);">fair fight</span>!
</div><br>
<div style="color:white;font-size:18px;font-family:montserrat;text-align:center;">
Please enter your contact information so we can reach you<br><br>
<form method="post">
<input class="textbox" type="text" name="name" placeholder="Name"><br>
<input class="textbox" type="email" name="email" placeholder="Email"><br>
<input class="textbox" type="tel" name="phone" placeholder="Phone Number"><br>
<textarea class="textbox-extended" name="message" rows="10" cols="30" placeholder="Message"></textarea><br>
<input class="submit-button close-consult" type="submit" value="Send">
</form>
</div>
</div>
</div>
</div>
<div id="container">
<div class="header" style="z-index:3;">
<div class="navbar">
<div class="upperbar">
<ul class="links mobile">
<li><a href="tel:+12125715500"><img src="images/phone.png" style="height:20px;width:20px;margin-top:15px;"></a></li>
<li><a href="mailto:frothman@rssslaw.com" ><img src="images/email.png" style="height:20px;width:28px;margin-top:15px;"></a></li>
<li><a class="openmap"><img id="shake" src="images/map.png" style="height:20px;width:20px;margin-top:15px;"></a></li>
<li><a class="openmenu"><img src="images/menu.png" style="height:20px;width:20px;margin-top:15px;"></a></li>
</ul>
<ul class="links tablet">
<li><a href="index.php">Home</a></li>
<li><a href="practice.php">Areas of Practice</a></li>
<li><a href="press.php">Press</a></li>
<li><a href="about.php">About me</a></li>
<li><a class="openmap">Contact</a></li>
</ul>
<ul class="links desktop">
<li><a href="index.php">Home</a></li>
<li><a href="practice.php">Areas of Practice</a></li>
<li><a href="press.php">Press</a></li>
<li><a href="about.php">About me</a></li>
<li><a class="openmap">Contact</a></li>
</ul>
<div id="backing">
</div>
<div id="menu">
<ul>
<li style="border-top:1px solid white;"><a href="index.php">Home</a></li>
<li><a href="practice.php">Criminal Defense</a></li>
<li><a href="practice.php">Civil Rights</a></li>
<li><a href="press.php">Press</a></li>
<li style="border-bottom:none;"><a href="about.php">About me</a></li>
</ul>
</div>
<div id="map">
<div id="mapwrapper">
<div id="map_canvas">
<div id="gmap_canvas" style="height:100%;width:100%;">
</div>
</div>
<span class="tablet">
<h class="rsss-logo-text" style="display:block;padding-bottom:5px;">Rothman, Schneider, Soloway & Stern, LLP</h>
<img src="images/map.png" style="height:20px;width:20px;margin-top:15px;display:inline-block;"><a href="maps:daddr=(40.717824,-74.001283)&saddr=Current%20Location" style="color:white;display:block;padding-bottom:15px;">100 Lafayette Street, Suite 501<br>New York, NY 10013</a>
<img src="images/phone.png" style="height:20px;width:20px;margin-top:15px;"><a href="tel:+12125715500" style="color:white;display:block;padding-bottom:15px;">(212) 571-5500</a>
<img src="images/email.png" style="height:20px;width:28px;margin-top:15px;"><a href="mailto:frothman@rssslaw.com" style="color:white;display:block;">frothman@rssslaw.com</a>
</span>
</div>
<br>
<span class="mobile">
<h class="rsss-logo-text">Rothman, Schneider, Soloway & Stern, LLP</h><br>
<a href="maps:daddr=(40.717824,-74.001283)&saddr=Current%20Location" style="color:white;">100 Lafayette Street, Suite 501<br>New York, NY 10013</a>
</span>
</div>
</div>
</div>
</div>
<div class="header" style="margin-top:50px;">
<div class="lowerbar notupperbar">
<img id="rothman-logo" src="images/rothman-logo.png">
<span>
<a>The Lower East Side Lawyer</a>
<h><b>Frank Rothman</b></h>
</span>
</div>
</div>
<div id="content-wrapper">
<div class="content" id="noslidercontent">
<div class="panoramawrapper" id="frank">
</div>
<div class="stripes" id="blue"></div>
<div class="content-title-major">
<div>
Franklin A. Rothman
</div>
</div>
<div class="stripes" id="blue"></div>
<div class="content-text-embedded-shell" id="aboutme">
<div class="content-text-embedded">
Born and raised in New York City's Lower East Side, Frank Rothman has been a criminal defense attorney for 30 years. After graduating from New York Law School in 1983, Frank began his career at the Legal Aid Society, where he became a member of the elite Narcotics Defense Unit and the Senior Trial Attorney Bureau.
<br>
<br>
In 1993, Frank and his Legal Aid co-worker Robert Soloway teamed up with their Legal Aid supervisors and mentors David Stern and Jeremy Schneider to form the dynamic firm of Rothman, Schneider, Soloway & Stern, LLP.
<br>
<br>
Frank has represented a host of celebrity criminal defense clients including former New York Knick Anthony Mason, former WWE superstar Nicole Bass, hip-hop artists Foxy Brown and Mobb Deep's Havoc.
<br>
<br>
Frank has handled many high-profile criminal cases, has regularly appeared as a guest commentator on Court TV, has lectured and presented demonstrations for newly-admitted attorneys, Columbia Law School students, and has given demonstrations to members of the District Attorney's Office as part of their training program.
<br>
<br>
Frank is a zealous advocate and is respected by his colleagues, adversaries, clients, and by many judges sitting on the bench today. He has conducted over 150 felony jury trials during his career.
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<div class="rsss-logo"><img src="images/rsss-logo.png" style="height:100px;width:100px;margin-top:10px;"></div>
<div class="footer-inner-wrapper">
<div class="rsss-text">
<h class="rsss-logo-text" style="display:block;padding-bottom:5px;">Rothman, Schneider, Soloway & Stern, LLP</h>
<a href="maps:daddr=(40.717824,-74.001283)&saddr=Current%20Location" style="color:rgba(15,0,70,1);display:block;padding-bottom:15px;">100 Lafayette Street, Suite 501<br>New York, NY 10013</a>
<a href="tel:+12125715500" style="color:rgba(15,0,70,1);display:block;">(212) 571-5500</a><br>
<a style="color:rgba(15,0,70,1);display:block;text-decoration:underline;cursor:pointer" class="consult-button">Request a Consulation</a>
</div>
<div class="rsss-social">
<a href="https://www.facebook.com/"><img class="socialicons" src="images/facebook.png"></a>
<a href="https://www.twitter.com/"><img class="socialicons" src="images/twitter.png"></a>
<a href="https://www.linkedin.com/"><img class="socialicons" src="images/linkedin.png"></a>
</div>
<div class="rsss-disclaimer">
<a>The information on these pages are for general information purposes only. Nothing contained on these pages should be construed as legal advice for any particular case. </a>
</div><br>
<span>© 2015 <a href="http://www.panyktech.com" style="text-decoration:none;"><span style="color:rgb(247,187,0);position:relative;margin-left:none;margin-right:none;display:inline;text-decoration:none;">Panyk</span></a> Tech, LLC | All Rights Reserved. </span>
</div>
<div class="stripes" id="blue"></div>
</div>
<script src="js/auxiliary.js"></script>
</body>
</html>