source: trunk/web/app/out/dist/boxes/artistes_au_hasard.php @ 1

Last change on this file since 1 was 1, checked in by dj3c1t, 12 years ago

import initial

File size: 950 bytes
Line 
1<?php if($env->out["artistes_au_hasard"]) : ?>
2  <div id="artistes_au_hasard">
3<?php foreach($env->out["artistes_au_hasard"] as $artiste) : ?>
4      <a title="<?= $artiste["nom"]." (".$artiste["style"].")" ?>"
5         href="<?= $env->url(array("e" => "artistes", "artiste" => $artiste["id"])) ?>">
6<?php if($artiste["image"]["src"]) : ?>
7        <img alt="<?= $artiste["nom"]." (".$artiste["style"].")" ?>"
8             src="<?=
9              ( $env->e === "forum" ?
10                  ( strpos($artiste["image"]["src"], "http://") === 0 ?
11                      ""
12                    : "../"
13                  )
14                : ""
15              ).$artiste["image"]["src"]
16             ?>" style="width: <?= $artiste["image"]["width"] ?>px; height: <?= $artiste["image"]["height"] ?>px;" />
17<?php else : ?>
18        <?= $artiste["nom"] ?>
19<?php endif; ?>
20      </a>
21<?php endforeach; ?>
22    <div class="clear"><!-- --></div>
23  </div>
24<?php endif; ?>
Note: See TracBrowser for help on using the repository browser.