-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprofile.php
More file actions
executable file
·43 lines (35 loc) · 910 Bytes
/
profile.php
File metadata and controls
executable file
·43 lines (35 loc) · 910 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
35
36
37
38
39
40
41
42
43
<?php
$header_title="Meu Perfil";
$header_css='<link rel="stylesheet" href="./CSS/profile.css">';
$nav1link="showevents.php";
$nav2link="sobre.php";
$nav3link="index.php";
$nav1="Eventos";
$nav2="Sobre nós";
$nav3="Logout";
include("header.php");
session_start();
if((!isset ($_SESSION['login']) == true) and (!isset ($_SESSION['senha']) == true)){
unset($_SESSION['login']);
unset($_SESSION['senha']);
header('location:login.php');
}
$logado = $_SESSION['login'];
?>
?>
<div class="side-bar">
<div class="user-info">
<img src="./img/people.png">
<legend> Olá, <?php echo $logado ?></legend>
</div>
<div class="nav-user">
<ul>
<li><a href="">Criar Anúncio</a></li>
<li><a href="anuncie.php">Criar Evento</a></li>
<li><a href="#">Meus Pedidos</a></li>
<li><a href="#">Suporte ao Cliente</a></li>
</ul>
</div>
</div>
<div class "content">
</div>