-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
82 lines (68 loc) · 3.82 KB
/
footer.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<div id="footer">
<div class="wrap">
<footer id="bottom" class="clearfix">
<!-- Copyright section -->
<small><b>© <?php echo date('Y') ?></b>. Seems like you've reached the end…</small>
<!-- Footer links -->
<ul role="navigation">
<!-- Basic feed links -->
<li><a href="<?php echo rss_url() ?>">Feed Me</a></li>
<?php if ((user_authed()) && (user_authed_role() == "administrator")): ?>
<li><a href="<?php echo base_url('feeds/json') ?>">Bleep Bloop</a></li>
<li id="last-normal"><a href="<?php echo base_url('admin') ?>">Admin Panel</a></li>
<?php else: ?>
<li id="last-normal"><a href="<?php echo base_url('feeds/json') ?>">Bleep Bloop</a></li>
<?php endif ?>
<!-- Mobile list break -->
<br class="mobile-break"/>
<!-- Social media icons -->
<ul id="social-icons">
<?php if(twitter_account() != ''): ?>
<!-- Twitter -->
<li class="social-icon"><a href="<?php echo twitter_url() ?>" title="<?php echo twitter_account() . ' on Twitter' ?>">
<span class="sr-only"><?php echo twitter_account() . ' on Twitter' ?></span><i class="ion-social-twitter" aria-hidden="true"></i>
</a></li>
<?php endif ?>
<?php if (facebook_account() != ''): ?>
<!-- Facebook -->
<li class="social-icon"><a href="<?php echo facebook_url() ?>" title="<?php echo facebook_title() . ' on Facebook' ?>">
<span class="sr-only"><?php echo facebook_title() . ' on Facebook' ?></span><i class="ion-social-facebook" aria-hidden="true"></i>
</a></li>
<?php endif ?>
<?php if (github_account() != ''): ?>
<!-- GitHub -->
<li class="social-icon"><a href="<?php echo github_url() ?>" title="<?php echo github_account() . ' on GitHub' ?>">
<span class="sr-only"><?php echo github_account() . ' on GitHub' ?></span><i class="ion-social-github" aria-hidden="true"></i>
</a></li>
<?php endif ?>
<?php if (instagram_account() != ''): ?>
<!-- Instagram -->
<li class="social-icon"><a href="<?php echo instagram_url() ?>" title="<?php echo instagram_account() . ' on Instagram' ?>">
<span class="sr-only"><?php echo instagram_account() . ' on Instagram' ?></span><i class="ion-social-instagram" aria-hidden="true"></i>
</a></li>
<?php endif ?>
<?php if (youtube_account() != ''): ?>
<!-- YouTube -->
<li class="social-icon"><a href="<?php echo youtube_url() ?>" title="<?php echo youtube_title() . ' on YouTube' ?>">
<span class="sr-only"><?php echo youtube_title() . ' on YouTube' ?></span><i class="ion-social-youtube" aria-hidden="true"></i>
</a></li>
<?php endif ?>
</ul>
</ul>
</footer>
</div>
</div>
<!-- End Root -->
</div>
<!--[if lt IE 9]>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<![endif]-->
<!--[if gte IE 9]><!-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
<!--<![endif]-->
<!-- Load all scripts async -->
<script>
['<?php echo asset_url('/js/zepto.js'); ?>', '<?php echo theme_url('/js/main.js'); ?>'].forEach(function(src) { var script = document.createElement('script'); script.src = src; script.async = false; document.head.appendChild(script); });
</script>
</body>
</html>