-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
367 lines (339 loc) · 16.4 KB
/
index.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
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
366
367
<!DOCTYPE html>
<html lang="en">
<head>
<script src="https://wealthelite.in/js/aes.js"></script>
<script src="https://wealthelite.in/website/dist/js/jquery-2.1.3.min.js"></script>
<script src="https://wealthelite.in/website/dist/js/bootstrap.min.js"></script>
<!-- Bootstrap core CSS -->
<link href="https://wealthelite.in/website/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://wealthelite.in/website/dist/css/font-awesome.min.css" rel="stylesheet">
<link href="https://wealthelite.in/css/floating-labels.css" rel="stylesheet">
<link href="https://wealthelite.in/css/animate.css" rel="stylesheet">
<link rel="stylesheet" href="https://wealthelite.in/website/dist/style.css">
<link rel="stylesheet" href="https://wealthelite.in/website/dist/css/style.css">
<link href="https://wealthelite.in/website/dist/new-login-page-css.css" rel="stylesheet">
<title></title>
<meta charset="utf-8">
<style>
.box_content {
background-color: #FFFFFF;
border: 2px solid #AE6948;
left: 35%;
overflow:hidden;
padding: 15px;
position: fixed;
top: 25%;
width:430px;
z-index: 1056;
height:240px;
}
.grayBox{
position: fixed;
top: 0%;
left: 0%;
width: 100%;
height: 100%;
background-color: black;
z-index:1055;
-moz-opacity: 0.7;
opacity:0.7;
filter: alpha(opacity=70);
}
.imgs{
top: 25%;
left: 64%;
position:fixed;}
img#cross {
position: relative;
float: right;
top: -29px;
left: 24px;
}
.form-control{
display: block;
width: 100%;
height: 34px;
padding: 6px 12px;
font-size: 14px;
line-height: 1.42857143;
color: #555;
background-color: #fff;
background-image: none;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing:border-box;
-webkit-box-sizing:border-box;
}
.form-group{
margin-bottom:15px;
}
</style>
<!-- Form action change-->
<script type="application/javascript">
function change_client()
{
document.login.action="https://my-eoffice.com/client/postLogin.php";
<!-- document.login.action="https://wealthelite.in/Login/login/client-login"; -->
}
function change_advisor()
{
document.login.action="https://my-eoffice.com/advisor/postLogin.php";
}
function change_employee()
{
document.login.action="https://my-eoffice.com/emp/postLogin.php";
}
</script>
<!--Forgate Password-->
<script language="javascript">
function displayHideBox(boxNumber)
{
if(document.getElementById("LightBox"+boxNumber).style.display=="none") {
document.getElementById("LightBox"+boxNumber).style.display="block";
document.getElementById("grayBG").style.display="block";
} else {
document.getElementById("LightBox"+boxNumber).style.display="none";
document.getElementById("grayBG").style.display="none";
}
}
function forgetpassword()
{
if(document.getElementById("LightBox").style.display=="none") {
document.getElementById("LightBox").style.display="block";
document.getElementById("grayBG").style.display="block";
} else {
document.getElementById("LightBox").style.display="none";
document.getElementById("grayBG").style.display="none";
}
}
</script>
</head>
<body>
<!--
<div style="max-width:500px;border:1px solid #ddd;margin:auto;">
<p style="width:100%;background:green;color:white;padding:10px;text-align:center;font-size:20px;box-sizing: border-box;margin-top: 0px;">Portfolio Login</p>
<form id="login" name="login" method="post" enctype="multipart/form-data" action="https://my-eoffice.com/client/postLogin.php" style="text-align:center; padding:10px;box-sizing:border-box;">
<div class="form-group text-center">
<input type="radio" name="login_type" checked="checked" value="" onclick="change_client()"> Client
<input type="radio" name="login_type" value="" onclick="change_advisor()"> Advisor
<input type="radio" name="login_type" value="" onclick="change_employee()"> Employee
</div>
<div class="form-group">
<input type="text" name="uName" id="uName" class="form-control" required placeholder="Username">
</div>
<div class="form-group">
<input type="password" name="password" id="password" class="form-control" required placeholder="password">
</div>
<div class="form-group">
<input type="submit" name="button" class="login_btn" value="Submit">
</div>
<a href="javascript:void(0);" onclick="forgetpassword();" style="color:#3fa0ed;font-size:11px; font-weight:bold; font-family:Arial, Helvetica, sans-serif;"> Forgot Password </a>
<div id="grayBG" class="grayBox" style="display:none;"></div>
<div id="LightBox" class="box_content" style="display:none;">
<img src="closebox.png" onClick="forgetpassword();" border="0" align="right" class="imgs" />
<iframe src="http://www.my-eoffice.com/client/iframe_forgetform.php" frameborder="0" scrolling="no" width="400" height="200"></iframe>
</div>
</form>
</div>
-->
<!----- New content from here ---->
<div class="container-fluid lf-lc">
<div class="row">
<div class="container">
<div class="row">
<div class="col-10 mx-auto">
<div class="card invstr-card">
<div class="card-body invstr-card-body">
<div class="row m-0">
<div class="col-lg-7 col-md-12 col-sm-12 d-flex justify-content-center flex-column invstr-left">
<img class="lf-img" src="/logo-mm.png" alt="Investor Image">
</div>
<div class="col-lg-5 col-md-12 col-sm-12 d-flex justify-content-center flex-column invstr-right">
<div id="formHolder" class="login-form-container invstr-form-container">
<div class="tab-content invstr-tab-content">
<div class="tab-pane invstr-tab-pane fade active show" id="lfLoginForm" role="tabpanel" aria-labelledby="lfLoginForm-tab">
<form class="form-signin common-lf" name="signinForm" id="signinForm" action="https://wealthelite.in/Login/login/validate-user" method="POST" onsubmit="return GetSubmitLogin();">
<div class="lf-header">
<h4>Investor Login</h4>
<!-- <p>Please login with your personal Information by username and password.
<span class="login-protection-icon">
<img src="/website/dist/img/protection-icon.png" alt="Login Protection Icon" />
</span>
</p>-->
</div>
<div class="floating-label lf-form-group common-lf-group mb">
<input type="text" id="inputEmail" name="username" value="" class="floating-input" placeholder="Username" required="">
<label for="inputEmail">Username</label>
</div>
<div class="floating-label lf-form-group common-lf-group">
<input type="password" id="inputPassword" name="password" value="" class="floating-input sh-password" placeholder="Password" required="">
<label for="inputPassword">Password</label>
<span class="show-password-icon">
<!-- <img class="img-fluid eye-in-active" src="/website/dist/img/eye-icon.png" alt="Eye Icon" />
<img class="img-fluid eye-active" src="/website/dist/img/eye-active-icon.png" alt="Eye Active Icon" />-->
</span>
</div>
<input type="hidden" name="loginFor" id="loginFor" value="CLIENT">
<div class="lf-options checkbox">
<label class="lf-rm-label">
<input type="checkbox" name="loginRememberMe" id="loginRememberMe">
Remember me
</label>
<span class="lf-fp-btn" id="lfForgotForm-tab" data-toggle="tab" href="#lfForgotForm" role="tab" aria-controls="lfForgotForm" aria-selected="true">Forgot Password?</span>
</div>
<div class="form-label-group common-lf-group">
<button class="btn btn-primary nc-lf-btn" type="submit">Login</button>
</div>
</form> </div>
<div class="tab-pane invstr-tab-pane fade" id="lfForgotForm" role="tabpanel" aria-labelledby="lfForgotForm-tab">
<div id="userNameDiv">
<form class="login-form common-lf" name="forgetPwdForm" id="forgetPwdForm" method="POST">
<div class="lf-header">
<h4>Create New Password</h4>
<p>Enter your username to get One Time Password on your registered mobile number.
<span class="login-protection-icon">
<img src="/website/dist/img/protection-icon.png" alt="Login Protection Icon">
</span>
</p>
</div>
<div id="userNameInputForm">
<div class="floating-label lf-form-group common-lf-group">
<input type="text" id="userName" name="userName" value="" class="floating-input" placeholder="Username" required="">
<label for="userName">Username</label>
</div>
<input type="hidden" id="type" name="type" value="CLIENT">
<div class="form-label-group common-lf-group d-flex">
<button class="btn btn-primary nc-lf-btn" type="button" onclick="checkUserName();">Submit</button>
<div class="d-flex justify-content-center flex-column ml-auto">
<span class="lf-fp-btn" onclick="location.href = '/Login/login/client-login'">BACK TO LOGIN</span>
</div>
</div>
</div>
<div id="mobileinputForm" style="display: none;">
<div class="floating-label lf-form-group common-lf-group">
<span class="input-type-icon">
</span>
<input type="text" id="mobileInput" name="mobileInput" value="" class="floating-input" placeholder="Mobile No." required="">
<label for="mobileInput">Mobile No.</label>
</div>
<div class="form-label-group common-lf-group d-flex">
<button class="btn btn-primary nc-lf-btn" type="button" onclick="submitForgetPwdUserName();">Submit</button>
<input type="hidden" id="userMobile" name="userMobile" value="" class="floating-input">
<div class="d-flex justify-content-center flex-column ml-auto">
<span class="lf-fp-btn" onclick="location.href = '/Login/login/client-login'">BACK TO LOGIN</span>
</div>
</div>
</div>
</form>
<script>
function checkUserName() {
var formData = $('#forgetPwdForm').serialize();
var validatorArray = {
'userName': 'Please Enter User Name',
'type': 'Invalid Type',
};
// Check Resend
var resend = $('#resendOtp').val();
if (resend == "resend") {
DisableResent();
}
var response = formValidationCheck(validatorArray);
if (response.status == false) {
showNotificationMessage('error', response.errorMess);
$('#' + response.fieldName).focus();
} else {
var source = $('#source').val();
var inputData = {'source': source};
//var response = ajaxCall('/Login/login/send-forget-password-otp', "POST", "json", formData, "", "");
var response = ajaxCall('/Login/login/forget-password-user-details', "POST", "json", formData, "checkUserNameallback", "", "", "", "", true, inputData);
}
}
function checkUserNameallback(response, inputData) {
var fSource = inputData.source;
var status = response.status;
var msg = response.msg;
var mobile = '';
var email = '';
var msgType = 'error';
if (status) {
var msgType = 'success';
var mobile = response.mobile;
var email = response.email;
$('#mobileinputForm').css("display", "block");
$('#userNameInputForm').css("display", "none");
$('#userMobile').val(mobile);
} else {
showNotificationMessage(msgType, msg);
$('#mobileinputForm').css("display", "none");
$('#userNameInputForm').css("display", "block");
}
}
</script> </div>
<form class="form-signin common-lf" id="forgetPwdOtpForm" name="forgetPwdOtpForm">
<div id="otpDiv" style="display: none">
<input type="hidden" name="resendOtp" id="resendOtp" value="">
<div class="lf-header">
<h4>Enter OTP</h4>
<p class="password-hint">One Time Password (OTP) has been sent to your mobile
<span>******
<span id="mobileLastFourDigit"></span>
</span> and your email <span id="emailOtpDigit"></span>
, please enter the same here to login.
</p>
</div>
<input type="hidden" id="OtpMobileNo" name="OtpMobileNo" class="form-control">
<div class="floating-label lf-form-group common-lf-group">
<span class="input-type-icon">
<img class="img-fluid" src="/website/dist/img/otp-icon.png" alt="OTP Icon">
</span>
<input type="password" id="mobileOtp" name="mobileOtp" class="floating-input" required="">
<label>Enter OTP</label>
</div>
<div class="form-label-group common-lf-group d-flex">
<div class="col-md-6 pl-0" id="submitButtonDiv">
<button class="btn btn-primary nc-lf-btn" type="button" onclick="verifyForgetPwdOTP();">Verify OTP</button>
</div>
<div class="col-md-6 pr-0 text-right" id="resend" style="display: none;">
<button class="btn btn-info" type="button" onclick="submitForgetPwdUserName();">Resend OTP</button>
</div>
</div>
</div>
</form> </div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
$(".show-password-icon").on('click', function (event) {
// event.preventDefault();
if ($(".sh-password").attr("type") === "text") {
$(".sh-password").attr('type', 'password');
$(this).removeClass("active");
} else {
$(".sh-password").attr('type', 'text');
$(this).addClass("active");
}
// if ($('#show_hide_password input').attr("type") == "text") {
// $('#show_hide_password input').attr('type', 'password');
// $('#show_hide_password i').addClass("fa-eye-slash");
// $('#show_hide_password i').removeClass("fa-eye");
// } else if ($('#show_hide_password input').attr("type") == "password") {
// $('#show_hide_password input').attr('type', 'text');
// $('#show_hide_password i').removeClass("fa-eye-slash");
// $('#show_hide_password i').addClass("fa-eye");
// }
});
</script>
<script src="https://wealthelite.in/js/login_script.js"></script>
<script src="https://wealthelite.in/js/formValidation.js"></script>
<script src="https://wealthelite.in/js/portfolio.js"></script>
<script src="https://wealthelite.in/js/login.js"></script>
</body>
</html>