Example #1
0
}
//Delete Video
if (isset($_GET['delete_video'])) {
    $video = mysql_clean($_GET['delete_video']);
    $cbvideo->delete_video($video);
}
//Deleting Multiple Videos
if (isset($_POST['delete_selected'])) {
    for ($id = 0; $id <= count($_POST['check_video']); $id++) {
        $cbvideo->delete_video($_POST['check_video'][$id]);
    }
    $eh->flush();
    e(lang("vdo_multi_del_erro"), "m");
}
//Calling Video Manager Functions
call_functions($cbvid->video_manager_funcs);
$page = mysql_clean($_GET['page']);
$get_limit = create_query_limit($page, RESULTS);
if (isset($_GET['search'])) {
    $array = array('videoid' => $_GET['videoid'], 'videokey' => $_GET['videokey'], 'title' => $_GET['title'], 'tags' => $_GET['tags'], 'user' => $_GET['userid'], 'category' => $_GET['category'], 'featured' => $_GET['featured'], 'active' => $_GET['active'], 'status' => $_GET['status']);
}
if (is_installed('cb_mass_embed')) {
    //$array['mass_embed_status'] = 'approved';
}
$result_array = $array;
//Getting Video List
$result_array['limit'] = $get_limit;
if (!$array['order']) {
    $result_array['order'] = " videoid DESC ";
}
$videos = get_videos($result_array);
Example #2
0
    e(lang('Selected Groups have been set as Unfeatured.'), 'm');
}
// Delete group
if (isset($_GET['delete_group'])) {
    $cbgroup->grp_actions("delete", mysql_clean($_GET['delete_group']));
}
//Multiple Delete
if (isset($_POST['delete_selected'])) {
    for ($i = 0; $i < count($_POST['check_group']); $i++) {
        $cbgroup->grp_actions("delete", $_POST['check_group'][$i], true);
    }
    $eh->flush();
    e(lang('Selected Groups are Deleted.'), 'm');
}
//Calling Group Manager Functions
call_functions($cbgroup->group_manager_funcs);
$page = mysql_clean($_GET['page']);
$get_limit = create_query_limit($page, RESULTS);
if (isset($_GET['search'])) {
    $array = array('group_id' => $_GET['group_id'], 'user' => $_GET['userid'], 'title' => $_GET['title'], 'tags' => $_GET['tags'], 'category' => $_GET['category'], 'featured' => $_GET['featured'], 'active' => $_GET['active']);
}
$result_array = $array;
//Getting Video List
$result_array['limit'] = $get_limit;
if (!$array['order']) {
    $result_array['order'] = " date_added DESC ";
}
$groups = $cbgroup->get_groups($result_array);
Assign('groups', $groups);
//Collecting Data for Pagination
$gcount = $array;
Example #3
0
if ($mode == 'ban') {
    for ($id = 0; $id <= count($_POST['check_user']); $id++) {
        $userquery->action('ban', $_POST['check_user'][$id]);
    }
    $eh->flush();
    e("Selected users have been banned", "m");
}
if ($mode == 'unban') {
    for ($id = 0; $id <= count($_POST['check_user']); $id++) {
        $userquery->action('unban', $_POST['check_user'][$id]);
    }
    $eh->flush();
    e("Selected users have been unbanned", "m");
}
//Calling Video Manager Functions
call_functions($userquery->user_manager_functions);
//Getting Member List
$page = mysql_clean($_GET['page']);
$get_limit = create_query_limit($page, RESULTS);
if (isset($_GET['search'])) {
    $array = array('userid' => $_GET['userid'], 'username' => $_GET['username'], 'category' => $_GET['category'], 'featured' => $_GET['search_featured'], 'ban' => $_GET['search_ban'], 'status' => $_GET['status'], 'email' => $_GET['email'], 'gender' => $_GET['gender'], 'level' => $_GET['level']);
}
$result_array = $array;
//Getting Video List
$result_array['limit'] = $get_limit;
if (!$array['order']) {
    $result_array['order'] = " doj DESC ";
}
$users = get_users($result_array);
Assign('users', $users);
//Collecting Data for Pagination