4 * welcome.TU.code Anmeldesystem.
5 * by David Kaufmann <astra@ionic.at>
8 function html_top($title = ""){
9 if($GLOBALS['devmode'] == 1)$title .= ' [DEVMODE]';
13 <html lang="de" dir="ltr">
15 <meta charset="utf-8">
17 <link rel="stylesheet" href="style.css">
21 function html_bottom(){
24 <!-- Entwickelt 2015 von David "astra" Kaufmann (Layout + Website) und Jan "someone" Valeš (Datenbank + Website). -->
25 <p class="footnote"><a href="https://frost.fsinf.at/iris?channels=w2c">Live-Support-WebChat</a> (Ist ein WebIRC zu <a href="irc://irc.fsinf.at/w2c">#w2c auf irc.fsinf.at</a>)
26 <br>Auch möglich: <a href="mailto:someone@fsinf.at">eMail an someone@fsinf.at</a></p>
32 function html_linkbox($current = "") {
35 'list' => "Anmeldungen",
36 'intern/upload' => "Dateiupload",
39 $out = '</head><body id="welcometucode"><div id="menu" class="align-center"><h1>Anmeldesystem welcomeTUcode</h1><ul class="menulist">';
40 foreach ($items as $file => $name) {
41 $activeitem = ($current === $file) ? ' menuactive' : '';
42 $out .= '<li class="menuitem'.$activeitem.'"><a href="./'.$file.'.php">'.$name.'</a></li>';
44 $out .= '</ul></div><hr>';
45 if($GLOBALS['devmode'] == 1)$out .= '<p class="footnote">DEVMODE aktiv.<br>Am System wird gerade gearbeitet!</p>';