:  ITENES

Антифриз

обратная связь



--|start|-- /* legenda: - 1,6 > policy - 2,7 > contatti - 3,8 > iscrizione - 4,9 > registrazioni - 5,10 > area riservata */ //vedo se ho la tabella p_privacy $sel_p_privacy = mysqli_query($dbcnn, "select * from A_tabelle where versione = 'ON' and status = 'PLAY' and tabella = 'p_privacy' "); $count_p_privacy = mysqli_num_rows($sel_p_privacy); if ($count_p_privacy >= 1){ $sel_rif_privacy = mysqli_query($dbcnn, "select * from p_privacy where versione = 'ON' and status = 'PLAY' "); while($get_rif_privacy = mysqli_fetch_array($sel_rif_privacy, MYSQLI_ASSOC)){ $db_ppp_riferimento = $get_rif_privacy['riferimento']; $dp_ppp_testo[$db_ppp_riferimento] = $get_rif_privacy["testo_$lingua"]; } } if (isset($ppp_pagina)){ //trovo la pagina analizzando $ppp_pagina switch($ppp_pagina){ case 1: $ppp_pagina = 'policy'; break; case 2: $ppp_pagina = 'contatti'; break; case 3: $ppp_pagina = 'iscrizione'; break; case 4: $ppp_pagina = 'registrati'; break; case 5: $ppp_pagina = 'area_riservata'; break; case 6: $ppp_pagina = 'policy_en-it'; break; case 7: $ppp_pagina = 'contatti_en-it'; break; case 8: $ppp_pagina = 'iscrizione_en-it'; break; case 9: $ppp_pagina = 'registrati_en-it'; break; case 10: $ppp_pagina = 'area_riservata_en-it'; break; } }else{ //trovo la pagina analizzando $page $exp_pg = explode('_',$page); $ppp_pagina = $exp_pg[2]; $ppp_pagina = substr($ppp_pagina,0,-4); } //verifica visualizzazione privacy if ($view_privacy == 1){ //titolo privacy echo '
'; if ($contenuto_privacy == '' and $retype == 'yes'){ echo ''; }else{ echo ''; } echo '
'; //trovo il testo da pubblicare switch($lingua){ //ITALIANO case 'italiano': $accetto = 'ACCETTO'; switch($ppp_pagina){ case 'contatti': if ($count_p_privacy >= 1 and $dp_ppp_testo['p_w_contatti'] != ''){ $testo = $dp_ppp_testo['p_w_contatti']; }else{ $testo = "Dichiaro di aver letto il documento sul trattamento dei dati personali allegato (privacy) e di dare il consenso al loro trattamento secondo quanto indicato nello stesso"; } break; case 'iscrizione': if ($count_p_privacy >= 1 and $dp_ppp_testo['p_w_iscrizione'] != ''){ $testo = $dp_ppp_testo['p_w_iscrizione']; }else{ $testo = "Dichiaro di aver letto il documento sul trattamento dei dati personali allegato (privacy) e di dare il consenso al loro trattamento secondo quanto indicato nello stesso."; } break; case 'registrati': if ($count_p_privacy >= 1 and $dp_ppp_testo['p_w_registrati'] != ''){ $testo = $dp_ppp_testo['p_w_registrati']; }else{ $testo = "Dichiaro di aver letto il documento sul trattamento dei dati personali allegato (privacy) e di dare il consenso al loro trattamento secondo quanto indicato nello stesso."; } break; case 'area_riservata': if ($count_p_privacy >= 1 and $dp_ppp_testo['p_w_area_riservata'] != ''){ $testo = $dp_ppp_testo['p_w_area_riservata']; }else{ $testo = "Dichiaro di aver letto il documento sul trattamento dei dati personali allegato (privacy) e di dare il consenso al loro trattamento secondo quanto indicato nello stesso."; } break; } break; //INGLESE case 'inglese': $accetto = 'ACCEPT'; switch($ppp_pagina){ case 'contatti': if ($count_p_privacy >= 1 and $dp_ppp_testo['p_w_contatti'] != ''){ $testo = $dp_ppp_testo['p_w_contatti']; }else{ $testo = "I declare to have read the document on the processing of personal data attached mm(privacy) nd to give consent to their treatment as indicated in the same"; } break; case 'iscrizione': if ($count_p_privacy >= 1 and $dp_ppp_testo['p_w_iscrizione'] != ''){ $testo = $dp_ppp_testo['p_w_iscrizione']; }else{ $testo = "I declare to have read the document on the processing of personal data attached (privacy) nd to give consent to their treatment as indicated in the same"; } break; case 'registrati': if ($count_p_privacy >= 1 and $dp_ppp_testo['p_w_registrati'] != ''){ $testo = $dp_ppp_testo['p_w_registrati']; }else{ $testo = "I declare to have read the document on the processing of personal data attached (privacy) nd to give consent to their treatment as indicated in the same"; } break; case 'area_riservata': if ($count_p_privacy >= 1 and $dp_ppp_testo['p_w_area_riservata'] != ''){ $testo = $dp_ppp_testo['p_w_area_riservata']; }else{ $testo = "I declare to have read the document on the processing of personal data attached (privacy) nd to give consent to their treatment as indicated in the same"; } break; case 'contatti_en-it': $testo = "I declare to have read the document on the processing of personal data attached (privacy) nd to give consent to their treatment as indicated in the same"; break; case 'iscrizione_en-it': $testo = "I declare to have read the document on the processing of personal data attached (privacy) nd to give consent to their treatment as indicated in the same"; break; case 'registrati_en-it': $testo = "I declare to have read the document on the processing of personal data attached (privacy) nd to give consent to their treatment as indicated in the same"; break; case 'area_riservata_en-it': $testo = "I declare to have read the document on the processing of personal data attached (privacy) nd to give consent to their treatment as indicated in the same"; break; } break; //SPAGNOLO TEMPORANEO case 'spagnolo': $accetto = 'ACEPTABLE'; switch($ppp_pagina){ case 'contatti': if ($count_p_privacy >= 1 and $dp_ppp_testo['p_w_contatti'] != ''){ $testo = $dp_ppp_testo['p_w_contatti']; }else{ $testo = "I declare to have read the document on the processing of personal data attached (privacy) nd to give consent to their treatment as indicated in the same"; } break; case 'iscrizione': if ($count_p_privacy >= 1 and $dp_ppp_testo['p_w_iscrizione'] != ''){ $testo = $dp_ppp_testo['p_w_iscrizione']; }else{ $testo = "I declare to have read the document on the processing of personal data attached (privacy) nd to give consent to their treatment as indicated in the same"; } break; case 'registrati': if ($count_p_privacy >= 1 and $dp_ppp_testo['p_w_registrati'] != ''){ $testo = $dp_ppp_testo['p_w_registrati']; }else{ $testo = "I declare to have read the document on the processing of personal data attached (privacy) nd to give consent to their treatment as indicated in the same"; } break; case 'area_riservata': if ($count_p_privacy >= 1 and $dp_ppp_testo['p_w_area_riservata'] != ''){ $testo = $dp_ppp_testo['p_w_area_riservata']; }else{ $testo = "I declare to have read the document on the processing of personal data attached (privacy) nd to give consent to their treatment as indicated in the same"; } break; } break; //FRANCESE TEMPORANEO case 'francese': $accetto = 'ACCEPTABLE'; switch($ppp_pagina){ case 'contatti': if ($count_p_privacy >= 1 and $dp_ppp_testo['p_w_contatti'] != ''){ $testo = $dp_ppp_testo['p_w_contatti']; }else{ $testo = "I declare to have read the document on the processing of personal data attached (privacy) nd to give consent to their treatment as indicated in the same"; } break; case 'iscrizione': if ($count_p_privacy >= 1 and $dp_ppp_testo['p_w_iscrizione'] != ''){ $testo = $dp_ppp_testo['p_w_iscrizione']; }else{ $testo = "I declare to have read the document on the processing of personal data attached (privacy) nd to give consent to their treatment as indicated in the same"; } break; case 'registrati': if ($count_p_privacy >= 1 and $dp_ppp_testo['p_w_registrati'] != ''){ $testo = $dp_ppp_testo['p_w_registrati']; }else{ $testo = "I declare to have read the document on the processing of personal data attached (privacy) nd to give consent to their treatment as indicated in the same"; } break; case 'area_riservata': if ($count_p_privacy >= 1 and $dp_ppp_testo['p_w_area_riservata'] != ''){ $testo = $dp_ppp_testo['p_w_area_riservata']; }else{ $testo = "I declare to have read the document on the processing of personal data attached (privacy) nd to give consent to their treatment as indicated in the same"; } break; } break; //TEDESCO TEMPORANEO case 'tedesco': $accetto = 'AKZEPTABEL'; switch($ppp_pagina){ case 'contatti': if ($count_p_privacy >= 1 and $dp_ppp_testo['p_w_contatti'] != ''){ $testo = $dp_ppp_testo['p_w_contatti']; }else{ $testo = "I declare to have read the document on the processing of personal data attached (privacy) nd to give consent to their treatment as indicated in the same"; } break; case 'iscrizione': if ($count_p_privacy >= 1 and $dp_ppp_testo['p_w_iscrizione'] != ''){ $testo = $dp_ppp_testo['p_w_iscrizione']; }else{ $testo = "I declare to have read the document on the processing of personal data attached (privacy) nd to give consent to their treatment as indicated in the same"; } break; case 'registrati': if ($count_p_privacy >= 1 and $dp_ppp_testo['p_w_registrati'] != ''){ $testo = $dp_ppp_testo['p_w_registrati']; }else{ $testo = "I declare to have read the document on the processing of personal data attached (privacy) nd to give consent to their treatment as indicated in the same"; } break; case 'area_riservata': if ($count_p_privacy >= 1 and $dp_ppp_testo['p_w_area_riservata'] != ''){ $testo = $dp_ppp_testo['p_w_area_riservata']; }else{ $testo = "I declare to have read the document on the processing of personal data attached (privacy) nd to give consent to their treatment as indicated in the same"; } break; } break; } //verirfica checkbox privacy if ($contenuto_privacy == '' and $retype == 'yes'){ $cb_privacy = ''; }elseif($contenuto_privacy == 'AUTORIZZATA' and $retype == 'yes'){ $cb_privacy = '

 '.$accetto.'

'; }else{ $cb_privacy = '

 '.$accetto.'

'; } //inizio codice html echo '
'; echo ''.$testo.'
'.$cb_privacy.'
'; echo '

'; //fine codice html } --|end|--