');
$votes = queryVotes($db, $idVotation);
if (!empty($votes))
{
	print("
| ");
	print("vote | méthode | 
");
	foreach ($votes as $value)
	{
		print ("| " . $value[1] . " | " . $value[5] . ">/td> | 
" . EOL);
	}
	print("
" . EOL);
echo EOLH . EOLH;
}
print('						
Nouveau vote pour la votation');
if (empty($idVotation))
{
	choixVotation($path, 0, false);
}else
{
	print(": " . $votationName . '
' . EOL);
	$method = getpost("method");
	$libelle = getpost("libelle");
	if (empty($method) or empty($libelle))
	{
		votesForm($path);
	}else
	{
		$query = "INSERT INTO liste_votes VALUES (0, '" . $libelle . "', " . $method . "," . $idVotation . ")";
		print($query);
		$db->query($query);
	}
}
$db->close();
print('