Vue pour afficahge annonce légales

This commit is contained in:
Michael RICOIS 2011-05-02 09:07:49 +00:00
parent 29130160c3
commit 971bcff127
2 changed files with 94 additions and 0 deletions

View File

@ -0,0 +1,93 @@
<div id="center">
<h1 class="titre">ANNONCES L&Eacute;GALES</h1>
<div class="paragraph">
<table>
<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?></td>
</tr>
</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>
<tr>
<td width="30">&nbsp;</td>
<td width="550" colspan="3" class="StyleInfoData">
<?php
echo $this->annonce['Desc'].' '.
$this->annonce['Entree'].' '.
$this->annonce['EntreeSD'];
?>
</td>
</tr>
</table>
<table>
<tr>
<td width="30">&nbsp;</td>
<td width="550" colspan="3" class="StyleInfoLib">
<b>
<?=$this->annonce['Even']?>
</b>
</td>
</tr>
<tr>
<td colspan="4">&nbsp;</td>
</tr>
<tr>
<td width="30">&nbsp;</td>
<td width="550" colspan="3">
<code><?=$this->RemplaceSiren($this->annonce['Texte'])?></code>
</td>
</tr>
<tr><td colspan="4">&nbsp;</td></tr>
<tr>
<td colspan="4" align="center" class="StyleInfoData">
<?php
$source = $_SESSION['tabInfo']['entrep']['Source'];
$sourceId = $_SESSION['tabInfo']['entrep']['SourceId'];
?>
<a href="./?page=annonces&siret=<?=$siret?>
&idEntreprise=<?=$idEntreprise?>
&source=<?=$source?>
<?=($siret*1==0) ? '&idan='.$sourceId : '';?>
">
Revenir à la liste des annonces
</a>
</td>
</tr>
</table>
</div>
</div>

View File

@ -14,6 +14,7 @@
'siret' => $this->partialLoop()->view->siret,
'id' => $this->partialLoop()->view->id,
'idAnn' => $this->idAnn,
'vue' => $this->type,
))?>">
<?=$this->lib?>
</a>