This commit is contained in:
2025-09-18 13:29:43 +02:00
commit 164a89ea3e
14 changed files with 673 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
</div>
</body>
</html>

View File

@@ -0,0 +1,21 @@
<?php
$req = $_SERVER['REQUEST_URI'];
?>
<html lang="pl">
<head>
<link rel="stylesheet" type="text/css" href="/~<<USER>>/style.css">
<?php
if (str_contains($req, "/blog/")) {
echo '<title>~<<USER>> Blog | tylda.org</title>';
} else {
echo '<title>~<<USER>> | tylda.org</title>';
}
?>
</head>
<body>
<div class="main-content">
<header id="menu">
<a href="/~<<USER>>/">~<<USER>></a>
<a <?php if ($req == "/~<<USER>>/" || $req == "~/<<USER>>/index.php") { echo 'class="active"'; } ?>href="/~<<USER>>/">strona główna</a>
<a <?php if (str_starts_with($req, "/~<<USER>>/blog/")) { echo 'class="active"'; } ?>href="/~<<USER>>/blog/">blog</a>
</header>

View File

@@ -0,0 +1,8 @@
<div id="top-bar">
<h1>> <<TITLE>></h1>
</div>
<i class="post_date"><<DATE>></i>
<article id="content">
<<CONTENT>>
</article>