fields['Nome']; $cognome=$rs->fields['Cognome']; $telefono=$rs->fields['TelefonoFisso']." - cell ".$rs->fields['CellulareBreve']; $email=$rs->fields['Email']; $struttura=$rs->fields['Afferenza']; $ufficio=$rs->fields['Sede']; $via=$rs->fields['IndirizzoSede']; } $padre = $_REQUEST['padre']; if ($padre == '') {$padre = 0;} $flag = 0; $flag = $_REQUEST['flag']; if ( $id_servizio == '' ) { $id_servizio = 'xxx'; } $query="SELECT *,DATE_FORMAT(data, '%d/%m/%Y
%H:%i:%S') AS data FROM news WHERE stato='$CFaperto' ORDER BY data"; $result=mysql_query($query); if ((mysql_num_rows($result)>0) AND ( $flag == 0 )) { echo ""; } if ($cambia == 2) { $nome_e_cognome = explode(",", $utente); $nome = $nome_e_cognome[1]; $cognome = $nome_e_cognome[0]; $nome = trim($nome); $nome = stripcslashes($nome); $cognome = trim($cognome); $cognome = stripcslashes($cognome); $query_utente = "SELECT MAX(id_tic) AS max_id_tic FROM tickets WHERE cognome=\"$cognome\" AND nome=\"$nome\" GROUP BY cognome"; $result_utente = mysql_query($query_utente); while ($row_utente = mysql_fetch_array($result_utente)) { $id_tic_utente= $row_utente['max_id_tic']; } $query_utente = "SELECT * FROM tickets WHERE id_tic=$id_tic_utente"; $result_utente = @mysql_query($query_utente); while ($row_utente = @mysql_fetch_array($result_utente)) { $telefono = $row_utente['telefono']; $struttura = $row_utente['struttura']; $via = $row_utente['via']; $ufficio = $row_utente['ufficio']; $email = $row_utente['email']; $piano = $row_utente['piano']; $stanza = $row_utente['stanza']; } } include('header_ticket_utente.html'); ?> I campi obbligatori sono contrassegnati da '*'
L'utilizzo del presente modulo e' riservato al personale dell'Ateneo e non agli Studenti Data: \n"; //INIZIO FORM CON I DATI UTENTE print "\n"; print "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "Compilazione rapida dei dati personali:
Inizia per    "; echo "\n"; echo " \n"; echo " \n"; echo " \n"; */ ?>
";?>
Informazioni contatto Ubicazione
*Nome:
Struttura:
*Cognome:
Via:
"; $query=mysql_query("select * from via order by via") or die (mysql_error()); echo ""; while ($riga=mysql_fetch_assoc($query)) { $valore=$riga['via']; $valore=stripslashes($valore); $view=$riga['via']; if ($valore == $via) { echo ""; $id_amm=$riga['id_amm']; } else { echo ""; } } ?>
*Telefono:
Ufficio:
*E-Mail:
Piano:
Stanza:

*Servizio
*Problema
"; else echo "
*Testo descrizione
Allegato: