'.esc_html__("Visualizza AVVISO DI INIZIO AFFISSIONE","albo-pretorio-on-line").''.esc_html__("Visualizza CERTIFICATO DI PUBBLICAZIONE","albo-pretorio-on-line").'';
}
}
function albopc_StampaAtto($id, $tipo) {
$risultato = albopc_get_atto($id);
$resp_pub = albopc_get_all_Oggetto_log(1, $id);
$risultato = $risultato[0];
$risultatocategoria = albopc_get_categoria($risultato->IdCategoria);
$risultatocategoria = $risultatocategoria[0];
$allegati = albopc_get_all_allegati_atto($id);
albopc_insert_log(5, 5, $id, "Visualizzazione");
$coloreAnnullati = get_option('opt_AP_ColoreAnnullati');
$IconaDocumenti=get_option('opt_AP_IconaDocumenti');
if ($risultato->DataAnnullamento != '0000-00-00')
$Annullato = '
'.__("Atto Annullato dal Responsabile del Procedimento","albo-pretorio-on-line").'
'.__("Motivo","albo-pretorio-on-line").': ' . stripslashes($risultato->MotivoAnnullamento) . '
';
else
$Annullato = '';
?>
'.esc_html__("Data di inizio affissione","albo-pretorio-on-line").': ' . esc_html(albopc_VisualizzaData($risultato->DataInizio)) . ' | '
. ''.esc_html__("Data di fine affissione","albo-pretorio-on-line").': ' . esc_html(albopc_VisualizzaData($risultato->DataFine)) . ' | '
. ' |
';
// $user = get_user_by('login', $resp_pub[0]->Utente);
if ($tipo == 'c') {
$riga_tipo = __("CERTIFICATO DI PUBBLICAZIONE","albo-pretorio-on-line");
$idtipo = 'printCertificato';
$pubblicatoda = '';
} elseif ($tipo == 'a') {
$riga_tipo = __("AVVISO DI INIZIO AFFISSIONE","albo-pretorio-on-line");
$idtipo = 'printAvviso';
}
echo '';
$Soggetti=unserialize($risultato->Soggetti, array('allowed_classes'=>false));
$Soggetti=(is_array($Soggetti) && !empty($Soggetti)) ? albopc_get_alcuni_soggetti_ruolo(implode(",",$Soggetti)) : array();
$DatiSeg=albopc_get_Funzione_StampaCertificatoSX();
$Segretario="";
$ResponsabilePub="";
$PaginaAttiCor=get_option('opt_AP_PAttiCor');
if($PaginaAttiCor===FALSE){
$PaginaAttiCor="";
}
$NomeResp=albopc_get_responsabile($risultato->RespProc);
$Soggetto=$NomeResp[0];
$Responsabile=$Soggetto->Cognome." ".$Soggetto->Nome;
$Unitao=albopc_get_unitaorganizzativa($risultato->IdUnitaOrganizzativa);
foreach($Soggetti as $Soggetto){
if($Soggetto->Funzione==$DatiSeg[0]){
$Segretario=$Soggetto->Cognome." ".$Soggetto->Nome;
}
/* if($Soggetto->Funzione=="RP"){
$Responsabile=$Soggetto->Cognome." ".$Soggetto->Nome;
}
*/ if($Soggetto->Funzione=="RB"){
$ResponsabilePub=$Soggetto->Cognome." ".$Soggetto->Nome;
}
}
// $custom_logo_id = get_theme_mod( 'custom_logo' );
// $image = wp_get_attachment_image_src( $custom_logo_id , 'thumb' );
$Testi=json_decode(get_option('opt_AP_Testi'),TRUE);
if(!is_array($Testi)){
$Testi=array("NoResp"=>"",
"CertPub"=>__("Si attesta l'avvenuta pubblicazione del documento all'albo pretorio sopra indicato per il quale non sono pervenute osservazioni","albo-pretorio-on-line"));
}
?>
Numero) . "/" . esc_html($risultato->Anno) . " del " . esc_html(albopc_VisualizzaData($risultato->DataInizio)); ?>
|
|
|
|
: Richiedente) ?>
: Nome)); ?>
:
|
: Nome)); ?>
|
|
:
|
|
Ente)->Nome)); ?> |
|
Numero) . "/" . esc_html($risultato->Anno); ?> |
|
Riferimento)); ?> |
|
Data)); ?> |
|
Oggetto)); ?> |
Informazioni): ?>
| Note |
Informazioni)); ?> |
| url: |
|
|
|
|
|