garancia-pharmaciens/httpdocs/cas-de-comptoir-spots-tv.php
2017-05-30 17:55:38 +02:00

117 lines
3.9 KiB
PHP
Executable File

<?php
/*-----------------------------------------------------*/
include_once("_inc/config.php");
/*-----------------------------------------------------*/
$_RUBRIQUE = "cas-de-comptoir-spots-tv";
/*-----------------------------------------------------*/
include_once("_inc/assets/metas.php");
include_once("_inc/assets/top.php");
/*-----------------------------------------------------*/
?>
<div class="page">
<div id="arianne">
<a href="home.php">Accueil</a> |
<a href="plans-merchandising.php">Animez votre point de vente</a> |
<span class="current">Cas de comptoir & Spots TV</span>
</div>
<div class="page_menu">
<a href="plans-merchandising.php"><span>Plans merchandising</span></a>
<a href="affichettes-visuels-logos.php"><span>Affichettes, Visuels & Logos</span></a>
<a href="cas-de-comptoir-spots-tv.php" class="current"><span>Cas de comptoir & Spots TV</span></a>
<a href="animez-votre-site-internet.php"><span>Animez votre site internet</span></a>
</div>
<div class="clear"></div>
<div class="page_contents">
<h1><span>[</span> CAS DE COMPTOIR <span>]</span></h1>
<p class="txt1">Visualisez les vidéos cas de comptoir pour vous aider à conseiller les soins Garancia !</p>
<div class="slideList slideListCas">
<div class="slideContent slideContentCas">
<?php
$items = getFrontCas();
foreach($items as $item){
?>
<div class="slideItem casItem" style="background-image:url(files/videos/cas/thumbs/<?php echo $item -> id; ?>.jpg)">
<a href="#file_viewer?file=videos/cas/flv/<?php echo $item -> id; ?>.flv&title=<?php echo urlencode($item -> label); ?>" rel="popin" class="view">
<div class="label"><?php echo nl2br($item -> label); ?></div>
</a>
</div>
<?php } ?>
</div>
</div>
<h1><span>[</span> SPOTS TV & FILM GAMME <span>]</span></h1>
<p class="txt1">Diffusez les spots TV Garancia et le film de la gamme sur vos écrans ! </p>
<div class="slideList slideListSpots">
<div class="slideContent slideContentSpots">
<?php
$items = getFrontSpots();
foreach($items as $item){
?>
<div class="slideItem casItem spotItem" style="background-image:url(files/videos/spots/thumbs/<?php echo $item -> id; ?>.jpg)">
<a href="#file_viewer?file=videos/spots/flv/<?php echo $item -> id; ?>.flv&title=<?php echo urlencode($item -> label); ?>" rel="popin" class="view">
<div class="label"><?php echo nl2br($item -> label); ?></div>
</a>
<a href="?download=videos/spots/files/<?php echo $item -> filename; ?>&filename=<?php echo $item -> label; ?>" class="download">téléchargez</a>
</div>
<?php } ?>
</div>
</div>
<img src="_img/a_diffuser.png" alt="à diffuser sur vos écrans !" />
</div>
</div>
</div>
<script type="text/javascript">
$(".slideContent").each(function(index, element) {
$(this).children(".slideItem:last").css("margin-right","0");
});
//$(".slideList .slideItem:last").css("margin-right","0").css("background-color","#000000");
$(".slideContent").each(function(index, element) {
var nb = $(this).children('.slideItem').length;
var w = (nb*328) - 30;
$(this).css("width",w + "px");
});
</script>
<?php
/*-----------------------------------------------------*/
include_once("_inc/assets/footer.php");
/*-----------------------------------------------------*/
?>