This commit is contained in:
Ruben 2016-09-15 10:46:20 +01:00
parent 0e3b511721
commit 6ebb6d7c83

View file

@ -99,7 +99,7 @@ echo "<div class='current'>";
echo "<img src=\"data:image/x-icon;base64,{$currentHit->getFeatureImgAsString("brows")}\" title=\"{$currentHit->getId()}\">";
echo "<dl>";
foreach(EmotionHero\Models\Emotions::$EMOTIONS as $emotion) {
echo "<dt>$emotion</dt><dd>" . sprintf("$.2f", $currentHit->getEmotions()->getEmotionScore($emotion)) . "</dd>";
echo "<dt>$emotion</dt><dd>" . sprintf("%.2f %%", $currentHit->getEmotions()->getEmotionScore($emotion)) . "</dd>";
}
echo "</dl>";
echo "</div>";
@ -163,6 +163,8 @@ echo <<< EOSVG
</g>
</svg>
EOSVG;
print_r($currentHit->getPoints()->getAsArray());
?>
</body>
</html>