\n"; } } echo "
\n"; $mex_nonews='Al momento la sezione è vuota!

In questo spazio potrai trovare le novità aziendali, segnalazioni sulla partecipazione a rassegne ed esposizioni etc...'; $sql="select * from ".$news2." where (lingua='it' and tipo='news') order by id_news desc"; if(!($result=mysql_query($sql,$conn))) { echo ("Error selecting data from NEWS table.\n"); }else{ while ($datarecord=mysql_fetch_row ($result)) { if (time()>$datarecord[9]) {continue;} if (time()<$datarecord[10]) {continue;} $mex_nonews=''; } } if(!($result=mysql_query($sql,$conn))) { echo ("Error selecting data from NEWS table.\n"); }else{ while ($datarecord=mysql_fetch_row ($result)) { if (time()>$datarecord[9]) {continue;} if (time()<$datarecord[10]) {continue;} $data=date("d/m/Y G.i:s",$datarecord[1]); $cod=$datarecord[0]; echo "
More details ".stripslashes($datarecord[2])."
".stripslashes($datarecord[3])."
Update on $data
$mex_nonews
\n";?>