summaryrefslogtreecommitdiff
path: root/tools/footer.php
blob: ce072aaefec31efde3c8896f2177b6fa0c1bd39d (plain)
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
                <div class="footer">
                        <div class="container">
                                <div class="row">
                                        <div class="text-right">
                                                <p><span class="fa fa-copyright"></span> Copyright 2014 <a class="footer-a" href="//www.moehm.org/"  target="_blank" title="https://www.moehm.org/">Maximilian M&ouml;hring</a></p>
                                        </div>
                                </div>
                        </div>
                </div>
		<script>
		function addClass(id,new_class){
			if (id == "") return;
			var i,n=0;

			new_class=new_class.split(",");

			for(i=0;i<new_class.length;i++){
				if((" "+document.getElementById(id).className+" ").indexOf(" "+new_class[i]+" ")==-1){
					document.getElementById(id).className+=" "+new_class[i];
					n++;
				}
			}

			return n;
		}
		addClass("<?php echo trim(str_replace("/index.php", "", $_SERVER["PHP_SELF"] ), "/");?>", "actives");
		</script>