2017-12-28 22:53:41 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<?php
|
|
|
|
require_once (__DIR__ . '/../internals/base.php');
|
|
|
|
require_once (__DIR__ . '/../internals/blog.php');
|
|
|
|
|
|
|
|
$allposts = Blog::listAllOrderedDescending();
|
|
|
|
|
|
|
|
?>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>Mikescher.com - Blog</title>
|
|
|
|
<meta name="google-site-verification" content="pZOhmjeJcQbRMNa8xRLam4dwJ2oYwMwISY1lRKreSSs"/>
|
|
|
|
<link rel="icon" type="image/png" href="/data/images/favicon.png"/>
|
2018-01-03 22:08:56 +01:00
|
|
|
<?php printCSS(); ?>
|
2017-12-28 22:53:41 +01:00
|
|
|
</head>
|
|
|
|
<body>
|
2017-12-29 01:14:15 +01:00
|
|
|
<div id="mastercontainer">
|
2017-12-28 22:53:41 +01:00
|
|
|
|
2018-01-03 01:03:43 +01:00
|
|
|
<?php $HEADER_ACTIVE='blog'; include (__DIR__ . '/../fragments/header.php'); ?>
|
2017-12-28 22:53:41 +01:00
|
|
|
|
|
|
|
<div id="content" class="content-responsive">
|
|
|
|
|
|
|
|
<div class="blockcontent">
|
|
|
|
|
|
|
|
<div class="contentheader"><h1>Blogposts and other stuff</h1><hr/></div>
|
|
|
|
|
|
|
|
<div class='bloglistelem_container'>
|
|
|
|
<?php
|
|
|
|
|
|
|
|
foreach ($allposts as $post)
|
|
|
|
{
|
|
|
|
if (!$post['visible']) continue;
|
|
|
|
|
2018-01-03 22:08:56 +01:00
|
|
|
if ($post['cat']=='blog') echo "<a class='bloglistelem ble_blog' href='" . $post['url'] . "'>\n";
|
|
|
|
else if ($post['cat']=='log') echo "<a class='bloglistelem ble_log' href='" . $post['url'] . "'>\n";
|
|
|
|
echo "<div class='ble_date'>" . $post['date'] . "</div>\n";
|
|
|
|
echo "<div class='ble_title'>" . $post['title'] . "</div>\n";
|
|
|
|
echo "</a>\n";
|
2017-12-28 22:53:41 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
?>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<?php include (__DIR__ . '/../fragments/footer.php'); ?>
|
2017-12-29 01:14:15 +01:00
|
|
|
|
|
|
|
</div>
|
2017-12-28 22:53:41 +01:00
|
|
|
</body>
|
|
|
|
</html>
|