';
if( $tip==128 ) //portal
{echo' Alte site-uri cu harti ';
echo'
';
$sql='select * from portal.links where categ=1 and !disable';
$rez=sql($sql);
$i=0; $j=0;
while( $lin=mysql_fetch_array($rez) and $j<3 )//{$lin['']}
{ echo"\n {$lin['nume']} | \n";
if( $i==9 )
{ echo' |
';
$j++; $i=0;
}else $i++;
}
mysql_free_result($rez);
/*
*/
echo' |
|
| ';
echo' ';
}else //harti proprii
{ echo "Harti - \n";
switch($tip)
{ case 1: echo'Localitati';break;
case 2: echo'Institutii';break;
case 16: echo'La Mare';break;
case 32:echo'La Munte';break;
//64: foto
//8: tara / europa
//4: regiune / romania
//128: portalurile
//256:
}
echo'
';
echo'
';
}
}
else //harta andrei
{ //echo'';
echo' ';
//echo "first=$first, skip=$skip, o=$o ";
}
if( $tip )
{ echo' |
Distanta |
|
|
Km |
|