-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
36 lines (31 loc) · 1014 Bytes
/
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
<?php
session_start();
// if(isset($_COOKIE['remmber'])){
// header('location:home.php');
// }
?>
<!doctype html>
<html lang="en">
<head>
<title>Company</title>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="./style/css/bootstrap.min.css">
<link rel="stylesheet" href="./style/index.css">
<script src="./style/js/poper.js"></script>
<script src="./style/js/bootstrap.min.js"></script>
</head>
<body class="bg-secondary">
<div class="minCard">
<form class="card loginCard" method="post" action="home.php">
<h1 class="headerLogin">Login page</h1>
<lable>User name:</lable>
<input name="username" type="text" />
<lable>Password:</lable>
<input name="pass" type="password"/>
<button class="btn btn-info">Login</button>
</form>
</div>
</body>