From ec914972f0dd1a28cb9918a13b3e67ec221992b7 Mon Sep 17 00:00:00 2001 From: IMRAN HASSAN Date: Mon, 3 Mar 2014 10:07:07 +0000 Subject: [PATCH] Admin Area Update the reports and state area --- .../styles/cb_2014/layout/reports.html | 525 +++++++----------- 1 file changed, 205 insertions(+), 320 deletions(-) diff --git a/upload/admin_area/styles/cb_2014/layout/reports.html b/upload/admin_area/styles/cb_2014/layout/reports.html index 33b87a4b..9b4833eb 100644 --- a/upload/admin_area/styles/cb_2014/layout/reports.html +++ b/upload/admin_area/styles/cb_2014/layout/reports.html @@ -1,59 +1,4 @@ - -
-
-
- - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Videos Reports

All TimeTotal {get_videos count_only=yes} – Active {get_videos count_only=yes active="yes"} – Processing {get_videos count_only=yes status='Processing'}
Todays VideosTotal {get_videos count_only=yes date_span=today} – Active {get_videos count_only=yes active="yes" date_span=today} – Processing {get_videos count_only=yes status='Processing' date_span=today}
This WeekTotal {get_videos count_only=yes date_span=this_week} – Active {get_videos count_only=yes active="yes" date_span=this_week} – Processing {get_videos count_only=yes status='Processing' date_span=this_week}
Last WeekTotal {get_videos count_only=yes date_span=last_week} – Active {get_videos count_only=yes active="yes" date_span=last_week} – Processing {get_videos count_only=yes status='Processing' date_span=last_week}
This MonthTotal {get_videos count_only=yes date_span=this_month} – Active {get_videos count_only=yes active="yes" date_span=this_month} – Processing {get_videos count_only=yes status='Processing' date_span=this_month}
Last MonthTotal {get_videos count_only=yes date_span=last_month} – Active {get_videos count_only=yes active="yes" date_span=last_month} – Processing {get_videos count_only=yes status='Processing' date_span=last_month}
  
  
+

Today

@@ -64,50 +9,51 @@ var daily_activity = "{$baseurl}/admin_area/charts/daily_activity.php";

-
+
+ +
+
+Video Reports + + + + + + + + + + + + -
+ + + + + + + + + + +
All TimeToday's VideosThis WeekLast WeekThis MonthLast Month
Total: {get_videos count_only=yes} + Active: {get_videos count_only=yes active="yes"} + Processing: {get_videos count_only=yes status='Processing'}Total: {get_videos count_only=yes date_span=today} + Active: {get_videos count_only=yes active="yes" date_span=today} + Processing: {get_videos count_only=yes status='Processing' date_span=today}Total: {get_videos count_only=yes date_span=this_week} + Active: {get_videos count_only=yes active="yes" date_span=this_week} + Processing: {get_videos count_only=yes status='Processing' date_span=this_week}Total: {get_videos count_only=yes date_span=last_week} + Active: {get_videos count_only=yes active="yes" date_span=last_week} + Processing: {get_videos count_only=yes status='Processing' date_span=last_week}Total: {get_videos count_only=yes date_span=this_month} + Active: {get_videos count_only=yes active="yes" date_span=this_month} + Processing: {get_videos count_only=yes status='Processing' date_span=this_month}Total: {get_videos count_only=yes date_span=last_month} + Active: {get_videos count_only=yes active="yes" date_span=last_month} + Processing: {get_videos count_only=yes status='Processing' date_span=last_month}
+
- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

User Reports

All TimeTotal {get_users count_only=yes} – Active {get_users count_only=yes status='Ok'} – Inactive - {get_users count_only=yes status='ToActivate'}
Todays UsersTotal {get_users count_only=yes date_span='today'} – Active {get_users count_only=yes status='Ok' date_span='today'} – Inactive {get_users count_only=yes status='ToActivate' date_span='today'}
This WeekTotal {get_users count_only=yes date_span='this_week'} – Active {get_users count_only=yes status='Ok' date_span='this_week'} – Inactive {get_users count_only=yes status='ToActivate' date_span='this_week'}
Last WeekTotal {get_users count_only=yes date_span='last_week'} – Active {get_users count_only=yes status='Ok' date_span='last_week'} – Processing {get_users count_only=yes status='ToActivate' date_span='last_week'}
This MonthTotal {get_users count_only=yes date_span='this_month'} – Active {get_users count_only=yes status='Ok' date_span='this_month'} – Inactive {get_users count_only=yes status='ToActivate' date_span='this_month'}
Last MonthTotal {get_users count_only=yes date_span='last_month'} – Active {get_users count_only=yes status='Ok' date_span='last_month'} – Inactive {get_users count_only=yes status='ToActivate' date_span='last_month'}

This week

@@ -119,66 +65,55 @@ var daily_activity = "{$baseurl}/admin_area/charts/videos_activity.php";
-
+ +
+ +
+
+ User Reports + + + + + + + + + + + + + + + -
- -
All TimeToday's UsersThis WeekLast WeekThis MonthLast Month
Total: {get_users count_only=yes} + Active: {get_users count_only=yes status='Ok'} + Processing: {get_users count_only=yes status='ToActivate'}Total: {get_users count_only=yes date_span='today'} + Active: {get_users count_only=yes status='Ok' date_span=today} + Processing: {get_videos count_only=yes status='ToActivate' date_span=today}Total: {get_users count_only=yes date_span='this_week'} + Active: {get_users count_only=yes status='Ok' date_span=this_week} + Processing: {get_users count_only=yes status='ToActivate' date_span=this_week}Total: {get_users count_only=yes date_span='last_week'} + Active: {get_users count_only=yes status='Ok' date_span=last_week} + Processing: {get_users count_only=yes status='ToActivate' date_span=last_week}Total: {get_users count_only=yes date_span=this_month} + Active: {get_users count_only=yes status='Ok' date_span=this_month} + Processing: {get_users count_only=yes status='ToActivate' date_span=this_month}
- - - + +
- - - - - - - + - - - - - - - - - - - - - - - - - - - - -

Group Reports

All TimeTotal {get_groups count_only=yes} – - Active {get_groups count_only=yes active='yes'} – - Inactive {get_groups count_only=yes active='no'} - Total: {get_users count_only=yes date_span=last_month} + Active: {get_users count_only=yes status='Ok' date_span=last_month} + Processing: {get_users count_only=yes status='ToActivate' date_span=last_month}
TodayTotal {get_groups count_only=yes date_span=today} – - Active {get_groups count_only=yes active='yes' date_span=today} – - Inactive {get_groups count_only=yes active='no' date_span=today}
This WeekTotal {get_groups count_only=yes date_span=this_week} – - Active {get_groups count_only=yes active='yes' date_span=this_week} – - Inactive {get_groups count_only=yes active='no' date_span=this_week}
Last WeekTotal {get_groups count_only=yes date_span=last_week} – - Active {get_groups count_only=yes active='yes' date_span=last_week} – - Inactive {get_groups count_only=yes active='no' date_span=last_week}
This MonthTotal {get_groups count_only=yes date_span=this_month} – - Active {get_groups count_only=yes active='yes' date_span=this_month} – - Inactive {get_groups count_only=yes active='no' date_span=this_month}
Last MonthTotal {get_groups count_only=yes date_span=last_month} – - Active {get_groups count_only=yes active='yes' date_span=last_month} – - Inactive {get_groups count_only=yes active='no' date_span=last_month}
+
+
+ + + +

This Month

@@ -187,65 +122,130 @@ var daily_activity = "{$baseurl}/admin_area/charts/users_activity.php"; Enable Tooltip

-
- - - + -
+
+ +
+
+ Group Reports + + + + + + + + + + + + -
All TimeToday's GroupsThis WeekLast WeekThis MonthLast Month
Total: {get_groups count_only=yes} + Active: {get_groups count_only=yes active='yes'} + Processing: {get_groups count_only=yes active='no'}Total: {get_groups count_only=yes date_span='today'} + Active: {get_groups count_only=yes active='yes' date_span=today} + Processing: {get_groups count_only=yes active='yes' date_span=today}
- - - - - - - - - - - - -

Comments

Flags

Playlists

Favorites

    -
  • {$myquery->get_comments('wildcard',v,TRUE)} video comments
  • -
  • {$myquery->get_comments('wildcard',t,TRUE)} Group Discussions
  • -
  • {$myquery->get_comments('wildcard',c,TRUE)} Profile Comments
  • -
    -
  • {$cbvid->action->count_flagged_objects()} videos are reported
  • -
  • {$userquery->action->count_flagged_objects()} groups are reported
  • -
  • {$cbgroup->action->count_flagged_objects()} profiles are reported
  • -
-

 

    -
  • {$cbvid->action->count_total_playlist()} Video Playlists are created
  • -
  • {$cbvid->action->count_total_playlist(true)} Video Items are in playlist
  • -
    -
  • {$cbvid->action->total_favorites()} favorite videos
  • -
+ Total: {get_groups count_only=yes date_span='this_week'} + Active: {get_users count_only=yes active='yes' date_span=this_week} + Processing: {get_users count_only=yes active='no' date_span=this_week} -
+ Total: {get_groups count_only=yes date_span='last_week'} + Active: {get_users count_only=yes active='yes' date_span=last_week} + Processing: {get_users count_only=yes active='no' date_span=last_week} - - - - - - - -

Files and Sizes

    -
  • Video Files : {$vid_dir.count|number_format} – Folder Size : {$vid_dir.size|formatfilesize}
  • -
  • Thumb Files : {$thumb_dir.count|number_format} – Folder Size : {$thumb_dir.size|formatfilesize}
  • -
  • Original Video Files : {$orig_dir.count|number_format} – Folder Size : {$orig_dir.size|formatfilesize}
  • -
  • User Thumb Files : {$user_thumbs.count|number_format} – Folder Size : {$user_thumbs.size|formatfilesize}
  • -
  • User Background Files {$user_bg.count|number_format} – Folder Size : {$user_bg.size|formatfilesize}
  • -
  • Groups Thumb Files : {$grp_thumbs.count|number_format} – Folder Size : {$grp_thumbs.size|formatfilesize}
  • -
  • Category Thumb Files {$cat_thumbs.count|number_format} – Folder Size : {$cat_thumbs.size|formatfilesize}
  • -
  • Database Size : {$db_size}
  • -
+ Total: {get_groups count_only=yes date_span=this_month} + Active: {get_users count_only=yes active='yes' date_span=this_month} + Processing: {get_users count_only=yes active='no' date_span=this_month} + + Total: {get_groups count_only=yes date_span=last_month} + Active: {get_users count_only=yes active='yes' date_span=last_month} + Processing: {get_users count_only=yes active='no' date_span=last_month} + + + +
+ + + +
+ +
+
+ Other Reports + + + + + + + + + + + + + + + + + + + +
CommentsFlagsPlaylistsFavorites
  • Video Comments: {$myquery->get_comments('wildcard',v,TRUE)} +
  • Groups Discussion:{$myquery->get_comments('wildcard',t,TRUE)}
  • +
  • Profile Comments: {$myquery->get_comments('wildcard',c,TRUE)}
  • Videos Reported:{$cbvid->action->count_flagged_objects()}
  • +
  • Groups Reported: {$userquery->action->count_flagged_objects()}
  • +
  • Profiles Reported: {$myquery->get_comments('wildcard',c,TRUE)}
  • Video PlayList{$cbvid->action->count_total_playlist()}
  • +
  • Videos in Playlist: {$cbvid->action->count_total_playlist(true)}
  • Favorite Videos: {$cbvid->action->total_favorites()}
  • +
    + +
    + +
    +
    + Total files and Sizes + + + + + + + + + + + + + +
    Total FilesSizes
    +
  • Total Files: {$vid_dir.count|number_format}
  • +
  • Total Thumbs: {$thumb_dir.count|number_format}
  • +
  • Original Video Files: {$orig_dir.count|number_format}
  • +
  • User Thumbs Files: {$user_thumbs.count|number_format}
  • +
  • User Background Files: {$user_bg.count|number_format}
  • +
  • Groups Thumb Files: {$grp_thumbs.count|number_format}
  • +
  • Category Thumb Files: {$cat_thumbs.count|number_format}
  • +
  • DataBase Size: {$db_size}
  • +
    +
  • Folder Size: {$vid_dir.size|formatfilesize}
  • +
  • Folder Size: {$thumb_dir.size|formatfilesize}
  • +
  • Folder Size: {$orig_dir.size|formatfilesize}
  • +
  • Folder Size: {$user_thumbs.size|formatfilesize}
  • +
  • Folder Size: {$user_bg.size|formatfilesize}
  • +
  • Folder Size: {$grp_thumbs.size|formatfilesize}
  • +
  • Folder Size: {$cat_thumbs.size|formatfilesize}
  • +
  • Folder Size: {$db_size}
  • +
    +
    + + \ No newline at end of file +}); +