source: trunk/web/app/out/dist/content/e_rechercher.php @ 1

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

import initial

File size: 1.4 KB
Line 
1
2  <h2>Rechercher</h2>
3<div class="bloc_content">
4  <br />
5  <form id="search" name="search_form" action="<?= $env->url(array("e" => "rechercher")) ?>" method="post">
6    <input type="text" name="match" value="<?= $_POST["match"]?>" />
7    <input type="submit" value="Rechercher" />
8  </form>
9
10<?php if($env->out["results"]) : ?>
11<div id="search_results">
12<p>R&eacute;sultats pour <strong><?= $env->out["results"]["match"] ?></strong> :</p>
13<?php if($env->out["results"]["has_results"]) : ?>
14<?php if($env->out["results"]["artistes"]) : ?>
15<h2>artistes</h2>
16<br/>
17
18<?php foreach($env->out["results"]["artistes"] as $id => $artiste) : ?>
19  <div class="artiste_list_link">
20    <a href="<?= $env->url(array("e" => "artistes", "artiste" => $id)) ?>">
21      <img src="<?php echo $artiste["image"]; ?>" style="float: left; width: 60px; margin: 0px 10px 10px 0px; border: none;">
22    </a>
23    <a href="<?= $env->url(array("e" => "artistes", "artiste" => $id)) ?>"><?= $artiste["nom"] ?></a><br>
24    <?= $artiste["style"] ?>
25    <div style="clear: both">&nbsp;</div>
26  </div>
27<?php endforeach; ?>
28<div class="clear"><!-- --></div>
29<?php endif; ?>
30<?php if($env->out["results"]["downloads"]) : $env->out["downloads"] = &$env->out["results"]["downloads"]; ?>
31<h2>downloads</h2>
32
33<?php require $env->out_file("views/downloads.php"); ?>
34
35<?php endif; ?>
36<?php else : ?>
37<p>Aucun r&eacute;sultat pour cette recherche</p>
38<?php endif; ?>
39</div>
40<?php endif; ?>
41</div>
Note: See TracBrowser for help on using the repository browser.