signup.blade.php
3.47 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
@include('layout.header')
<?php
require_once( app_path().'/lib/simple-php-captcha-master/simple-php-captcha.php' );
$captchaobj=simple_php_captcha();
Session::put('kstych_captcha',$captchaobj);
?>
<div class="layout-app"><!-- row-app -->
<div class="row row-app">
<!-- col -->
<!-- col-separator.box -->
<div class="col-separator col-unscrollable box">
<!-- col-table -->
<div class="col-table">
<h4 class="innerAll margin-none border-bottom text-center bg-primary"><i class="fa fa-pencil"></i> Create a new Account</h4>
<!-- col-table-row -->
<div class="col-table-row">
<!-- col-app -->
<div class="col-app col-unscrollable">
<!-- col-app -->
<div class="col-app">
<div class="login">
<div class="placeholder text-center"><i class="fa fa-pencil"></i></div>
<div class="panel panel-default col-sm-6 col-sm-offset-3">
<div class="panel-body">
<form role="form" action="signup" method=post>
<input type="hidden" name="_token" value="{{{ csrf_token() }}}" />
<?php
$class="";
$type="";
$msg="";
$error=Input::get("e");
if(isset($error))
{
if($error=="api1"){$class="danger";$type="API Failure";$msg="Cannot verify API credentials";}
else if($error=="api2"){$class="danger";$type="API Data Error";$msg="API Data is not in acceptable format";}
else if($error=="api3"){$class="danger";$type="API User Error";$msg="Email is check failed, please send correct Email id";}
else {$class="danger";$type="Failed!";$msg="Unknown Error. Method not found";}
?>
<!-- Alert -->
<div class="alert alert-{!!$class!!}">
<!-- <button type="button" class="close" data-dismiss="alert">×</button> -->
<strong>{!!$type!!}</strong> {!!$msg!!}
</div>
<!-- // Alert END -->
<?php } ?>
<div class="form-group">
<label for="exampleInputEmail1">User Name</label>
<input type="text" class="form-control" id="exampleInputEmail1" name=fullname placeholder="Firstname Lastname">
</div>
<div class="form-group">
<label for="exampleInputEmail1">Email address</label>
<input type="email" class="form-control" id="exampleInputEmail1" name=username placeholder="Enter email id">
</div>
<div class="form-group">
<label for="exampleInputPassword1">Password</label>
<input type="password" class="form-control" id="exampleInputPassword1" name=password placeholder="Password">
</div>
<div class="form-group">
<label for="exampleInputPassword1">Captcha</label>
<img src="{!!k_captcha_img();!!}" >
<input type="text" class="form-control" id="kstych_captcha" name=kstych_captcha placeholder="">
</div>
<div class="form-group">
<label for="exampleInputPassword1"></label>
<a href="index?section=termsandconditions" target=_BLANK>I Agree to terms and conditions.</a>
</div>
<button type="submit" class="btn btn-primary btn-block">Create Account</button>
</form>
</div>
</div>
</div>
</div>
<!-- // END col-app -->
</div>
<!-- // END col-app.col-unscrollable -->
</div>
<!-- // END col-table-row -->
</div>
<!-- // END col-table -->
</div>
<!-- // END col-separator.box -->
</div>
<!-- // END row-app -->
@include('layout.footer')