39 lines
1.7 KiB
PHP
39 lines
1.7 KiB
PHP
|
<?php
|
||
|
function getMenu($page){
|
||
|
$startpage = $page == "home" ? "class=\"menueSelected\"" : "";
|
||
|
$projects = $page == "projekte" ? "class=\"menueSelected\"" : "";
|
||
|
$status = $page == "status" ? "class=\"menueSelected\"" : "";
|
||
|
|
||
|
return <<<EOF
|
||
|
<a href="/" $startpage>Startseite</a>
|
||
|
<div class="dropdown">
|
||
|
<a href="#" $projects>Projekte</a>
|
||
|
<div class="dropdown-content">
|
||
|
<a href="/Projekte/proxdroid.php">Proxdroid - Proxmox Android App</a><br>
|
||
|
<a href="/Projekte/websitecloner.php">Website Cloner</a><br>
|
||
|
<a href="/Projekte/youtubedownloader.php">YouTube Downloader</a><br>
|
||
|
<a href="/Projekte/mqttpush.php">MQTT Push</a><br>
|
||
|
<a href="/Projekte/gclogLink.php">Geocaching Premium Log link Generator</a><br>
|
||
|
<a href="/Projekte/ledtisch1.php">LED Tisch Version 1</a><br>
|
||
|
<a href="/Projekte/ledtisch2.php">LED Tisch Version 2</a><br>
|
||
|
<a href="/Projekte/regensensor.php">Regensensor</a><br>
|
||
|
<a href="/Projekte/blitzortung.php">Blitzortung</a><br>
|
||
|
<a href="/Projekte/insecam.php">Insecam</a><br>
|
||
|
<a href="/Projekte/URLkuerzer1.php">URL Kürzer V1</a><br>
|
||
|
<a href="/Projekte/URLkuerzer2.php">URL Kürzer V2</a><br>
|
||
|
<a href="/Projekte/smartmirror.php">Smart Mirror</a><br>
|
||
|
<a href="/Projekte/snowboy.php">Installation von Snowboy</a><br>
|
||
|
</div>
|
||
|
</div>
|
||
|
<a href="//kurz.ml">URL Kürzer</a>
|
||
|
<div class="dropdown">
|
||
|
<a href="#" $status>Status</a>
|
||
|
<div class="dropdown-content">
|
||
|
<a href="//status.jonasled.de">Server</a><br>
|
||
|
<a href="/ntpstatus.php">NTP Server</a><br>
|
||
|
</div>
|
||
|
</div>
|
||
|
EOF;
|
||
|
}
|
||
|
?>
|