diff --git a/upload/admin_area/edit_video.php b/upload/admin_area/edit_video.php index 09c3a47d..c39c364f 100644 --- a/upload/admin_area/edit_video.php +++ b/upload/admin_area/edit_video.php @@ -12,6 +12,17 @@ $userquery->admin_login_check(); $userquery->login_check('video_moderation'); $pages->page_redir(); + +if(!defined('MAIN_PAGE')){ + define('MAIN_PAGE', 'Videos'); +} +if(!defined('SUB_PAGE')){ + if($_GET['active'] == 'no') + define('SUB_PAGE', 'List Inactive Videos'); + else + define('SUB_PAGE', 'Videos Manager'); +} + if(@$_GET['msg']){ $msg[] = clean($_GET['msg']); } @@ -21,6 +32,7 @@ $msg[] = clean($_GET['msg']); //Updating Video Details if(isset($_POST['update'])){ + $Upload->validate_video_upload_form(); if(empty($eh->error_list)) { diff --git a/upload/admin_area/editor_pick.php b/upload/admin_area/editor_pick.php index 32fb82d9..d03035c5 100644 --- a/upload/admin_area/editor_pick.php +++ b/upload/admin_area/editor_pick.php @@ -11,6 +11,15 @@ require_once '../includes/admin_config.php'; $userquery->admin_login_check(); $pages->page_redir(); + + +if(!defined('MAIN_PAGE')){ + define('MAIN_PAGE', 'Videos'); +} +if(!defined('SUB_PAGE')){ + define('SUB_PAGE', "Editor's Pick"); +} + //Removing if(isset($_GET['remove'])){ $id = mysql_clean($_GET['remove']); diff --git a/upload/admin_area/mass_uploader.php b/upload/admin_area/mass_uploader.php index a0ceccdf..235ea543 100644 --- a/upload/admin_area/mass_uploader.php +++ b/upload/admin_area/mass_uploader.php @@ -16,7 +16,7 @@ if(!defined('MAIN_PAGE')){ define('MAIN_PAGE', 'Videos'); } if(!defined('SUB_PAGE')){ - define('SUB_PAGE', 'Upload Videos'); + define('SUB_PAGE', 'Mass Upload Videos'); } @@ -74,7 +74,14 @@ if(count($error_lists)>0) e($e); } +//Collecting Data for Pagination +$total_rows=count($cbmass->get_video_files()); +$total_pages = $total_rows/$limit; +$total_pages = round($total_pages+0.49,0); +$pages->paginate($total_pages,$page); + subtitle("Mass Uploader"); + template_files("mass_uploader.html"); display_it(); ?> \ No newline at end of file diff --git a/upload/admin_area/styles/cb_2014/layout/blocks/comments.html b/upload/admin_area/styles/cb_2014/layout/blocks/comments.html index dfa9dd6a..0ab6328c 100644 --- a/upload/admin_area/styles/cb_2014/layout/blocks/comments.html +++ b/upload/admin_area/styles/cb_2014/layout/blocks/comments.html @@ -4,7 +4,7 @@
+ | CID | UID |
---|