|
4 | 4 | <div class="footer-bottom container"> |
5 | 5 | <div class="row"> |
6 | 6 | <div class="col-md-6"> |
7 | | - <p>Copyright © 2018 Copyright Holder All Rights Reserved.</p> |
| 7 | + <p><?php echo getenv('STORE_FOOTER'); ?></p> |
| 8 | + </div> |
| 9 | + <div class="col-md-6 text-right"> |
| 10 | + <?php |
| 11 | + // Setup the social media variables for the if |
| 12 | + // statements and echos. |
| 13 | + $fab = getenv('SOCIAL_FACEBOOK', null); |
| 14 | + $twt = getenv('SOCIAL_TWITTER', null); |
| 15 | + $lin = getenv('SOCIAL_LINKEDIN', null); |
| 16 | + $you = getenv('SOCIAL_YOUTUBE', null); |
| 17 | + $goo = getenv('SOCIAL_GOOGLE_PLUS', null); |
| 18 | + $pin = getenv('SOCIAL_PINTEREST', null); |
| 19 | + $ins = getenv('SOCIAL_INSTAGRAM', null); |
| 20 | + $fli = getenv('SOCIAL_FLICKR', null); |
| 21 | + $vim = getenv('SOCIAL_VIMEO', null); |
| 22 | + $red = getenv('SOCIAL_REDDIT', null); |
| 23 | + $slk = getenv('SOCIAL_SLACK', null); |
| 24 | + $git = getenv('SOCIAL_GITHUB', null); |
| 25 | + $bit = getenv('SOCIAL_BITBUCKET', null); |
| 26 | + $wha = getenv('SOCIAL_WHATSAPP', null); |
| 27 | + $sky = getenv('SOCIAL_SKYPE', null); |
| 28 | + $wch = getenv('SOCIAL_WECHAT', null); |
| 29 | + $sli = getenv('SOCIAL_SLIDESHARE', null); |
| 30 | + $tum = getenv('SOCIAL_TUMBLR', null); |
| 31 | + $wor = getenv('SOCIAL_WORDPRESS', null); |
| 32 | + $med = getenv('SOCIAL_MEDIUM', null); |
| 33 | + $yel = getenv('SOCIAL_YELP', null); |
| 34 | + $fsq = getenv('SOCIAL_FOURSQUARE', null); |
| 35 | + // Start the if statments to echo the social |
| 36 | + // profiles that have been set in .env. |
| 37 | + if (!empty($fab)) : ?> |
| 38 | + <a href="https://www.facebook.com/<?php echo $fab; ?>"><i class="fa fa-2x fa-facebook-square"></i></a> |
| 39 | + <?php endif; if (!empty($twt)) : ?> |
| 40 | + <a href="https://twitter.com/<?php echo $twt; ?>"><i class="fa fa-2x fa-twitter-square"></i></a> |
| 41 | + <?php endif; if (!empty($lin)) : ?> |
| 42 | + <a href="https://linkedin.com/in/<?php echo $lin; ?>"><i class="fa fa-2x fa-linkedin-square"></i></a> |
| 43 | + <?php endif; if (!empty($you)) : ?> |
| 44 | + <a href="https://youtube.com/<?php echo $you; ?>"><i class="fa fa-2x fa-youtube-square"></i></a> |
| 45 | + <?php endif; if (!empty($goo)) : ?> |
| 46 | + <a href="https://plus.google.com/<?php echo $goo; ?>"><i class="fa fa-2x fa-google-plus-square"></i></a> |
| 47 | + <?php endif; if (!empty($pin)) : ?> |
| 48 | + <a href="https://pinterest.com/<?php echo $pin; ?>"><i class="fa fa-2x fa-pinterest-square"></i></a> |
| 49 | + <?php endif; if (!empty($ins)) : ?> |
| 50 | + <a href="https://instagram.com/<?php echo $ins; ?>"><i class="fa fa-2x fa-instagram"></i></a> |
| 51 | + <?php endif; if (!empty($fli)) : ?> |
| 52 | + <a href="https://flickr.com/<?php echo $fli; ?>"><i class="fa fa-2x fa-flickr"></i></a> |
| 53 | + <?php endif; if (!empty($vim)) : ?> |
| 54 | + <a href="https://vimeo.com/<?php echo $vim; ?>"><i class="fa fa-2x fa-vimeo-square"></i></a> |
| 55 | + <?php endif; if (!empty($red)) : ?> |
| 56 | + <a href="https://reddit.com/<?php echo $red; ?>"><i class="fa fa-2x fa-reddit-square"></i></a> |
| 57 | + <?php endif; if (!empty($slk)) : ?> |
| 58 | + <a href="https://<?php echo $slk; ?>.slack.com/"><i class="fa fa-2x fa-slack"></i></a> |
| 59 | + <?php endif; if (!empty($git)) : ?> |
| 60 | + <a href="https://github.com/<?php echo $git; ?>"><i class="fa fa-2x fa-github-square"></i></a> |
| 61 | + <?php endif; if (!empty($bit)) : ?> |
| 62 | + <a href="https://bitbucket.com/<?php echo $bit; ?>"><i class="fa fa-2x fa-bitbucket-square"></i></a> |
| 63 | + <?php endif; if (!empty($wha)) : ?> |
| 64 | + <a href="https://api.whatsapp.com/send?phone=<?php echo $wha; ?>"><i class="fa fa-2x fa-whatsapp"></i></a> |
| 65 | + <?php endif; if (!empty($sky)) : ?> |
| 66 | + <a href="https://skype.com/<?php echo $sky; ?>"><i class="fa fa-2x fa-skype"></i></a> |
| 67 | + <?php endif; if (!empty($wch)) : ?> |
| 68 | + <a href="https://wechat.com/<?php echo $wch; ?>"><i class="fa fa-2x fa-weixin"></i></a> |
| 69 | + <?php endif; if (!empty($sli)) : ?> |
| 70 | + <a href="https://www.slideshare.net/<?php echo $sli; ?>"><i class="fa fa-2x fa-slideshare"></i></a> |
| 71 | + <?php endif; if (!empty($tum)) : ?> |
| 72 | + <a href="https://<?php echo $tum; ?>.tumblr.com/"><i class="fa fa-2x fa-tumblr-square"></i></a> |
| 73 | + <?php endif; if (!empty($wor)) : ?> |
| 74 | + <a href="https://<?php echo $wor; ?>.wordpress.com/"><i class="fa fa-2x fa-wordpress"></i></a> |
| 75 | + <?php endif; if (!empty($med)) : ?> |
| 76 | + <a href="https://medium.com/<?php echo $med; ?>"><i class="fa fa-2x fa-medium"></i></a> |
| 77 | + <?php endif; if (!empty($yel)) : ?> |
| 78 | + <a href="https://yelp.com/biz/<?php echo $yel; ?>"><i class="fa fa-2x fa-yelp"></i></a> |
| 79 | + <?php endif; if (!empty($fsq)) : ?> |
| 80 | + <a href="https://foursquare.com/<?php echo $fsq; ?>"><i class="fa fa-2x fa-foursquare"></i></a> |
| 81 | + <?php endif; ?> |
8 | 82 | </div> |
9 | | - <div class="col-md-6"></div> |
10 | 83 | </div> |
11 | 84 | </div> |
12 | 85 | </footer> |
|
0 commit comments