diff --git a/.gitignore b/.gitignore index 08271f1286..be36dbdb65 100644 --- a/.gitignore +++ b/.gitignore @@ -72,4 +72,5 @@ sitemap.xml /plugin/WebRTCLiveCam/ /plugin/Wix/ -/plugin/Live/standAloneFiles/WebRTCServer/configuration.php \ No newline at end of file +/plugin/Live/standAloneFiles/WebRTCServer/configuration.php +/plugin/Fishr/ \ No newline at end of file diff --git a/admin/design_first_page.php b/admin/design_first_page.php index d20589869d..43070ba27d 100644 --- a/admin/design_first_page.php +++ b/admin/design_first_page.php @@ -7,9 +7,10 @@ $channelListSwitch = Plugin::isEnabledByName('FirstPageChannelList'); if (empty($netflixSwitch) && empty($gallerySwitch) && empty($youtubeSwitch) && empty($channelListSwitch)) { $defaultSwitch = true; } +$delay = 0.5; ?>
-
+
Default @@ -23,7 +24,7 @@ if (empty($netflixSwitch) && empty($gallerySwitch) && empty($youtubeSwitch) && e
-
+
Netflix @@ -38,7 +39,7 @@ if (empty($netflixSwitch) && empty($gallerySwitch) && empty($youtubeSwitch) && e
-
+
Channel @@ -52,7 +53,7 @@ if (empty($netflixSwitch) && empty($gallerySwitch) && empty($youtubeSwitch) && e
-
+
Gallery diff --git a/admin/design_player.php b/admin/design_player.php index 3f394ca859..5ee70a010a 100644 --- a/admin/design_player.php +++ b/admin/design_player.php @@ -1,9 +1,10 @@
-
+
Default @@ -25,7 +26,7 @@ $dir = $global['systemRootPath'] . 'plugin/PlayerSkins/skins/'; $file = basename($filename); // $file is set to "index.php" $fileEx = basename($filename, ".css"); // $file is set to "index" ?> -
+
diff --git a/admin/design_themes.php b/admin/design_themes.php index de94338827..5fde7d31ee 100644 --- a/admin/design_themes.php +++ b/admin/design_themes.php @@ -1,12 +1,13 @@
getTheme(); + $delay = 0.2; foreach (glob("{$global['systemRootPath']}view/css/custom/*.css") as $filename) { //echo "$filename size " . filesize($filename) . "\n"; $file = basename($filename); // $file is set to "index.php" $fileEx = basename($filename, ".css"); // $file is set to "index" ?> -
+
diff --git a/admin/index.php b/admin/index.php index c5bd481f38..ab1fe846fe 100644 --- a/admin/index.php +++ b/admin/index.php @@ -255,7 +255,7 @@ switch ($_GET['page']) { } } ?> -
+

> diff --git a/objects/configuration.php b/objects/configuration.php index 6b3d356b30..4c5d95e73f 100644 --- a/objects/configuration.php +++ b/objects/configuration.php @@ -248,7 +248,9 @@ class Configuration { global $global; $destination = Video::getStoragePath()."cache/og_200X200.jpg"; $return = self::_getFavicon(true); - convertImageToOG($return['file'], $destination); + if(file_exists($return['file'])){ + convertImageToOG($return['file'], $destination); + } return getCDN() . "videos/cache/og_200X200.jpg"; } diff --git a/objects/functions.php b/objects/functions.php index cd4bad7f06..508b66f650 100644 --- a/objects/functions.php +++ b/objects/functions.php @@ -1847,7 +1847,7 @@ function convertImage($originalImage, $outputImage, $quality) { return 0; } if (!is_resource($imageTmp)) { - _error_log("convertImage: could not create a resource $originalImage, $outputImage, $quality, $ext"); + _error_log("convertImage: could not create a resource $originalImage, $outputImage, $quality, $ext ". json_encode(debug_backtrace())); return 0; } // quality is a value from 0 (worst) to 100 (best) diff --git a/objects/user.php b/objects/user.php index 0b4ba960cf..6943fb52de 100644 --- a/objects/user.php +++ b/objects/user.php @@ -1397,6 +1397,7 @@ if (typeof gtag !== \"function\") { sqlDAL::close($res); if ($res != false) { foreach ($downloadedArray as $row) { + $row['creator'] = Video::getCreatorHTML($row['id'], '', true, true); $row = cleanUpRowFromDatabase($row); $user[] = self::getUserInfoFromRow($row); } @@ -1469,6 +1470,7 @@ if (typeof gtag !== \"function\") { sqlDAL::close($res); if ($res != false) { foreach ($downloadedArray as $row) { + $row['creator'] = Video::getCreatorHTML($row['id'], '', true, true); $row = cleanUpRowFromDatabase($row); $user[] = self::getUserInfoFromRow($row); } diff --git a/objects/video.php b/objects/video.php index 4b47a772c9..5021b3a7c6 100644 --- a/objects/video.php +++ b/objects/video.php @@ -4736,7 +4736,7 @@ if (!class_exists('Video')) { return false; } - static function getCreatorHTML($users_id, $html = '', $small = false) { + static function getCreatorHTML($users_id, $html = '', $small = false, $ignoreLinks=false) { global $global; if ($small) { $template = $global['systemRootPath'] . 'view/videoCreatorSmall.html'; @@ -4756,9 +4756,15 @@ if (!class_exists('Video')) { '{subscriptionButton}', '{html}'); + if($ignoreLinks){ + $channelLink = '#'; + }else{ + $channelLink = User::getChannelLink($users_id); + } + $replace = array( User::getPhoto($users_id), - User::getChannelLink($users_id), + $channelLink, strip_tags($name), User::getEmailVerifiedIcon($users_id), Subscribe::getButton($users_id), diff --git a/plugin/BulkEmbed/BulkEmbed.php b/plugin/BulkEmbed/BulkEmbed.php index c1eb8d001d..fe0530bf61 100644 --- a/plugin/BulkEmbed/BulkEmbed.php +++ b/plugin/BulkEmbed/BulkEmbed.php @@ -53,7 +53,7 @@ class BulkEmbed extends PluginAbstract { return ''; } - return '
  • '.__("Bulk Embed").'
  • '; + return '
  • '.__("Bulk Embed").'
  • '; } diff --git a/plugin/CDN/tools/findMissingEncKeys.php b/plugin/CDN/tools/findMissingEncKeys.php deleted file mode 100644 index b93766c5c9..0000000000 --- a/plugin/CDN/tools/findMissingEncKeys.php +++ /dev/null @@ -1,84 +0,0 @@ -pathinfo)){ - file_put_contents("{$paths['path']}missingkey", time()); - file_put_contents("{$paths['path']}{$json->pathinfo->basename}", base64_decode($json->content)); - echo "Saved from {$s} on {$paths['path']}{$json->pathinfo->basename}" . PHP_EOL; - break; - } - } - } - } -} - - -echo PHP_EOL . " Done! " . PHP_EOL; -die(); - diff --git a/plugin/Layout/Layout.php b/plugin/Layout/Layout.php index f5116194bd..fe62d1d698 100644 --- a/plugin/Layout/Layout.php +++ b/plugin/Layout/Layout.php @@ -465,7 +465,7 @@ class Layout extends PluginAbstract { public function navBarAfter() { global $global; $obj = $this->getDataObject(); - if(!empty($obj->categoriesTopButtons)){ + if(!AVideoPlugin::isEnabledByName('YouPHPFlix2') && !empty($obj->categoriesTopButtons)){ if(!empty($obj->categoriesTopButtonsShowOnlyOnFirstPage) && !isFirstPage()){ return ''; } diff --git a/plugin/LiveLinks/getUploadMenuButton.php b/plugin/LiveLinks/getUploadMenuButton.php index 85a8d81294..93836f2e87 100644 --- a/plugin/LiveLinks/getUploadMenuButton.php +++ b/plugin/LiveLinks/getUploadMenuButton.php @@ -1,5 +1,5 @@
  • - " data-placement="left" + " data-placement="left" class="faa-parent animated-hover"> diff --git a/view/css/main.css b/view/css/main.css index 1aada58e06..4b65b03858 100644 --- a/view/css/main.css +++ b/view/css/main.css @@ -1026,14 +1026,14 @@ li.dropdown-submenu > ul > li > a{ .swal-modal.swal-modal-iframe-large .swal-content, .swal-modal.swal-modal-iframe-full .swal-content{ width: 100%; - height: calc(100% - 50px); + height: 100%; } .swal-modal.swal-modal-iframe iframe, .swal-modal.swal-modal-iframe-small iframe, .swal-modal.swal-modal-iframe-large iframe, .swal-modal.swal-modal-iframe-full iframe{ width: 100%; - height: 100%; + height: calc(100% - 50px); } #avideoModalIframeDiv{ display: none; @@ -1064,6 +1064,9 @@ li.dropdown-submenu > ul > li > a{ max-width: 100%; max-height: 100%; } +.swal-modal.swal-modal-iframe-full iframe{ + height: 100%; +} .swal-modal-iframe-full #avideoModalIframeDiv{ display: block; @@ -1071,7 +1074,6 @@ li.dropdown-submenu > ul > li > a{ .swal-modal.swal-modal-iframe-large .swal-content, .swal-modal.swal-modal-iframe-full .swal-content{ - height: 100%; padding: 0; margin: 0; } diff --git a/view/include/navbar.php b/view/include/navbar.php index 2018acde3c..1a59f20765 100644 --- a/view/include/navbar.php +++ b/view/include/navbar.php @@ -308,7 +308,7 @@ if (!User::isLogged() && !empty($advancedCustomUser->userMustBeLoggedIn) && !emp $("#sidebar").removeClass('animate__bounceOutLeft'); $("#sidebar").show(); $("#sidebar").addClass('animate__animated animate__bounceInLeft'); - setTimeout(function(){ + setTimeout(function () { $('body').addClass('youtube'); }, 500); youTubeMenuIsOpened = true; @@ -316,7 +316,7 @@ if (!User::isLogged() && !empty($advancedCustomUser->userMustBeLoggedIn) && !emp function YPTSidebarClose() { $("#sidebar").removeClass('animate__bounceInLeft'); $("#sidebar").addClass('animate__bounceOutLeft'); - setTimeout(function(){ + setTimeout(function () { $('body').removeClass('youtube'); $("#sidebar").hide(); }, 500); @@ -402,12 +402,12 @@ if (!User::isLogged() && !empty($advancedCustomUser->userMustBeLoggedIn) && !emp $user = User::getChannelOwner($_SESSION['channelName']); ?>
  • - + <?php echo User::getNameIdentificationById($user['id']); ?>
  • - + @@ -464,7 +464,7 @@ if (!User::isLogged() && !empty($advancedCustomUser->userMustBeLoggedIn) && !emp if (empty($advancedCustom->doNotShowUploadMP4Button)) { ?>
  • - " + " data-placement="left" class="faa-parent animated-hover" > uploadMP4ButtonLabel) ? __("Direct upload") : __($advancedCustom->uploadMP4ButtonLabel); ?> @@ -474,7 +474,7 @@ if (!User::isLogged() && !empty($advancedCustomUser->userMustBeLoggedIn) && !emp if (empty($advancedCustom->doNotShowImportMP4Button)) { ?>
  • - " data-placement="left" class="faa-parent animated-hover" > + " data-placement="left" class="faa-parent animated-hover" > importMP4ButtonLabel) ? __("Direct Import Local Videos") : __($advancedCustom->importMP4ButtonLabel); ?>
  • @@ -483,7 +483,7 @@ if (!User::isLogged() && !empty($advancedCustomUser->userMustBeLoggedIn) && !emp if (empty($advancedCustom->doNotShowEmbedButton)) { ?>
  • - " data-placement="left" class="faa-parent animated-hover" > + " data-placement="left" class="faa-parent animated-hover" > embedButtonLabel) ? __("Embed a video link") : __($advancedCustom->embedButtonLabel); ?>
  • @@ -492,7 +492,7 @@ if (!User::isLogged() && !empty($advancedCustomUser->userMustBeLoggedIn) && !emp if (AVideoPlugin::isEnabledByName("Articles")) { ?>
  • - " data-placement="left" class="faa-parent animated-hover"> + " data-placement="left" class="faa-parent animated-hover">
  • @@ -536,7 +536,7 @@ if (!User::isLogged() && !empty($advancedCustomUser->userMustBeLoggedIn) && !emp - '; ?> + '; ?>

    '; + html += ''; var span = document.createElement("span"); span.innerHTML = html; swal({ diff --git a/view/managerVideos_body.php b/view/managerVideos_body.php index 41660ca405..491c5fb3c4 100644 --- a/view/managerVideos_body.php +++ b/view/managerVideos_body.php @@ -660,7 +660,7 @@ return false; } }).autocomplete("instance")._renderItem = function (ul, item) { - return $("
  • ").append("
    " + item.name + "
    " + item.email + "
    " + item.user + "
    ").appendTo(ul); + return $("
  • ").append("
    " + item.creator + item.email + "
    ").appendTo(ul); }; }); diff --git a/view/modeYoutube.php b/view/modeYoutube.php index 6ec0af1988..79814b1ca3 100644 --- a/view/modeYoutube.php +++ b/view/modeYoutube.php @@ -13,6 +13,8 @@ if (!empty($_GET['evideo'])) { $v = Video::decodeEvideo(); $evideo = $v['evideo']; } + +TimeLogEnd($timeLogNameMY, __LINE__, $TimeLogLimitMY); $playlist_index = 0; if (!empty($evideo)) { $video = $v['video']; @@ -25,6 +27,7 @@ if (!empty($evideo)) { $autoPlayPoster = ''; $autoPlayThumbsSprit = ''; } else { + TimeLogEnd($timeLogNameMY, __LINE__, $TimeLogLimitMY); require_once $global['systemRootPath'] . 'objects/user.php'; require_once $global['systemRootPath'] . 'objects/category.php'; require_once $global['systemRootPath'] . 'objects/subscribe.php'; @@ -53,6 +56,7 @@ if (!empty($evideo)) { } session_write_close(); + TimeLogEnd($timeLogNameMY, __LINE__, $TimeLogLimitMY); if (!empty($_GET['playlist_id'])) { $isSerie = 1; if (preg_match("/^[0-9]+$/", $_GET['playlist_id'])) { @@ -120,6 +124,7 @@ if (!empty($evideo)) { $catLink = "cat/{$_GET['catName']}/"; } + TimeLogEnd($timeLogNameMY, __LINE__, $TimeLogLimitMY); // add this because if you change the video category the video was not loading anymore $catName = @$_GET['catName']; @@ -143,6 +148,7 @@ if (!empty($evideo)) { $video = AVideoPlugin::getVideo(); } + TimeLogEnd($timeLogNameMY, __LINE__, $TimeLogLimitMY); if (!empty($_GET['v']) && (empty($video) || $video['id'] != $_GET['v'])) { $video = false; } @@ -176,6 +182,7 @@ if (!empty($evideo)) { //} } + TimeLogEnd($timeLogNameMY, __LINE__, $TimeLogLimitMY); $modeYouTubeTimeLog['Code part 1.6'] = microtime(true) - $modeYouTubeTime; $modeYouTubeTime = microtime(true); if (!empty($autoPlayVideo)) { @@ -183,6 +190,7 @@ if (!empty($evideo)) { $autoPlayVideo['tags'] = Video::getTags($autoPlayVideo['id'], '
    ' . humanTiming(strtotime($autoPlayVideo['videoCreation'])) . ''); $autoPlayVideo['url'] = Video::getLink($autoPlayVideo['id'], $autoPlayVideo['clean_title'], false, $get); } + TimeLogEnd($timeLogNameMY, __LINE__, $TimeLogLimitMY); } $modeYouTubeTimeLog['Code part 2'] = microtime(true) - $modeYouTubeTime; $modeYouTubeTime = microtime(true); @@ -195,6 +203,7 @@ if (!empty($evideo)) { $obj = new Video("", "", $video['id']); } + TimeLogEnd($timeLogNameMY, __LINE__, $TimeLogLimitMY); if (!empty($video) && $video['type'] == "video") { $poster = "{$global['webSiteRootURL']}videos/{$video['filename']}.jpg"; } else { @@ -232,6 +241,7 @@ if (!empty($evideo)) { } else { $poster = "" . getCDN() . "view/img/notfound.jpg"; } + TimeLogEnd($timeLogNameMY, __LINE__, $TimeLogLimitMY); $objSecure = AVideoPlugin::getObjectDataIfEnabled('SecureVideosDirectory'); $modeYouTubeTimeLog['Code part 3'] = microtime(true) - $modeYouTubeTime; $modeYouTubeTime = microtime(true); @@ -246,6 +256,7 @@ if (!empty($evideo)) { $autoPlayPoster = ''; $autoPlayThumbsSprit = ""; } + TimeLogEnd($timeLogNameMY, __LINE__, $TimeLogLimitMY); if (empty($_GET['videoName']) && !empty($video)) { $_GET['videoName'] = $video['clean_title']; @@ -262,6 +273,7 @@ if (!empty($evideo)) { $modeYouTubeTimeLog['Code part 5'] = microtime(true) - $modeYouTubeTime; $modeYouTubeTime = microtime(true); } + TimeLogEnd($timeLogNameMY, __LINE__, $TimeLogLimitMY); } @@ -291,8 +303,10 @@ TimeLogEnd($timeLogNameMY, __LINE__, $TimeLogLimitMY); diff --git a/view/modeYoutubeBottomRight.php b/view/modeYoutubeBottomRight.php index 0373638e0a..f981e7df2d 100644 --- a/view/modeYoutubeBottomRight.php +++ b/view/modeYoutubeBottomRight.php @@ -1,12 +1,17 @@
    @@ -48,12 +53,13 @@ if (!empty($playlist_id)) {
  • diff --git a/view/modeYoutubeBundle.php b/view/modeYoutubeBundle.php index faf3445fdf..5aa61fcf6b 100644 --- a/view/modeYoutubeBundle.php +++ b/view/modeYoutubeBundle.php @@ -1,4 +1,6 @@ -
    -
    -
    - -
    - -
    - - -
    -
    -
    - -
    -
    -
    -
    - -
    -
    -
    - +
    +
    + +
    + +
    + -
    - -
    -
    -
    - -
    -
    -
    -
    -
    -
    -
    -
    -
    - +
    + +
    +
    +
    +
    + +
    +
    +
    + +
    + +
    + +
    +
    + +
    +
    +
    +
    +
    + +
    +
    +
    +
    + \ No newline at end of file diff --git a/view/trending.php b/view/trending.php index daac082305..94b1301637 100644 --- a/view/trending.php +++ b/view/trending.php @@ -54,7 +54,7 @@ $metaDescription = __("Trending"); //var_dump($rows); foreach ($videos as $key => $value) { ?> -
    +
    videos_id); +} else { + $videos_id = intval(@$_REQUEST['videos_id']); + if (!Video::canEdit($videos_id)) { + forbiddenPage("You cannot see this info"); + } +} +if (empty($videos_id)) { + forbiddenPage("Videos ID is required"); +} + +$rowsCount = getRowCount(); +$video = new Video('', '', $videos_id); +$filename = "{$videos_id}_".$video->getClean_title(); +$rows = VideoStatistic::getAllFromVideos_id($videos_id); +//var_dump($rows);exit; +$output = fopen("php://output", 'w') or die("Can't open php://output"); +$fields = array('when', 'ip', 'users', 'location_name', 'seconds_watching_video'); +fputcsv($output, $fields); +foreach ($rows as $row) { + $statistic = array(); + foreach ($fields as $value) { + $statistic[$value] = $row[$value]; + } + //var_dump($statistic);exit; + fputcsv($output, $statistic); +} +header("Content-Type:application/csv"); +header("Content-Disposition:attachment;filename={$filename}.csv"); +fclose($output) or die("Can't close php://output"); +?> \ No newline at end of file diff --git a/view/videoViewsInfo.json.php b/view/videoViewsInfo.json.php index 519996ab69..373ddd09f7 100644 --- a/view/videoViewsInfo.json.php +++ b/view/videoViewsInfo.json.php @@ -2,19 +2,25 @@ require_once '../videos/configuration.php'; header('Content-Type: application/json'); -$videos_id = intval(@$_REQUEST['videos_id']); - +if (!empty($_REQUEST['hash'])) { + $string = decryptString($_REQUEST['hash']); + $obj = json_decode($string); + $videos_id = intval($obj->videos_id); +} else { + $videos_id = intval(@$_REQUEST['videos_id']); + if (!Video::canEdit($videos_id)) { + forbiddenPage("You cannot see this info"); + } +} if (empty($videos_id)) { forbiddenPage("Videos ID is required"); } -if (!Video::canEdit($videos_id)) { - forbiddenPage("You cannot see this info"); -} +$rowsCount = getRowCount(); $rows = VideoStatistic::getAllFromVideos_id($videos_id); $total = VideoStatistic::getTotalFromVideos_id($videos_id); -$totalPages = ceil($total / $_REQUEST['rowCount']); +$totalPages = ceil($total / $rowsCount); ?> {"data": , "draw": , "recordsTotal":, "recordsFiltered":} \ No newline at end of file diff --git a/view/videoViewsInfo.php b/view/videoViewsInfo.php index 5c416f17f7..167e216647 100644 --- a/view/videoViewsInfo.php +++ b/view/videoViewsInfo.php @@ -4,18 +4,20 @@ if (!isset($global['systemRootPath'])) { require_once '../videos/configuration.php'; } -$videos_id = intval(@$_REQUEST['videos_id']); - +if (!empty($_REQUEST['hash'])) { + $string = decryptString($_REQUEST['hash']); + $obj = json_decode($string); + $videos_id = intval($obj->videos_id); +} else { + $videos_id = intval(@$_REQUEST['videos_id']); + if (!Video::canEdit($videos_id)) { + forbiddenPage("You cannot see this info"); + } +} if (empty($videos_id)) { - forbiddenPage("Videos IF is required"); + forbiddenPage("Videos ID is required"); } - -if (!Video::canEdit($videos_id)) { - forbiddenPage("You cannot see this info"); -} - $v = new Video('', '', $videos_id); - //var_dump($total);exit; ?> @@ -26,6 +28,19 @@ $v = new Video('', '', $videos_id); include $global['systemRootPath'] . 'view/include/head.php'; ?> + @@ -33,14 +48,22 @@ $v = new Video('', '', $videos_id); include $global['systemRootPath'] . 'view/include/navbar.php'; ?>
    +
    -
    - -

    - getTitle(); - ?> -

    +

    @@ -85,28 +108,28 @@ $v = new Video('', '', $videos_id); ?> diff --git a/view/videosList.php b/view/videosList.php index 4969b891ea..1c4d1d63b7 100644 --- a/view/videosList.php +++ b/view/videosList.php @@ -1,247 +1,261 @@ - 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']; - - -$videos = Video::getAllVideos("viewableNotUnlisted"); -$total = Video::getTotalVideos("viewableNotUnlisted"); -$totalPages = ceil($total / $_REQUEST['rowCount']); -$_POST = $post; -if (empty($totalPages)) { - $totalPages = 1; -} -$videoName = ""; -if (!empty($video['clean_title'])) { - $videoName = $video['clean_title']; -} else if (!empty($_GET['videoName'])) { - $videoName = $_GET['videoName']; -} -$get = array(); - -$get = array('channelName' => @$_GET['channelName'], 'catName' => @$_GET['catName']); -if (!empty($_GET['channelName']) && empty($advancedCustomUser->hideRemoveChannelFromModeYoutube)) { - $user = User::getChannelOwner($_GET['channelName']); - //var_dump($user);exit; - ?> -
    - User Photo -
    - -
    -
    - -
    - -
    -
    - -
    - - $value) { - if (!empty($video['id']) && $video['id'] == $value['id']) { - continue; // skip video - } - echo Video::getVideosListItem($value['id']); -} -?> -
      -
    - - - 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']; +} else if (!empty($_GET['videoName'])) { + $videoName = $_GET['videoName']; +} +$get = array(); + +$get = array('channelName' => @$_GET['channelName'], 'catName' => @$_GET['catName']); +if (!empty($_GET['channelName']) && empty($advancedCustomUser->hideRemoveChannelFromModeYoutube)) { + $user = User::getChannelOwner($_GET['channelName']); + //var_dump($user);exit; + ?> +
    + User Photo +
    + +
    +
    + +
    + +
    +
    + +
    + + $value) { + if (!empty($video['id']) && $video['id'] == $value['id']) { + continue; // skip video + } + $getVideosListItem .= Video::getVideosListItem($value['id']); + } + ObjectYPT::setSessionCache($cacheName, $getVideosListItem); +} +echo $getVideosListItem; +TimeLogEnd($timeLogNameVL, __LINE__, $TimeLogLimitVL); +?> +
      +
    + + + \ No newline at end of file