".$locale['402']."

\n"; closetable(); tablebreak(); } opentable($locale['410']); $i = 0; $result = dbquery( "SELECT * FROM ".$db_prefix."comments LEFT JOIN ".$db_prefix."users ON ".$db_prefix."comments.comment_name=".$db_prefix."users.user_id WHERE comment_type='$ctype' AND comment_item_id='$cid' ORDER BY comment_datestamp ASC" ); if (dbrows($result)) { echo "\n"; while ($data = dbarray($result)) { echo "\n\n\n"; $i++; } echo "
"; if ($data['user_name']) { echo "".$data['user_name'].""; } else { echo $data['comment_name']; } $comment_message = nl2br(parseubb($data['comment_message'])); if ($data['comment_smileys'] == "1") $comment_message = parsesmileys($comment_message); echo " ".$locale['041'].showdate("longdate", $data['comment_datestamp'])."
".$comment_message."
".$locale['411']." - ".$locale['412']." - ".$locale['413'].$data['comment_ip']."
\n"; } else { echo "

".$locale['415']."

\n"; } closetable(); echo "\n"; echo "\n"; require_once BASEDIR."footer.php"; ?>