buc $sql.="nume='bucuresti'"; }else $sql.="id='$cmap'"; }else $sql.="nume='$loc'"; $rez=sql($sql,'drum'); $lin=mysql_fetch_array($rez); echo"ok"; if( $lin ) { $cmap=$lin['id']; $cmap=sprintf("%04d",$lin['id']); $loc=$lin['nume']; $numap=$lin['label']; $tmap=$lin['tmap']; $minimap=$lin['minimap']; $minimapfk=$lin['minimapfk']; //$lin['']; $fk=$lin['fk']; $index=$lin['index']; $tip=$lin['tip']; //$nbuton, $nmap include ('img/'.$cmap.'/varm.php'); $cmap=sprintf("%04d",$lin['id']); $nmap1=$nmap-1; $kmap=(double)1; for( $i=$lev; $i<$nmap1; $i++ ) $kmap*=$fk; }else { echo "Inapoi\n"; die("

Ne pare rau dar harta pentru '$loc' [$cmap] nu este disponibila

"); } bad($x0,0); bad($y0,0); bad($lev,0,0,7); bad($revadr); bad($titlu); setcookie('ckcmap',$cmap,$timp); setcookie('ckloc',$loc,$timp); if($dbg2&4) { echo"\n\n"; } echo"\n"; if( $x0===null ){$x0=0;$y0=0;$lev=0;} if( !$fk ) $fk=(double)1.66666; //$xw=640; $yw=350; //xmax, ymax if( !$xw ) $xw=1024; switch( $xw ) { case 640: $xm1=176; $ym1=106; $xmnm=105; break; case 800: $xm1=230; $ym1=142; $xmnm=105; break; case 1152: $xm1=343; $ym1=230; $xmnm=118; break; case 1280: $xm1=385; $ym1=280; $xmnm=118; break; case 1600: $xm1=485; $ym1=325; $xmnm=140; break; case 1920: $xm1=590; $ym1=400; $xmnm=140; break; default: $xw=1024; $xm1=300; $ym1=200; $xmnm=118; } $yw=3*$ym1; $xm=$xm1*3; $ym=$ym1*3; $xmen=$xw-$xm-6; if( $minimap ) $ymnm=$minimap*$xmnm/118; else $ymnm=0; $xpmnm=$xw-$xmnm+2; $ypmnm=$yw-$ymnm+3; $xb0=6; $xb1=$xw-$xmen-$xb0-15; $xb2=(int)(($xb0+$xb1)/2); $yb0=8; $yb1=$yw-$yb0-15+6; $yb2=(int)(($yb0+$yb1)/2); $xb3=$xb1-30-4; $xb4=$xb3-15-4; $yb3=$yb1-30-4; $yb4=$yb3-15-4; $xb5=$xb3+15+2; $yb5=$yb3+20; $xb6=$xb4-40; $yb6=$yb1-10; $but=array( array(0,0),array(0,2),array(0,1), // |\ ^ /| array(2,0),array(2,1), // < > array(1,0),array(1,2),array(1,1), // |/ v \| array(4,4),array(4,3),array(4,1), // |\ ^ /| array(3,4),array(3,1), // < > array(1,4),array(1,3), // |/ v array(3,3),array(3,5), // + - array(5,3),array(5,5), // ++ -- array(6,6) ); ?> D R U M U R I . R O "; } //////////////////////////////////////// Zonele Cautate ////////// if( $cauta or $gasit) { //$dbg=2; if( !($numes or $prens or $grad or $tips)){ $cauta=0; $gasit=0; } else { if( $cauta ) $norez=0; $sql2 =' from strazi left join strtip on strazi.tip=strtip.id'; $sql2.=' left join grd on strazi.grad=grd.id'; $sql2.=" where mapid=$cmap"; $sql0='select count(*) as cnt, min(x) as x0,min(y) as y0,max(x+dx) as x1,max(y+dy) as y1'; if( $ids ){ $sql2.=" and strazi.id=$ids"; $sql=''; } else { if( $tips ) $sql2.=" and tip=$tips"; if( $grad ) $sql2.=" and grad=$grad"; $sql=" and strazi.nume like '$numes%' and pren like '$prens%'"; } $sql=$sql0.$sql2.$sql; $rez=sql($sql); $lin=mysql_fetch_array($rez); $gasit=$lin['cnt']; if( !$gasit and ($prens or $numes) )//daca am idl si n-am gasit... { if($idl) die('Cod de strada aiurea!'); $sql=$sql0;//'select count(*)'; $sql2.=" and strazi.nume like '$prens%' and pren like '$numes%'"; $tmp=$prens; $prens=$numes; $numes=$tmp; $sql.=$sql2; $rez=sql($sql,'',$dbg); $lin=mysql_fetch_array($rez); $gasit=$lin['cnt']; if( !$gasit ) { $numes=$prens; $prens=$tmp; } }elseif( !$idl )//am gasit din prima $sql2.=" and strazi.nume like '$numes%' and pren like '$prens%'"; if( $gasit and $zoom and !$norez ) { $xz0=$lin['x0']; $yz0=$lin['y0']; $norez=1; $xz1=$lin['x1']; $yz1=$lin['y1']; $dxz=abs($xz1-$xz0); $dyz=abs($yz1-$yz0); $kmap=(double)1; $lev=$nmap1; while( ($dxz>850 or $dyz>570) and $lev>0) { $dxz/=$fk; $dyz/=$fk; $kmap*=$fk; $lev--; } $dxz=(int)$dxz; $dyz=(int)$dyz; //echo"dx=$dxz, dy=$dyz
\n"; $x0=(int)($xz0/$kmap/300-($dxz<450?($dxz<300?1:0.5):0)); $y0=(int)($yz0/$kmap/200-($dyz<300?($dyz<200?1:0.5):0)); if($x0<0) $x0=0; if($y0<0) $y0=0; //echo"x0=$x0, y0=$y0
\n"; } } } if($dbg2&4) { echo"\n\n"; } if( $cautal or $gasitl) { //$dbg=2; if( !($numel or $tipl)){ $cautal=0; $gasitl=0; } else { if( $cautal ) $norezl=0; $sql3 =' from localitati'; $sql3.=" where cmap=$cmap"; if( $idl ) $sql3.=" and localitati.id=$idl"; else { $sql3.=" and localitati.nume like '$numel%'"; if( $gradl ) $sql3.=" and tip=$gradl"; } $sql0='select count(*) as cnt, min(x) as x0,min(y) as y0,max(x+dx) as x1,max(y+dy) as y1'; $sql=$sql0.$sql3; //$dbg=2; $rez=sql($sql); $lin=mysql_fetch_array($rez); $gasitl=$lin['cnt']; if( $gasitl and $zoom and !$norezl ) { $xz0=$lin['x0']; $yz0=$lin['y0']; $norezl=1; $xz1=$lin['x1']; $yz1=$lin['y1']; $dxz=abs($xz1-$xz0); $dyz=abs($yz1-$yz0); $kmap=(double)1; $lev=$nmap1; while( ($dxz>850 or $dyz>570) and $lev>0) { $dxz/=$fk; $dyz/=$fk; $kmap*=$fk; $lev--; } $dxz=(int)$dxz; $dyz=(int)$dyz; //echo"dx=$dxz, dy=$dyz
\n"; $x0=(int)($xz0/$kmap/300-($dxz<450?($dxz<300?1:0.5):0)); $y0=(int)($yz0/$kmap/200-($dyz<300?($dyz<200?1:0.5):0)); if($x0<0) $x0=0; if($y0<0) $y0=0; //echo"x0=$x0, y0=$y0
\n"; } } } ///////////////////////////////////////////////////////////////////////// if($dbg2&4) { echo"\n\n"; } if( $revenire or $b12_x ) //ok, esc { echo ''; exit; } if( $lev>$nmap1 ) $lev=$nmap1; if( $mini_x ) { $k=$minimapfk/$kmap; $x0=(int)((double)$mini_x * $k/300) -1; $y0=(int)((double)$mini_y * $k/200) -1; $wav='sel'; }else { for( $i=0; $i<9; $i++) { $tx="l{$i}_x"; $x=${$tx}; if( $x ) { $ty="l{$i}_y"; $y=${$ty}; $a=(int)($i/3); $b=$i % 3; $ay=$a*$ym1+$y; $bx=$b*$xm1+$x; $click=1; if( $lev<$nmap and !$coord ) { $b8_x=1; } } } if( ($b9_x or $b11_x) and $lev>0 ) { $lev--; $fk2=$fk; if( $b11_x and $lev>0 ) { $fk2*=$fk; $lev--;} $x0=(int)(((double)$x0+1.5)/$fk2-1); $y0=(int)(((double)$y0+1.5)/$fk2-1); $kmap*=$fk2; $wav='down'; } if( ($b8_x or $b10_x) and $lev<$nmap1 ) { $lev++; $fk2=$fk; if( $b10_x and $lev<$nmap1 ) { $lev++; $fk2*=$fk; } if( !($bx | $ay) ) //doar '+' { $bx=$xm/2; $ay=$ym/2; } //centru $x0=(int)($fk2*((double)$bx/$xm1+$x0)-1); $y0=(int)($fk2*((double)$ay/$ym1+$y0)-1); $kmap/=$fk2; $wav='up'; } elseif( $b1_x ) {$y0--; $wav='sel';} // ^ elseif( $b6_x ) {$y0++; $wav='sel';} // v elseif( $b3_x ) {$x0--; $wav='sel';} // < elseif( $b4_x ) {$x0++; $wav='sel';} // > elseif( $b0_x ) {$y0--; $x0--; $wav='sel';} // |\ elseif( $b2_x ) {$y0--; $x0++; $wav='sel';} // /| elseif( $b5_x ) {$x0--; $y0++; $wav='sel';} // |/ elseif( $b7_x ) {$x0++; $y0++; $wav='sel';} // \| } if( $y0 > ($tmp=$map[$lev][0]-3) ) {$y0=$tmp; $wav='';} if( $y0<0 ) {$y0=0; $wav='';} if( $x0 > ($tmp=$map[$lev][1]-3) ) {$x0=$tmp; $wav='';} if( $x0<0 ) {$x0=0; $wav='';} if($dbg2&4) { echo"\n\n"; } //################################################################***** if( $coord and $revadr ) { if( $click ) { $px= ($x0*$xm1+$bx)*(float)300/$xm1; //lev crt $py= ($y0*$ym1+$ay)*(float)200/$ym1; $px*=$kmap; $py*=$kmap; $px=(int)$px; $py=(int)$py; } } if( $wav and !($mod&64)) echo "\n"; echo' '; ?> scroll="no">
\n"; echo "\n"; echo "\n"; if( $lst )echo "\n"; if( $pct ) echo "\n"; if( $titlu ) echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; if( $norez ) echo "\n"; if( $norezl) echo "\n"; if( $gasit ) echo "\n"; if( $gasitl ) echo "\n"; ?> '; if( $lev>4 )$tmp=$lev.'/'; else $tmp=''; for($t=$x0;$t<$x0+3;$t++) { $zt=sprintf('%02d',$t); $zs=sprintf('%02d',$s); echo' \n"; $i++; } echo' '; } ?>
<'; if(($lev<$nmap1 /*and $lev<6*/) or $mod&2) echo'input type="image"'; else echo'img'; echo' border="0" src="'; echo"/img/$cmap/{$tmp}m0$lev$zs$zt.$tmap\" name=\"l$i"; echo"\" width=\"$xm1\" height=\"$ym1\">
DRUM
. RO'; else echo "$titlu"; //if($xw>800) echo'
 '; ?>

Marire:
/ '.($nmap); ?>
=800 or !$minimap) and !($mod&16) and $xw>=800) { if( $index&1) //index strazi////////////////////////////INDEX 1 { echo ' Cautare strazi
Titulatura:
Denumirea(nume):
'; if( $xw>800) { echo' Prenume (eventual):
Grad / titlu:
'; } echo'Zoom in:
'; if($dbg&4) { echo"\n\n\nx0=$x0, y0=$y0
xm=$xm,ym=$ym
xmen=$xmen
lat=$xw
\n"; //echo"mini=$minimap
"; //echo"lev=$lev
nmap1=$nmap1
px=$px
py=$py
mod=$mod"; echo"rev=$revadr
\n\n"; } //////////////////////////////////////// Zonele Cautate ////////// if( $cauta or $gasit ) echo''; if( $gasit ) { $lim=$xw<=800?1:($xw<=1024?3:($xw>=1280?8:6)); if( !($pagp_x===null) ) { $pag++; if( $pag*$lim>=$gasit ) $pag=0; }elseif( !($pagm_x===null) ) { $pag--; if( $pag<0 ) $pag=(int)(($gasit-1)/$lim); } echo''; if( $gasit>1 ) { if( $gasit>$lim ) echo''; } else echo ''; echo' '; if( $gasit<30 ) { $sql ='select strazi.id,strtip.nume as tip,strazi.nume as nume,pren,grd.nume as grad'; $sql.=',x,y,dx,dy,flag,coord,strazi.tip as tip1, strazi.grad as grad1'; $sql.=$sql2; $sql.=' order by nume, pren, y,x limit ';//mapid ? if( $pag ) $sql.=($pag*$lim).",$lim"; else $sql.=$lim; $rez=sql($sql,'',$dbg); include'/php/draw.php'; $c=0; while( ($lin=mysql_fetch_array( $rez ) )) //tipc ignorat { $x=(float)$lin['x']; $y=(float)$lin['y']; $dx=$lin['dx']; $dy=$lin['dy']; $numes1=$lin['nume']; $tips1=$lin['tip1']; $prens1=$lin['pren']; $grd1=$lin['grad1']; $ids=$lin['id']; for( $i=$lev; $i<$nmap1; $i++) //scalare { $x/=$fk; $y/=$fk; $dx/=$fk; $dy/=$fk; } $x-=300*$x0; $y-=200*$y0; $x*=$xm1/300; $y*=$ym1/200;//translatare, afisare $x=(int)$x; $y=(int)$y; $dx*=$xm1/300; $dy*=$ym1/200; $dx=(int)$dx+8; $dy=(int)$dy+4; if( $x<0 ){ $dx+=$x; $x=0;} if( $y<0 ){ $dy+=$y; $y=0;} $viz=$dx>0 and $dy>0; if( $x+$dx > $xm ) $dx=$xm-$x; if( $y+$dy > $ym ) $dy=$ym-$y; $viz=$viz and $dx>0 and $dy>0; $x+=1; $y+=1; if( $viz=($viz and $dx>8 and $dy>4) ) $idrctg=sprintf('%02d',rectangle($x,$y,$dx,$dy)); echo'\n\n"; } if( $gasitl>$lim )echo' '; } // echo "\n"; }elseif( $cauta ) echo''; if( $cauta or $gasit ) echo'
'; echo""; if( $gasit>$lim )echo'
{$gasit} potriviri
Gasit !
'.($c+$lim*$pag).' '; echo "{$lin['tip']} {$lin['grad']} {$lin['pren']} {$lin[nume]}";// $ids"; echo"
   
Negasit
'; }//index strazi if( $index&2 ) //index localitati//////////////////////////////////INDEX 2 { echo' Localitate:
Statut:

Zoom in:
'; //////////////////////////////////////// Zonele Cautate LOCALITATI////////// if( $cautal or $gasitl ) echo''; if( $gasitl ) { $lim=$xw<=800?3:($xw<=1024?8:($xw>=1280?12:9)); if( !($pagp_x===null) ) { $pag++; if( $pag*$lim>=$gasitl ) $pag=0; }elseif( !($pagm_x===null) ) { $pag--; if( $pag<0 ) $pag=(int)(($gasitl-1)/$lim); } echo''; if( $gasitl>1 ) { if( $gasitl>$lim ) echo''; } else echo ''; echo' '; if( $gasitl<30 ) { //$dbg=2; $sql ='select localitati.id,tip,localitati.nume as nume'; $sql.=',x,y,dx,dy'; $sql.=$sql3; $sql.=" order by tip,nume, y,x limit "; if( $pag ) $sql.=($pag*$lim).",$lim"; else $sql.=$lim; //$dbg=2; $rez=sql($sql); if( !$drawflag){ include'/php/draw.php';} $c=0; while( ($lin=mysql_fetch_array( $rez ) )) //tipc ignorat { $x=(float)$lin['x']; $y=(float)$lin['y']; $dx=$lin['dx']; $dy=$lin['dy']; $numel1=$lin['nume']; $tipl1=$lin['tip']; $idl=$lin['id']; for( $i=$lev; $i<$nmap1; $i++) //scalare { $x/=$fk; $y/=$fk; $dx/=$fk; $dy/=$fk; } $x-=300*$x0; $y-=200*$y0; $x*=$xm1/300; //translatare, afisare $y*=$ym1/200; $x=(int)$x; $y=(int)$y; $dx*=$xm1/300; $dy*=$ym1/200; $dx=(int)$dx+8; $dy=(int)$dy+4; if( $x<0 ){ $dx+=$x; $x=0;} if( $y<0 ){ $dy+=$y; $y=0;} $viz=$dx>0 and $dy>0; if( $x+$dx > $xm ) $dx=$xm-$x; if( $y+$dy > $ym ) $dy=$ym-$y; $viz=$viz and $dx>0 and $dy>0; $x++; $y++; if( $viz=($viz and $dx>8 and $dy>4) ) $idrctg=sprintf('%02d',rectangle($x,$y,$dx,$dy)); echo'\n\n"; } } // echo "\n"; }elseif( $cautal ) echo''; if( $cautal or $gasitl ) echo'
'; echo""; if( $gasitl>$lim )echo'
{$gasitl} potriviri
Gasit !
'.($c+$lim*$pag).' '; switch($lin['tip']) { case 1: echo'r.j.';break; case 2: echo'mun.';break; case 3: echo'or.';break; case 4: echo'com.';break; case 5: echo'sat'; } echo"{$lin[nume]}";// $idl"; echo"
Negasit
'; }//if index localitati if( $pag ) echo "\n"; }//if index and xw>=800 or !minimap if($revadr and $mod&2) { echo'Introducere coordonate

'; } //echo"fk=$fk
x0=$x0,y0=$y0
"; if( $index&4 and !($cauta or $cautal) and ($xw>800 or !($gasit or $gasitl)) ) { echo ' '; echo'
\n"; echo'
\n\n"; echo'\n
"; } ?>
Link aici Cod HTML pt. link: \n AAA; } if($showraport) { echo' '; } ?>
'; echo"Raport Eroare '; ?> Digital Design Team Ltd. © 2002-2003 
\n\n"; } if( $minimap ) { if( $mod&16) echo'\n"; //zona vizibila $x=(double)$x0*300; $y=(double)$y0*200; $dx=(double)900; $dy=(double)600; $k=$kmap*$xmnm/118; $k/=$minimapfk; $x*=$k; $y*=$k; $dx*=$k; $dy*=$k; $x=(int)$x; $y=(int)$y; $dx=(int)$dx; $dy=(int)$dy; if( !$drawflag ) { include'/php/draw.php'; } rectangle( $xpmnm+$x,$ypmnm+$y,$dx,$dy,1 ); echo"\n\n\n"; } //////////////////////////////////////// Liste sigle ///////////// function dispsigla($x,$y,$fimg='/img2/x.gif',$url=null,$alt=null,$hot=0) { global $kmap,$x0,$y0,$xm1,$ym1; $bx=(double)$x/$kmap; $ay=(double)$y/$kmap; //scalare $bx-=$x0*300; $ay-=$y0*200; //translatie in ecran $bx*=(double)$xm1/300; $ay*=(double)$ym1/200; //scalare ecran $bx=(int)$bx; $ay=(int)$ay; /* switch( $hot ) { case 0: $dx=-8; $dy=-8; break;//x case 1: $dx=0; $dy=0; break; // |\ case 2: $dx=-8; $dy=+8; break; // \|/ } */ $dx=-8; $dy=-8; if( $url ) echo""; echo '\"$alt\"";\n"; }//dispsigla if( !($mod&1)or( !($mod&8) )or($mod&4) ) //calcul extremitati ecran +4 / +-4 pixeli { $x1=(int)((double)($x0*300-10)*$kmap); $x2=(int)((double)($x0*300+891)*$kmap); $y1=(int)((double)($y0*200-10)*$kmap); $y2=(int)((double)($y0*200+591)*$kmap); if( !($mod&8) and ($lev>$nmap-3 or $mod&32 )) //ecrane sigla($lst) doar pe maririle mari sau fortat; { $sql ='select lista,x,y,hot,alt, u.nume as url, i.nume as img'; $sqlc='update count set stamp='.time().', cnt=cnt+1, total=total+1 where '; $sql.=' from puncte as p'; $sql.=' left join url as u on u.id=p.url'; $sql.=' left join url as i on i.id=p.img'; $sql.=" where cmap=$cmap and !disable"; $sql.=" and (p.y between $y1 and $y2)"; $sql.=" and (p.x between $x1 and $x2)"; $sql2=''; if( $lst ) //am restrictie de lista (cu/fara sigle) { $tmp=" and p.lista=$lst"; $tmpc='!sigla and lista='.$lst; if( $mod&128 ) { $sql.=$tmp.' and sigla'; //doar 1 lista de sigle $sqlc.='sigla and lista='.$lst; }else //eventual sigle si anumita lista pcte { if( !($mod&4) and ($lev>$nmap-3) ) //sigle+puncte { $sql2=$sql.$tmp.' and !sigla'; //doar pcte pt sql2 $sqlc2=$sqlc.$tmpc; $sql.=' and sigla'; //mai intai siglele $sqlc.=' sigla and lista in ('; $slist=1; } else //doar 1 lista pcte { $sql.=$tmp.' and !sigla'; //doar pcte $sqlc.=$tmpc; } } }else { $sql.=' and sigla';//doar sigle $sqlc.=' sigla and lista in ('; $slist=1; } if( $pct )$sql.=' and p.id!='.$pct; //ignor punctul curent //$dbg=2; $tmp=' order by p.sigla, p.y, p.x';//sigla 0 - prioritate max $tmp.=' limit 50'; $sql.=$tmp; if( $sql2 ) $sql2.=$tmp; $rez=sql($sql); $vir=''; while( $lin=mysql_fetch_array($rez) ) { dispsigla($lin['x'],$lin['y'],&$lin['img'],&$lin['url'],&$lin['alt'],$lin['hot'] ); // if( $slist==2 ) // $sqlc.=','; // elseif( $slist ) { $sqlc.="$vir{$lin['lista']}"; $vir=', '; $slist=2; } } mysql_free_result($rez); if( $slist!=1 )//adica 0 sau 2 { $sqlc.=$slist?')':''; $rez=sql($sqlc); } if( $sql2 ) { $rez=sql($sql2);////////////////////////////////////////////// while( $lin=mysql_fetch_array($rez) ) { dispsigla($lin['x'],$lin['y'],&$lin['img'],&$lin['url'],&$lin['alt'],$lin['hot'] ); $elist=2; } echo"OKB_$kk\n\n\n"; $kk++; if( $elist ) //exista macar o sigla { $rez=sql($sqlc2); } } } } //////////////////////////////////////// Butoane ////////// if( $mod &16 ) $i0=19; else $i0=0; for($i=$i0;$i<20;$i++) { $tx= 'xb'.$but[$i][1]; $xbut=${$tx}; $ty= 'yb'.$but[$i][0]; $ybut=${$ty}; if( $i<8 ) //0..7 $bnum=$i; elseif( $i<15 )//8..14 -> 0..6 $bnum=$i-8; else $bnum=$i-7; //15..19 -> 8..12 echo"\n"; } if( $coord and $revadr )//and $click ) { if( $bx>$xm-50 ) $gxb=$bx-50; else $gxb=$bx+30; $gyb=$ay-11; echo "\n"; echo "\n"; echo ""; echo "\n"; } ?> \n"; if( $butonmat[$i][7] ) $lev2=$lev+$butonmat[$i][6]; //relativ else $lev2=$butonmat[$i][6]; //absolut if( $lev2>($tmp=$butonmat[$i][9]) ) $lev2=$tmp; elseif( $lev2<0 ) $lev2=0; $k=(double)1; $k2=$k; for( $j=$lev; $j<$nmap1; $j++) $k*=$fk; for( $j=$lev2; $j<$tmp; $j++ ) $k2*=$butonmat[$i][8]; $x02=(int)((($x0+1.5)*$k*$butonmat[$i][4]+$butonmat[$i][0]/300)/$k2)-1; $y02=(int)((($y0+1.5)*$k*$butonmat[$i][5]+$butonmat[$i][1]/200)/$k2)-1; echo "\n\n"; echo "\n"; echo "\n"; echo "\n"; $butval=$buton[$i]; echo"100 )$dpx=15; if( strlen($butval)>12 ) echo ($dpx+60).'%'; else echo ($dpx+85).'%'; echo'; font-weight: lighter; top:'.($ypmnm-25*$i-30); echo"; width: 90; height: 22\">\n"; echo' '; } //echo"mod=$mod"; ?>