-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.php
More file actions
34 lines (32 loc) · 942 Bytes
/
index.php
File metadata and controls
34 lines (32 loc) · 942 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_login'])){
header("Location: auto.php");
}
$user_login = $_SESSION['user_login'];
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<div class="wrap">
<div class="header"><a href='vendor/logout.php'>Выйти</a></div>
<div class="statement_status">
<h1>hello,<?echo '<span>'.$_SESSION['user_login'].'</span>'?></h1>
<div class="all_statement">
<?php
require_once 'vendor/index_script.php';
?>
</div>
<div class="to_make_statement">
<a href="create_Statement.php">Написать жалобу</a>
</div>
</div>
</div>
</body>
</html>