0) { if (!session_is_registered("delit1")) { $delit1=20; session_register("delit1"); } if (!session_is_registered("str1")) { $str1=1; session_register("str1"); } if ($str1==1) $od=1; else $od=($str1-1)*$delit1+1; if (($od+$delit1-1)>$pocet) $do=$pocet; else $do=$od+$delit1-1; echo "
".$hlaska."

entries from ".$od." to ".$do.":

"; echo ""; for ($i=1; $i < $od; $i++) $Row = MySQL_fetch_array($read); for ($i=$od; $i <= $do; $i++) { $Row = MySQL_fetch_array($read); $ulica=$Row['ulica']; $ulica=Trim($ulica); $ulica=StrTr($ulica," ","_"); $k = $Row['kanaly']; echo ""; else echo "details"; } echo "
# ESSID
Mac address
channel signal
noise
WEP
type
town
street
latitude
longitude
floor
user
date
action
".$i."".$Row['ESSID']."".$Row['MacAdr'].""; $s=''; for ($j=15; $j>-1;$j--) { if ($k[$j]=='1') $s= $s.",".(15-$j); } $s=SubStr($s,1,StrLen($s)-1); echo $s; echo " ".$Row['signal']."".$Row['link']."".$Row['WEP']."".$Row['typ']."".$Row['mesto']."".$ulica." ".$Row['gps1znak']." ".$Row['gps1']."".$Row['gps2znak']." ".$Row['gps2']."".$Row['vyska']."".$Row['user']."".date("j.m.Y",$Row['datum']).""; if ($prihlaseny) { if ($nick=='si' || $nick=='rafa') { echo "delete  modify  "; } else { if ($nick==$Row['user']) echo "delete  modify  "; } } if ($Row['pokec']=='') echo "
"; } else echo "

no entry.

"; echo "

"; if ($str1<3) echo "<<"; else echo "<<"; if ($str1<2) echo "<"; else echo "<"; echo "

"; $max=IntVal($pocet / $delit1); if (($pocet % $delit1)!=0) $max++; if ($str1>($max-1)) echo ">"; else echo ">"; if ($str1>($max-2)) echo ">>"; else echo ">>"; echo "


"; $delit=$delit1; ?>
Number of rows: