getBdId() != $user_id) { header("Location: {$global['webSiteRootURL']}channels"); exit; } $_GET['channelName'] = $user->getChannelName(); $timeLog = __FILE__ . " - channelName: {$_GET['channelName']}"; TimeLogStart($timeLog); $_POST['sort']['created'] = "DESC"; if (empty($_GET['current'])) { $_POST['current'] = 1; } else { $_POST['current'] = $_GET['current']; } $current = $_POST['current']; $rowCount = 25; $_REQUEST['rowCount'] = $rowCount; if(empty($channelPassword) && !$isMyChannel){ $status = 'a'; $showUnlisted = false; }else{ $status = 'viewable'; $showUnlisted = true; } //getAllVideos($status = "viewable", $showOnlyLoggedUserVideos = false, $ignoreGroup = false, $videosArrayId = array(), $getStatistcs = false, $showUnlisted = false, $activeUsersOnly = true, $suggestedOnly = false, $is_serie = null) $uploadedVideos = Video::getAllVideos($status, $user_id, !isToHidePrivateVideos(), array(), false, $showUnlisted); //getTotalVideos($status = "viewable", $showOnlyLoggedUserVideos = false, $ignoreGroup = false, $showUnlisted = false, $activeUsersOnly = true, $suggestedOnly = false) { $uploadedTotalVideos = Video::getTotalVideos($status, $user_id, !isToHidePrivateVideos(), $showUnlisted); TimeLogEnd($timeLog, __LINE__); $totalPages = ceil($uploadedTotalVideos / $rowCount); unset($_POST['sort']); unset($_POST['rowCount']); unset($_POST['current']); $get = ['channelName' => $_GET['channelName']]; $palyListsObj = AVideoPlugin::getObjectDataIfEnabled('PlayLists'); TimeLogEnd($timeLog, __LINE__); $obj = AVideoPlugin::getObjectData("YouPHPFlix2"); ?>