153 lines
3.5 KiB
PHTML
153 lines
3.5 KiB
PHTML
<div id="center">
|
|
<h1 class="titre">ANNONCES LÉGALES</h1>
|
|
<div class="paragraph">
|
|
<table class="identite">
|
|
<tr>
|
|
<td width="30"> </td>
|
|
<td width="200" class="StyleInfoLib">
|
|
Numéro identifiant Siren
|
|
</td>
|
|
<td width="350" class="StyleInfoData">
|
|
<?=$this->SirenTexte($this->siren)?>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="30"> </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"> </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>ÉVÉNEMENTS LÉGAUX</h2><?php
|
|
break;
|
|
case 'asso':
|
|
?><h2>Associations</h2><?php
|
|
break;
|
|
case 'bomp'
|
|
?><h2>Marchés publics</h2><?php
|
|
break;
|
|
}
|
|
?>
|
|
<div class="paragraph">
|
|
<table style="width=100%;">
|
|
<tr>
|
|
<td width="30"> </td>
|
|
<td class="StyleInfoData">
|
|
<?=$this->annonce['Desc'].' '.$this->annonce['Entree'].' '.$this->annonce['EntreeSD'];?>
|
|
<div>
|
|
<?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
|
|
}
|
|
}
|
|
?>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="30"> </td>
|
|
<td class="StyleInfoLib">
|
|
<b>
|
|
<?=$this->annonce['Even']?>
|
|
</b>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td width="30"> </td>
|
|
<td>
|
|
<code><?=$this->RemplaceSiren($this->annonce['Texte'])?></code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2"> </td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div style="width:100%;text-align:center;">
|
|
<?php
|
|
$href = $this->url(array(
|
|
'controller' => 'juridique',
|
|
'action' => 'annonces',
|
|
'siret' => $this->siret,
|
|
'id' => $this->id,
|
|
'source' => $this->sourceId,
|
|
'vue' => $this->vue
|
|
), null, true);
|
|
?>
|
|
<a href="<?=$href?>">Revenir à la liste des annonces</a>
|
|
<?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>
|
|
|
|
</div>
|
|
</div>
|