mirror of
https://github.com/sorenpeter/timeline.git
synced 2025-12-15 19:07:01 +00:00
20 lines
No EOL
484 B
PHP
20 lines
No EOL
484 B
PHP
<?php
|
|
require_once("partials/base.php");
|
|
|
|
// Get the hash (only post, not replies) as $id from the router
|
|
if (!empty($id)) {
|
|
$twts = array_filter($twts, function($twt) use ($id) {
|
|
return $twt->hash === $id;
|
|
});
|
|
}
|
|
|
|
$title = "Post #".$id." - ".$title;
|
|
|
|
include_once 'partials/header.php';
|
|
?>
|
|
|
|
<!-- <h2>Post: #<?= $id ?></h2> -->
|
|
|
|
<!-- PHP: GET TIMELIE --><?php include_once 'partials/timeline.php'?>
|
|
|
|
<!-- PHP: GET FOOTER --><?php include_once 'partials/footer.php';?>
|