summaryrefslogtreecommitdiffstats
path: root/contact.php
blob: 85fc9dc227e588dd14b5f5c43c7c06a74a1b7c3e (plain)
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();
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Contact Us</title>
<link rel="stylesheet" type="text/css" href="styles/style.css">
</head>
<body>
	<header><h1>Contact us</h1></header>
	<nav>
		<dl>
			<dt><a href=".">Home</a></dt>
			<dt><a href="categories.php">Categories</a></dt>
			<?php
				if(isset($_SESSION['username']))
				{
					echo "<dt><a href=\"login.php?logout\">Logout</a></dt>";
				}
				else
				{
					echo "<dt><a href=\"login.php\">Login</a></dt>";
				}
			?>
		</dl>
	</nav>
	<div id="content">
		<p>Name: SomeCompany Ltd.<br>Telephone: +1-555-6383<br>Address: SomeStreet in Alamo</p>
		<div class="spacer"></div>
	</div>
	<footer>Copyright by SomeCompany Ltd.</footer>
</body>
</html>