loadCloud($id)) {
echo '
' . L::cloud_noId . '
';
$id = null;
}
}
?>
isCloudSet()) {
$nbWords = $db->countWords();
if ($nbWords == 0) {
echo sprintf('%s
', L::cloud_empty);
} else {
$jsWordcloud = true;
}
$voteUrl = 'index.php?id=' . $id;
$voteName = 'https://' . $_SERVER['HTTP_HOST'] . '/' . $voteUrl;
$viewUrl = 'result.php?id=' . $id;
$viewName = 'https://' . $_SERVER['HTTP_HOST'] . '/' . $viewUrl;
?>
0) {
?>
|
|
|
getWordsList($id) as $key => $word) {
echo '';
echo sprintf('%s | ', $word['word']);
echo sprintf('%.0f | ', $word['count']);
echo sprintf('%.1f | ', $word['percent']);
echo '
';
}
?>