/
forgotpassword.php
150 lines (90 loc) · 3.58 KB
/
forgotpassword.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
<?php
// First we execute our common code to connection to the database and start the session
require("common.php");
/*
if(!empty($_SESSION['location']))
{
$goto=$_SESSION['location'];
}
else{
$goto="index.php?&page=myevents";
}
if(!empty($_SESSION['user']))
{
if( $_SESSION['user']['linkedinlogin']=="true" ){
header("Location: ".$goto);
die("Redirecting to ".$goto);
}
}
*/
// This if statement checks to determine whether the login form has been submitted
// If it has, then the login code is run, otherwise the form is displayed
?>
<html>
<title>Cardstak:Forgot Password</title>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.js"></script>
<script src="js/sweet-alert.js"></script>
<link rel="stylesheet" type="text/css" href="style/sweet-alert.css">
<link href='http://fonts.googleapis.com/css?family=Pathway+Gothic+One' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="style/loginstyle.css">
<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-57633709-1', 'auto');
ga('send', 'pageview');
</script>
<!-- 1. Include the LinkedIn JavaScript API and define a onLoad callback function -->
<script type="text/javascript" src="https://platform.linkedin.com/in.js">
api_key: 75d7x1c1fkydj1
scope: r_fullprofile r_emailaddress
onLoad: onLinkedInLoad
authorize: true
</script>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="icon" href="favicon.ico" type="image/x-icon">
</head>
<body >
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600' rel='stylesheet' type='text/css'>
<div class="testbox" style="width:500px">
<div class="top" align="center" >
<!--Change Password<br>
<b style="color:#2B8BC0;font-size:32px">Network Better</b>-->
</div>
<table style="width: 100%;text-align: center;">
<tr >
<td style="padding-bottom:10px">
<h1 style="text-align: -webkit-center;margin-left: 0px;"><b>Reset Password</b></h1>
</td>
</tr>
<tr >
<td>
<form id="loginForm" name="login">
<tr >
<td style="padding-bottom:20px;padding-top:10px">
<input id="email" type="text" name="email" placeholder="Please enter your Email"/>
</td>
</tr>
<!-- <tr >
<td style="padding-bottom:20px;padding-top:10px">
<input id="newpassword" type="password" name="newpassword" placeholder="New Password"/>
</td>
</tr>
<tr >
<td style="padding-bottom:20px;padding-top:10px">
<input id="confirmnewpassword" type="password" name="confirmnewpassword" placeholder="Confirm New Password" />
</td>
</tr> -->
<tr >
<td style="padding-bottom:20px;padding-top:10px">
<input type="button" onclick="goBack();" value="Back" name="back" style="float: none;margin-left:0"/>
<input type="button" onclick="resetpasswordattempt();" value="Change" name="change" style="float: none;"/>
</td>
</tr>
</form>
</div>
<script src="js/jscript.forgotpassword.js" type="text/javascript"> </script>
</body>
</html>