|
1 <div id="search-list"> |
|
2 <ul> |
|
3 <?php |
|
4 foreach($searchFilms as $item): |
|
5 $ref = $item->getRef(); |
|
6 $slug = $item->getSlugUrl(); |
|
7 $title = $item->getTitle(); |
|
8 |
|
9 // image file |
|
10 $image_file = $item->getImages(); |
|
11 // image file |
|
12 $video_file = $item->getVideos(); |
|
13 // directors list |
|
14 $directors = json_decode($item->getDirectors(), true); |
|
15 ?> |
|
16 <li> |
|
17 <div id="player-<?php echo $ref; ?>" class="player-item" style="background:transparent url('posters/<?php echo $image_file[0]['file'].".jpg"; ?>') no-repeat;" href="<?php echo $videoPath.$video_file[0]['file'].".f4v";?>"> |
|
18 <div class="infos"> |
|
19 <a href="<?php echo url_for('@editor?ref='.$ref.'&film_slug='.$slug); ?>" class="title" target="_top"><?php echo $title; ?></a> <span class="film-infos">De <?php echo $directors['name']; ?></span> |
|
20 </div> |
|
21 <img src="images/buttons/btn_play.png"/ id="play"></a> |
|
22 <div class="tags"> |
|
23 <ul class="item-list tag-list"> |
|
24 <li><span class="head"> |
|
25 <i>Tags liƩs au film :</i> |
|
26 </span></li> |
|
27 <li class="tag-score-<?php echo $tag['score']; ?>"> |
|
28 <a href="">anna</a> |
|
29 </li><li class="tag-score-5"> |
|
30 <a href="">Jalousie</a> |
|
31 </li><li class="tag-score-3"> |
|
32 <a href="">erotomanie</a> |
|
33 </li><li class="tag-score-2"> |
|
34 <a href="">violence</a> |
|
35 </li> |
|
36 <li class="tag-score-<?php echo $tag['score']; ?>"> |
|
37 <a href="">anna</a> |
|
38 </li><li class="tag-score-5"> |
|
39 <a href="">Jalousie</a> |
|
40 </li><li class="tag-score-3"> |
|
41 <a href="">erotomanie</a> |
|
42 </li><li class="tag-score-2"> |
|
43 <a href="">violence</a> |
|
44 </li> |
|
45 </ul> |
|
46 </div> |
|
47 </div> |
|
48 |
|
49 </li> |
|
50 <?php endforeach; ?> |
|
51 </ul> |
|
52 </div> |