X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;ds=sidebyside;f=php%2Fpages%2Fjeux_joues.php;h=a05a38803392cd74c5ebd493e782fcb99b59f8c8;hb=c75da06bb039de2a43f21b6e853a72745f753dca;hp=304c34bb59ebe5b83b37762e4c03448138059f4f;hpb=557974b66bba86b74181d2b18569ee897eac60a8;p=cl7.git diff --git a/php/pages/jeux_joues.php b/php/pages/jeux_joues.php index 304c34b..a05a388 100644 --- a/php/pages/jeux_joues.php +++ b/php/pages/jeux_joues.php @@ -1,8 +1,8 @@ valide) +if (!$participant->existe()) { echo '
Remarque : Il faut être inscrit pour pouvoir voter.
'; } @@ -12,30 +12,42 @@ echo ' '; # affichage du nombre de vote restant -if ($le_participant->valide) - echo 'Nombre de votes restant : ' . $le_participant->nb_vote_restant() . '
'; +if ($participant->existe()) + echo 'Nombre de votes restant : ' . $participant->nb_vote_restant() . '
'; ?> \ No newline at end of file