summaryrefslogtreecommitdiff
path: root/src/template.php
blob: 8612a5100e48ab4f016289fd2a977a749d578018 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
    <title><?= htmlentities($title) ?></title>
    <link rel="stylesheet" href="/static/style.css" type="text/css" />
</head>
<body>
    <div id="wrapper">
        <table id="mainLayout" cellspacing="0">
        <!--
            I know, cellspacing="0" is *not* valid XHTML in
            XHTML 1.0 Strict, but IE versions below 7 don't support
            the 'border-spacing' CSS property, so we have no other choice.
            I also don't want to use XHTML Transitional, as that would put
            IE into quirks mode, but I want to stay in standards mode.
        -->
            <tbody>
                <tr id="logoRow">
                    <td id="logoCell">
                        <img src="/static/blank.gif" alt="hozyro's site" width="1" height="136" />
                    </td>
                </tr>
                <tr id="navRow">
                    <td id="navCell">
                        <table id="navLayout" cellspacing="0">
                            <tbody>
                                <tr>
                                    <td class="navCell" style="border-left:0"><a href="/">Home page</a></td>
                                    <td class="navCell"><a href="/about.html">About me</a></td>
                                    <td class="navCell"><a href="https://jonaskohl.de/">My actual website</a></td>
                                    <td class="navCell" style="border-right:0"></td>
                                </tr>
                            </tbody>
                        </table>
                    </td>
                </tr>
                <tr id="mainRow">
                    <td id="mainCell">
                        <?php include $page ?>
                    </td>
                </tr>
                <tr id="footerRow">
                    <td id="footerCell">
                        Made by Jonas Kohl aka hozyro. This website is <a href="https://git.jkohl.link/jonas/neocities-site">open-source</a>.
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
</body>
</html>