Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- LISTA DE FILMES, Sliders e Lista por Gênero -->
- <h3 align="center"> Filmes </h3>
- <?php $genres = $this->crud_model->get_genres(); foreach ($genres as $row): ?>
- <div class="row" style="margin:20px 60px;">
- <h4 style="text-transform: capitalize;"><?php echo $row['name'];?></h4>
- <div class="content">
- <div class="grid">
- <?php
- $movies = $this->crud_model->get_movies($row['genre_id'] , 6, 0);
- foreach ($movies as $row)
- {
- $title = $row['title'];
- $link = base_url().'index.php?browse/playmovie/'.$row['movie_id'];
- $thumb = $this->crud_model->get_thumb_url('movie' , $row['movie_id']);
- include 'thumb.php';
- }
- ?>
- </div>
- </div>
- </div>
- <?php endforeach;?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement