Modification de l'affichage et debuguage du php pour un fonctionnement normal.
This commit is contained in:
ccunatbrule
2022-07-18 01:23:12 +02:00
parent 5d0d3fbf2d
commit f44cb8f268
118 changed files with 748 additions and 813 deletions

View File

@@ -1,22 +1,19 @@
<div class="container-fluid">
<section id="content" class="page-content">
<div class="container">
<br><h2 class="text-center">Tous les évenements du club</h2><hr>
<ul class="list-unstyled">
<?php foreach($eventsAll as $event){ ?>
<li class="media m-3 border border-secondary rounded p-2 bg-white">
<img class="rounded m-2" src=<?php echo $event['imageevent']; ?> alt="">
<div class="media-body">
<h4 class="card-title"><?php echo $event['nomevent']; ?><br>
<small class="text-muted">Le <?php setlocale (LC_TIME, 'fr_FR.utf-8','fra');echo strftime(" %e %B %Y", strtotime($event['dateevent'])); ?> à <?php echo $event['lieuevent'];?></small><br>
<!--<a href="event.php#" class="button-1 style" style="color:red">Participer</a>-->
</h4>
<?php echo $event['descriptionevent']; ?>
</div>
</li>
<?php } ?>
</ul>
</div>
</section>
</div>
<section id="content" class="page-content">
<div>
<br><h2 class="text-center">Tous les évenements du club</h2><hr>
<ul class="list-unstyled">
<?php foreach($eventsAll as $event){ ?>
<li class="border border-secondary rounded p-2 m-3 bg-white">
<img class="img-thumbnail rounded m-2" src=".<?php echo $event['imageevent']; ?>" alt="">
<div class="media-body">
<h4 class="card-title"><?php echo $event['nom']; ?><br>
<small class="text-muted">Le <?php setlocale (LC_TIME, 'fr_FR.utf-8','fra');echo strftime(" %e %B %Y", strtotime($event['dateevent'])); ?> à <?php echo $event['lieu'];?></small><br>
<!--<a href="event.php#" class="button-1 style" style="color:red">Participer</a>-->
</h4>
<p><?php echo $event['description']; ?></p>
</div>
</li>
<?php } ?>
</ul>
</div><hr>
</section>