983 |
aurelien |
1 |
<!-- WIDGET:DEL:VOTE - DEBUT -->
|
999 |
delphine |
2 |
<div id="contenu" data-role="page">
|
993 |
delphine |
3 |
<!-- /navbar -->
|
|
|
4 |
<div data-role="header" data-position="fixed">
|
|
|
5 |
<div data-role="navbar" >
|
|
|
6 |
<ul>
|
|
|
7 |
<?php if($donnees['urls_navigation']['url_precedent'] != null) { ?>
|
|
|
8 |
<li><a href="<?= $donnees['urls_navigation']['url_precedent']; ?>" class="ui-btn-active">Précédent</a></li>
|
|
|
9 |
<?php } ?>
|
|
|
10 |
<?php if($donnees['urls_navigation']['url_suivant'] != null) { ?>
|
|
|
11 |
<li><a href="<?= $donnees['urls_navigation']['url_suivant']; ?>">Suivant</a></li>
|
|
|
12 |
<?php } ?>
|
|
|
13 |
</ul>
|
|
|
14 |
</div>
|
983 |
aurelien |
15 |
</div>
|
993 |
delphine |
16 |
<!-- /navbar -->
|
|
|
17 |
<div class="del-vote-contenu">
|
|
|
18 |
<img id="image_principale" src="<?= str_replace('XL', 'CRS', $donnees['url']); ?>" alt="image" />
|
|
|
19 |
<div class="conteneur_image_secondaire">
|
|
|
20 |
<?php $premiere_image = true; ?>
|
|
|
21 |
<?php foreach($donnees['images'] as $image) : ?>
|
|
|
22 |
<img class="image_secondaire <?php if($premiere_image) { echo 'image_active';} ?>" src="<?= str_replace('XL', 'CRX2S', $image['binaire.href']); ?>" alt="image" />
|
|
|
23 |
<?php $premiere_image = false; ?>
|
|
|
24 |
<?php endforeach ?>
|
|
|
25 |
</div>
|
|
|
26 |
<div class="info_observation">
|
|
|
27 |
<?= $donnees['titre']; ?>
|
|
|
28 |
</div>
|
|
|
29 |
<ul class="ui-listview" data-role="listview">
|
|
|
30 |
<?php foreach($donnees['liste_votes_determination'] as $vote_determination) : ?>
|
|
|
31 |
<li class="ui-li ui-li-static ui-body-c">
|
|
|
32 |
<div class="intitule_determination">
|
|
|
33 |
<div><?= $vote_determination['nom_sel']; ?></div>
|
|
|
34 |
<div class="auteur_determination">Proposé par : <?= $vote_determination['auteur.prenom']; ?> <?= $vote_determination['auteur.nom']; ?></div>
|
|
|
35 |
</div>
|
|
|
36 |
<div id="vote_determination_<?= $vote_determination['id_commentaire']; ?>" class="votes_determination">
|
|
|
37 |
<a href="#" class="bouton_vote bouton_vote_oui" data-role="button" data-mini="true" data-inline="true"> oui</a>
|
|
|
38 |
<span class="nb_votes nb_votes_oui">
|
|
|
39 |
<?= $vote_determination['votes']['oui']; ?>
|
|
|
40 |
</span>
|
|
|
41 |
<a href="#" class="bouton_vote bouton_vote_non" data-role="button" data-mini="true" data-inline="true"> non</a>
|
|
|
42 |
<span class="nb_votes nb_votes_non">
|
|
|
43 |
<?= $vote_determination['votes']['non']; ?>
|
|
|
44 |
</span>
|
|
|
45 |
</div>
|
|
|
46 |
<hr style="visibility:hidden;clear:both" />
|
|
|
47 |
</li>
|
|
|
48 |
<?php endforeach ?>
|
|
|
49 |
</ul>
|
|
|
50 |
</div>
|
|
|
51 |
<div data-role="footer" data-theme="b" data-position="fixed">
|
|
|
52 |
</div>
|
|
|
53 |
</div>
|
|
|
54 |
<!-- WIDGET:DEL:VOTE - FIN -->
|