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