-
Notifications
You must be signed in to change notification settings - Fork 2
/
login.php
174 lines (141 loc) · 5.57 KB
/
login.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
<?php
session_start();
include("includes/db_conn.php");
include("login-script.php");
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<meta name="description" content="Callin Ventures - Admin Panel">
<meta name="author" content="Callin Ventures">
<meta name="keywords" content="Callin Ventures">
<!-- Favicon -->
<link rel="icon" href="assets/img/brand/favicon.ico" type="image/x-icon"/>
<!-- Title -->
<title>Callin Ventures | Admin Panel </title>
<!-- Bootstrap css-->
<link href="assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet"/>
<!-- Icons css-->
<link href="assets/plugins/web-fonts/icons.css" rel="stylesheet"/>
<link href="assets/plugins/web-fonts/font-awesome/font-awesome.min.css" rel="stylesheet">
<link href="assets/plugins/web-fonts/plugin.css" rel="stylesheet"/>
<!-- Style css-->
<link href="assets/css/style.css" rel="stylesheet">
<link href="assets/css/skins.css" rel="stylesheet">
<link href="assets/css/dark-style.css" rel="stylesheet">
<link href="assets/css/colors/default.css" rel="stylesheet">
<!-- Internal Sweet-Alert css-->
<link href="assets/plugins/sweet-alert/sweetalert.css" rel="stylesheet">
<!-- Select2 css -->
<link href="assets/plugins/select2/css/select2.min.css" rel="stylesheet">
<!-- Color css-->
<link id="theme" rel="stylesheet" type="text/css" media="all" href="assets/css/colors/color.css">
</head>
<style type="text/css">
#bg-img
{
background-image: linear-gradient(rgba(0, 0, 0, 0.23), rgba(0, 0, 0, 0.85)),
url('images/banner3.png');
/* Full height */
height: 100vh;
/* Center and scale the image nicely */
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
</style>
<body class="main-body leftmenu" id="bg-img">
<!-- Loader -->
<div id="global-loader">
<img src="assets/img/loader.svg" class="loader-img" alt="Loader">
</div>
<!-- End Loader -->
<!-- Page -->
<div class="page main-signin-wrapper">
<!-- Row -->
<div class="row signpages text-center">
<div class="col-md-12">
<div class="card">
<div class="row row-sm">
<div class="col-lg-6 col-xl-5 d-none d-lg-block text-center bg-primary details">
<div class="mt-5 pt-4 p-2 pos-absolute">
<h4 class="mb-4 text-white">Callin Ventures</h4>
<div class="clearfix"></div>
<img src="images/callin.jpg" class="ht-100 mb-0" alt="user">
<h5 class="mt-4 text-white">You Are Welcome!</h5>
<span class="tx-white-6 tx-13 mb-5 mt-xl-0">Sign in into your account, use the forgot password link to reset password when lost.</span>
</div>
</div>
<div class="col-lg-6 col-xl-7 col-xs-12 col-sm-12 login_form ">
<div class="container-fluid">
<div class="row row-sm">
<div class="card-body mt-2 mb-2">
<img src="images/callin.jpg" class=" d-lg-none header-brand-img text-left float-left mb-4" alt="logo">
<div class="clearfix"></div>
<form method="post" action="login.php">
<h5 class="text-left mb-4 text-primary">Sign In </h5>
<?php
if($ErrorLogin)
{
foreach ($ErrorLogin as $key => $value) {
echo '<div class="alert alert-danger role="alert">
<i class="fas fa-exclamation text-white"></i>
'.$value.'
</div>';
}
}
?>
<div class="form-group text-left">
<label>Username</label>
<input class="form-control" name="admin_name" type="text">
</div>
<div class="form-group text-left">
<label>Password</label>
<input class="form-control" name="admin_pass" type="password">
</div>
<button type="submit" id='swal-success' name="admin_login" class="btn ripple btn-main-primary btn-block">Sign In</button>
</form>
<div class="text-left mt-5 ml-0">
<div class="mb-1"><a href="reset.php">Forgot password?</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- End Row -->
</div>
<!-- End Page -->
<!-- <div class="col-sm-6 col-md-6 col-lg-3">
<div class="card custom-card text-center">
<div class="card-body">
<div>
<h6 class="main-content-label mb-1">Success alert</h6>
<p class="text-muted card-sub-title">A Success Message</p>
</div>
<div class="btn ripple btn-primary" id='swal-success'>
Click me !
</div>
</div>
</div>
</div> -->
<!-- Jquery js-->
<script src="assets/plugins/jquery/jquery.min.js"></script>
<!-- Bootstrap js-->
<script src="assets/plugins/bootstrap/js/popper.min.js"></script>
<script src="assets/plugins/bootstrap/js/bootstrap.min.js"></script>
<!-- Internal Sweet-Alert js-->
<script src="assets/plugins/sweet-alert/sweetalert.min.js"></script>
<script src="assets/plugins/sweet-alert/jquery.sweet-alert.js"></script>
<!-- Select2 js-->
<script src="assets/plugins/select2/js/select2.min.js"></script>
<script src="assets/js/select2.js"></script>
<!-- Custom js -->
<script src="assets/js/custom.js"></script>
</body>
</html>