All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.resources.message_boards.view_statistics_panel.jspf Maven / Gradle / Ivy

There is a newer version: 5.0.118
Show newest version
<%--
/**
 * SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
 * SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
 */
--%>

<%= numberFormat.format(categoryDisplay.getAllCategoriesCount()) %>

<%= numberFormat.format(MBStatsUserLocalServiceUtil.getMessageCountByGroupId(scopeGroupId)) %>

<%= numberFormat.format(MBStatsUserLocalServiceUtil.getStatsUsersByGroupIdCount(scopeGroupId)) %>

<% long userId = mbStatsUser.getUserId(); int messageCount = mbStatsUser.getMessageCount(); Date lastPostDate = mbStatsUser.getLastPostDate(); User topUser = UserLocalServiceUtil.fetchUserById(userId); %> <% String[] ranks = MBStatsUserLocalServiceUtil.getUserRank(themeDisplay.getSiteGroupId(), themeDisplay.getLanguageId(), userId); %>

<%= HtmlUtil.escape(topUser.getFullName()) %>

: <%= HtmlUtil.escape(ranks[0]) %>

: <%= messageCount %> : <%= messageCount %>

: <%= dateFormat.format(topUser.getCreateDate()) %>

: <%= dateFormat.format(lastPostDate) %>





© 2015 - 2025 Weber Informatics LLC | Privacy Policy