error);
}
$list = $ls->get_popular_terms($x_most_popular);
if ($_GET['output'] == 1) {
$output = true;
$variables_origin = $ls->get_variables_origin();
}
/**
* Display
*/
if (count($list) == 0) { echo 'No terms loaded so far'; }
if (count($list) > 0) {
$i = 1;
$j = 1;
$k = 0;
$files = array();
$trans = array();
echo 'Number of records: '.count($list).'
';
echo '
Index | Registration order | Term | '.($output == 1 ? 'Origin | ' : '').'Count |
---|---|---|---|---|
', $i, ' | ', $fixed_elem['id'], ' | ', $fixed_elem['term_name']; if ($output) { echo ' | '.$variables_origin[$fixed_elem['term_name']]; } echo ' | ', $fixed_elem['term_count'], ' |