Neocities Site Statistics

General Stats

Total Sites <%= @stats[:total_sites] %>
Total Unbanned Sites <%= @stats[:total_unbanned_sites] %>
Total Banned Sites <%= @stats[:total_banned_sites] %>
Total NSFW Sites <%= @stats[:total_nsfw_sites] %>
Total Unbanned NSFW Sites <%= @stats[:total_unbanned_nsfw_sites] %>
Total Banned NSFW Sites <%= @stats[:total_banned_nsfw_sites] %>

Monthly Statistics

<% @stats[:monthly_stats].each_with_index do |stat,i| %> <% end %>
Year Month Sites Created Change Total Supporters
<%= stat[:date].year %> <%= stat[:date].strftime('%B') %> <% if Time.now.month == stat[:date].month && Time.now.year == stat[:date].year %> current <% end %> <%= stat[:sites_created] %> <% if i != 0 && i != @stats[:monthly_stats].length-1 %> <%= (((stat[:sites_created].to_f - @stats[:monthly_stats][i-1][:sites_created]) / @stats[:monthly_stats][i-1][:sites_created]) * 100).round(2) %>% <% end %> <%= stat[:total_from_start] %> <%= stat[:supporters] %>

Subscriptions

Current Recurring Revenue: <%= format("$%.2f", @stats[:total_recurring_revenue]) %> (<%= format("$%.2f", @stats[:total_recurring_revenue]/12.0) %>/month)
Active Subscriptions: <%= @stats[:subscriptions].select {|s| s[:status] == 'active' }.length %>

<% @stats[:subscriptions].each do |sub| %> <% end %>
Status Amount Date Subscribed
<%= sub[:status] %> <%= sub[:amount].nil? ? '$0.00' : format("$%.2f", sub[:amount]) %> <%= sub[:created_at].strftime('%Y %B') %>