224 lines
5.8 KiB
PHTML
Raw Normal View History

2011-09-02 09:43:09 +00:00
<?php if (empty($this->AutrePage)):?>
<div id="center">
2011-09-02 09:43:09 +00:00
<?php endif;?>
<?php if (empty($this->AutrePage)):?>
<h1 class="titre">ANNONCES L&Eacute;GALES</h1>
<div class="paragraph">
2011-05-10 08:59:28 +00:00
<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) {?>
2011-05-10 08:59:28 +00:00
<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 endif;?>
<?php if (empty($this->AutrePage)) {?>
2012-04-19 12:37:08 +00:00
<style>
div.blockType {
width:140px;
2012-06-26 12:10:22 +00:00
height:25px;
line-height:20px;
padding:2px;
margin:5px;
2012-06-21 09:44:18 +00:00
text-align:center;
float:left;
display:block;
border-radius: 10px;
background-color: #606060;
2012-06-21 09:44:18 +00:00
}
div.blockTypeActive {
width:140px;
2012-06-26 12:10:22 +00:00
height:25px;
line-height:20px;
2012-06-21 09:44:18 +00:00
padding:2px;
margin:5px;
text-align:center;
float:left;
display:block;
2012-06-21 09:44:18 +00:00
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 {
2012-06-21 09:44:18 +00:00
width:140px;
vertical-align:middle;
display:inline-block;
line-height:1.2;
color: #FFFFFF;
2012-06-21 09:44:18 +00:00
font-weight:bold;
}
2012-04-19 12:37:08 +00:00
</style>
2012-09-18 09:07:10 +00:00
<div class="paragraph">
<div class="clearfix" style="margin:0 auto 5px auto;">
<div id="TypeBodacc" class="blockType<?php if ($this->vue=='bodacc') echo 'Active';?>">
2012-06-26 12:10:22 +00:00
<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';?>">
2012-06-26 12:10:22 +00:00
<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';?>">
2012-06-26 12:10:22 +00:00
<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';?>">
2012-06-26 12:10:22 +00:00
<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>
2012-04-19 12:37:08 +00:00
</div>
</div>
</div>
<?php }?>
<?php if ($this->vue=='bodacc'){ ?>
<h2>EV&Eacute;NEMENTS L&Eacute;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'){ ?>
2012-04-19 12:37:08 +00:00
<div class="paragraph" style="margin:0 0 0 40px;">
<form name="filtreBoamp" method="post" action="<?=$this->url(array('controller'=>'juridique',
2012-06-26 12:10:22 +00:00
'action'=>'annonces','vue'=>'bomp','siret'=>$this->siret,'id'=>$this->id),null,true)?>">
2012-04-19 12:37:08 +00:00
<label>Type d'annonce</label>
<select name="filtre">
2012-06-26 12:10:22 +00:00
<option value="">-</option>
2012-04-19 12:37:08 +00:00
<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&eacute;s publics</h2>
<div class="paragraph">
<?php if (count($this->annoncesBomp)==0) { ?>
2012-04-19 12:37:08 +00:00
Néant
<?php } else {?>
<table>
<?=$this->partialLoop('juridique/annonces-resume.phtml', $this->annoncesBomp)?>
</table>
2012-04-19 12:37:08 +00:00
<?php }?>
</div>
<?php }?>
<?php if ($this->vue=='asso') { ?>
<h2>Associations</h2>
<div class="paragraph">
<?php if (count($this->annoncesAsso)==0){ ?>
2012-04-19 12:37:08 +00:00
Néant
<?php } else {?>
<table>
<?=$this->partialLoop('juridique/annonces-resume.phtml', $this->annoncesAsso)?>
</table>
2012-04-19 12:37:08 +00:00
<?php }?>
</div>
<?php }?>
<div style="text-align:center;">
2012-04-19 12:37:08 +00:00
<?php if ($this->lienPagePrecedente) { ?>
<a href="<?=$this->lienPagePrecedente?>" title="Page précédente...">&lt;&lt;</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...">&gt;&gt;</a>
<?php }?>
</div>
2012-04-19 12:37:08 +00:00
<?php if (empty($this->AutrePage)) {?>
2012-06-08 13:54:19 +00:00
<?=$this->render('cgu.phtml', $this->cgu)?>
2011-09-02 09:43:09 +00:00
</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>