<div id="resultList">
	<h3 class="head">Films resultats de la recherche</h3>
	<h3 class="head">Search length : <?php echo $searchCount ?></h3>
	<ul>
	<?php 
	foreach($searchResult 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->getDirectorsArray(), true);
	?>
	<li>	
		<div id="playerMostTagged-<?php echo $ref; ?>" class="player-item" style="background:transparent url('<?php echo $imagePath.$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"><?php echo $title; ?></a> <span class="film-infos">De <?php echo $directors['name']; ?></span><
		    </div>
		    <a href="#"><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-1">
				    <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-2">
				    <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>	