-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
34 lines (31 loc) · 919 Bytes
/
index.php
File metadata and controls
34 lines (31 loc) · 919 Bytes
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
<?php
session_start();
if (!isset($_SESSION['user_id'])) {
header("Location: login.php");
exit();
}
?>
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<title>Система управления IT-компанией</title>
<link rel="stylesheet" href="assets/style.css">
</head>
<body>
<body class="index-container">
<h1>Добро пожаловать в систему управления IT-компанией</h1>
<div class="index-buttons">
<form action="dashboard.php" method="get">
<button type="submit">Перейти в Dashboard</button>
</form>
<form action="login.php" method="get">
<button type="submit">Войти</button>
</form>
<form action="register.php" method="get">
<button type="submit">Регистрация</button>
</form>
</div>
</body>
</body>
</html>