echo "Votos"; } ?> </div> </div> </div> <div class="content"> <div class="header"><?php echo $question->getTitleA(); ?> </div> </div> <div class="extra content center"> <?php $votedA = ""; if (isset($_SESSION["login_provider"]) && $question->hasVoted($_SESSION["id"], "a")) { $votedA = "true"; } ?> <button class="ui basic button vote <?php if ($votedA == "true") { echo "green"; } ?> " <?php if ($votedA == "true") { echo 'data-voted="true"'; } else { echo 'data-voted="false"'; } ?>