$c = (array) $c; } $bgColor = $count % 2 ? "#EEE" : "#CCC"; $count++; if ($countTotal == $count) { echo '<a name="last-comment" id="last-comment"></a>'; } echo "<div class=\"comment-line user-" . $user_id . " " . ($count == 0 ? "first" : "") . "\" " . "><div class=\"inner\">"; //echo "<span class=\"comment-silhouette\"></span>"; echo "<span class=\"comment-silhouette user-" . $user_id . "\"></span>"; // Mathieu echo getTextToSpeech($c["content"]); echo "</div></div>"; } } else { echo "<div id=\"media-comment-no\">" . getTextToSpeech("Pas de commentaires") . "</div>"; } ?> </div> </div> </div> </div> </div> <a href="#" id="lien_retour_top" style="display: block;"></a> <?php include "analytics.php"; ?> <?php include "text-to-speech-toggle.php"; ?>
</div> <div id="form-text"> <div id="form-text-title"><?php echo getTextToSpeech("Témoignage"); ?> : </div> <textarea type="text" id="from-textarea" name="temoin-text"></textarea> <input id="form-text-input" type="submit" value="Envoyer" /> </div> </form> </div> <div id="form-note"><?php echo getTextToSpeech("Note : ne doit pas peser plus de 20 Mo (20 méga-octets)."); ?> </div> </div> <div class="clear"></div> </div> <?php include "analytics.php"; ?> <div id="text-to-speech-toggle"></div> </body> </html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr"> <head> <title>Conseil general - Titre du site</title> <?php include "head.php"; ?> <link rel="stylesheet" type="text/css" href="styles/aide.css?v=1"></link> <script src="js/mosaic.js?v=1" type="text/javascript"></script> </head> <body><div class="all" id="all-aide"> <div id="menu"> <div class="pres-link" id="debat" alt="pres-questions"><div class="menu-debat-rollover aide"><?php echo getTextToSpeech("les questions"); ?> </div></div> <div class="clear"></div> </div> <div class="aide-frame2"> <?php //modif le path dans const.php //addApiVideo(TUTORIEL_VIDEO, true, "videoTutorielHtml5", "images/aide/accueil_tutoriel.png", 880, 495); //addApiVideo(TUTORIEL_VIDEO, true, "videoTutorielHtml5", "images/aide/accueil_tutoriel.png", 1280, 720); ?> <video width="1280" height="736" controls="controls" preload="auto" poster="videos/MesIdeesAussi_Tutoriel-720.png" autoplay> <source src="videos/MesIdeesAussi_Tutoriel-1080.mp4" type="video/mp4" /> <!-- source src="videos/MesIdeesAussi_Tutoriel-720.webm" type="video/webm" /--> </video>
<span id="pagePrecedente"><a href="<?php echo $pageCourante == 0 ? "/" : "installation.php?page=" . ($pageCourante - 1); ?> "><img src="images/mosaic/previous.png" /></a><?php echo getTextToSpeech("Page précédente", false); ?> </span> <span id="nopages"><?php echo $divNoPages; ?> </span> <span id="pageSuivante"><a href="<?php echo $pageCourante == 9 ? "/mosaic.php?cat=presentation-debat" : "installation.php?page=" . ($pageCourante + 1); ?> "><img src="images/mosaic/next.png" /></a><?php echo getTextToSpeech("Page suivante", false); ?> </span> <span id="legende" class="page0" data-id="<?php echo $nbPages; ?> "></span> </div> </div> </div> <?php include "analytics.php"; ?> <?php
<div id="text-to-speech-toggle-on" class="text-to-speech-toggle"> <?php echo getTextToSpeech("Désactiver la sonorisation", false); ?> </div> <div id="text-to-speech-toggle-off" class="text-to-speech-toggle"> <?php echo getTextToSpeech("Activer la sonorisation", false, "sounds/Son_ACTIVER_SONORISATION.mp3", true); ?> </div>
</div> </div> <?php } } ?> <div id="pres-question-video"> </div> <div id="pres-question-video-rollover"> <?php /*echo getTextToSpeech("Présentation de la plateforme Mes idées aussi et des sujets en débat par Brigitte Jeanvoine,<br/>Vice-présidente du Conseil général du Val de Marne", false); */ ?> <?php echo getTextToSpeech("Présentation de la plateforme", false); ?> </div> </div> <div class="pres-container" id="pres-calendrier"> <img src="../images/calendar.png" /> </div> <!--<div id="valmarne-logo"></div>--> </div> </div> <script language="javascript">
function treatItemArray($list) { $data = DatabaseData::getInstance(); $high = 0; $low = 0; foreach ($list as $item) { $rate = $data->getItemVoteRate($item->id); if ($high == 0 || $low == 0) { $high = $rate; $low = $rate; } else { if ($rate > $high) { $high = $rate; } if ($rate < $low) { $low = $rate; } } } $gap = $high - $low; if ($gap == 0) { $gap = 1; } $i = 0; foreach ($list as $item) { $vote = getItemRate($item->id); //$perc = ($vote - $low) / $gap; $class = $vote >= 0 ? "item-plus" : "item-minus"; // Mathieu : type de media $class_type_media = "type-media-" . getItemMediaType($item); $offset = $vote >= 0 ? 160 : 70; if (isset($_SESSION["visited"][(int) $item->id])) { $class .= "-visited"; } global $question; //$position = ($offset - ($highest - $vote)); $position = $offset - $vote * 10; if ($position < 30) { $position = 30; } //$itemTitle = utf8_encode($item->title); $itemTitle = $item->title; echo "<a href=\"mosaicMedia.php?itemId=" . $item->id . "\" class=\"item " . $class . "\" rel=\"" . $class_type_media . "\" "; echo "alt=\"" . $itemTitle . "\""; //echo "title=\"".$itemTitle." (vote:".$vote.")\""; echo "style=\"position:relative;margin-top:" . $position . "px;\">"; echo getTextToSpeech($itemTitle); echo "</a>"; $i++; } }
function displayButton($url, $class, $text = "retour") { echo "<div class=\"btn\" id=\"{$class}\">"; //vire l'action $class = explode("-action", $class); $class = $class[0]; $imgPath = "images/"; if (strpos($class, "btn-close") > -1) { $imgPath .= "btn-close"; } else { $imgPath .= $class; } echo "<a id=\"btn-link\" href=\"" . $url . "\"><img src=\"{$imgPath}.png\" /><div id=\"btn-text\">" . getTextToSpeech($text) . "</div></a>"; echo "</div>"; }
<a href="http://get.adobe.com/fr/flashplayer/" target="_blank"> <img src="/images/home/icon_flash.png" border="0" /> </a> <div> <?php echo getTextToSpeech("L'enregistrement d'un témoignage audio en direct nécessite <a href=\"http://get.adobe.com/fr/flashplayer/\" target=\"_blank\">Flash</a>."); ?> </div> </div> <div class="clear"></div> </div> <?php } ?> <div id="index-mentions"> <a href="pdf/MENTIONS_LEGALES.pdf" target="_blank"> <?php echo getTextToSpeech("Mentions légales"); ?> </a> </div> <br\> <?php include "analytics.php"; ?> <?php include "text-to-speech-toggle.php"; ?> </body> </html>
echo getTextToSpeech("Association sur le handicap"); ?> </div> <div class="confirm_cb_line"><input class="confirm_cb" name="cb-autre" type="checkbox" /> <?php echo getTextToSpeech("Autre (citoyen concerné)"); ?> </div> </div> <div id="confirm-mail"><?php echo getTextToSpeech("Courriel"); ?> : <input type="text" name="email" size="40" /></div> <a href="#" id="confirm-submit" class="form-callValid"><?php echo getTextToSpeech("SUITE"); ?> ></a> <div class="clear"></div> </div> </div> </form> </div> </div> <?php include "analytics.php"; ?>
<span> <img src="images/form/TEM_icone_photo_1.png" /> <?php echo getTextToSpeech("Envoyer une photo", false); ?> </span> <span> <img src="images/form/TEM_icone_video_1.png" /> <?php echo getTextToSpeech("Envoyer une vidéo", false); ?> </span> <span> <img src="images/form/TEM_icone_texte_1.png" /> <?php echo getTextToSpeech("Ecrire un texte", false); ?> </span> </a> </div> <div style="clear:both;"></div> </div> </div> </div> <?php include "analytics.php"; ?> <?php