156 lines
3.6 KiB
PHTML
Raw Normal View History

2011-05-02 09:07:49 +00:00
<div id="center">
<h1 class="titre">ANNONCES L&Eacute;GALES</h1>
<div class="paragraph">
2011-05-10 08:59:28 +00:00
<table class="identite">
2011-05-02 09:07:49 +00:00
<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>
2011-05-02 09:07:49 +00:00
</tr>
<?php if ($this->surveillance) {?>
2012-06-08 13:54:19 +00:00
<tr>
2011-05-10 08:59:28 +00:00
<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 }?>
2011-05-02 09:07:49 +00:00
</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">
<table style="width=100%;">
2011-05-02 09:07:49 +00:00
<tr>
<td width="30">&nbsp;</td>
<td class="StyleInfoData">
<?=$this->annonce['Desc'].' '.$this->annonce['Entree'].' '.$this->annonce['EntreeSD'];?>
<div>
2011-05-02 09:07:49 +00:00
<?php
if ($this->hasModeEdition){
$liensEdit = array(
'edit' => array(
2011-07-01 12:44:12 +00:00
'class' => 'annonceSaisie',
'title' => 'Edition annonce',
'img' => '<img src="/themes/default/images/interfaces/editer.png"/>',
),
'delete' => array(
2011-07-01 12:44:12 +00:00
'class' => 'annonceSaisie',
'title' => 'Suppression annonce',
'img' => '<img src="/themes/default/images/interfaces/supprimer.png"/>',
),
'copy' => array(
2011-07-01 12:44:12 +00:00
'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"/>',
),
2012-06-08 13:54:19 +00:00
);
2012-06-08 13:54:19 +00:00
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
}
}
2011-05-02 09:07:49 +00:00
?>
</div>
2011-05-02 09:07:49 +00:00
</td>
</tr>
<tr>
<td width="30">&nbsp;</td>
<td class="StyleInfoLib">
2011-05-02 09:07:49 +00:00
<b>
<?=$this->annonce['Even']?>
</b>
</td>
</tr>
<tr>
<td colspan="2">&nbsp;</td>
2011-05-02 09:07:49 +00:00
</tr>
<tr>
<td width="30">&nbsp;</td>
<td>
2012-06-08 13:54:19 +00:00
<code><?=$this->RemplaceSiren($this->annonce['Texte'])?></code>
2011-05-02 09:07:49 +00:00
</td>
</tr>
<tr>
<td colspan="2">&nbsp;</td>
2011-05-02 09:07:49 +00:00
</tr>
</table>
<div style="width:100%;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">
2012-03-05 17:01:07 +00:00
Télécharger le bulletin officiel</a>
</span>
<?php } ?>
</div>
2011-05-02 09:07:49 +00:00
</div>
2012-06-08 13:54:19 +00:00
<?=$this->render('cgu.phtml', $this->cgu)?>
2011-05-02 09:07:49 +00:00
</div>