224 lines
5.8 KiB
PHTML
224 lines
5.8 KiB
PHTML
<?php if (empty($this->AutrePage)):?>
|
|
<div id="center">
|
|
<?php endif;?>
|
|
|
|
<?php if (empty($this->AutrePage)):?>
|
|
<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 endif;?>
|
|
|
|
<?php if (empty($this->AutrePage)) {?>
|
|
<style>
|
|
div.blockType {
|
|
width:140px;
|
|
height:25px;
|
|
line-height:20px;
|
|
padding:2px;
|
|
margin:5px;
|
|
text-align:center;
|
|
float:left;
|
|
display:block;
|
|
border-radius: 10px;
|
|
background-color: #606060;
|
|
}
|
|
|
|
div.blockTypeActive {
|
|
width:140px;
|
|
height:25px;
|
|
line-height:20px;
|
|
padding:2px;
|
|
margin:5px;
|
|
text-align:center;
|
|
float:left;
|
|
display:block;
|
|
border-radius: 10px;
|
|
background-color:#2f343a;
|
|
border-color:#2f343a;
|
|
}
|
|
|
|
div.blockType:hover {
|
|
background-color:#2f343a;
|
|
border-color:#2f343a;
|
|
}
|
|
|
|
div.blockTypeActive span.nb {
|
|
background-color: #00008C;
|
|
font-weight: bold;
|
|
padding: 2px 4px;
|
|
font-size: 10px;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
div.blockType span.nb {
|
|
background-color: #A0A0A0;
|
|
font-weight: bold;
|
|
padding: 2px 4px;
|
|
font-size: 10px;
|
|
}
|
|
|
|
a.lienType {
|
|
width:140px;
|
|
vertical-align:middle;
|
|
display:inline-block;
|
|
line-height:1.2;
|
|
color: #FFFFFF;
|
|
font-weight:bold;
|
|
}
|
|
</style>
|
|
|
|
<div class="paragraph">
|
|
<div class="clearfix" style="margin:0 auto 5px auto;">
|
|
|
|
<div id="TypeBodacc" class="blockType<?php if ($this->vue=='bodacc') echo 'Active';?>">
|
|
<a class="lienType" title="Annonces légales" href="<?=$this->url(array('controller'=>'juridique', 'action'=>'annonces', 'vue'=>'bodacc', 'siret'=>$this->siret, 'id'=>$this->id))?>">Annonces Légales</a>
|
|
</div>
|
|
|
|
<div id="TypeBalo" class="blockType<?php if ($this->vue=='balo') echo 'Active';?>">
|
|
<a class="lienType" title="Bulletin des Annonces Légales Obligatoires" href="<?=$this->url(array('controller'=>'juridique', 'action'=>'annonces', 'vue'=>'balo', 'siret'=>$this->siret, 'id'=>$this->id))?>">B.A.L.O.</a>
|
|
</div>
|
|
|
|
<div id="TypeBoamp" class="blockType<?php if ($this->vue=='bomp') echo 'Active';?>">
|
|
<a class="lienType" title="Bulletin officiel des annonces des marchés publics" href="<?=$this->url(array('controller'=>'juridique', 'action'=>'annonces', 'vue'=>'bomp', 'siret'=>$this->siret, 'id'=>$this->id))?>">B.O.A.M.P.</a>
|
|
</div>
|
|
|
|
<div id="TypeAsso" class="blockType<?php if ($this->vue=='asso') echo 'Active';?>">
|
|
<a class="lienType" title="Journal Officiel des Associations" href="<?=$this->url(array('controller'=>'juridique', 'action'=>'annonces', 'vue'=>'asso', 'siret'=>$this->siret, 'id'=>$this->id))?>">J.O Associations</a>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<?php }?>
|
|
|
|
<?php if ($this->vue=='bodacc'){ ?>
|
|
<h2>EVÉNEMENTS LÉGAUX</h2>
|
|
<div class="paragraph">
|
|
<?php if(count($this->annoncesBodacc)==0){ ?>
|
|
Néant
|
|
<?php } else {?>
|
|
<table>
|
|
<?=$this->partialLoop('juridique/annonces-resume.phtml', $this->annoncesBodacc)?>
|
|
</table>
|
|
<?php }?>
|
|
</div>
|
|
<?php }?>
|
|
|
|
<?php if ($this->vue=='balo'){ ?>
|
|
<h2>BALO</h2>
|
|
<div class="paragraph">
|
|
<?php if(count($this->annoncesBalo)==0){ ?>
|
|
Néant
|
|
<?php } else {?>
|
|
<table>
|
|
<?=$this->partialLoop('juridique/annonces-resume.phtml', $this->annoncesBalo)?>
|
|
</table>
|
|
<?php }?>
|
|
</div>
|
|
<?php }?>
|
|
|
|
<?php if ($this->vue=='bomp'){ ?>
|
|
<div class="paragraph" style="margin:0 0 0 40px;">
|
|
<form name="filtreBoamp" method="post" action="<?=$this->url(array('controller'=>'juridique',
|
|
'action'=>'annonces','vue'=>'bomp','siret'=>$this->siret,'id'=>$this->id),null,true)?>">
|
|
<label>Type d'annonce</label>
|
|
<select name="filtre">
|
|
<option value="">-</option>
|
|
<option value="A"<?=($this->filtre=='A')?' selected':'';?>>Avis d'attribution</option>
|
|
<option value="M"<?=($this->filtre=='M')?' selected':'';?>>Avis de marchés</option>
|
|
</select>
|
|
</form>
|
|
<script>
|
|
$('select[name=filtre]').on('change',function(){
|
|
$(this).parent('form').submit();
|
|
});
|
|
</script>
|
|
</div>
|
|
|
|
<h2>Marchés publics</h2>
|
|
<div class="paragraph">
|
|
<?php if (count($this->annoncesBomp)==0) { ?>
|
|
Néant
|
|
<?php } else {?>
|
|
<table>
|
|
<?=$this->partialLoop('juridique/annonces-resume.phtml', $this->annoncesBomp)?>
|
|
</table>
|
|
<?php }?>
|
|
</div>
|
|
<?php }?>
|
|
|
|
<?php if ($this->vue=='asso') { ?>
|
|
<h2>Associations</h2>
|
|
<div class="paragraph">
|
|
<?php if (count($this->annoncesAsso)==0){ ?>
|
|
Néant
|
|
<?php } else {?>
|
|
<table>
|
|
<?=$this->partialLoop('juridique/annonces-resume.phtml', $this->annoncesAsso)?>
|
|
</table>
|
|
<?php }?>
|
|
</div>
|
|
<?php }?>
|
|
|
|
<div style="text-align:center;">
|
|
<?php if ($this->lienPagePrecedente) { ?>
|
|
<a href="<?=$this->lienPagePrecedente?>" title="Page précédente..."><<</a>
|
|
<?php }?>
|
|
<?php if ($this->nbPages>1) { ?>
|
|
<span>Page <?=$this->p?>/<?=$this->nbPages?></span>
|
|
<?php } ?>
|
|
<?php if ($this->lienPageSuivante) {?>
|
|
<a href="<?=$this->lienPageSuivante?>" title="Page suivante...">>></a>
|
|
<?php }?>
|
|
</div>
|
|
|
|
<?php if (empty($this->AutrePage)) {?>
|
|
<?=$this->render('cgu.phtml', $this->cgu)?>
|
|
</div>
|
|
<?php }?>
|
|
|
|
<script>
|
|
$.get('/juridique/annoncenum/siren/<?=$this->siren?>', function(data){
|
|
for (var type in data) {
|
|
$('div#'+type).append('<span class="nb">'+data[type]+'</span>');
|
|
}
|
|
}, 'json');
|
|
</script>
|
|
|