Пример #1
0
             </div>
             <div id="artist_right">

             
              <div style="float: right; margin-right: 20px;">
                    <span><a href="#sui"><img src="images/sui.png"></a></span>
              </div>
            

              <div style="float: left; margin-left: -4px;">
                     <span><a href="#pre"><img src="images/pre.png"></a></span>
              </div>
                
              <div id="h1-id" align="center"><h1><?php 
$a = titre_artiste($artiste, 0);
echo $a;
?>
</h1> </div>
          
                
                <div id="artist_detail">
        
                  Artiste : <span> <?php 
echo $a;
?>
 </span><br><br>
         
                </div>
                 <div id="artist_img">
                 <?php 
Пример #2
0
        <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
        <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>
Пример #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>';