Exemple #1
0
        ?>
</a>

                                    <p class="movie__time"><?php 
        echo $datanowplay->first_air_date;
        ?>
</p>

                                    <p class="movie__option">Language: <?php 
        echo $datanowplay->original_language;
        ?>
</p>
                                    
                                    <div class="movie__rate">
                                        <div class="score" style="cursor: pointer; width: 130px;">
											<?php 
        echo imgreate(round($datanowplay->vote_average));
        ?>
										</div>
                                        <span class="movie__rating"><?php 
        echo round($datanowplay->vote_average, 1);
        ?>
</span>
                                    </div>               
                                </div>
                            </div>
                         <!-- Movie variant with time -->
					<?php 
        $ix++;
    }
}
Exemple #2
0
        echo $imgurl;
        ?>
" width="100%" >
                                    </a>
                                </div>
								<?php 
        $rnd = rand(1, 50) / 10;
        ?>
                                <div class="movie__info">
                                    <a href='<?php 
        echo make_url_detail($datagenre->id, $datagenre->original_title, 'movie');
        ?>
' class="movie__title" title="<?php 
        echo $datagenre->original_title;
        ?>
" ><?php 
        echo $datagenre->original_title;
        ?>
</a>
                                    <p class="movie__time"><?php 
        echo $datagenre->release_date;
        ?>
</p>
                                    <p class="movie__option"><?php 
        echo getgenrebyid($datagenre->genre_ids);
        ?>
</p>
                                    
                                    <div class="movie__rate">
                                        <div class="score" style="cursor: pointer; width: 130px;">
											<?php 
Exemple #3
0
        ?>
</p>

                                    <p class="movie__option"><?php 
        if (isset($datamovie->genres)) {
            echo getgenretv($datamovie->genres);
        } elseif (isset($datamovie->genre_ids)) {
            echo getgenrebyid($datamovie->genre_ids);
        }
        ?>
</p>
                                    
                                    <div class="movie__rate">
                                        <div class="score" style="cursor: pointer; width: 130px;">
											<?php 
        echo imgreate($datamovie->vote_average);
        ?>
										</div>
                                        <span class="movie__rating"><?php 
        echo round($datamovie->vote_average, 1);
        ?>
</span>
                                    </div>               
                                </div>
                            </div>
                         <!-- Movie variant with time -->
					<?php 
        $ix++;
    }
}
?>
Exemple #4
0
?>
)  </a>

                                    <p class="movie__time"><?php 
echo $dtbnr['runtime'];
?>
 min</p>

                                    <p class="movie__option"><?php 
echo $dtbnr['genre'];
?>
</p>
									
                                    <div class="movie__rate">
                                        <div class="score" style="cursor: pointer; width: 130px;">
											<?php 
echo imgreate($rnd);
?>
										</div>
                                        <span class="movie__rating"><?php 
echo $rnd;
?>
</span>
                                    </div>               
                                </div>
                            </div>
                         <!-- Movie variant with time -->
						<? } } ?>
						<?//=$posts['pagination']?>

Exemple #5
0
echo $movies->getCrewDirector();
?>
</p>
												<p class="movie__option"><strong>Actors: </strong><?php 
echo $movies->getCast();
?>
</p>
												<p class="movie__option"><strong>Popularity: </strong><?php 
echo $movies->getRating();
?>
</p>

												<div class="preview-footer">
													<div class="movie__rate"><div class="score" style="cursor: pointer; width: 130px;">
														<?php 
echo imgreate($movies->getVoteAverage());
?>
													</div>
													<span class="movie__rate-number"><?php 
echo $movies->getVoteCount();
?>
 votes</span> 
													<span class="movie__rating"><?php 
echo $movies->getVoteAverage();
?>
</span></div>
												</div>
										</div>
									</div>							
								</div>							
							</div>