Esempio n. 1
0
                     <br>
                  </div>
                  
               
                    

                </div>
                <br>


                <div class="mini art">


                 <div id="artist_img-responsive">
                 <?php 
$idoev = ouevres_artiste($artiste, 0);
$oeuvre_artiste = requete_oeuvre_artiste($idoev[1]);
$imgs = images_oeuvre($oeuvre_artiste);
echo '<img src=' . $imgs[count($imgs) - 1] . ' class="peloton"><br>';
?>

                  

                  <div class="detail">
                      <table style="width:100%">
                       
                        <tr>
                          <td><span align="center">Artiste :</span> <?php 
echo $a;
?>
 </td>
Esempio n. 2
0
        <span class="sr-only">Next</span>
      </a>
    </div><!-- /.carousel -->
            </section>
            
            <section class="sec_article">
              <br>
              
                <div class="article">
                
                    <div class="deeppink"><a href="artistes.php"><span style="color:#fff;">Artistes Vedettes</span></a></div>
                    <div style="height:370px">
                    <?php 
for ($i = 0; $i < 3; $i++) {
    $p = titre_artiste($artved, $i);
    $idoev = ouevres_artiste($artved, $i);
    echo '<a class="textdeco" href="artiste.php?artiste=' . $p . '">';
    echo '<div class="artistes">';
    echo '<h2>' . $p . '</h2>';
    for ($j = 0; $j < 3 && $j < count($idoev) - 1; $j++) {
        $oeuvre_artiste = requete_oeuvre_artiste($idoev[$j + 1]);
        $imgs = images_oeuvre($oeuvre_artiste);
        echo '<img width="85" src=' . $imgs[count($imgs) - 1] . '>';
    }
    echo '</div>';
    echo '</a>';
}
?>
                    <br>
                    </div>
                    <div class="sub_deeppink"><a href="contact.php?q=artiste"><span style="color:#fff;">Ajouter un Artiste</span></a></div><br>
Esempio n. 3
0
               
                    

                </div>
                <br>


                  


                  <div class="miniartistess">
                  <?php 
$result = requete_artiste('{"query":{"bool":{"must":[],"must_not":[],"should":[{"query_string":{"default_field":"artist.title","query":""}},{"query_string":{"default_field":"artist.body","query":"Figuratif"}}]}},"from":0,"size":10,"sort":[],"facets":{}}');
for ($i = 0; $i < 10; $i++) {
    $p = titre_artiste($result, $i);
    $idoev = ouevres_artiste($result, $i);
    $oeuvre_artiste = requete_oeuvre_artiste($idoev[1]);
    $imgs = images_oeuvre($oeuvre_artiste);
    echo '<div class="miniartistes">';
    echo '<div class="left">';
    echo '<a href="artiste.php?artiste=' . $p . '"> <img src=' . $imgs[count($imgs) - 1] . ' width="100"></a>';
    echo '</div>';
    echo '<div class="left infoss">';
    echo '<h3>' . $p . '</h3>';
    echo '<p>' . (count($idoev) - 1) . ' oeuvres publiée</p>';
    echo '</div>';
    echo '<div class="right">';
    echo '<div class="caracter">';
    echo '<span >Moderne</span>';
    echo '<span>Figuratif</span>';
    echo '<span>Abstrait</span>';