100) { $_REQUEST['rowCount'] = 10; } if (empty($_POST['sort'])) { if (!empty($_SESSION['sort'])) { $_POST['sort'] = $_SESSION['sort']; } else { $_POST['sort']['created'] = 'desc'; } } $_SESSION['rowCount'] = $_REQUEST['rowCount']; $_SESSION['sort'] = $_POST['sort']; TimeLogEnd($timeLogNameVL, __LINE__, $TimeLogLimitVL); $videos = Video::getAllVideos("viewableNotUnlisted"); $total = Video::getTotalVideos("viewableNotUnlisted"); TimeLogEnd($timeLogNameVL, __LINE__, $TimeLogLimitVL); $totalPages = ceil($total / $_REQUEST['rowCount']); $_POST = $post; if (empty($totalPages)) { $totalPages = 1; } $videoName = ''; if (!empty($video['clean_title'])) { $videoName = $video['clean_title']; } elseif (!empty($_GET['videoName'])) { $videoName = $_GET['videoName']; } $get = []; $get = ['channelName' => @$_GET['channelName'], 'catName' => @$_GET['catName']]; if (!empty($_GET['channelName']) && empty($advancedCustomUser->hideRemoveChannelFromModeYoutube)) { $user = User::getChannelOwner($_GET['channelName']); //var_dump($user);exit; ?>