\n";
$result = dbquery("SELECT * FROM ".DB_PREFIX."comments tcm
WHERE comment_name='".$lookup."'
ORDER BY comment_datestamp ASC");
while($data = dbarray($result)){
$comment_message = nl2br(parseubb($data['comment_message']));
$comment_item_id = $data['comment_item_id'];
$comment_type = $data['comment_type'];
if ($data['comment_smileys'] == "1") $comment_message = parsesmileys($comment_message);
echo "
".showdate("longdate", $data['comment_datestamp'])."
".$comment_message."
";
if ($data['comment_type'] == "N") {
echo "
zobacz komentarz
";
}
else if ($data['comment_type'] == "A") {
echo "
zobacz komentarz
";
}
else {
echo "
Brak komentarzy";
}
}
echo "
";
echo "