2011-09-01 18:43:19 +00:00
<?php if ( empty ( $this -> AutrePage )) : ?>
2011-04-18 15:25:26 +00:00
< div id = "center" >
2011-09-01 18:43:19 +00:00
<?php endif ; ?>
2011-06-07 15:01:03 +00:00
<?php if ( empty ( $this -> AutrePage )) : ?>
2011-09-05 15:21:59 +00:00
< h1 > LIENS FINANCIERS< / h1 >
2011-04-22 14:29:58 +00:00
< div class = "paragraph" >
2011-05-04 14:18:22 +00:00
< table class = "identite" >
2012-09-26 20:00:57 +00:00
< tr >
2011-04-22 14:29:58 +00:00
< td width = "30" > < / td >
2012-09-26 20:00:57 +00:00
< td width = "200" class = "StyleInfoLib" > Numé ro identifiant Siren< / td >
< td width = "350" class = "StyleInfoData" > <? = $this -> SirenTexte ( $this -> siren ) ?> </ td >
< / tr >
< tr >
2011-04-22 14:29:58 +00:00
< td width = "30" > < / td >
< td width = "200" class = "StyleInfoLib" > Raison Sociale< / td >
< td width = "350" class = "StyleInfoData" > <? = $this -> raisonSociale ?> </ td >
2012-09-26 20:00:57 +00:00
< / tr >
<?php if ( $this -> liengroupe ) { ?>
< tr >
2012-03-29 13:29:45 +00:00
< td width = "30" > < / td >
< td width = "550" colspan = "2" class = "StyleInfoLib" >
2012-09-26 20:00:57 +00:00
< a id = "groupesarbo" title = "Arborescence du groupe" href = " <? = $this -> liengroupe ?> " > Organigramme du groupe</ a >
< / td >
< / tr >
<?php } ?>
2011-04-22 14:29:58 +00:00
< / table >
< / div >
2011-06-07 15:01:03 +00:00
<?php endif ; ?>
2011-04-22 14:29:58 +00:00
2012-03-26 09:21:56 +00:00
< h2 > Actionnariat< / h2 >
2011-04-22 14:29:58 +00:00
< div class = "paragraph" >
< table >
2011-04-18 15:25:26 +00:00
<?php
2011-04-22 14:29:58 +00:00
if ( count($this->actionnaires)>0 ){
foreach ($this->actionnaires as $lien){
if ($lien->Actif==0){
$font1 = '< font color = "gray" > < i > ';
$font2 = '< / i > < / font > ';
} else {
$font1 = $font2 = '';
}
?>
< tr >
< td class = "StyleInfoData" width = "100" >
<?php
echo $font1;
if (intval($lien->Pmin)>0) echo $lien->Pmin.' %';
elseif ($lien->MajMin=='+') echo 'major.';
elseif ($lien->MajMin=='-') echo 'minor.';
elseif ($lien->MajMin=='C') echo 'major.';
elseif ($lien->MajMin=='S') echo 'minor.';
elseif ($lien->MajMin=='F') echo 'absorption';
elseif ($lien->MajMin=='A') echo 'absorbant';
else echo ' ';
echo $font2;
?>
< / td >
< td class = "StyleInfoLib" width = "300" >
<?php
echo $font1;
echo $lien->RaisonSociale;
echo $font2;
?>
< / td >
< td class = "StyleInfoData" width = "150" >
<?php
echo $font1;
2011-08-31 15:58:49 +00:00
if ( !empty($lien->Siren) & & intval($lien->Siren)!=0 ) {
2011-04-22 14:29:58 +00:00
$href = $this->url(array(
'controller' => 'identite',
'action' => 'fiche',
'siret' => $lien->Siren
2011-12-16 12:56:45 +00:00
), null, true);
2011-04-22 14:29:58 +00:00
echo 'Siren < a href = "'.$href.'" > '.$lien->Siren.'< / a > ';
}
else ' ';
if ($lien->Pays< >'France') echo '< b > '.$lien->Pays.'< / b > ';
echo $font2;
?>
< / td >
2012-09-26 20:00:57 +00:00
<?php if ( $this -> edition ) { ?>
< td >
< a class = "dialog" title = "Modifier actionnaire" href = " <? = $this -> url ( array ( 'controller' => 'saisie' , 'action' => 'lien' , 'type' => 'actionnaire' , 'mode' => 'edit' )) ?> " >< img src = "/themes/default/images/interfaces/editer.png" /></ a >
< a class = "dialog" title = "Supprimer actionnaire" href = " <? = $this -> url ( array ( 'controller' => 'saisie' , 'action' => 'lien' , 'type' => 'actionnaire' , 'mode' => 'delete' )) ?> " >< img src = "/themes/default/images/interfaces/supprimer.png" /></ a >
< / td >
<?php } ?>
2011-04-22 14:29:58 +00:00
< / tr >
<?php
} //Fin pour chaque actionnaire
//Aucun actionnaire
} else {
2011-04-18 15:25:26 +00:00
?>
2011-04-22 14:29:58 +00:00
< tr >
< td width = "30" > < / td >
< td width = "550" colspan = "2" class = "StyleInfoData" > Aucun actionnaire ré fé rencé par nos services< / td >
< / tr >
<?php } ?>
< / table >
2012-09-26 20:00:57 +00:00
<?php if ( $this -> edition ) { ?>
< div style = "line-height:16px;" >
< a class = "dialog" title = "Ajouter un actionnaire" href = " <? = $this -> url ( array ( 'controller' => 'saisie' , 'action' => 'lien' , 'type' => 'actionnaire' , 'mode' => 'add' )) ?> " >
< img style = "vertical-align:middle;" src = "/themes/default/images/interfaces/ajouter.png" / > Ajouter un actionnaire< / a >
< / div >
<?php } ?>
2011-04-22 14:29:58 +00:00
< / div >
< h2 > Participations< / h2 >
< div class = "paragraph" >
< table >
<?php
if (count($this->participations)>0)
{
foreach ($this->participations as $lien){
if ($lien->Actif==0) {
$font1='< font color = "gray" > < i > ';
$font2='< / i > < / font > ';
} else
$font1=$font2='';
?>
< tr >
< td class = "StyleInfoData" width = "100" >
<?php
echo $font1;
if (intval($lien->Pmin)>0) echo $lien->Pmin.' %';
elseif ($lien->MajMin=='+') echo 'major.';
elseif ($lien->MajMin=='-') echo 'minor.';
elseif ($lien->MajMin=='C') echo 'major.';
elseif ($lien->MajMin=='S') echo 'minor.';
else echo ' ';
echo $font2;
?>
< / td >
< td class = "StyleInfoLib" width = "300" > <?
echo $font1;
echo $lien->RaisonSociale;
echo $font2;
?>
< / td >
< td class = "StyleInfoData" width = "150" > <?
echo $font1;
2011-08-31 14:08:06 +00:00
if ( !empty($lien->Siren) & & intval($lien->Siren)!=0 ) {
2011-04-22 14:29:58 +00:00
$href = $this->url(array(
'controller' => 'identite',
'action' => 'fiche',
'siret' => $lien->Siren
2011-12-16 12:56:45 +00:00
), null, true);
2011-04-22 14:29:58 +00:00
echo 'Siren < a href = "'.$href.'" > '.$lien->Siren.'< / a > ';
}
else ' ';
if ($lien->Pays< >'France') echo '< b > '.$lien->Pays.'< / b > ';
echo $font2;?>< / b >
< / td >
2012-09-26 20:00:57 +00:00
<?php if ( $this -> edition ) { ?>
< td >
< a class = "dialog" title = "Modifier participation" href = " <? = $this -> url ( array ( 'controller' => 'saisie' , 'action' => 'lien' , 'type' => 'participation' , 'mode' => 'edit' )) ?> " >< img src = "/themes/default/images/interfaces/editer.png" /></ a >
< a class = "dialog" title = "Supprimer participation" href = " <? = $this -> url ( array ( 'controller' => 'saisie' , 'action' => 'lien' , 'type' => 'participation' , 'mode' => 'delete' )) ?> " >< img src = "/themes/default/images/interfaces/supprimer.png" /></ a >
< / td >
<?php } ?>
2011-04-22 14:29:58 +00:00
< / tr >
<?
} // Fin pour chaque participations
} else {
?>
< tr >
< td width = "30" > < / td >
< td width = "550" colspan = "2" class = "StyleInfoData" > Aucune participation ré fé rencé e par nos services< / td >
< / tr >
2012-09-26 20:00:57 +00:00
<?php } ?>
2011-04-22 14:29:58 +00:00
< / table >
2012-09-26 20:00:57 +00:00
<?php if ( $this -> edition ) { ?>
< div style = "line-height:16px;" >
< a class = "dialog" title = "Ajouter une participation" href = " <? = $this -> url ( array ( 'controller' => 'saisie' , 'action' => 'lien' , 'type' => 'participation' , 'mode' => 'add' )) ?> " >
< img style = "vertical-align:middle;" src = "/themes/default/images/interfaces/ajouter.png" / > Ajouter une participation< / a >
< / div >
<?php } ?>
2011-04-22 14:29:58 +00:00
< / div >
< div class = "paragraph" >
< table >
< tr >
< td width = "30" > < / td >
< td width = "550" colspan = "2" class = "StyleInfoData" >
<?php if ( ! empty ( $this -> source ) || ! empty ( $this -> dateMaj ) ){ ?>
<?php if ( ! empty ( $this -> source )){ ?>
Source <? = $this -> source ?> ,
2011-04-22 15:10:03 +00:00
<?php
switch(strtolower($this->source)) {
case 'presse':
2011-10-28 15:37:25 +00:00
echo '< img src = "/themes/default/images/annonces/logo_jal.png" / > ';
2011-04-22 15:10:03 +00:00
break;
case 'collecte':
break;
case 'sed':
break;
case 'actes':
2011-10-28 15:37:25 +00:00
echo '< img src = "/themes/default/images/annonces/logo_jo.png" / > ';
2011-04-22 15:10:03 +00:00
break;
2011-04-22 14:29:58 +00:00
}
2011-04-22 15:10:03 +00:00
}
2011-04-22 14:29:58 +00:00
?>
<?php if ( ! empty ( $this -> dateMaj )){ ?>
Mise à jour le <? = WDate :: dateT ( 'Y-m-d' , 'd/m/Y' , $this -> dateMaj ) ?>
<?php }
} ?>
< / td >
< / tr >
< / table >
< / div >
2012-06-25 08:32:16 +00:00
<?php if ( empty ( $this -> AutrePage )) : ?>
<? = $this -> render ( 'cgu.phtml' , $this -> cgu ) ?>
<?php endif ; ?>
2011-09-01 18:43:19 +00:00
<?php if ( empty ( $this -> AutrePage )) : ?>
< / div >
2012-09-26 20:00:57 +00:00
<?php endif ; ?>
<?php if ( $this -> edition ) { ?>
< script >
$('a.dialog').on('click', function(){
var href = $(this).attr('href');
if (href!='#') {
var title = $(this).attr('title');
var dialogOpts = {
bgiframe: true,
title: title,
width: 650,
height: 600,
modal: true,
open: function(event, ui) {
$(this).html('Chargement...');
$(this).load(href);
},
buttons: {
Valider: function() {},
Annuler: function() { $(this).dialog('close'); }
},
close: function() { $('#dialogcmd').remove(); }
};
$('< div id = "dialogcmd" > < / div > ').dialog(dialogOpts);
return false;
}
});
< / script >
<?php } ?>