-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
31 lines (27 loc) · 920 Bytes
/
Copy pathheader.php
File metadata and controls
31 lines (27 loc) · 920 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
<?php include 'includes.php';?>
<div class="w3_agilits_banner_bootm">
<div class="w3_agilits_inner_bottom">
<div class="wthree_agile_login">
<ul>
<?php
if (isset($_SESSION['id']) && !empty($_SESSION['id'])) {
$result = mysqli_query($mysqli, "SELECT * FROM login WHERE id='$id'");
echo $id;
while($res = mysqli_fetch_array($result))
{
$psta = $res['psta'];
}
?>
<li>
<li><a href="mono.php">Home</a></li>
<li><?php echo $_SESSION['id']; ?></li>
<li><?php echo $psta; ?></li>
</li>
<li><a href="logout.php">Logout</a></li>
<?php
}
?>
</ul>
</div>
</div>
</div>