blog
every comment
setSafeMode(true);
$totaloutput = "";
$postlist = json_decode(file_get_contents("posts.json"));
foreach($postlist as $post) {
$output = "";
$date = date("Y-m-d h:iA", $post->date);
$name = $post->name;
$message = $Parsedown->text(html_entity_decode($post->message));
$entry = $post->entry;
$output = $output."
";
$totaloutput = $output.$totaloutput;
}
echo $totaloutput; ?>