-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
192 lines (158 loc) · 5.59 KB
/
index.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
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
<?php
//initilize the page
require_once("inc/init.php");
//require UI configuration (nav, ribbon, etc.)
require_once("inc/config.ui.php");
/*---------------- PHP Custom Scripts ---------
YOU CAN SET CONFIGURATION VARIABLES HERE BEFORE IT GOES TO NAV, RIBBON, ETC.
E.G. $page_title = "Custom Title" */
$page_title = "Login";
/* ---------------- END PHP Custom Scripts ------------- */
//include header
//you can add your custom css in $page_css array.
//Note: all css files are inside css/ folder
$page_css[] = "your_style.css";
$no_main_header = true;
$page_html_prop = array("id"=>"extr-page", "class"=>"animated fadeInDown");
include("inc/header.php");
?>
<!-- ==========================CONTENT STARTS HERE ========================== -->
<!-- possible classes: minified, no-right-panel, fixed-ribbon, fixed-header, fixed-width-->
<header id="header">
<!--<span id="logo"></span>-->
<div id="logo-group">
<span ><img src="<?php echo ASSETS_URL; ?>/img/logo.png" alt="SmartAdmin"></span>
<!-- END AJAX-DROPDOWN -->
</div>
<span id="extr-page-header-space"> <span class="hidden-mobile hiddex-xs">Need an account? </span> <a href="<?php echo APP_URL; ?>/register.php" class="btn btn-danger">Send a Request </a> </span>
</header>
<div id="main" role="main">
<!-- MAIN CONTENT -->
<div id="content" class="container">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-7 col-lg-8 hidden-xs hidden-sm">
<h1 class="txt-color-red login-header-big">Benin Assurance,<br> Met vos données au travail, <br>Parce que c'est ce que vous en faites qui compte.</h1>
<div class="hero">
<div class="pull-left login-desc-box-l">
<h4 class="paragraph-header"></h4>
<div class="login-app-icons">
<!-- <a href="javascript:void(0);" class="btn btn-danger btn-sm">Frontend Template</a> -->
<!-- <a href="javascript:void(0);" class="btn btn-danger btn-sm">Find out more</a> -->
</div>
</div>
<!-- <img src="<?php echo ASSETS_URL; ?>/img/demo/iphoneview.png" class="pull-right display-image" alt="" style="width:210px"> -->
</div>
<!--
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
<h5 class="about-heading">What is Benin Inssurance?</h5>
<p>
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa.
</p>
</div>
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
<h5 class="about-heading">Not just your average template!</h5>
<p>
Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi voluptatem accusantium!
</p>
</div>
</div>
-->
</div>
<div class="col-xs-12 col-sm-12 col-md-5 col-lg-4">
<div class="well no-padding">
<form action="<?php echo APP_URL."/home.php"; ?>" id="login-form" class="smart-form client-form">
<header>
Sign In
</header>
<fieldset>
<section>
<label class="label">E-mail</label>
<label class="input"> <i class="icon-append fa fa-user"></i>
<input type="email" name="email">
<b class="tooltip tooltip-top-right"><i class="fa fa-user txt-color-teal"></i> Please enter email address/username</b></label>
</section>
<section>
<label class="label">Password</label>
<label class="input"> <i class="icon-append fa fa-lock"></i>
<input type="password" name="password">
<b class="tooltip tooltip-top-right"><i class="fa fa-lock txt-color-teal"></i> Enter your password</b> </label>
<div class="note">
<a href="<?php echo APP_URL; ?>/forgotpassword.php">Forgot password?</a>
</div>
</section>
<section>
<label class="checkbox">
<input type="checkbox" name="remember" checked="">
<i></i>Stay signed in</label>
</section>
</fieldset>
<footer>
<button type="submit" class="btn btn-primary">
Sign in
</button>
</footer>
</form>
</div>
<!-- <h5 class="text-center"> - Or sign in using -</h5>
<ul class="list-inline text-center">
<li>
<a href="javascript:void(0);" class="btn btn-primary btn-circle"><i class="fa fa-facebook"></i></a>
</li>
<li>
<a href="javascript:void(0);" class="btn btn-info btn-circle"><i class="fa fa-twitter"></i></a>
</li>
<li>
<a href="javascript:void(0);" class="btn btn-warning btn-circle"><i class="fa fa-linkedin"></i></a>
</li>
</ul> -->
</div>
</div>
</div>
</div>
<!-- END MAIN PANEL -->
<!-- ==========================CONTENT ENDS HERE ========================== -->
<?php
//include required scripts
include("inc/scripts.php");
?>
<!-- PAGE RELATED PLUGIN(S)
<script src="..."></script>-->
<script type="text/javascript">
runAllForms();
$(function() {
// Validation
$("#login-form").validate({
// Rules for form validation
rules : {
email : {
required : true,
email : true
},
password : {
required : true,
minlength : 3,
maxlength : 20
}
},
// Messages for form validation
messages : {
email : {
required : 'Please enter your email address',
email : 'Please enter a VALID email address'
},
password : {
required : 'Please enter your password'
}
},
// Do not change code below
errorPlacement : function(error, element) {
error.insertAfter(element.parent());
}
});
});
</script>
<?php
//include footer
include("inc/google-analytics.php");
?>