garancia-pharmaciens/httpdocs/fidelisez-vos-clients.php
2017-05-30 17:55:38 +02:00

75 lines
2.1 KiB
PHP
Executable File

<?php
/*-----------------------------------------------------*/
include_once("_inc/config.php");
/*-----------------------------------------------------*/
$_RUBRIQUE = "fidelisez-vos-clients";
/*-----------------------------------------------------*/
include_once("_inc/assets/metas.php");
include_once("_inc/assets/top.php");
/*-----------------------------------------------------*/
?>
<div class="page">
<div id="arianne">
<a href="home.php">Accueil</a> |
<span class="current">Fidélisez vos clients</span>
</div>
<div class="page_contents">
<h1><span>[</span> Fidélisez vos clients <span>]</span></h1>
<?php
$items = getFrontFidelisez();
foreach($items as $item){
?>
<div class="fidelise">
<div class="visuel">
<img src="files/fidelisez/thumbs/<?php echo $item -> id; ?>.jpg" />
<?php
$filePath = "fidelisez/". $item -> id ."." . $item -> fileformat;
//echo $filePath;
if(file_exists("files/".$filePath)){
?>
<div class="btns"><a href="#file_viewer?file=<?php echo $filePath; ?>" rel="popin"><img src="_img/fidelisez_btns.png" /></a></div>
<?php } ?>
</div>
<div class="infos">
<div class="title"><?php echo $item -> title; ?></div>
<div class="description ctn"><?php echo $item -> description; ?></div>
<?php if($item -> btn_label != ""){ ?>
<div class="btnCtn">
<a href="<?php echo $item -> btn_url; ?>" class="btnRightArrow" target="_blank"><?php echo $item -> btn_label; ?></a>
</div>
<?php } ?>
</div>
<div class="clear"></div>
</div>
<?php } ?>
</div>
</div>
<script type="text/javascript">
</script>
<?php
/*-----------------------------------------------------*/
include_once("_inc/assets/footer.php");
/*-----------------------------------------------------*/
?>