diff options
author | Jonas Kohl | 2024-07-19 13:09:00 +0200 |
---|---|---|
committer | Jonas Kohl | 2024-07-19 13:09:00 +0200 |
commit | 3b9bb27ab9179334fe3c96ae8dbc249061649aff (patch) | |
tree | d7c612cbd9f0c3b337e0713c0507a1acae8e90c9 /src/template.php |
Initial commit
Diffstat (limited to 'src/template.php')
-rw-r--r-- | src/template.php | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/src/template.php b/src/template.php new file mode 100644 index 0000000..16fa5a5 --- /dev/null +++ b/src/template.php @@ -0,0 +1,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. + </td> + </tr> + </tbody> + </table> + </div> +</body> +</html> |