-
Notifications
You must be signed in to change notification settings - Fork 2
/
contact.html
162 lines (153 loc) · 6.63 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
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
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>TimeWarp - Contact Us</title>
<link rel="shortcut icon" href="favicon.ico" />
<!-- Load CSS -->
<link href="css/style.css" rel="stylesheet" type="text/css" />
<!-- Load Fonts -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Droid+Serif:regular,italic,bold,bolditalic" type="text/css" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Droid+Sans:regular,bold" type="text/css" />
<!-- Load jQuery library -->
<script type="text/javascript" src="scripts/jquery-1.6.2.min.js"></script>
<!-- Load custom js -->
<script type="text/javascript" src="scripts/panelslide.js"></script>
<script type="text/javascript" src="scripts/custom.js"></script>
<!-- Load topcontrol js -->
<script type="text/javascript" src="scripts/scrolltopcontrol.js"></script>
<!-- Load NIVO Slider
<link rel="stylesheet" href="css/nivo-slider.css" type="text/css" media="screen" />
<link rel="stylesheet" href="css/nivo-theme.css" type="text/css" media="screen" />
<script src="scripts/jquery.nivo.slider.pack.js" type="text/javascript"></script>
<script src="scripts/nivo-options.js" type="text/javascript"></script> -->
<!-- Load fancybox
<script type="text/javascript" src="scripts/jquery.fancybox-1.3.4.pack.js"></script>
<script type="text/javascript" src="scripts/jquery.easing-1.3.pack.js"></script>
<script type="text/javascript" src="scripts/jquery.mousewheel-3.0.4.pack.js"></script>
<link rel="stylesheet" href="css/jquery.fancybox-1.3.4.css" type="text/css" media="screen" /> -->
<!-- Load contact check -->
<script type="text/javascript">
function MM_validateForm() { //v4.0
if (document.getElementById){
var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=document.getElementById(args[i]);
if (val) { nm=val.name; if ((val=val.value)!="") {
if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
} else if (test!='R') { num = parseFloat(val);
if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
min=test.substring(8,p); max=test.substring(p+1);
if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
} } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
} if (errors) alert('We are sorry, but there is an error:\n'+errors);
document.MM_returnValue = (errors == '');
} }
</script>
<!-- Google ReCaptcha v2 -->
<script src='https://www.google.com/recaptcha/api.js'></script>
<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-50522218-1', 'adarshpatil.in');
ga('send', 'pageview');
</script>
</head>
<body>
<!--This is the START of the header-->
<div id="topcontrol" style="position: fixed; bottom: 5px; left: 960px; opacity: 1; cursor: pointer;" title="Go to Top"></div>
<div id="header-wrapper">
<div id="header">
<div id="logo"><a href="index.html"><img src="images/logo.png" width="100" height="80" alt="logo" /></a></div>
<div id="header-text">
<h4>To drop me a line!</h4>
<h6><a href="index.html">Home</a> → Contact Us</h6>
</div>
</div>
</div>
<!--END of header-->
<!--This is the START of the menu-->
<div id="menu-wrapper">
<div id="main-menu">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="portfolio.html">Portfolio</a></li>
<li><a class="subitem" href="portfolio.html#publications">Publications</a></li>
<li><a class="subitem" href="portfolio.html#projects">Projects</a></li>
<li><a class="subitem" href="portfolio.html#resume">Resume</a></li>
<li><a href="blog.html">Blog</a></li>
<li><a class="selected" href="contact.html">Contact →</a></li>
</ul>
</div>
<!--This is the START of the footer-->
<div id="footer">
<div id="social-box">
<ul>
<li>
<div class="scholar"><a href="https://scholar.google.com/citations?user=5uOXdbwAAAAJ&hl=en" target="_blank"></a></div>
</li>
<li>
<div class="twitter"><a href="http://twitter.com/adarsh_patil" target="_blank"></a></div>
</li>
<li>
<div class="github"><a href="http://github.com/adarshpatil" target="_blank"></a></div>
</li>
<li>
<div class="linkedin"><a href="https://www.linkedin.com/in/adarshpatil/" target="_blank"></a></div>
</li>
</ul>
</div>
<h6>Copyright © 2018 - adarshpatil</h6>
</div>
<!--END of footer-->
</div>
<!--END of menu-->
<!--This is the START of the content-->
<div id="content">
<!--This is the START of the contact section-->
<div id="contact">
<h4 style="margin-top:10px;">Get in touch</h4>
<p>Use the form below to leave me a message.</p>
<form name="contact" action="scripts/contact.php" id="contactform" method="post" onsubmit="this.submit(); this.reset(); return false;">
<div class="boxes">
<h6>name<span class="required">*</span></h6>
<div class="box">
<input name="name" type="text" class="input" id="sender_name" />
</div>
<h6>email<span class="required">*</span></h6>
<div class="box">
<input name="email" type="text" class="input" id="sender_email" />
</div>
<h6>message</h6>
<div class="msgbox">
<textarea name="cf_message" rows="50" cols="30" class="message" id="cf_message"></textarea>
</div>
<p>✢ Please prove you are not a bot! </p>
<!-- CAPTCHA stuff -->
<div class="g-recaptcha" data-sitekey="6Lfe_PkSAAAAAJjUUeq_1lI6BowHz4ZqjAen-T_5"></div>
<div class="submitbtn">
<input type="submit" class="button btncolor" onClick="MM_validateForm('sender_name','','R');MM_validateForm('sender_email','','RisEmail');return document.MM_returnValue" value="Send Message" />
</div>
</div>
</form>
</div>
<div id="contactinfo">
<h5>My Contact info:</h5>
<p>
I don't publish my full contact info<br/>
here because it very quickly enters<br/>
the world of spammers & scammers.<br/>
Some of socials are linked on the left.
</p>
<br />
</div>
<!--END of contact section-->
</div>
<!--END of content-->
</body>
</html>