Ajout fonctionnalités
This commit is contained in:
parent
3a78d2bb5c
commit
619da73aae
@ -2,6 +2,9 @@
|
||||
|
||||
</div> -->
|
||||
<div id="entreprise">
|
||||
<a href="" style="background-color: silver;padding:5px;border-left:1px solid black">Mode Simplifié</a><a href="" style="border-left:1px solid black;padding:5px;background-color: silver;">Mode Avancé</a>
|
||||
<span style="padding:5px;float:right;margin-top:-5px;"><?php echo date('d M Y h:i');?></span>
|
||||
<hr style="margin-top:5px;" />
|
||||
<ul id="fieldsblock">
|
||||
<li id="siege"><?php echo $this->Field('siege', $this->fields->get('siege'));?></li>
|
||||
<li id="sirenGrp" ><?php echo $this->Field('sirenGrp', $this->fields->get('sirenGrp'));?></li>
|
||||
|
@ -28,38 +28,39 @@ a
|
||||
<?php $label = $this->field->get($critere); ?>
|
||||
<?php if($valeur != 'tous' and $valeur != null and $valeur != 'null' and $valeur != ',' and !empty($valeur)):?>
|
||||
<?php if(!is_array($valeur)) {$valeur = explode(',', $valeur);} ?>
|
||||
<tr <?php echo ((($color%2) == 0)?'class="color"':''); $color++;?>>
|
||||
<td valign="top" style="padding:5px;width:150px">
|
||||
<?php echo $label['label'];?>
|
||||
</td>
|
||||
<td>
|
||||
<?php if(is_array($valeur)):?>
|
||||
<?php $i=0; foreach ($valeur as $val):?>
|
||||
<?php if($label['type'] != 'textarea' and $label['type'] != 'interval' and $label['type'] != 'intervalSelect') :?>
|
||||
<?php echo $label['fields'][$label['type']]['value'][$val];?> <?php (($i%3 == 0)?'<br />':''); $i++;?>
|
||||
<?php else :?>
|
||||
<?php
|
||||
if($label['type'] == 'interval') {
|
||||
if(empty($val)) {
|
||||
echo '-';
|
||||
} else
|
||||
echo $val;
|
||||
} else
|
||||
echo $val.', ';
|
||||
?>
|
||||
<?php endif;?>
|
||||
<?php endforeach;?>
|
||||
<?php else: ?>
|
||||
<?php echo $val;?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td style="text-align: center">
|
||||
<a class="remove" href="index/remove/critere/<?php echo $critere;?>">
|
||||
<img width="14px;" src="/themes/default/images/cross.png" />
|
||||
</a>
|
||||
<img src="/themes/default/images/help.png" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr <?php echo ((($color%2) == 0)?'class="color"':''); $color++;?>>
|
||||
<td valign="top" style="padding:5px;width:150px">
|
||||
<?php echo $label['label'];?>
|
||||
</td>
|
||||
<td>
|
||||
<?php if(is_array($valeur)):?>
|
||||
<?php $i=0; foreach ($valeur as $val):?>
|
||||
<?php if($i>5)break; ?>
|
||||
<?php if($label['type'] != 'textarea' and $label['type'] != 'interval' and $label['type'] != 'intervalSelect') :?>
|
||||
<?php echo $label['fields'][$label['type']]['value'][$val];?> <?php (($i%3 == 0)?'<br />':''); $i++;?>
|
||||
<?php else :?>
|
||||
<?php
|
||||
if($label['type'] == 'interval') {
|
||||
if(empty($val)) {
|
||||
echo '-';
|
||||
} else
|
||||
echo $val;
|
||||
} else
|
||||
echo $val.', ';
|
||||
?>
|
||||
<?php $i++; endif;?>
|
||||
<?php endforeach;?>
|
||||
<?php else: ?>
|
||||
<?php echo $val;?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td style="text-align: center">
|
||||
<a class="remove" href="index/remove/critere/<?php echo $critere;?>">
|
||||
<img width="14px;" src="/themes/default/images/cross.png" />
|
||||
</a>
|
||||
<img src="/themes/default/images/help.png" />
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif;?>
|
||||
<?php endforeach;?>
|
||||
<tr>
|
||||
|
@ -1,13 +1,14 @@
|
||||
<div id="panel">
|
||||
<?php echo $this->action('criteres', 'index');?>
|
||||
<div id="helper"></div>
|
||||
</div>
|
||||
<div id="tabs">
|
||||
<ul>
|
||||
<li><a href="#tabs-1">Critères Entreprise</a></li>
|
||||
<li><a href="#tabs-2">Situation économique</a></li>
|
||||
<li><a href="#tabs-3">Secteur géographique</a></li>
|
||||
<li><a href="#tabs-4">Situation juridique</a></li>
|
||||
<li><a href="#tabs-5">Situation financière</a></li>
|
||||
<li class="overHelp" div="_entreprise"><a href="#tabs-1">Critères Entreprise</a></li>
|
||||
<li class="overHelp" div="_economique"><a href="#tabs-2">Situation économique</a></li>
|
||||
<li class="overHelp" div="_geographique"><a href="#tabs-3">Secteur géographique</a></li>
|
||||
<li class="overHelp" div="_juridique"><a href="#tabs-4">Situation juridique</a></li>
|
||||
<li class="overHelp" div="_financiere"><a href="#tabs-5">Situation financière</a></li>
|
||||
</ul>
|
||||
<div id="tabs-1">
|
||||
<?php echo $this->action('index', 'entreprise')?>
|
||||
|
Loading…
Reference in New Issue
Block a user