2011-04-19 15:59:50 +00:00
|
|
|
<?php $_SESSION['recherche']['giant']['nbResults'] = $this->resultats->NumberOfHits; ?>
|
|
|
|
<div id="center">
|
|
|
|
<?php if ($this->resultats->NumberOfHits == 0): ?>
|
|
|
|
<p>Aucun résultats</p>
|
|
|
|
<?php else: ?>
|
|
|
|
<div class="giant-search">
|
|
|
|
<p align="center"><b>
|
|
|
|
<?php echo number_format($this->resultats->NumberOfHits, 0, ',', ' ')?>
|
|
|
|
réponses avec les critères <a href="">"<?php echo $this->referer; ?>"</a>.
|
|
|
|
<?php echo $this->userMaxResult;?> résultats affichés.
|
|
|
|
Page <?php echo $_SESSION['recherche']['giant']['page']+1 .'/'. $this->resultats->NumberOfHits?>.</b>
|
|
|
|
</p>
|
|
|
|
<ol start="<?php echo ($this->userMaxResult * $this->currentPage)+1; ?>">
|
|
|
|
<?php foreach ($this->resultats->Results->Company as $resultat) :?>
|
|
|
|
<li>
|
|
|
|
<b>
|
|
|
|
<a href="<?php echo $this->url(
|
|
|
|
array('controller' => 'search', 'action' => 'companyIdentitie',
|
|
|
|
'pays' => $this->pays, 'companyId' => $resultat->CompanyId));?>">
|
|
|
|
<?php echo $resultat->RegisteredName; ?>
|
|
|
|
</a>
|
|
|
|
</b><br />
|
|
|
|
<b>
|
|
|
|
<?php echo $this->TrueLabel($this->label, 'CompanyRegisterNumber') ?> :
|
|
|
|
<?php echo $this->TrueLabel($this->labelResults, $resultat->CompanyRegisterNumber); ?>
|
|
|
|
</b><br/>
|
|
|
|
<b>
|
|
|
|
<?php echo $resultat->VatNumber;?></b>
|
|
|
|
<?php echo $resultat->Address->HouseNumber . ' '.$this->TrueLabel($this->labelResults, $resultat->Address->AddressType);?>
|
|
|
|
<?php echo $resultat->Address->Street;?><br />
|
|
|
|
<b><?php echo $resultat->Address->PostCode;?>
|
|
|
|
<?php echo $resultat->Address->City;?></b><br />
|
|
|
|
<i>Forme : <?php echo $resultat->LegalForm; ?></i>
|
|
|
|
<br /><br />
|
|
|
|
</li>
|
|
|
|
<?php endforeach;?>
|
|
|
|
</ol>
|
|
|
|
<div id="Paginator">
|
|
|
|
<center>
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<?php if ($this->currentPage > 0):?>
|
|
|
|
<td>
|
|
|
|
<a href="<?php echo $this->url(array('controller' => 'giant', 'action' => 'search', 'page' => 'down')) ?>">
|
|
|
|
<img src="/themes/default/images/boutton_precedent_off.gif" />
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
<?php endif;?>
|
|
|
|
<td valign="center"> Page <?php echo $_SESSION['recherche']['giant']['page']+1 .'/'. $this->resultats->NumberOfHits?> </td>
|
|
|
|
<?php if ($this->userMaxResult < $this->resultats->NumberOfHits):?>
|
|
|
|
<td>
|
|
|
|
<a href="<?php echo $this->url(array('controller' => 'giant', 'action' => 'search', 'page' => 'up')) ?>">
|
|
|
|
<img src="/themes/default/images/boutton_suivant_off.gif" />
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
<?php endif;?>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</center>
|
|
|
|
</div>
|
|
|
|
<br />
|
|
|
|
<p id="contact">
|
|
|
|
<b>Si aucun résultat ne correspond à votre recherche.
|
|
|
|
<a href="<?php echo $this->url(array('controller' => 'giant', 'action' => 'contact'))?>">Cliquez-ici.</a></b>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<?php endif;?>
|
|
|
|
</div>
|