landscapePosters)) { $landscape = "landscapeTile"; if (!empty($obj->titleLabel)) { $css = "height: 185px;"; } } $get = $_GET; $post = $_POST; $timeLog3 = __FILE__ . " - modeFlix Row"; TimeLogStart($timeLog3); ?> $value) { $timeLog5Limit = 0.5; $timeLog5 = "{$timeLog3} second foreach {$value['clean_title']}"; TimeLogStart($timeLog5); $uid = "{$uidOriginal}_{$value['id']}"; $images = Video::getImageFromFilename($value['filename'], $value['type']); if (!empty($value['serie_playlists_id'])) { if (empty($images) || isImageNotFound($images->poster)) { $images = PlayList::getRandomImageFromPlayList($value['serie_playlists_id']); } } TimeLogEnd($timeLog5, __LINE__, $timeLog5Limit); $imgGif = $images->thumbsGif; $img = $images->thumbsJpg; $poster = $images->poster; $canWatchPlayButton = ""; if (User::canWatchVideoWithAds($value['id'])) { $canWatchPlayButton = "canWatchPlayButton"; } else if ($obj->hidePlayButtonIfCannotWatch) { $canWatchPlayButton = "hidden"; } TimeLogEnd($timeLog5, __LINE__, $timeLog5Limit); if (!empty($rowPlayListLink)) { $rowLink = addQueryStringParameter($rowPlayListLink, 'playlist_index', $_index); $rowLinkEmbed = addQueryStringParameter($rowPlayListLinkEmbed, 'playlist_index', $_index); } else { $rowLink = YouPHPFlix2::getLinkToVideo($value['id'], true); $rowLinkEmbed = Video::getLinkToVideo($value['id'], $value['clean_title'], true); } TimeLogEnd($timeLog5, __LINE__, $timeLog5Limit); if (empty($value['serie_playlists_id'])) { include $global['systemRootPath'] . 'plugin/YouPHPFlix2/view/row_video.php'; TimeLogEnd($timeLog5, __LINE__, $timeLog5Limit); } else { include $global['systemRootPath'] . 'plugin/YouPHPFlix2/view/row_serie.php'; TimeLogEnd($timeLog5, __LINE__, $timeLog5Limit); } } TimeLogEnd($timeLog3, __LINE__); $_GET = $get; $_POST = $post;