<%if(visitors && visitors.length > 0){%>
<%/* 年份分组 */%>
<%const yearMaps = API.Utils.groupedByTime(visitors, "time", "year");%>
<%for (const [year, yearItems] of yearMaps) {%>
<%/* 月份分组 */%>
<%const monthMaps = API.Utils.groupedByTime(yearItems, "time", "month");%>
<%for (const [month, monthItems] of monthMaps) {%>
<%/* 天数分组 */%>
<%const dayMaps = API.Utils.groupedByTime(monthItems, "time", "day");%>
<%for (const [day, dayItems] of dayMaps) {%>
<%/* 遍历 */%>
<%for (const item of dayItems) {%>
<%}%>
<%}%> <%}%> <%}%> <%}%>
<%:=year%>
<%:=month%>月
<%:=day%>日
<%:=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){%>
<%}%>
<%}%>
-
<%for(const shuoshuo of item.shuoshuoes){%>
-
<%:=API.Common.formatContent(shuoshuo.name)%>
<%if(shuoshuo.imgsrc){%> <%}%>
<%}%>
-
<%for(const blog of item.blogs){%>
-
<%:=API.Common.formatContent(blog.name)%>
<%}%>
-
<%for(const photo of item.photoes){%>
- <%}%>
-
<%for(const share of item.shares){%>
-
<%:=API.Common.formatContent(share.name)%>
<%if(share.imgsrc){%> <%}%>
<%}%>
以下这些访客当天也访问了这些内容:
-
<%for (const uniItem of item.uins) {%>
- <%}%>
<%}%> <%}%> <%}%> <%}%>