2017-02-04 22:10:59 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
2018-07-31 15:58:23 +02:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2017-02-04 22:10:59 +01:00
|
|
|
|
2018-07-31 15:58:23 +02:00
|
|
|
<title>The /-\ pile</title>
|
2017-02-04 22:10:59 +01:00
|
|
|
|
2018-07-31 15:58:23 +02:00
|
|
|
<link rel="stylesheet" type="text/css" href="assets/main.css">
|
2017-02-04 22:10:59 +01:00
|
|
|
|
2018-07-31 15:58:23 +02:00
|
|
|
<!-- Piwik -->
|
|
|
|
<script type="text/javascript">
|
|
|
|
var _paq = _paq || [];
|
|
|
|
_paq.push(['trackPageView']);
|
|
|
|
_paq.push(['enableLinkTracking']);
|
|
|
|
(function () {
|
|
|
|
var u = "//www.sdbs.cz/piwik/";
|
|
|
|
_paq.push(['setTrackerUrl', u + 'piwik.php']);
|
|
|
|
_paq.push(['setSiteId', '2']);
|
|
|
|
var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0];
|
|
|
|
g.type = 'text/javascript';
|
|
|
|
g.async = true;
|
|
|
|
g.defer = true;
|
|
|
|
g.src = u + 'piwik.js';
|
|
|
|
s.parentNode.insertBefore(g, s);
|
|
|
|
})();
|
|
|
|
</script>
|
|
|
|
<noscript><p><img src="//www.sdbs.cz/piwik/piwik.php?idsite=2" style="border:0;" alt=""/></p></noscript>
|
|
|
|
<!-- End Piwik Code -->
|
|
|
|
</head>
|
|
|
|
<body>
|
2017-02-04 22:10:59 +01:00
|
|
|
|
2018-07-31 15:58:23 +02:00
|
|
|
<div id="sidebar">
|
|
|
|
<div id="sidebar-head">
|
|
|
|
<h1><a href="..">The /-\ pile</a></h1>
|
|
|
|
</div>
|
|
|
|
<div id="sidebar-taglist">
|
|
|
|
<ul>
|
|
|
|
<li id="sidebar-taglist-top"><a href="?tag=*">ALL (<?= $doc_count ?>)</a></li>
|
|
|
|
<? if ($none_count > 0): ?>
|
|
|
|
<li id="sidebar-taglist-top"><a href="?tag=_">UNTAGGED (<?= $none_count ?>)</a></li>
|
|
|
|
<? endif; ?>
|
|
|
|
<?
|
|
|
|
foreach ($tags as $tag) {
|
|
|
|
echo '<li><a href="?tag=' . $tag['name'] . "\">" . $tag['name'] . " (" . $tag['count'] . ")</a></li>";
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-02-04 22:10:59 +01:00
|
|
|
|
2018-07-31 15:58:23 +02:00
|
|
|
<div id="content">
|
|
|
|
<?php echo $content ?>
|
|
|
|
</div>
|
2017-02-04 22:10:59 +01:00
|
|
|
|
2018-07-31 15:58:23 +02:00
|
|
|
<div id="login">
|
|
|
|
<?php if ($logged): ?>
|
|
|
|
<form method="get" action="admin.php">
|
|
|
|
<button type="submit" id="login-button">enter admin interface</button>
|
|
|
|
</form>
|
|
|
|
<? else: ?>
|
|
|
|
<form method="post" action="admin.php">
|
|
|
|
<input type="text" name="username" id="login-user"></input>
|
|
|
|
<input type="password" name="password" id="login-pass"></input>
|
|
|
|
<button type="submit" id="login-button">></button>
|
|
|
|
</form>
|
|
|
|
<? endif; ?>
|
|
|
|
</div>
|
2017-02-04 22:10:59 +01:00
|
|
|
</body>
|
2017-03-07 09:38:47 +01:00
|
|
|
</html>
|