-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfooter.php
More file actions
44 lines (41 loc) · 1.49 KB
/
footer.php
File metadata and controls
44 lines (41 loc) · 1.49 KB
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
36
37
38
39
40
41
42
43
44
<footer>
<div class="footer-container">
<div class="about-group">
<a href="/home.php"><h2>Blog CMS</h2></a>
<p>An HTML / JS / PHP / SQL project</p>
<p>Tallahassee, FL</p>
</div>
<div class="hr"></div>
<div class="info group">
<h2>Site Navigation</h2>
<ul>
<li><a href="/blog.php">BLOG</a></li>
<li><a href="/about.php">ABOUT</a></li>
<li><a href="/contact.php">CONTACT</a></li>
<?php
if (isset($_SESSION["userid"])) {
echo "<li><a href=\"/includes\logout.inc.php\">LOG OUT</a></li>";
}
else {
echo "<li><a href=\"/login.php\">SIGN IN</a></li>";
}
?>
</ul>
</div>
<div class="hr"></div>
<div class="follow group">
<h2>Follow Us</h2>
<ul>
<li><a href="https://www.facebook.com"><i class="fab fa-facebook-f"></i></a></li>
<li><a href="https://www.instagram.com/jasonchoate/"><i class="fab fa-instagram"></i></a></li>
</ul>
</div>
</div>
<div class="footer-copyright group">
<p id="current-year"></p>
</div>
<script>
var year = new Date().getFullYear();
document.getElementById("current-year").textContent = "© " + year + " Jason Choate";
</script>
</footer>