Added dynamic Footer, Navbar, and discord/teamspeak widget
This commit is contained in:
parent
ea3ae7abae
commit
3723823a60
@ -38,24 +38,9 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
<?php
|
||||||
<nav class="coole-Farbe nav-extended">
|
include "header.php"
|
||||||
<div class="nav-wrapper" style=" min-height: 120px; !important height: 120px; !important" height="350px">
|
?>
|
||||||
<a href="./index.php" class="center brand-logo"><img height="100px" src="img/header.gif" /> </a>
|
|
||||||
<ul id="nav-mobile" class="right hide-on-med-and-down">
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div class="nav-content center">
|
|
||||||
<ul class="tabs tabs-transparent center">
|
|
||||||
<li class="tab center"><a href="./test1">Über Uns</a></li>
|
|
||||||
<li class="tab center"><a href="./test1">Rennliga</a></li>
|
|
||||||
<li class="tab center"><a href="./test1">Farming Sim</a></li>
|
|
||||||
<li class="tab center"><a href="./test1">Minecraft Map</a></li>
|
|
||||||
<li class="tab center"><a href="./test1">Spenden</a></li>
|
|
||||||
<li class="tab center"><a href="./test1">Kontakt</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="container white-text">
|
<div class="container white-text">
|
||||||
@ -113,22 +98,10 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<footer class="page-footer coole-Farbe">
|
<!-- Footer -->
|
||||||
<div class="row">
|
<?php
|
||||||
<div class="col l4">
|
include "footer.php"
|
||||||
<h5 class="white-text">Links</h5>
|
?>
|
||||||
<a href="impressum.php"> impressum </a><a href="Datenschutz">Datenschutz</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="footer-copyright">
|
|
||||||
<div class="container">
|
|
||||||
© 2014 Copyright Text
|
|
||||||
<a class="grey-text text-lighten-4 right" href="#!">More Links</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
|
|
||||||
<script type="text/javascript" src="js/materialize.min.js">
|
<script type="text/javascript" src="js/materialize.min.js">
|
||||||
|
9
discord.php
Normal file
9
discord.php
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<div class="col s12 l3">
|
||||||
|
<div class="card fixedminheight">
|
||||||
|
<div class="card-content white-text">
|
||||||
|
<iframe src="https://discord.com/widget?id=264082458117537812&theme=dark" width="100%" height="790px"
|
||||||
|
allowtransparency="true" frameborder="0"
|
||||||
|
sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
15
footer.php
Normal file
15
footer.php
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<footer class="page-footer coole-Farbe">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col l4">
|
||||||
|
<h5 class="white-text">Links</h5>
|
||||||
|
<a href="impressum.php"> impressum </a><a href="datenschutz.php">Datenschutz</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="footer-copyright">
|
||||||
|
<div class="container">
|
||||||
|
© 2022 Gomati
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
17
header.php
Normal file
17
header.php
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<nav class="coole-Farbe nav-extended">
|
||||||
|
<div class="nav-wrapper" style=" min-height: 120px; !important height: 120px; !important" height="350px">
|
||||||
|
<a href="./index.php" class="center brand-logo"><img height="100px" src="img/header.gif" /> </a>
|
||||||
|
<ul id="nav-mobile" class="right hide-on-med-and-down">
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="nav-content center">
|
||||||
|
<ul class="tabs tabs-transparent center">
|
||||||
|
<li class="tab center"><a href="./test1">Über Uns</a></li>
|
||||||
|
<li class="tab center"><a href="./test1">Rennliga</a></li>
|
||||||
|
<li class="tab center"><a href="./test1">Farming Sim</a></li>
|
||||||
|
<li class="tab center"><a href="./test1">Minecraft Map</a></li>
|
||||||
|
<li class="tab center"><a href="./test1">Spenden</a></li>
|
||||||
|
<li class="tab center"><a href="./test1">Kontakt</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</nav>
|
79
index.php
79
index.php
@ -39,23 +39,11 @@
|
|||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<nav class="coole-Farbe nav-extended">
|
|
||||||
<div class="nav-wrapper" style=" min-height: 120px; !important height: 120px; !important" height="350px">
|
<!-- Include header -->
|
||||||
<a href="./index.php" class="center brand-logo"><img height="100px" src="img/header.gif" /> </a>
|
<?php
|
||||||
<ul id="nav-mobile" class="right hide-on-med-and-down">
|
include "header.php"
|
||||||
</ul>
|
?>
|
||||||
</div>
|
|
||||||
<div class="nav-content center">
|
|
||||||
<ul class="tabs tabs-transparent center">
|
|
||||||
<li class="tab center"><a href="./test1">Über Uns</a></li>
|
|
||||||
<li class="tab center"><a href="./test1">Rennliga</a></li>
|
|
||||||
<li class="tab center"><a href="./test1">Farming Sim</a></li>
|
|
||||||
<li class="tab center"><a href="./test1">Minecraft Map</a></li>
|
|
||||||
<li class="tab center"><a href="./test1">Spenden</a></li>
|
|
||||||
<li class="tab center"><a href="./test1">Kontakt</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
@ -74,56 +62,19 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col s12 l3">
|
<?php
|
||||||
<div class="card fixedminheight">
|
include "discord.php"
|
||||||
<div class="card-content white-text">
|
?>
|
||||||
<iframe src="https://discord.com/widget?id=264082458117537812&theme=dark" width="100%" height="790px"
|
<?php
|
||||||
allowtransparency="true" frameborder="0"
|
include "teamspeak.php"
|
||||||
sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>
|
?>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="col s12 l3">
|
|
||||||
<div class="card fixedminheight">
|
|
||||||
<div class="card-content white-text">
|
|
||||||
<span class="card-title">Teamspeak 3</span>
|
|
||||||
|
|
||||||
<div class="ts3index-viewer" data-serverid="220911"
|
|
||||||
data-style="width=100%25&height=750px&bgcolor=333333&font=Arial&size=14&color=FFFFFF&icons=origin&serverc=CD6600&serverb&spacerc=CD6600&spacerb&channelc=CD6600&clientc=EFEFEF&hidebadges&hidecountry&hidebanners">
|
|
||||||
<a href="https://ts3index.com/?page=server&id=220911">TS3index.com</a></div>
|
|
||||||
<script language="javascript">
|
|
||||||
(function () {
|
|
||||||
var c = document.createElement("script"),
|
|
||||||
s = document.getElementsByTagName("script")[0];
|
|
||||||
c.type = "text/javascript";
|
|
||||||
c.async = true;
|
|
||||||
c.src = "https://ts3index.com/viewer/script.js";
|
|
||||||
s.parentNode.insertBefore(c, s);
|
|
||||||
})();
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Footer -->
|
||||||
<footer class="page-footer coole-Farbe">
|
<?php
|
||||||
<div class="row">
|
include "footer.php"
|
||||||
<div class="col l4">
|
?>
|
||||||
<h5 class="white-text">Links</h5>
|
|
||||||
<a href="impressum.php"> impressum </a><a href="Datenschutz.php">Datenschutz</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="footer-copyright">
|
|
||||||
<div class="container">
|
|
||||||
© 2014 Copyright Text
|
|
||||||
<a class="grey-text text-lighten-4 right" href="#!">More Links</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
|
|
||||||
<script type="text/javascript" src="js/materialize.min.js">
|
<script type="text/javascript" src="js/materialize.min.js">
|
||||||
|
23
teamspeak.php
Normal file
23
teamspeak.php
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
<div class="col s12 l3">
|
||||||
|
<div class="card fixedminheight">
|
||||||
|
<div class="card-content white-text">
|
||||||
|
<span class="card-title">Teamspeak 3</span>
|
||||||
|
|
||||||
|
<div class="ts3index-viewer" data-serverid="220911"
|
||||||
|
data-style="width=100%25&height=750px&bgcolor=333333&font=Arial&size=14&color=FFFFFF&icons=origin&serverc=CD6600&serverb&spacerc=CD6600&spacerb&channelc=CD6600&clientc=EFEFEF&hidebadges&hidecountry&hidebanners">
|
||||||
|
<a href="https://ts3index.com/?page=server&id=220911">TS3index.com</a>
|
||||||
|
</div>
|
||||||
|
<script language="javascript">
|
||||||
|
(function () {
|
||||||
|
var c = document.createElement("script"),
|
||||||
|
s = document.getElementsByTagName("script")[0];
|
||||||
|
c.type = "text/javascript";
|
||||||
|
c.async = true;
|
||||||
|
c.src = "https://ts3index.com/viewer/script.js";
|
||||||
|
s.parentNode.insertBefore(c, s);
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
Loading…
Reference in New Issue
Block a user