예제 #1
0
          <ol class="breadcrumb">
            <li class="active">Recherche: <strong><?php 
echo $query;
?>
</h3></li>
          </ol>
          <?php 
foreach ($resultat as $album) {
    ?>
          <div class="col-sm-6 col-md-3">
            <div class="albumListing">
              <img src="<?php 
    echo $album->coverURL;
    ?>
" alt="...">
              <div class="caption">
                <h4> <?php 
    echo Easy::explodeString($album->title, 15);
    ?>
   </h4>
                <p><a href="#" class="btn btn-primary" role="button">Selectionner</a></p>
              </div>
            </div>
          </div>
          <?php 
}
?>
        </div>
        	</div>
         </div>
      </div>
예제 #2
0
                        <?php 
foreach ($playlists as $playlist) {
    ?>
                          <div class="col-sm-6 col-md-6">
                            <div class="albumListing">
                              <a href="<?php 
    echo _URL_APP_ROOT_ . 'playlist/' . $playlist->id;
    ?>
"><img src="<?php 
    echo $playlist->cover;
    ?>
" style="width:410px ;height:200px; "></a>
                              <div class="caption">
                                <h4><?php 
    echo Easy::explodeString($playlist->titre, 15);
    ?>
</h4>
                              </div>
                              <div class="row"> 
                                <div class="col-sm-1">
                                  <span class="nbrTracks"><?php 
    echo count($playlist->tracks);
    ?>
</span>
                                </div>
                                <div class="col-sm-11">
                                  <div><a style="float:right" href="<?php 
    echo _URL_APP_ROOT_ . 'playlist/' . $playlist->id;
    ?>
" class="btn btn-success">Ecouter</a></div>