added menu in header
This commit is contained in:
1 parent
ccd57f7fdf
commit
a17652035a
2 files changed
+22
-6
No files matched your search
+10
-6
@@ -1,12 +1,11 @@
|
||||
|
||||
<?php
|
||||
require "check.php";
|
||||
$user=@$_SESSION['user'];
|
||||
if(empty($user)){
|
||||
header('Location: login.php');
|
||||
}
|
||||
|
||||
print('<!DOCTYPE html>
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>Stream Upload</title>
|
||||
<link rel="icon" href="favicon.png">
|
||||
@@ -22,8 +21,13 @@ function filename(){
|
||||
name.style.fontWeight = "normal";
|
||||
}
|
||||
</script>
|
||||
<div class="user"><p class="user">User: <b>'.$user.'</b></p><p class="title">Dashboard</p>
|
||||
<div class="user">
|
||||
<p class="user">User: <b><?php echo $user ?></b></p>
|
||||
<div class="menu">
|
||||
<a href="index.php" class="menu-item">Home</a>
|
||||
<a href="dashboard.php" class="menu-item">Dashboard</a>
|
||||
</div>
|
||||
<form action="login.php" method="post">
|
||||
<input id="logoff" type="submit" name="logoff" value="Logoff">
|
||||
</form></div>');
|
||||
?>
|
||||
</form>
|
||||
</div>
|
||||
Reference in new issue
Block a user