-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.php
executable file
·35 lines (35 loc) · 1014 Bytes
/
header.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
<?php
session_start();
?>
<html>
<head>
<title>2CanArt</title>
<script src="./js/jquery.js"></script>
<script src="./js/dropDown.js"></script>
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" type="text/css" href="colorStyle.css">
<link rel="stylesheet" type="text/css" href="sizeStyle.css">
<div id="nav">
<div id="navbar">
<div id="logoslide">
<div id="aboutslide">
</div>
<h1 class="mainlogo"><i>2CanArt</i></h1>
</div>
<div id="navbara">
<ul>
<li><a class="nava" href="#">Contact</a></li>
<li><a class="nava" href="#">About</a></li>
<?php
if (!$_SESSION['username']) {
echo "<li><a class=\"nava\" href=\"upload.php\">Login</a></li>";
} else {
echo "<ul><li><a class=\"nava\" id=\"dropdown\" href=\"choseimg.php\">Upload</a>";
echo "<ul><li><a href=\"logout.php\" class=\"logout\">Logout</a></li</ul></li>";
}
?> <li><a class="nava" href="index.php">Home</a></li>
</ul>
</div>
</div>
</div>
</head>