IsError()) { // Something happened, very likely that post is not found
header("Location: .");
exit();
} else {
$postData = $reqResult->GetData();
}
NTFY_EchoAllNotices();
?>
\n";
?>
$tag\n";
?>
Comments disabled\n";
} else { // TODO: this part down is untested (and incomplete), so beware
$reqResult = Comments_GetSectionRange_Method(array("id" => $postData["comment_section_id"]));
if ($reqResult->IsError()) {
echo "
Can't fetch comments
\n"; } else { $commentsList = $reqResult->GetData(); $commentsAmount = count($commentsList); echo "Comments: " . strval($commentsAmount) . "
\n"; foreach ($commentsList as $commentData) { // TODO echo "\n"; echo strval($commentData["created_at"]) . "
\n"; echo "\n"; //"04/04/2024 04:20
\n"; echo "Guy\n"; echo "
cool story bob
\n"; echo "