-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.php
42 lines (32 loc) · 1022 Bytes
/
home.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
<?php
include "include/header.php";
include_once 'include/dbconnect.php';
/*if(isset($_POST['logout'])){
session_destroy();
header('location: index.php');
}*/
?>
<title>Main page</title>
</head>
<body>
<div class="wrapper">
<div class="content">
<div class="auth">
Привет, Андрей <?php // $_SESSION['login_user']; ?>
<div class="btn btn-default btn-xs"><a href="">logout</a></div>
<!-- <form method="post" action="logout.php">
<span class = "" type = "submit" name = "logout">Logout</span>
</form>-->
</div>
<div class="location">
Your location:
</div>
<div class="menu" >
<a href="index.php">Главная</a>
<a href="register.php">Зарегистрироваться</a>
</div>
<h2>Main page</h2>
</div>
</div>
</body>
</html>