This commit is contained in:
pezcurrel 2020-10-14 19:11:40 +02:00
parent f6ae09f543
commit 8b857b6cae

View file

@ -355,7 +355,7 @@ $debug.='MAIN QUERY EXEC TIME: '.(microtime(true)-$qit).' sec.'.N;
$itot=mysqli_num_rows($res);
$debug.='RESULTS: '.$itot;
//echo('<div id="debug"><textarea spellcheck="false">'.$debug.'</textarea></div>'.N);
$ipp=25;
$ipp=10;// istanze per pagina
$if=$ipp*($p-1);
if ($if>=$itot) {
$if=0;
@ -377,6 +377,8 @@ if ($ptot>1) {
$out.='</select>'.N;
$out.='</div>'.N;
echo($out);
} else {
echo('<script language="JavaScript">document.getElementById(\'bmenu\').style.display=none;</script>'.N);
}
mysqli_data_seek($res,$if);
while ($if<$il && $row=mysqli_fetch_assoc($res)) {