condition pour afficher l'erreur
This commit is contained in:
parent
60657ac327
commit
2ad0a5a5b0
@ -1,9 +1,20 @@
|
||||
<?php if (empty($this->AutrePage)) {?>
|
||||
<div id="center">
|
||||
<?php }?>
|
||||
|
||||
<?php if (empty($this->AutrePage)) {?>
|
||||
<h1>LIENS INTER-ENTREPRISES</h1>
|
||||
<?php echo $this->test;?>
|
||||
<?php if ($this->msg) {?>
|
||||
<div class="paragraph">
|
||||
<div style="padding: 0 .7em;" class="ui-state-error ui-corner-all">
|
||||
<p><span style="float: left; margin-right: .3em;" class="ui-icon ui-icon-alert"></span>
|
||||
<strong>Alert:</strong> <?=$this->msg?></p>
|
||||
</div>
|
||||
</div>
|
||||
<?php } else {?>
|
||||
<?php if (empty($this->AutrePage)) {?>
|
||||
|
||||
|
||||
|
||||
<div class="paragraph">
|
||||
<table class="identite">
|
||||
<?php if ($this->siren) {?>
|
||||
@ -114,13 +125,13 @@
|
||||
<td width="350" class="StyleInfoLib">
|
||||
<?php
|
||||
$date = new Zend_Date($this->naissanceDate, 'YYYY-MM-dd');
|
||||
$param = array(
|
||||
'controller'=>'recherche',
|
||||
'action'=>'dirigeant',
|
||||
'dirNom'=>$this->nom,
|
||||
'dirPrenom'=>$this->prenom,
|
||||
'dirDateNaissJJ' =>$date?$date->get('dd'):'',
|
||||
'dirDateNaissMM' =>$date?$date->get('MM'):'',
|
||||
$param = array(
|
||||
'controller'=>'recherche',
|
||||
'action'=>'dirigeant',
|
||||
'dirNom'=>$this->nom,
|
||||
'dirPrenom'=>$this->prenom,
|
||||
'dirDateNaissJJ' =>$date?$date->get('dd'):'',
|
||||
'dirDateNaissMM' =>$date?$date->get('MM'):'',
|
||||
'dirDateNaissAAAA' =>$date?$date->get('YYYY'):''
|
||||
); ?>
|
||||
<a href="<?=$this->url($param,'default',true);?>">Lancer une recherche dirigeant</a>
|
||||
@ -304,6 +315,7 @@ Cette entreprise est une personne physique exerçant son activité en nom propre
|
||||
</table>
|
||||
</div>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
|
||||
<?php if (empty($this->AutrePage)) {?>
|
||||
<?=$this->render('cgu.phtml', $this->cgu)?>
|
||||
|
Loading…
Reference in New Issue
Block a user