From a53b02544bc643cdf0b0fce7018fd91d78ba0e11 Mon Sep 17 00:00:00 2001 From: Daniel Neto Date: Wed, 11 Dec 2024 15:21:48 -0300 Subject: [PATCH] https://github.com/WWBN/AVideo/issues/9695#issuecomment-2533165391 --- plugin/Gallery/view/mainArea.php | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/plugin/Gallery/view/mainArea.php b/plugin/Gallery/view/mainArea.php index 9e7dbddf95db..ed3ecdb473e7 100644 --- a/plugin/Gallery/view/mainArea.php +++ b/plugin/Gallery/view/mainArea.php @@ -4,7 +4,7 @@ saveRequestVars(); ?> - +
- ' . getAdsLeaderBoardTop2() . ''; - + include $global['systemRootPath'] . 'plugin/Gallery/view/mainAreaLiveRow.php'; echo AVideoPlugin::getGallerySection(); @@ -84,7 +84,7 @@ if ($value['name'] == 'Suggested') { createGallery(!empty($obj->SuggestedCustomTitle) ? $obj->SuggestedCustomTitle : __("Suggested"), 'suggested', $obj->SuggestedRowCount, 'SuggestedOrder', "", "", $orderString, "ASC", !$obj->hidePrivateVideos, "fas fa-star", true); } else - if(empty(getSearchVar()) && empty($_GET['showOnly']) && $value['name'] == 'PlayLists'){ + if (empty(getSearchVar()) && empty($_GET['showOnly']) && $value['name'] == 'PlayLists') { $objPl = AVideoPlugin::getDataObject('PlayLists'); $plRows = PlayList::getAllToShowOnFirstPage(); //var_dump(count($plRows));exit; @@ -93,16 +93,22 @@ setRowCount($obj->PlayListsRowCount); foreach ($plRows as $pl) { $videos = PlayList::getAllFromPlaylistsID($pl['id']); - if(empty($videos)){ + if (empty($videos)) { echo ""; continue; } - ?> + $playlistTotalInfo = PlayList::getTotalDurationAndTotalVideosFromPlaylist($pl['id']); + ?>

- "> + " class="faa-parent animated-hover"> + + + ( ) + +

@@ -111,11 +117,11 @@ ?>
- TrendingCustomTitle) ? $obj->TrendingCustomTitle : __("Trending"), 'trending', $obj->TrendingRowCount, 'TrendingOrder', "zyx", "abc", $orderString, "ASC", !$obj->hidePrivateVideos, "fas fa-chart-line", true); } else