Added dynamic Footer, Navbar, and discord/teamspeak widget

This commit is contained in:
Jesse James Isler 2022-11-28 08:38:23 +01:00
parent ea3ae7abae
commit 3723823a60
6 changed files with 86 additions and 98 deletions

View File

@ -38,24 +38,9 @@
</head>
<body>
<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>
<?php
include "header.php"
?>
<div class="container white-text">
@ -113,22 +98,10 @@
<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">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>
<!-- Footer -->
<?php
include "footer.php"
?>
<script type="text/javascript" src="js/materialize.min.js">

9
discord.php Normal file
View 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&amp;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
View 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
View 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>

View File

@ -39,23 +39,11 @@
<body>
<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>
<!-- Include header -->
<?php
include "header.php"
?>
<div class="container">
@ -74,56 +62,19 @@
</div>
</div>
</div>
<div class="col s12 l3">
<div class="card fixedminheight">
<div class="card-content white-text">
<iframe src="https://discord.com/widget?id=264082458117537812&amp;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>
<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>
<?php
include "discord.php"
?>
<?php
include "teamspeak.php"
?>
</div>
<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">
© 2014 Copyright Text
<a class="grey-text text-lighten-4 right" href="#!">More Links</a>
</div>
</div>
</footer>
<!-- Footer -->
<?php
include "footer.php"
?>
<script type="text/javascript" src="js/materialize.min.js">

23
teamspeak.php Normal file
View 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>