<%if(visitors && visitors.length > 0){%> <%/* 年份分组 */%> <%const yearMaps = API.Utils.groupedByTime(visitors, "time", "year");%> <%for (const [year, yearItems] of yearMaps) {%>
<%:=year%>
<%/* 月份分组 */%> <%const monthMaps = API.Utils.groupedByTime(yearItems, "time", "month");%> <%for (const [month, monthItems] of monthMaps) {%>
<%:=month%>月
<%/* 天数分组 */%> <%const dayMaps = API.Utils.groupedByTime(monthItems, "time", "day");%> <%for (const [day, dayItems] of dayMaps) {%>
<%:=day%>日
<%/* 遍历 */%> <%for (const item of dayItems) {%>
<%:=API.Utils.formatDate(item.time,'hh:mm')%>
<%:=API.Common.formatContent(item.name)%><%:=API.Visitors.getTitle(item)%> <%if(!API.Visitors.isHome(item)){%> <%if(item.shuoshuoes && item.shuoshuoes.length > 0){%>
<%}%> <%if(item.blogs && item.blogs.length > 0){%>
<%}%> <%if(item.photoes && item.photoes.length > 0){%>
<%}%> <%if(item.shares && item.shares.length > 0){%>
<%}%> <%if(item.uins && item.uins.length > 0){%>

以下这些访客当天也访问了这些内容:

<%}%> <%}%>
<%}%>
<%}%> <%}%> <%}%> <%}%>