Exemplo n.º 1
0
                    
                   <br>
                  
                  <div class="detail">
                
                  
                  Date début : <span> <?php 
echo $date_event[0];
?>
. </span><br>
                  Date Fin : <span> <?php 
echo $date_event[1];
?>
.</span><br>
                  Endroit : <span> <?php 
echo place_event($event, 0);
?>
.</span><br>
                  Nationalité : <span> Français</span><br>
                  Accés : <span> Gratuit.</span><br>
                  
                  <hr>
  
                  Plus d’info contactez nous sur:<br>
                  <i style="font-size: 25px;" class="fa fa-mobile"></i><span> 06 55 22 33 22</span><br>
                  <i class="fa fa-envelope"></i><span> Contact@info.com</span>
          
                  
                </div>

                  <div class="detail">
Exemplo n.º 2
0
echo '<img src=' . $imag_event[count($imag_event) - 1] . '';
?>
></div><br><br>

                    <p><?php 
if ($p_event[0] != "") {
    echo "Du " . $p_event[0];
}
?>
 <?php 
if ($p_event[1] != "") {
    echo "Du " . $p_event[1];
}
?>
.<br>Lieu : <?php 
echo place_event($events, 0);
?>
.</p>

                    <!--div class="acces">Accès : <span>Gratuit.</span></div><div class="evenment_plus">+</div-->
					<?php 
echo "</a>";
?>
                    </div>
                    </div>
                    <div class="sub_teal"><a href="contact.php?q=event"><span style="color:#fff;">Ajouter un Evénement</span></a></div><br>

                </div>

              <br>
              <br>
Exemplo n.º 3
0
                <div class="minievenmentss">
                  

              <?php 
$events = requete_event('{"query":{"bool":{"must":[],"must_not":[],"should":[
                                          {"range":{"event.pubDate":{"from":"' . date("d/m/y") . '"}}}]}},
                                          "from":0,"size":4,"sort":[],"facets":{}}');
for ($i = 0; $i < totale_event($events, $i); $i++) {
    $imag_event = images_event($events, $i);
    $p = pubDate_event_s($events, $i);
    echo '<div class="minievenments">';
    echo '<a href="evenment.php?event=' . titre_event($events, $i) . '&du=' . $p[0] . '&au=' . $p[1] . '"><img src="' . $imag_event[count($imag_event) - 1] . '" class="peloton"></a>';
    echo '<div style="margin: -15px 10px;">';
    echo '<h1>' . titre_event($events, $i) . '</h1>';
    echo '<p align="center">' . place_event($events, $i) . '<br></p>';
    echo '</div>';
    echo '<br>';
    echo '</div>';
}
?>
                <div id="fb-root"></div>
					<script>(function(d, s, id) {
					  var js, fjs = d.getElementsByTagName(s)[0];
					  if (d.getElementById(id)) return;
					  js = d.createElement(s); js.id = id;
					  js.src = "//connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v2.4";
					  fjs.parentNode.insertBefore(js, fjs);
					}(document, 'script', 'facebook-jssdk'));</script>
                   	<div class="fb-like" data-href="<?php 
echo url_social($oeuvre);