Lines Matching refs:vote
209 foreach($_POST['vote'] as $n => &$vote) {
210 if ($vote !== '') {
211 $vote = explode(' ', $vote)[0];
212 if (!is_numeric($vote)) {
214 $vote = '';
217 $vote = (int) $vote;
218 $max_vote = max($vote, $max_vote);
222 unset($vote);
227 foreach($_POST['vote'] as &$vote) {
228 if ($vote === '') {
229 $vote = $max_vote + 1;
234 if (!$hlp->vote(array_combine($data['candy'], $_POST['vote']))) {