diff --git a/www/faces.php b/www/faces.php new file mode 100644 index 0000000..d9690b4 --- /dev/null +++ b/www/faces.php @@ -0,0 +1,33 @@ +getEm(); +$hitRepo = $em->getRepository(\EmotionHero\Models\Hit::class); +$hits = $hitRepo->findBy([], ['sadness'=>'ASC']); + +?> + + + Emotion Hero + + + +getId() . '.jpg'; + if(!file_exists($filename)) + continue; + + $img = file_get_contents($filename); + $data = base64_encode($img); + echo ""; +} +?> + +