summaryrefslogtreecommitdiffstats
path: root/contact.php
diff options
context:
space:
mode:
Diffstat (limited to 'contact.php')
-rw-r--r--contact.php35
1 files changed, 35 insertions, 0 deletions
diff --git a/contact.php b/contact.php
new file mode 100644
index 0000000..85fc9dc
--- /dev/null
+++ b/contact.php
@@ -0,0 +1,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> \ No newline at end of file