-
Notifications
You must be signed in to change notification settings - Fork 0
/
registration.html
625 lines (552 loc) · 25.4 KB
/
registration.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
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/gif" href="images/brand1.JPG">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl" crossorigin="anonymous">
<!-- Site Icons -->
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon">
<link rel="apple-touch-icon" href="images/apple-touch-icon.png">
<!-- Site CSS -->
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/style copy.css">
<!-- Responsive CSS -->
<link rel="stylesheet" href="css/responsive.css">
<!-- Custom CSS -->
<link rel="stylesheet" href="css/custom.css">
<!--Google Font-->
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Montserrat&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Montserrat&family=Noto+Sans+JP:wght@500&display=swap" rel="stylesheet">
<title>Janta Seva Kendra</title>
</head>
<body>
<div style="max-width:100%;height:25px;background-color:#228F4D"> </div>
<header class="mr-2 ml-2 ">
<div class="d-flex justify-content-between">
<div class="p-3 flex-fill ">
<img src="images/brand1.JPG" class="img-fluid mx-auto d-block float-start brand" alt="...">
</div>
<div class="p-3 flex-fill text-center ">
<img src="images/brand3.JPG" class="img-fluid mx-auto d-block float-center brand" alt="...">
</div>
<div class="p-3 flex-fill ">
<img src="images/right-logo.png" class="img-fluid mx-auto d-block float-end brand" alt="...">
</div>
</div>
</header>
<!--Marquee Start-->
<marquee class="mt-0 " width="100%" direction="left" height="25px">
<span class="text-danger"> It is completely free, no amount will be payable for it. If any person asks for any kind of amount in relation to it, then you should contact on the number given below! - 7061400417, 9110168558, 7023966380, 7651973983 !!
</span>
</marquee>
<!--Marquee End-->
<!--Nav start-->
<nav class="navbar navbar-expand-lg navbar-light mt-0 text-light" style="background-color: #E25B20;">
<div class="container-fluid ">
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse " id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-1 mb-lg-0 " id="navbarleft">
<li class="nav-item border-end border-warning">
<a class="nav-link active text-light" aria-current="page" href="index.html">Home</a>
</li>
<li class="nav-item border-end border-warning ">
<a class="nav-link text-light" href="about us.html">About Us</a>
</li>
<li class="nav-item border-end border-warning dropdown">
<a class="nav-link dropdown-toggle text-light " href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Group
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdown" style="background-color: #E25B20;">
<li><a class="dropdown-item text-light" href="#">Helping Ray Foundation</a></li>
<li><a class="dropdown-item text-light" href="#">Janta Seva Kendra</a></li>
<li><hr class="dropdown-divider"></li>
<li><a class="dropdown-item text-light" href="#">D2C Foundation</a></li>
</ul>
</li>
<li class="nav-item border-end border-warning">
<a class="nav-link text-light" href="services.html">Services</a>
</li>
<li class="nav-item border-end border-warning">
<a class="nav-link text-light" href="projects.html">Projects</a>
</li>
<li class="nav-item border-end border-warning">
<a class="nav-link text-light" href="our partner.html">Our Partners</a>
</li>
<li class="nav-item border-end border-warning">
<a class="nav-link text-light" href="contact.html">Contact</a>
</li>
<li class="nav-item border-end border-warning">
<a class="nav-link text-light" href="support.html">Support</a>
</li>
<li class="nav-item border-end border-warning">
<a class="nav-link text-light" href="#">
<span class="fa fa-sign-in" aria-hidden="true"></span>
Login
</a>
</li>
<li class="nav-item border-end border-warning ml-3">
<a class="nav-link text-light" href="registration.html">Online Registration</a>
</li>
</ul>
</div>
</div>
</nav>
<!--Nav End-->
<!--Registration-->
<div class="row reg-styel5 pb-2">
<div class="col-xs-12 col-lg-7">
<div class="row">
<div class="col-xs-12 col-sm-12">
<!--<img class="reg-styel1" src="https://nagriksevakendra.in/default/images/banner_img.png">-->
<div class="row">
<div class="col-xs-12 col-sm-12">
<h2 class="reg-styel2">About Registration</h2>
<h3 class="reg-styel6">
Janta Seva Kendra is developed as an aggregated service delivery platform with technology as its backbone.
We function with a unique concept of ‘A Customer Service Mall’ where in citizens’ convenience is placed at the core.
Janta Seva Kendra is a platform which provides you various services & products under one single roof through physical centers,
doorstep service or Cloud based solution.</h3>
</div>
</div>
</div>
<div class="col-xs-1 col-sm-1"></div>
</div>
</div>
<div class="col-xs-12 col-lg-3">
<div class="modal-dialog mod-style1">
<div class="modal-content">
<div class="modal-header">
<div class="mod-style2" id="sign"><h3 CLASS="text-light pt-2">NEW USER REGISTRATION</h3></div>
</div>
<div class="modal-body mod-style4 mt-0">
<div class="row mod-style5" id="signup" style="width:100%">
<form id="frm2" autocomplete="off" style="width:100%" enctype="multipart/form-data">
<div class="col-md-12" style="float:left;">
<div class="ibox float-e-margins">
<div class="form-content">
<div class="form-horizontal">
<div class="row">
<div class="col-sm-12">
<div class="form-group">
<div class="row">
<div class="col-sm-12 col-xs-12">
<input type="text" class="form-control input-style1" name="name" id="name" Placeholder="Name" autocomplete="off">
</div>
<div class="col-sm-12 col-xs-12">
<input type="text" class="form-control input-style1" name="mobile" id="mobile" onkeypress="return isNumber(event)" Placeholder="Mobile No." maxlength="10" autocomplete="off">
</div>
<div class="col-sm-12 col-xs-12">
<input type="text" class="form-control input-style1" name="email" id="email" Placeholder="Email ID" autocomplete="off" onblur="isemail('email')" autocomplete="off">
</div>
<div class="col-sm-12 col-xs-12">
<input type="text" class="form-control input-style1" name="address" id="address" Placeholder="Address" autocomplete="off">
</div>
<div class="col-sm-12 col-xs-12">
<input type="text" class="form-control input-style1" name="city" id="city" Placeholder="City" autocomplete="off">
</div>
<div class="col-sm-12 col-xs-12">
<input type="text" class="form-control input-style1" name="state" id="state" Placeholder="State" autocomplete="off">
</div>
</div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group">
<div class="row">
<div class="col-sm-12 col-xs-12">
<button class="btn btn-success pb-0 input-style2" type="button" id="sign_val" name="sign_val"><h4 class="text-light">START REGISTRATION</h4></button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<!--End Registration-->
<!--Footer Start-->
<section class="footer mb-0">
<div id="scrolltotop">
<span class="fa fa-chevron-up"></span>
</div>
<div class="container">
<div class="row">
<!--Column Start !-->
<div class="col-md-2">
<div class="box-wrapper">
<h3>Services</h3>
<ul>
<li><a rel="canonical" href="services.html">Aadhar Update</a></li>
<li><a rel="canonical" href="services.html">Hotel Booking</a></li>
<li><a rel="canonical" href="services.html" title="B2c">Bill Payment</a></li>
<div class="clearfix"></div>
</ul>
</div>
</div>
<div class="col-md-3">
<div class="box-wrapper">
<h3>JSK's Condition</h3>
<ul>
<li><a href="#" title="privacy policy">Privacy Policy</a></li>
<li><a href="#" title="terms and conditions">Terms And Condition</a></li>
<li><a href="#" title="refund policy">Cancellation And Refund Policy</a></li>
<div class="clearfix"></div>
</ul>
</div>
</div>
<div class="col-md-3">
<div class="box-wrapper">
<h3>Janta Seva Kendra</h3>
<ul>
<li><a rel="canonical" href="about us.html">About Us</a></li>
<li><a rel="canonical" href="our partner.html"></a>Partner</li>
<li><a rel="canonical" href="projects.html">Projects</a></li>
<div class="clearfix"></div>
</ul>
</div>
</div>
<div class="col-md-4">
<div class="box-wrapper">
<h3>Contact Us</h3>
<P>Janta SEVA KENDRA</P>
<P>Shop No – 05, Tulsi Bhawan , Bhagalpur, Bihar - 853201</P>
<P>Email Id: operation@jantasevakendra.in</P>
<br>
</div>
</div>
<!-- Column End !-->
</div>
</section>
<!--Footer End-->
<!--copyright start-->
<section style="background-color:#212121;border-top:1px solid #fff;margin-bottom:-30px ">
<div class="container">
<div class="row">
<div class="col-md-12">
<div style="margin: 0;align-items: center;justify-content: center;display: flex;text-align: center;">
<span class="p-1" style="font-size:14px;letter-spacing: 1px; color: #fff">Copyright © Janta Seva Kendra 2017- 2021</span>
</div>
</div>
</div>
</div>
</section>
<!--copyright End-->
<!-- Option 1: Bootstrap Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/js/bootstrap.bundle.min.js" integrity="sha384-b5kHyXgcpbZJO/tY9Ul7kGkf1S0CWuKcCD38l8YkeH8z8QjE0GmW1gYU5S9FOnJ0" crossorigin="anonymous"></script>
<!-- Custom Js -->
<!-- ALL JS FILES -->
<script src="js/images-loded.min.js"></script>
<script src="js/jquery-3.2.1.min.js"></script>
<script src="js/jquery.superslides.min.js"></script>
<script src="js/custom.js"></script>
<!-- our client -->
<script src="js/our client/custom.js"></script>
<script src="js/our client/owl-carousel/owl.carousel.js"></script>
<script>
$(document).ready(function()
{
$('#frm2 input').on('keyup', function ()
{
if($(this).val().length>0)
{
$(this).parent().removeClass('has-error').addClass('has-success');
$(this).parent().find(".input-error").remove();
$(this).addClass("is-valid");
}
});
$('#frm1 input').on('keyup', function ()
{
if($(this).val().length>0)
{
$(this).parent().removeClass('has-error').addClass('has-success');
$(this).parent().find(".input-error").remove();
$(this).addClass("is-valid");
}
});
$("#password").on('keyup', function(){
if($("#password").val().length<6)
{
var value="<div class='input-error'>Enter minimum 6 digits</div>";
$("#password").addClass('is-invalid');
$("#password").parent().find(".input-error").remove();
$("#password").parent().append(value);
}
else
{
$("#password").parent().removeClass('has-input-error').addClass('has-success');
$("#password").parent().find(".input-error").remove();
$("#password").addClass("is-valid");
}
})
$("#signup").show();
});
$("#log").click(function(){
$("#login").show();
$("#signup").hide();
$("#sign").removeClass("mod-style2");
$("#sign").addClass("mod-style3");
$("#log").addClass("mod-style2");
});
$("#sign").click(function(){
$("#login").hide();
$("#signup").show();
$("#log").removeClass("mod-style2");
$("#log").addClass("mod-style3");
$("#sign").addClass("mod-style2");
});
function isNumber(evt)
{
evt = (evt) ? evt : window.event;
var charCode = (evt.which) ? evt.which : evt.keyCode;
if (charCode > 31 && (charCode < 48 || charCode > 57)) {
return false;
}
return true;
}
function isemail(email_id)
{
// alert($("#"+email_id).val());
var evt=$("#"+email_id).val();
var regex = /^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
if(!regex.test(evt))
{
var value="<div class='input-error' >Kindly enter a valid email id</div>";
$("#"+email_id+"").parent().find(".input-error").remove();
$("#"+email_id+"").parent().append(value);
return false;
}
else
{
return true;
}
}
$("#sign_val").click(function(){
var err=0;
$("#frm2 input").each(function(){
if($(this).val().length>0)
{
$(this).parent().removeClass('has-input-error').addClass('has-success');
$(this).parent().find(".input-error").remove();
$(this).addClass("is-valid");
}
else
{
var value="<div class='input-error'>This field is required</div>";
$(this).addClass('is-invalid');
$(this).parent().find(".input-error").remove();
$(this).parent().append(value);
err++;
}
});
if($("#email").val().length>0)
{
var evt=$("#email").val();
var regex = /^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
if(!regex.test(evt))
{
var value="<div class='input-error' >Kindly enter a valid email id</div>";
$("#email").parent().find(".input-error").remove();
$("#email").parent().append(value);
err++;
}
else
{
$("#email").parent().removeClass('has-input-error').addClass('has-success');
$("#email").parent().find(".input-error").remove();
$("#email").addClass("is-valid");
}
}
if(err==0)
{
//alert("success");
registration_form();
}
});
$("#log_val").click(function(){
var err1=0;
$("#frm1 input").each(function(){
if($(this).val().length>0)
{
$(this).parent().removeClass('has-input-error').addClass('has-success');
$(this).parent().find(".input-error").remove();
$(this).addClass("is-valid");
}
else
{
var value="<div class='input-error'>This field is required</div>";
$(this).addClass('is-invalid');
$(this).parent().find(".input-error").remove();
$(this).parent().append(value);
err++;
}
});
if(err1==0)
{
//alert("success");
login_form();
}
});
function re_passw()
{
var repas=$('#repassword').val();
var pas=$('#password').val();
//alert(repas);
if(repas==pas)
{
$("#repassword").parent().removeClass('has-input-error').addClass('has-success');
$("#repassword").parent().find(".input-error").remove();
$("#repassword").addClass("is-valid");
}
else
{
var value="<div class='input-error'>Confirm password is wrong</div>";
$("#repassword").addClass('is-invalid');
$("#repassword").parent().find(".input-error").remove();
$("#repassword").parent().append(value);
$('#repassword').val("");
}
}
function registration_form()
{
//alert($("#frm").serialize())
$('body').css("opacity","0.5");
$('#ajax').show();
$.ajax({
url:baseurl+ "/Home/registration",
type: "POST",
data: $("#frm2").serialize(),
dataType: "json",
success:function(data)
{
$('body').css("opacity","1");
$('#ajax').hide();
$.each(data, function(key, value)
{
if(key=="success")
{
$('#frm2 input').each(function(){
$(this).val("");
});
swal({
title: value.value,
text:"",
type: "success"
});
if(value.old=="success")
{
setTimeout(
function()
{
window.location.href=baseurl+'registration';
}, 1000);
}
else
{
setTimeout(
function()
{
window.location.href=baseurl+'mobile-verification';
}, 1000);
}
}
else
{
if(value!="")
{
var value="<div class='error'>This field is required</div>";
$('#'+key+"").addClass('is-invalid');
$('#'+key+"").parent().find(".error").remove();
$('#'+key+"").parent().append(value);
}
}
});
}
});
}
function login_form()
{
//alert($("#frm").serialize())
$('body').css("opacity","0.5");
$('#ajax').show();
$.ajax({
url:baseurl+ "/Home/temp_login",
type: "POST",
data: $("#frm1").serialize(),
dataType: "json",
success:function(data)
{
$('body').css("opacity","1");
$('#ajax').hide();
$.each(data, function(key, value)
{
if(key=="success")
{
$('#frm1 input').each(function(){
$(this).val("");
});
swal({
title: value.value,
text:"",
type: "success"
});
setTimeout(
function()
{
window.location.href=baseurl+'registration';
}, 1000);
}
else
{
swal({
title: value.value,
text:"",
type: "error"
});
}
});
}
});
}
</script>
<script type="text/javascript">
$("#scrolltotop").click(function() {
$("html, body").animate({ scrollTop: 0 }, "slow");
return false;
});
$(window).scroll(function (event) {
var scroll_top=$(window).scrollTop();
var w_height=$(window).height();
var d_height=$(document).height();
var footer_height=$(".footer").height();
/*console.log("The Scroll Top is " +scroll_top);
console.log("The Window height is " + w_height);
console.log("The Document height is " + d_height);*/
if(scroll_top>=(d_height-w_height-footer_height-220))
{
$(".callbackblog").hide();
$("#blue_navy_callback").show();
$("#scrolltotop").fadeIn();
}
else{
$(".callbackblog").show();
$("#blue_navy_callback").hide();
$("#scrolltotop").fadeOut();
}
});
</script>
</body>
</html>