case "V":
$access = dbquery(" SELECT video_id FROM ".DB_video." v, ".DB_video_CAT." c WHERE
v.video_id='".$data['comment_item_id']."' AND
v.video_cat=c.video_cat_id AND
".groupaccess('c.video_cat_access')
);
if (dbrows($access) > 0) {
$comment = trimlink($data['comment_message'], 23);
$commentStart = dbcount("(comment_id)", DB_COMMENTS, "comment_item_id='".$data['comment_item_id']."' AND comment_type='E' AND comment_id<=".$data['comment_id']);
if ($commentStart > $settings['comments_per_page']) {
$commentStart = "&c_start=".floor($commentStart / $settings['comments_per_page']) * $settings['comments_per_page'];
} else {
$commentStart = "";
}
$output .= THEME_BULLET." ".$comment."
\n";
$i++;
}
continue;