");
out.println(" ");
out.println(" ");
out.println("
" + PageTemplates.formatJSLocalTime(msg.TimestampString) + "
");
out.println("
" + txt + "
");
if (msg.AttachmentType != null) {
out.println("
");
}
boolean visitorInBL = false;
if (visitor != null) {
if (visitor.UID == msg.User.UID) {
msg.VisitorCanComment = true;
} else {
visitorInBL = UserQueries.isInBL(sql, msg.User.UID, visitor.UID);
if (visitorInBL) {
msg.VisitorCanComment = false;
}
}
}
if (msg.VisitorCanComment) {
out.println("
");
}
ArrayList
recomm = MessagesQueries.getMessageRecommendations(sql, msg.MID);
if (!recomm.isEmpty()) {
out.print(" Рекомендовали (" + recomm.size() + "): ");
for (int i = 0; i < recomm.size(); i++) {
if (i > 0) {
out.print(", ");
}
out.print("
@" + recomm.get(i) + "");
}
out.println("
");
}
out.println(" ");
out.println("