<%- include('../includes/header.ejs') %> <%- include('../includes/navigation.ejs') %>

Dashboard Data is updated every 5 minutes

TOTAL VIDEOS <%- numAbbr.abbreviate(dataCounts.videos,2) %>
TOTAL CHANNELS <%- numAbbr.abbreviate(dataCounts.channels,2) %>
TOTAL PLAYLISTS <%- numAbbr.abbreviate(dataCounts.playlists,2) %>
TOTAL USERS <%- numAbbr.abbreviate(dataCounts.users,2) %>
TOTAL BLOGS <%- numAbbr.abbreviate(dataCounts.blogs,2) %>
TOTAL ADVERTISEMENTS <%- numAbbr.abbreviate(dataCounts.advertisements,2) %>
TOTAL REPORTS <%- numAbbr.abbreviate(dataCounts.reports,2) %>
ACTIVE MEMBER SUBSCRIPTIONS <%- numAbbr.abbreviate(dataCounts.subscriptions,2) %>
TOTAL COMMENTS <%- numAbbr.abbreviate(dataCounts.comments,2) %>
TOTAL LIKES <%- numAbbr.abbreviate(dataCounts.likes,2) %>
TOTAL DISLIKES <%- numAbbr.abbreviate(dataCounts.dislikes,2) %>
TOTAL FAVOURITES <%- numAbbr.abbreviate(dataCounts.favourites,2) %>

User Stats

Video Stats

Channel Stats

Blogs Stats

<% let recentContentsData = JSON.parse(JSON.stringify(recentContents)) %>

Latest Members

<% if(recentContentsData.unapprovedusers){ %> <%- recentContentsData.unapprovedusers %> Member(s) approval pending. <%}%>
    <% let users = JSON.parse(JSON.stringify(recentContents.users));%> <%for(var i=0;i
  • <%- users[i].displayname %> <%- users[i].displayname %> <%- timeago(moment(users[i].creation_date).tz(defaultTimezone).format('YYYY-MM-DD HH:mm:ss ZZ')) %>
  • <%}%>
<% let videos = JSON.parse(JSON.stringify(recentContents.videos ? recentContents.videos : []));%> <%if(videos.length){%>

Recently Videos

<% if(recentContentsData.unapprovedvideos){ %> <%- recentContentsData.unapprovedvideos %> Videos(s) approval pending. <%}%>
    <%for(var i=0;i
  • " alt="<%- videos[i].title %>">
    <%- videos[i].title %> <% let description = striptags(videos[i].description) let length = 200 if (description.length > length) { description = description.substring(0, length - 4) + " ..."; } %> <%- description %> <%- timeago(moment(videos[i].creation_date).tz(defaultTimezone).format('YYYY-MM-DD HH:mm:ss ZZ')) %>
  • <%}%>
<%}%> <% let channels = JSON.parse(JSON.stringify(recentContents.channels ? recentContents.channels : []));%> <%if(channels.length){%>

Recently Channels

<% if(recentContentsData.unapprovedchannels){ %> <%- recentContentsData.unapprovedchannels %> Channel(s) approval pending. <%}%>
    <%for(var i=0;i
  • <%- channels[i].title %>
    <%- channels[i].title %> <% let description = striptags(channels[i].description) let length = 200 if (description.length > length) { description = description.substring(0, length - 4) + " ..."; } %> <%- description %> <%- timeago(moment(channels[i].creation_date).tz(defaultTimezone).format('YYYY-MM-DD HH:mm:ss ZZ')) %>
  • <%}%>
<%}%> <% let blogs = JSON.parse(JSON.stringify(recentContents.blogs ? recentContents.blogs : []));%> <%if(blogs.length){%>

Recently Blogs

<% if(recentContentsData.unapprovedblogs){ %> <%- recentContentsData.unapprovedblogs %> Blog(s) approval pending. <%}%>
    <%for(var i=0;i
  • <%- blogs[i].title %>
    <%- blogs[i].title %> <% let description = striptags(blogs[i].description) let length = 200 if (description.length > length) { description = description.substring(0, length - 4) + " ..."; } %> <%- description %> <%- timeago(moment(blogs[i].creation_date).tz(defaultTimezone).format('YYYY-MM-DD HH:mm:ss ZZ')) %>
  • <%}%>
<%}%> <% let playlists = JSON.parse(JSON.stringify(recentContents.playlists ? recentContents.playlists : []));%> <%if(playlists.length){%>

Recently Playlists

<% if(recentContentsData.unapprovedplaylists){ %> <%- recentContentsData.unapprovedplaylists %> Playlist(s) approval pending. <%}%>
    <%for(var i=0;i
  • <%- playlists[i].title %>
    <%- playlists[i].title %> <% let description = striptags(playlists[i].description) let length = 200 if (description.length > length) { description = description.substring(0, length - 4) + " ..."; } %> <%- description %> <%- timeago(moment(playlists[i].creation_date).tz(defaultTimezone).format('YYYY-MM-DD HH:mm:ss ZZ')) %>
  • <%}%>
<%}%> <% let reports = JSON.parse(JSON.stringify(recentContents.reports ? recentContents.reports : []));%> <%if(reports.length){%>

Latest Reports

<%for(var i=0;i <%}%>
Description Reason Content Type Creation Date
<%- reports[i].description %> <%- reports[i].message_desc %> <%- reports[i].type %> <%- timeago(moment(reports[i].creation_date).tz(defaultTimezone).format('YYYY-MM-DD HH:mm:ss ZZ')) %>
<%}%>
<%- include('../includes/scripts.ejs') %> <%- include('../includes/footer.ejs') %>