"OK"){ session_start(); session_destroy(); session_start(); header("Location:login.php"); exit(); } $esito=""; if($passa=="1"){ if(copy( $dettagli , "/web/htdocs/www.encocrema.com/home/foto_home/$dettagli_name" )){ $new_file_d="logo_".mktime().".jpg"; if(copy( $dettagli , "/web/htdocs/www.encocrema.com/home/foto_home/$new_file_d" )){ unlink("/web/htdocs/www.encocrema.com/home/foto_home/$dettagli_name"); } } $sql_ut = "UPDATE generale SET "; $sql_ut.= " societa='$societa', "; $sql_ut.= " via = '$via', "; $sql_ut.= " citta = '$citta', "; $sql_ut.= " cap = '$cap', "; $sql_ut.= " pi = '$pi', "; $sql_ut.= " telefono = '$telefono', "; $sql_ut.= " fax = '$fax', "; $sql_ut.= " email = '$email', "; $sql_ut.= " scheda = '$scheda', "; if($new_file_d<>""){ $sql_ut.= " logo = '$new_file_d', "; } $sql_ut.= " velocita = '$velocita', "; $sql_ut.= " schedaing = '$schedaing' "; $sql_ut.= " where id=1 "; $result_ut=mysql_db_query($database,$sql_ut,$db); $esito="Ok"; } $query = "SELECT * FROM generale where id='1'"; $result = mysql_db_query($database, $query, $db); $row=mysql_fetch_assoc($result); ?> ..::: Enco engineering consulting s.r.l. :::..

Esci >>
Menu >>
""){ print "

*** Modifiche salvate ***


"; } ?>

Gestione dati generali

Nome Societą:
Indirizzo:
Cittą:
CAP:
PI:
Telefono:
Fax:
E-mail:
Scheda presentazione ITA:
Scheda presentazione ING:
Velocitą rotazioni immagini:
Carica logo:
 

Area Riservata