foot.php 5.79 KB
Newer Older
Pino Matranga's avatar
Pino Matranga committed
1
<footer id="footer">
2
    <div class="container-fluid">
Lorenzo Faletra's avatar
Lorenzo Faletra committed
3
        <div class="row">
4
            <div class="col-xs-6 col-sm-3 column">
Pino Matranga's avatar
Pino Matranga committed
5
                <h4><?php echo $lang['foot-9']; ?></h4>
6
                <ul class="list-unstyled">
7 8 9
                  <li><a href=https://docs.parrotlinux.org/legal/legal-start/><?php echo $lang['foot-2']; ?></a></li>
                  <li><a href="https://docs.parrotlinux.org/partners"><?php echo $lang['foot-3']; ?></a></li>
                  <li><a href="https://docs.parrotlinux.org/team/"><?php echo $lang['foot-4']; ?></a></li>
10 11 12
                </ul>
            </div>
            <div class="col-xs-6 col-sm-3 column">
Pino Matranga's avatar
Pino Matranga committed
13
                <h4><?php echo $lang['foot-10']; ?></h4>
14
                <ul class="list-unstyled">
Pino Matranga's avatar
Pino Matranga committed
15
                    <li><a href="https://en.wikipedia.org/wiki/Parrot_Security_OS"><?php echo $lang['foot-5']; ?></a></li>
16
                    <li><a href="https://distrowatch.com/parrot"><?php echo $lang['foot-6']; ?></a></li>
Pino Matranga's avatar
Pino Matranga committed
17 18
                    <li><a href="http://linux.softpedia.com/get/System/Operating-Systems/Linux-Distributions/Parrot-security-OS-102936.shtml"><?php echo $lang['foot-7']; ?></a></li>
                    <li><a href="https://wiki.debian.org/Derivatives/Census/ParrotSecurity"><?php echo $lang['foot-8']; ?></a></li>
19 20 21
                </ul>
            </div>
            <div class="col-xs-12 col-sm-3 text-right">
Pino Matranga's avatar
Pino Matranga committed
22
                <h4><?php echo $lang['foot-11']; ?></h4>
23 24 25 26 27 28 29 30
                <ul class="list-inline">
                  <li><a rel="nofollow" href="https://twitter.com/parrotsec" title="Twitter"><i class="icon-lg ion-social-twitter-outline"></i></a>&nbsp;</li>
                  <li><a rel="nofollow" href="https://www.facebook.com/parrotsec" title="Facebook"><i class="icon-lg ion-social-facebook-outline"></i></a>&nbsp;</li>
                  <li><a rel="nofollow" href="https://www.youtube.com/channel/UCj2dezzTc_Oy9eAEwBBodpw" title="Youtube"><i class="icon-lg ion-social-youtube-outline"></i></a></li>
                </ul>
            </div>
        </div>
        <br/>
Lorenzo Faletra's avatar
Lorenzo Faletra committed
31
        <div class="blue-triangular-division wow slideInDown"></div>
32 33
          <p class="text-center">© Lorenzo Faletra 2013-2019 Some Rights Reserved</span> - <a target="_blank" href="https://www.gnu.org/licenses/gpl-3.0.en.html">GNU GPL v3</a></p>
          <p class="text-center">Proudly Powered in Sicily with a huge amount of caffeine!</p>
Lorenzo Faletra's avatar
Lorenzo Faletra committed
34
        </div>
35 36 37 38 39 40 41 42 43 44 45
    </div>
</footer>
<div id="galleryModal" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog modal-lg">
    <div class="modal-content">
      <div class="modal-body">
        <img src="" id="galleryImage" class="img-responsive" />
        <p>
            <br/>
            <button class="btn btn-primary btn-lg center-block" data-dismiss="modal" aria-hidden="true">Close <i class="ion-android-close"></i></button>
        </p>
Lorenzo Faletra's avatar
Lorenzo Faletra committed
46 47
      </div>
    </div>
48 49 50
    </div>
</div>
<!--scripts loaded here -->
Pino Matranga's avatar
Pino Matranga committed
51 52 53
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.easing.min.js"></script>
54
<script src="js/wow.min.js"></script>
55
<script>
Lorenzo Faletra's avatar
Lorenzo Faletra committed
56 57 58 59 60 61 62 63 64 65 66 67 68
!function(window){
  var $q = function(q, res){
        if (document.querySelectorAll) {
          res = document.querySelectorAll(q);
        } else {
          var d=document
            , a=d.styleSheets[0] || d.createStyleSheet();
          a.addRule(q,'f:b');
          for(var l=d.all,b=0,c=[],f=l.length;b<f;b++)
            l[b].currentStyle.f && c.push(l[b]);

          a.removeRule(0);
          res = c;
69
        }
Lorenzo Faletra's avatar
Lorenzo Faletra committed
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
        return res;
      }
    , addEventListener = function(evt, fn){
        window.addEventListener
          ? this.addEventListener(evt, fn, false)
          : (window.attachEvent)
            ? this.attachEvent('on' + evt, fn)
            : this['on' + evt] = fn;
      }
    , _has = function(obj, key) {
        return Object.prototype.hasOwnProperty.call(obj, key);
      }
    ;

  function loadImage (el, fn) {
    var img = new Image()
      , src = el.getAttribute('data-src');
    img.onload = function() {
      if (!! el.parent)
        el.parent.replaceChild(img, el)
      else
        el.src = src;

      fn? fn() : null;
94
    }
Lorenzo Faletra's avatar
Lorenzo Faletra committed
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
    img.src = src;
  }

  function elementInViewport(el) {
    var rect = el.getBoundingClientRect()

    return (
       rect.top    >= 0
    && rect.left   >= 0
    && rect.top <= (window.innerHeight || document.documentElement.clientHeight)
    )
  }

    var images = new Array()
      , query = $q('img.lazy')
      , processScroll = function(){
          for (var i = 0; i < images.length; i++) {
            if (elementInViewport(images[i])) {
              loadImage(images[i], function () {
                images.splice(i, i);
              });
            }
          };
        }
      ;
    // Array.prototype.slice.call is not callable under our lovely IE8 
    for (var i = 0; i < query.length; i++) {
      images.push(query[i]);
    };

    processScroll();
    addEventListener('scroll',processScroll);

128
}(this);
129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164
</script>
<script>
(function($) {
    "use strict";

    $('body').scrollspy({
        target: '.navbar-fixed-top',
        offset: 60
    });

    $('#topNav').affix({
        offset: {
            top: 200
        }
    });
    
    new WOW().init();
    
    $('a.page-scroll').bind('click', function(event) {
        var $ele = $(this);
        $('html, body').stop().animate({
            scrollTop: ($($ele.attr('href')).offset().top - 60)
        }, 1450, 'easeInOutExpo');
        event.preventDefault();
    });
    
    $('.navbar-collapse ul li a').click(function() {
        /* always close responsive nav after click */
        $('.navbar-toggle:visible').click();
    });

    $('#galleryModal').on('show.bs.modal', function (e) {
       $('#galleryImage').attr("src",$(e.relatedTarget).data("src"));
    });

})(jQuery);
165
</script>
166
	</body>
Pino Matranga's avatar
Pino Matranga committed
167
</html>