require_once('_mainFile.php'); ?>
Modulo Segnalazione Roma III
$nome = $_REQUEST['nome'];
$struttura = $_REQUEST['struttura'];
$struttura1 = $_REQUEST['struttura1'];
$cognome = $_REQUEST['cognome'];
$ufficio = $_REQUEST['ufficio'];
$piano = $_REQUEST['piano'];
$stanza = $_REQUEST['stanza'];
$telefono = $_REQUEST['telefono'];
$via = $_REQUEST['via'];
$email = $_REQUEST['email'];
$id_servizio = $_REQUEST['id_servizio'];
$id_problema = $_REQUEST['id_problema'];
$testo = $_REQUEST['testo'];
$cambia = $_REQUEST['cambia'];
$utente = $_REQUEST['utente'];
if ($rs) // Vengo dall'autenticazione su minerva attraverso il codice fiscale
{
#var_dump($rs);
$nome=$rs->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:
echo date("d-m-Y"); ?>
|
|
/*
# FORM IN ALTO PER EFFETTUARE LA RICERCA DEI NOMINATIVI PRESENTI NELLA TABELLA DEI TICKET
echo " \n";
*/
?>
|