\n";
echo "\n";
echo "
\n";
echo "
\n";
}
echo "$r[text]
\n"; //Other images if ($r_image != null){ echo "| " . formatDate($r['dtime'], $lang) . " $tag_string | \n";
}
else{
echo "" . formatDate($r['dtime'], $lang) . " | \n"; } #Share echo "\n"; echo " |
\n"; $q_comment = mysqli_query($con, "SELECT id, post, DATE_FORMAT(dtime, '%Y-%m-%dT%T') AS isodate, dtime, user, username, lang, text FROM post_comment WHERE post = $id AND approved = 1 ORDER BY dtime;"); $count = mysqli_num_rows($q_comment); echo "\n"; switch ($count){ case 0: echo "
$lng[blog_comments_0]
\n"; break; case 1: echo "1 $lng[blog_comments_1]
\n"; break; default: echo "$count $lng[blog_comments_multiple]
\n"; } echo "\n";
//WARNING: If changes are done here, do the same in comment.php
while ($r_comment = mysqli_fetch_array($q_comment)){
echo "
\n";
#Comment form
echo "\n";
echo "\n";
echo "
\n";
}
else{
echo "


$r_comment[text]
"; echo "\n"; echo "