R_18: santodioggi = $santodioggi
"); //**** Per PROTEGGERE PAGINE INTRANET **** $autenticazione = autenticazione(); print $MESSAGGIOINDEX; //**** Fine Per PROTEGGERE PAGINE INTRANET **** //MODIFICA ALESSANDRO rif.Prog. 35 punto 16 per risposta a auguri // print("
R_24: destinatario_x_replay = $destinatario_x_replay
"); if($destinatario_x_replay) { $javastr = ''; print $javastr; exit("R30 sessione.php: Errore sessione! Attiva javascript sul tuo browser."); } //FINE MODIFICA ALESSANDRO rif. Prog. 35 punto 16 per risposta a auguri ?>

R_57: sessid = $sessid
"); if($autenticazione) { $arr_componente_famiglia = cerca_dati_componente_famiglia($autenticazione); $R_componente_famiglia = sizeof($arr_componente_famiglia); $chiave = $arr_componente_famiglia[0][0]; $chiave_famiglia = $arr_componente_famiglia[0][1]; $datacreazione = $arr_componente_famiglia[0][2]; $datamodificaprecedente = $arr_componente_famiglia[0][3]; $parentela = $arr_componente_famiglia[0][4]; $nome = $arr_componente_famiglia[0][5]; $cognome = $arr_componente_famiglia[0][6]; $data_nascita = $arr_componente_famiglia[0][7]; $cellulare = $arr_componente_famiglia[0][8]; $email = $arr_componente_famiglia[0][9]; $web = $arr_componente_famiglia[0][10]; $religione = $arr_componente_famiglia[0][11]; $battezzato = $arr_componente_famiglia[0][12]; $cresimato = $arr_componente_famiglia[0][13]; $stato_civile = $arr_componente_famiglia[0][14]; $titolo_studio = $arr_componente_famiglia[0][15]; $spec_post_laurea = $arr_componente_famiglia[0][16]; $attivita_lavorative = $arr_componente_famiglia[0][17]; $volontariato = $arr_componente_famiglia[0][18]; $note_volontariato = $arr_componente_famiglia[0][19]; $ass_sportive = $arr_componente_famiglia[0][20]; $note_ass_sportive = $arr_componente_famiglia[0][21]; $nascita_citta = $arr_componente_famiglia[0][22]; $in_parrocchia_farei = $arr_componente_famiglia[0][23]; $dati_pubblici = $arr_componente_famiglia[0][24]; $ruolo_parrocchia_1 = $arr_componente_famiglia[0][25]; $ruolo_parrocchia_2 = $arr_componente_famiglia[0][26]; $ruolo_parrocchia_3 = $arr_componente_famiglia[0][27]; $gruppo_catechismo = $arr_componente_famiglia[0][28]; $catechista = $arr_componente_famiglia[0][29]; $battesimo_data = $arr_componente_famiglia[0][30]; if($battesimo_data == '01/01/0001 BC' or $battesimo_data == '01/01/0001') { $battesimo_data = ""; } $battesimo_ministro = $arr_componente_famiglia[0][31]; $battesimo_indicazione = $arr_componente_famiglia[0][32]; $battesimo_padrino = $arr_componente_famiglia[0][33]; $battesimo_madrina = $arr_componente_famiglia[0][34]; $cresima_data = $arr_componente_famiglia[0][35]; if($cresima_data == '01/01/0001 BC' or $cresima_data == '01/01/0001') { $cresima_data = ""; } $cresima_ministro = $arr_componente_famiglia[0][36]; $cresima_padrino = $arr_componente_famiglia[0][37]; $cresima_madrina = $arr_componente_famiglia[0][38]; $annotazioni_in_calce = $arr_componente_famiglia[0][39]; $contrasse_matrimonio_con = $arr_componente_famiglia[0][40]; $foto = $arr_componente_famiglia[0][41]; $decesso_data = $arr_componente_famiglia[0][42]; if($decesso_data == '01/01/0001 BC' or $decesso_data == '01/01/0001') { $decesso_data = ""; } $note_generali = $arr_componente_famiglia[0][43]; $tessera_oratorio = $arr_componente_famiglia[0][44]; $estate_ragazzi = $arr_componente_famiglia[0][45]; $note_estate_ragazzi = $arr_componente_famiglia[0][46]; $login = $arr_componente_famiglia[0][47]; $login_new = $login; $password = $arr_componente_famiglia[0][48]; $password_new = $password; $sessione = $arr_componente_famiglia[0][49]; $citta_componente_famiglia = $arr_componente_famiglia[0][50]; $via_componente_famiglia = $arr_componente_famiglia[0][51]; $n_civico_componente_famiglia = $arr_componente_famiglia[0][52]; $cap_componente_famiglia = $arr_componente_famiglia[0][53]; $telefono_lavoro = $arr_componente_famiglia[0][54]; $giorno_nascita_componente_famiglia = $arr_componente_famiglia[0][55]; $mese_nascita_componente_famiglia = $arr_componente_famiglia[0][56]; //**** CARICO I DATI DALLA SCHEDA FAMIGLIA //print("
R123: autenticazione = $autenticazione | chiave = $chiave | chiave_famiglia = $chiave_famiglia
"); $arr_famiglia = cerca_dati_famiglia($chiave_famiglia); $R_famiglia = sizeof($arr_famiglia); $chiave_fam = $arr_famiglia[0][0]; $datacreazione_fam = $arr_famiglia[0][1]; $datamodificaprecedente_fam = $arr_famiglia[0][2]; $citta = $arr_famiglia[0][3]; $cap = $arr_famiglia[0][4]; $via = $arr_famiglia[0][5]; $n_civico = $arr_famiglia[0][6]; $telefono = $arr_famiglia[0][7]; $fax = $arr_famiglia[0][8]; $trasferita = $arr_famiglia[0][9]; $email_famiglia = $arr_famiglia[0][10]; $seconda_casa_via = $arr_famiglia[0][11]; $seconda_casa_cap = $arr_famiglia[0][12]; $seconda_casa_citta = $arr_famiglia[0][13]; $seconda_casa_telefono = $arr_famiglia[0][14]; $note = $arr_famiglia[0][15]; $connessione_internet = $arr_famiglia[0][16]; } //**** Fine Leggo il record se sono autenticato **** ?>
Benvenuto !!giornooggi = $giornooggi | giorno_nascita_componente_famiglia = $giorno_nascita_componente_famiglia | meseoggi = $meseoggi | mese_nascita_componente_famiglia = $mese_nascita_componente_famiglia
"); if($giornooggi == $giorno_nascita_componente_famiglia and $meseoggi == $mese_nascita_componente_famiglia) { print(" - BUON COMPLEANNO!"); } //MODIFICA ALESSANDRO 24/02/2009 punto --15) progetto 35 // Verifico se è Domenica $nome_giorno_oggi = date("D"); //print("$nome_giorno_oggi"); if($nome_giorno_oggi == 'Sun') { print("
BUONA Domenica!"); } ?>
Profilo

Servizi area intranet

R_150 foto = $foto"); if(!$foto){ $path_foto = 'foto_mancante.png'; $X_Y_FOTO[0] = "96"; $X_Y_FOTO[1] = "96"; } else { $X_Y_FOTO = ridimensionaFOTO(100, $path_web."/gestione/gestionefamiglie/fileupload/".$foto); $path_foto = "../gestione/gestionefamiglie/fileupload/".$foto; }?> Foto
(modifica foto)

 
 
'NC') and b.note not like '%NC%' "; // print ("
R_275stmt_CERCOtuttinews = $stmt_CERCOtuttinews"); $arr_CERCOtuttinews = $pcitiinc->parselect($stmt_CERCOtuttinews); $R_CERCOtuttinews = sizeof($arr_CERCOtuttinews); //print("
R279: R_CERCOtuttinews = $R_CERCOtuttinews"); $senontrovonessuno = " "; ?> = 1): ?>
Oggi festeggiamo l'anniversario di battesimo di:
.'; //MODIFICA Alessandro 12.03.2009 prog. 35 punto --1 sotto punto L) if(!$arr_CERCOtuttinews[$r][5]) { $path_foto_pic = 'foto_mancante.png'; $X_Y_FOTO[0] = "45"; $X_Y_FOTO[1] = "45"; $foto_piccola = $path_foto_pic; } else { $X_Y_FOTO = ridimensionaFOTO(45, $path_web."/gestione/gestionefamiglie/fileupload/".$arr_CERCOtuttinews[$r][5]); $path_foto_pic = "../gestione/gestionefamiglie/fileupload/".$arr_CERCOtuttinews[$r][5]; $estensione_foto = substr($path_foto_pic, -4, -4); $foto_piccola = substr_replace ($path_foto_pic, "_pic".$estensione_foto, -4, -4); } $codice_foto_pic = 'Foto'; if($arr_CERCOtuttinews[$r][3]) { print('
'); print $linkgestionale; print $codice_foto_pic." "; print ("{$arr_CERCOtuttinews[$r][0]} {$arr_CERCOtuttinews[$r][1]} "); print('
'); } else { print ("$linkgestionale $codice_foto_pic {$arr_CERCOtuttinews[$r][0]} {$arr_CERCOtuttinews[$r][1]}
"); } ?> 'NC') and b.note not like '%NC%' "; // print ("
R_275stmt_CERCOtuttinews = $stmt_CERCOtuttinews"); $arr_CERCOtuttinews = $pcitiinc->parselect($stmt_CERCOtuttinews); $R_CERCOtuttinews = sizeof($arr_CERCOtuttinews); //print("
R279: R_CERCOtuttinews = $R_CERCOtuttinews"); $senontrovonessuno = " "; ?> = 1): ?>
Oggi è il compleanno di:
.'; //MODIFICA Alessandro 12.03.2009 prog. 35 punto --1 sotto punto L) if(!$arr_CERCOtuttinews[$r][5]) { $path_foto_pic = 'foto_mancante.png'; $X_Y_FOTO[0] = "45"; $X_Y_FOTO[1] = "45"; $foto_piccola = $path_foto_pic; } else { $X_Y_FOTO = ridimensionaFOTO(45, $path_web."/gestione/gestionefamiglie/fileupload/".$arr_CERCOtuttinews[$r][5]); $path_foto_pic = "../gestione/gestionefamiglie/fileupload/".$arr_CERCOtuttinews[$r][5]; $estensione_foto = substr($path_foto_pic, -4, -4); $foto_piccola = substr_replace ($path_foto_pic, "_pic".$estensione_foto, -4, -4); } $codice_foto_pic = 'Foto'; if($arr_CERCOtuttinews[$r][3]) { print('
'); print $linkgestionale; print $codice_foto_pic." "; print ("{$arr_CERCOtuttinews[$r][0]} {$arr_CERCOtuttinews[$r][1]} "); print('
'); } else { print ("$linkgestionale $codice_foto_pic {$arr_CERCOtuttinews[$r][0]} {$arr_CERCOtuttinews[$r][1]}
"); } ?> 'NC') $stmt_CERCOtuttinews = "select a.nome, a.cognome, a.chiave, a.email, a.chiave_famiglia, a.decesso_data, a.foto from componente_famiglia a, famiglia b where b.chiave = a.chiave_famiglia and date_part('month',a.decesso_data) = '".$meseoggi."' and date_part('day',a.decesso_data) = '".$giornooggi."' and date_part('year',a.decesso_data) <> '0001' and (a.nc is null or a.nc <> 'NC') and b.note not like '%NC%' "; //$stmt_CERCOtuttinews = "select nome, cognome, chiave, email, chiave_famiglia, decesso_data from componente_famiglia where date_part('month',decesso_data) = '".$meseoggi."' and date_part('day',decesso_data) = '".$giornooggi."' "; //print ("
R110stmt_CERCOtuttinews = $stmt_CERCOtuttinews"); $arr_CERCOtuttinews = $pcitiinc->parselect($stmt_CERCOtuttinews); $R_CERCOtuttinews = sizeof($arr_CERCOtuttinews); // print("
R47: R_CERCOtuttinews = $R_CERCOtuttinews"); $senontrovonessuno = " "; ?> = 1): ?>
Oggi commemoriamo l'commemoriamo l'anniversario di morte di:
'; print ("† $codice_foto_pic $linkgestionale{$arr_CERCOtuttinews[$r][0]} {$arr_CERCOtuttinews[$r][1]} salita al cielo il {$arr_CERCOtuttinews[$r][5]}
"); ?> R_18: santodioggi = $santodioggi
"); //MODIFICA ALESSANDRO 12.03.2009 rif prog. 35 punto 26 per escludere sempre il campo nc and (a.nc is null or a.nc <> 'NC') $stmt_CERCOtuttinews = "select a.nome, a.cognome, a.chiave, a.email, a.chiave_famiglia, a.foto from componente_famiglia a, famiglia b where b.chiave = a.chiave_famiglia and (nome = '".$santodioggipul."' $wheresanto ) and a.decesso_data = '01/01/0001' and (a.nc is null or a.nc <> 'NC') and b.note not like '%NC%' "; if($onomastico) { print ("
R78stmt_CERCOtuttinews = $stmt_CERCOtuttinews"); } $arr_CERCOtuttinews = $pcitiinc->parselect($stmt_CERCOtuttinews); $R_CERCOtuttinews = sizeof($arr_CERCOtuttinews); //print("
R79: R_CERCOtuttinews = $R_CERCOtuttinews"); //print("
R142: stmt_CERCOtuttinews = $stmt_CERCOtuttinews"); $senontrovonessuno = " "; ?> = 1): ?>
Oggi è l'onomastico di:
.'; //MODIFICA Alessandro 12.03.2009 prog. 35 punto --1 sotto punto L) if(!$arr_CERCOtuttinews[$r][5]) { $path_foto_pic = 'foto_mancante.png'; $X_Y_FOTO[0] = "45"; $X_Y_FOTO[1] = "45"; $foto_piccola = $path_foto_pic; } else { $X_Y_FOTO = ridimensionaFOTO(45, $path_web."/gestione/gestionefamiglie/fileupload/".$arr_CERCOtuttinews[$r][5]); $path_foto_pic = "../gestione/gestionefamiglie/fileupload/".$arr_CERCOtuttinews[$r][5]; $estensione_foto = substr($path_foto_pic, -4, -4); $foto_piccola = substr_replace ($path_foto_pic, "_pic".$estensione_foto, -4, -4); } $codice_foto_pic = ' Foto '; if($arr_CERCOtuttinews[$r][3]) { print('
'); print $linkgestionale ; print $codice_foto_pic ; print ("{$arr_CERCOtuttinews[$r][0]} {$arr_CERCOtuttinews[$r][1]} "); print('
'); } else { print ("$linkgestionale $codice_foto_pic {$arr_CERCOtuttinews[$r][0]} {$arr_CERCOtuttinews[$r][1]}
"); } ?> DDMMYYYY_DD_MM_YYYY($dataoggi); $datadomani = $calend->nextDay($arr_dataoggi[0],$arr_dataoggi[1],$arr_dataoggi[2],"%d-%m-%Y"); ?> DDMMYYYY_DD_MM_YYYY($datadomani); // print("
R60: datadomani = $datadomani"); //MODIFICA ALESSANDRO 12.03.2009 rif prog. 35 punto 26 per escludere sempre il campo nc and (a.nc is null or a.nc <> 'NC') $stmt_CERCOtuttinews = "select a.nome, a.cognome, a.chiave, a.email, a.chiave_famiglia, a.foto from componente_famiglia a, famiglia b where b.chiave = a.chiave_famiglia and date_part('month',a.data_nascita) = '".$arr_datadomani[1]."' and date_part('day',a.data_nascita) = '".$arr_datadomani[0]."' and a.decesso_data = '01/01/0001' and (a.nc is null or a.nc <> 'NC') and b.note not like '%NC%' "; // print ("
R179stmt_CERCOtuttinews = $stmt_CERCOtuttinews"); $arr_CERCOtuttinews = $pcitiinc->parselect($stmt_CERCOtuttinews); $R_CERCOtuttinews = sizeof($arr_CERCOtuttinews); // print("
R70: R_CERCOtuttinews = $R_CERCOtuttinews"); ?> = 1): ?>
Domani sarà il compleanno di:
.'; //MODIFICA Alessandro 12.03.2009 prog. 35 punto --1 sotto punto L) if(!$arr_CERCOtuttinews[$r][5]) { $path_foto_pic = 'foto_mancante.png'; $X_Y_FOTO[0] = "45"; $X_Y_FOTO[1] = "45"; $foto_piccola = $path_foto_pic; } else { $X_Y_FOTO = ridimensionaFOTO(45, $path_web."/gestione/gestionefamiglie/fileupload/".$arr_CERCOtuttinews[$r][5]); $path_foto_pic = "../gestione/gestionefamiglie/fileupload/".$arr_CERCOtuttinews[$r][5]; $estensione_foto = substr($path_foto_pic, -4, -4); $foto_piccola = substr_replace ($path_foto_pic, "_pic".$estensione_foto, -4, -4); } $codice_foto_pic = ' Foto '; if($arr_CERCOtuttinews[$r][3]) { print('
'); print $linkgestionale; print $codice_foto_pic ; print ("{$arr_CERCOtuttinews[$r][0]} {$arr_CERCOtuttinews[$r][1]} "); print('
'); } else { print ("$linkgestionale $codice_foto_pic {$arr_CERCOtuttinews[$r][0]} {$arr_CERCOtuttinews[$r][1]}
"); } ?> nextDay($arr_datadomani[0],$arr_datadomani[1],$arr_datadomani[2],"%d-%m-%Y"); $arr_datadopodomani = $cform->DDMMYYYY_DD_MM_YYYY($datadopodomani); ?> R60: datadomani = $datadomani"); //MODIFICA ALESSANDRO 12.03.2009 rif prog. 35 punto 26 per escludere sempre il campo nc and (a.nc is null or a.nc <> 'NC') $stmt_CERCOtuttinews = "select a.nome, a.cognome, a.chiave, a.email, a.chiave_famiglia, a.foto from componente_famiglia a, famiglia b where b.chiave = a.chiave_famiglia and date_part('month',a.data_nascita) = '".$arr_datadopodomani[1]."' and date_part('day',a.data_nascita) = '".$arr_datadopodomani[0]."' and a.decesso_data = '01/01/0001' and (a.nc is null or a.nc <> 'NC') and b.note not like '%NC%'"; // print ("
R219stmt_CERCOtuttinews = $stmt_CERCOtuttinews"); $arr_CERCOtuttinews = $pcitiinc->parselect($stmt_CERCOtuttinews); $R_CERCOtuttinews = sizeof($arr_CERCOtuttinews); //print("
R87: R_CERCOtuttinews = $R_CERCOtuttinews"); ?> = 1): ?>
Dopodomani sarà il compleanno di:
.'; //MODIFICA Alessandro 12.03.2009 prog. 35 punto --1 sotto punto L) if(!$arr_CERCOtuttinews[$r][5]) { $path_foto_pic = 'foto_mancante.png'; $X_Y_FOTO[0] = "45"; $X_Y_FOTO[1] = "45"; $foto_piccola = $path_foto_pic; } else { $X_Y_FOTO = ridimensionaFOTO(45, $path_web."/gestione/gestionefamiglie/fileupload/".$arr_CERCOtuttinews[$r][5]); $path_foto_pic = "../gestione/gestionefamiglie/fileupload/".$arr_CERCOtuttinews[$r][5]; $estensione_foto = substr($path_foto_pic, -4, -4); $foto_piccola = substr_replace ($path_foto_pic, "_pic".$estensione_foto, -4, -4); } $codice_foto_pic = ' Foto '; if($arr_CERCOtuttinews[$r][3]) { print('
'); print $linkgestionale; print $codice_foto_pic; print ("{$arr_CERCOtuttinews[$r][0]} {$arr_CERCOtuttinews[$r][1]} "); print('
'); } else { print ("$linkgestionale $codice_foto_pic {$arr_CERCOtuttinews[$r][0]} {$arr_CERCOtuttinews[$r][1]}
"); } ?>