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">
18 <script src="sorttable.js"></script>
20 <body id="welcometucode">
24 function html_bottom(){
27 <!-- Entwickelt 2015 von David "astra" Kaufmann (Layout + Website) und Jan "someone" Valeš (Datenbank + Website). -->
28 <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>)
29 <br>Auch möglich: <a href="mailto:someone@fsinf.at">eMail an someone@fsinf.at</a></p>
35 function html_linkbox($current = "") {
38 'list' => "Anmeldungen",
39 'intern/upload' => "Dateiupload",
42 $out = '<div id="menu" class="align-center"><h1>Anmeldesystem welcomeTUcode</h1><ul class="menulist">';
43 foreach ($items as $file => $name) {
44 $activeitem = ($current === $file) ? ' menuactive' : '';
45 $out .= '<li class="menuitem'.$activeitem.'"><a href="./'.$file.'.php">'.$name.'</a></li>';
47 $out .= '</ul></div><hr>';
48 if($GLOBALS['devmode'] == 1)$out .= '<p class="footnote">DEVMODE aktiv.<br>Am System wird gerade gearbeitet!</p>';