");
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.getUID() == msg.getUser().getUID()) {
msg.VisitorCanComment = true;
} else {
visitorInBL = UserQueries.isInBL(sql, msg.getUser().getUID(), visitor.getUID());
if (visitorInBL) {
msg.VisitorCanComment = false;
}
}
}
if (msg.VisitorCanComment) {
out.println("
");
}
List
recomm = MessagesQueries.getMessageRecommendations(sql, msg.getMID());
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("