-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlog-in.php
47 lines (45 loc) · 1.71 KB
/
log-in.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
<?php
@session_start();
include('settings/db.php');
include('settings/classes/log.php');
if (isset($_POST['log-in'])) {
$login = new log();
$login->logIn();
}
?>
<!DOCTYPE html>
<html>
<head>
<title>Cars</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="assets/styles/log-in.css">
<link rel="stylesheet" href="https://use.typekit.net/kdi6adg.css">
</head>
<header>
<a href="index.php" class="logo"><h2>carz.</h2></a>
<a href="index.php"><img src="assets/img/arrow_btn.png" alt="arrow" class="arrow_btn"></a>
</header>
<body>
<p class="title-log-in">log-in</p>
<form method="post" action="#">
<label></label>
<div class="input-group-mine">
<input id="mail" type="mail" name="mail" placeholder="e-mail:">
</div>
<div class="input-group-mine">
<label></label>
<input id="password" type="password" name="password" placeholder="password:">
</div>
<div class="input-group-mine-btn">
<button class="btn" type="submit" value="log-in" name="log-in">log-in</button>
</div>
</form>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.5.4/dist/umd/popper.min.js"
integrity="sha384-q2kxQ16AaE6UbzuKqyBE9/u/KzioAlnx2maXQHiDX9d4/zp8Ok3f+M7DPm+Ib6IU"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/js/bootstrap.min.js"
integrity="sha384-pQQkAEnwaBkjpqZ8RU1fF1AKtTcHJwFl3pblpTlHXybJjHpMYo79HY3hIi4NKxyj"
crossorigin="anonymous"></script>
</body>
</html>