include ("portovenere.inc"); $PVE=mysql_connect ("$PVEOST","$PVESER","$PVEASS"); if ($PrimoBanner100=="") { $SQL="select * from $BANNER where flagbannerma100='S' limit 1"; $PrimoHotel100=mysql_fetch_array(mysql_query($SQL,$PVE)); $PrimoBanner100=$PrimoHotel100[filebanner]; } $VISBANNER100="S"; if ($PrimoBanner100=="") { $VISBANNER100="N"; } if ($PrimoBanner200=="") { $SQL="select * from $BANNER where flagbannerma200='S' limit 1"; $PrimoHotel200=mysql_fetch_array(mysql_query($SQL,$PVE)); $PrimoBanner200=$PrimoHotel200[filebanner200]; } $VISBANNER200="S"; if ($PrimoBanner200=="") { $VISBANNER200="N"; } if ($PrimoBanner341=="") { $SQL="select * from $BANNER where flagbannerma341='S' limit 1"; $PrimoHotel341=mysql_fetch_array(mysql_query($SQL,$PVE)); $PrimoBanner341=$PrimoHotel341[filebanner341]; } $VISBANNER341="S"; if ($PrimoBanner341=="") { $VISBANNER341="N"; } ?>
|