...
This commit is contained in:
parent
f6ae09f543
commit
8b857b6cae
1 changed files with 3 additions and 1 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue