2019-02-11 10:44:20 -06:00
|
|
|
<?php
|
2019-02-13 20:43:32 -06:00
|
|
|
/* This file is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of version 3 of the GNU Affero General Public
|
|
|
|
License as published by the Free Software Foundation.
|
|
|
|
|
|
|
|
This file is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU Affero General Public License for more details. */
|
|
|
|
|
2019-02-11 10:44:20 -06:00
|
|
|
$depth = "";
|
2019-02-13 20:43:32 -06:00
|
|
|
$title = "";
|
2019-02-11 10:44:20 -06:00
|
|
|
include "res/lib/load.php";
|
|
|
|
|
2019-02-13 20:43:32 -06:00
|
|
|
// -------------------------------------
|
|
|
|
|
2019-02-15 08:32:58 -06:00
|
|
|
$id = $_GET['id'];
|
|
|
|
$text = post_text($id);
|
|
|
|
$author = post_author($id);
|
|
|
|
$date = post_data($id);
|
2019-02-13 20:43:32 -06:00
|
|
|
|
2019-02-15 08:32:58 -06:00
|
|
|
$local_exports = array('id' => $id, 'text' => $text, 'author' => $author,
|
|
|
|
'data' => $data);
|
2019-02-13 20:43:32 -06:00
|
|
|
|
2019-02-15 08:32:58 -06:00
|
|
|
// -------------------------------------
|
2019-02-13 20:43:32 -06:00
|
|
|
|
2019-02-15 08:32:58 -06:00
|
|
|
display_page("post.twig.html", $depth, $title, $local_exports);
|
2019-02-11 10:44:20 -06:00
|
|
|
|
|
|
|
?>
|