--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/thd/apps/frontend/modules/search/templates/_searchList.php Tue Sep 22 16:40:38 2009 +0200
@@ -0,0 +1,52 @@
+<div id="search-list">
+ <ul>
+ <?php
+ foreach($searchFilms as $item):
+ $ref = $item->getRef();
+ $slug = $item->getSlugUrl();
+ $title = $item->getTitle();
+
+ // image file
+ $image_file = $item->getImages();
+ // image file
+ $video_file = $item->getVideos();
+ // directors list
+ $directors = json_decode($item->getDirectors(), true);
+ ?>
+ <li>
+ <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";?>">
+ <div class="infos">
+ <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>
+ </div>
+ <img src="images/buttons/btn_play.png"/ id="play"></a>
+ <div class="tags">
+ <ul class="item-list tag-list">
+ <li><span class="head">
+ <i>Tags liƩs au film :</i>
+ </span></li>
+ <li class="tag-score-<?php echo $tag['score']; ?>">
+ <a href="">anna</a>
+ </li><li class="tag-score-5">
+ <a href="">Jalousie</a>
+ </li><li class="tag-score-3">
+ <a href="">erotomanie</a>
+ </li><li class="tag-score-2">
+ <a href="">violence</a>
+ </li>
+ <li class="tag-score-<?php echo $tag['score']; ?>">
+ <a href="">anna</a>
+ </li><li class="tag-score-5">
+ <a href="">Jalousie</a>
+ </li><li class="tag-score-3">
+ <a href="">erotomanie</a>
+ </li><li class="tag-score-2">
+ <a href="">violence</a>
+ </li>
+ </ul>
+ </div>
+ </div>
+
+ </li>
+ <?php endforeach; ?>
+ </ul>
+</div>
\ No newline at end of file