<div id="content">
	<div id="film-list">
	<h3>Top des films</h3>
	<ul>
	<?php
	foreach($mostTaggedFilms as $item):
		$ref = $item->getRef();
		$slug = $item->getSlugUrl();
		$title = $item->getTitle();

		// image file
		$image_file = $item->getImages();
		// image file
		$video_file = $item->getVideos();

	?>
	<li>
		<div id="playerMostTagged-<?php echo $ref; ?>" class="player-item" style="background:transparent url('<?php echo image_path('posters/'.$image_file[0]['file'].'.jpg'); ?>') no-repeat;" href="<?php echo video_path($video_file[0]['file']);?>">
			<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 thd_render_flat_list($item->getDirectorsArray(), 'name'); ?></span>
		    </div>
		    <img src="<?php echo image_path('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>
		<div class="tag-action"><a href="<?php echo url_for('@editor?ref='.$ref.'&film_slug='.$slug); ?>" class="link-button">Tagger le film</a></div>
	</li>
	<?php endforeach; ?>
	</ul>
</div>
</div>
