0byt3m1n1-V2
Path:
/
home
/
nlpacade
/
www.OLD
/
arcaneoverseas.com
/
application
/
views
/
[
Home
]
File: content_home.php
<div class="cellSuiteIndex"> <div class="box"> <div class="boxpadding"> <div style="width:700px;" class="cell"> <h1 class="bleu"><?php echo $article->getTitre(); ?></h1> <?php echo $article->getDescription(); ?> </div> <div align="right" style="width:350px;" class="cell round"> <?php echo str_replace("../", "", $block["round_home"]); ?> </div> <hr> <div class="news"> <h1 class="orange">Actualités</h1> <div id="newsblock"> <?php $i = 1; foreach ($events as $event): ?> <?php if ($event['jshow'] == "oui") { date_default_timezone_set('Etc/GMT+1'); $datetime1 = new DateTime(date("y-m-d")); $datetime2 = new DateTime($event['date_start']); $datetime3 = new DateTime($event['date_end']); $interval = $datetime1->diff($datetime2); if ((int) $interval->format('%R%a') < 0) { $toshow = str_ireplace("-", "+", $interval->format('%R%a')); } elseif ((int) $interval->format('%R%a') == 0) { $toshow = "J"; } else { $toshow = str_ireplace("+", "-", $interval->format('%R%a')); } } ?> <div class="cell3 <?php if ($i == 1): ?>fisrt<?php endif; ?>"> <h3 class="bleu"><?php if ($event['jshow'] == "oui") { ?> <span class="jshow">J<?php echo $toshow; ?></span><?php } ?><?php echo $event['titre']; ?></h3> <div class="cell80"> <p> <?php echo coupe2(strip_tags($event['description']), 105); ?> ...<a class="more" href="<?php echo site_url("calendar/fiche/" . $event['sku']); ?>">En savoir plus</a> </p> </div> </div> <?php $i++; endforeach; ?> <br clear="all" /> <a class="btnBleuActu" style="float:left" href="<?php echo site_url("calendar/liste"); ?>">En savoir plus</a> <a href="calendrier.html" style="margin-top: 0px !important;float:left" class="btnBleuEventsHome">En savoir plus</a> </div> </div> <style> .partenairescontener img#part_36{ margin-left: 0; margin-top: 13px; } </style> <div class="partenairescontener"> <h1 class="bleu">Partenaires</h1> <?php $i = 1; foreach ($partenaires as $partenaire): ?> <?php if ($partenaire->getImage() != ""): ?> <a href="<?php echo $partenaire->getLinkExterne() ?>" class="<?php if ($i == 1): ?>fisrt<?php endif; ?>" data-image-hover="<?php echo base_url("assets/uploads/images_partenaire_hover/" . $partenaire->getImageHover()); ?>" data-image="<?php echo base_url("assets/uploads/images_partenaire/" . $partenaire->getImage()); ?>" rel="nofllow" target="_blanck"> <img id="part_<?php echo $partenaire->getId() ?>" alt="<?php echo $partenaire->getTitre(); ?>" src="<?php echo base_url("assets/uploads/images_partenaire/" . $partenaire->getImage()); ?>"/> </a> <?php endif; ?> <?php $i++; endforeach; ?> </div> </div> <br clear="all"> </div> <br clear="all"> </div> <br clear="all">
©
2018.