141 lines
3.6 KiB
PHTML

<div id="center">
<h1 class="titre">ANNONCES L&Eacute;GALES</h1>
<div class="paragraph">
<table class="identite">
<tr>
<td width="30">&nbsp;</td>
<td width="200" class="StyleInfoLib">
Num&eacute;ro identifiant Siren
</td>
<td width="350" class="StyleInfoData">
<?=$this->SirenTexte($this->siren)?>
</td>
</tr>
<tr>
<td width="30">&nbsp;</td>
<td width="200" class="StyleInfoLib">Raison Sociale</td>
<td width="350" class="StyleInfoData">
<?=$this->raisonSociale?>
<?php if($this->hasModeEdition) : ?>
<a href="<?=$this->url(array(
'controller' => 'saisie',
'action' => 'fiche',
'siret' => $this->siret,
'id' => $this->id,
))?>">(Edition)</a>
<?php endif; ?>
</td>
</tr>
<?php if ($this->surveillance) {?>
<tr>
<td width="30">&nbsp;</td>
<td colspan="2" width="550" class="StyleInfoData">
<?=$this->action('infos','surveillance', null, array(
'source' => 'annonces',
'siret' => $this->siret
))?>
</td>
</tr>
<?php }?>
</table>
</div>
<?php
switch ($this->annonce['Type']) {
case 'balo':
?><h2>BALO</h2><?php
break;
case 'bodacc':
case 'abod':
?><h2>&Eacute;V&Eacute;NEMENTS L&Eacute;GAUX</h2><?php
break;
case 'asso':
?><h2>Associations</h2><?php
break;
case 'bomp'
?><h2>Marchés publics</h2><?php
break;
}
?>
<div class="paragraph">
<?php if (!empty($this->annonce['Deleted'])) {?>
<div class="ui-widget">
<div class="ui-state-error ui-corner-all" style="padding: 0 .7em;">
<p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span>
Cette parution a fait l'objet d'une annonce corrective, le <?=$this->annonce['Deleted']?></p>
</div>
</div>
<?php }?>
<p class="StyleInfoData">
<?=$this->annonce['Desc'].' '.$this->annonce['Entree'].' '.$this->annonce['EntreeSD'];?>
<?php
if ($this->hasModeEdition){
$liensEdit = array(
'edit' => array(
'class' => 'annonceSaisie',
'title' => 'Edition annonce',
'img' => '<img src="/themes/default/images/interfaces/editer.png"/>',
),
'delete' => array(
'class' => 'annonceSaisie',
'title' => 'Suppression annonce',
'img' => '<img src="/themes/default/images/interfaces/supprimer.png"/>',
),
'copy' => array(
'class' => 'annonceSaisie',
'title' => 'Dupliquer sur autre Siren',
'img' => '<img src="/themes/default/images/interfaces/save_copy.png"/>',
),
'even' => array(
'class' => 'annonceSaisie',
'title' => "Modifier le type d'événement",
'img' => '<img src="/themes/default/images/interfaces/even.png"/>',
),
);
foreach ( $liensEdit as $lienId => $lienItem ){
?>
<a class="<?=$lienItem['class']?>" title="<?=$lienItem['title']?>" href="<?=$this->url(array(
'controller' => 'saisie',
'action' => 'annoncedialog',
'siret' => $this->siret,
'op' => $lienId,
'code' => $this->annonce['Code'],
'idAnn' => $this->idAnn,), null, true)?>"><?=$lienItem['img']?></a>
<?php
}
}
?>
</p>
<p class="StyleInfoLib"><b><?=$this->annonce['Even']?></b></p>
<p><code><?=$this->RemplaceSiren($this->annonce['Texte'])?></code></p>
</div>
<div class="paragraph" style="text-align:center;">
<?php if (intval($this->siret)!=0) {?>
<?php
$href = $this->url(array(
'controller' => 'juridique',
'action' => 'annonces',
'siret' => $this->siret,
'id' => $this->id,
'vue' => $this->vue
), null, true);
?>
<a href="<?=$href?>">Revenir à la liste des annonces</a>
<?php }?>
<?php if ( $this->lienBodacc ) { ?>
- <span id="bodacc"><a href="<?=$this->lienBodacc?>">
<img src="/themes/default/images/interfaces/pdf.png" alt="Bodacc au format PDF">
Télécharger le bulletin officiel</a>
</span>
<?php } ?>
</div>
<?=$this->render('cgu.phtml', $this->cgu)?>
</div>