<ol> <?php /** * Gestion de l'affichage des données pour le résulat de la recherche. * */ if($pays == 'BE') { $key->CompanyId = '0'.$key->CompanyId; $informations->Results->Company->CompanyId = '0'.$informations->Results->Company->CompanyId; } else if($pays == 'ES') { $key->CompanyId = substr($key->CompanyId, 1); $informations->Results->Company->CompanyId = substr($informations->Results->Company->CompanyId, 1); } if($manyResponses == true) { foreach ($informations->Results->Company as $value => $key) { ?> <li class="StyleInfoData" type="1" value=""> <b><a href="?page=GiantIdentiteSociete&pays=<?php echo $pays.'&company='.$key->CompanyId;?>"> <?php echo $key->RegisteredName; ?> </a></b><br /> <b>Register number : <?php echo $key->CompanyRegisterNumber; ?></b><br/> <b><?php echo InformationChecked('VatNumber', $key->VatNumber);?></b> <?php echo $key->Address->HouseNumber . ' '.$key->Address->AddressType;?> <?php echo InformationChecked('IssetStreet', $key->Address->Street);?><br /> <b><?php echo InformationChecked('PostCode', $key->Address->PostCode);?> <?php echo InformationChecked('City', $key->Address->City);?></b><br /> <i>Forme : <?php echo $key->LegalForm; ?></i> <br /><br /> </li> <?php } } else { ?> <li class="StyleInfoData" type="1" value=""> <b><a href="?page=GiantIdentiteSociete&pays=<?php echo $pays.'&company='.$informations->Results->Company->CompanyId;?>"> <?php echo $informations->Results->Company->RegisteredName; ?> </a></b><br /> <b>Register number : <?php echo $informations->Results->Company->CompanyRegisterNumber; ?></b><br/> <b><?php echo InformationChecked('VatNumber', $informations->Results->Company->VatNumber);?></b> <?php echo $informations->Results->Company->Address->HouseNumber . ' '.$informations->Results->Company->Address->AddressType;?> <?php echo InformationChecked('IssetStreet', $informations->Results->Company->Address->Street);?><br /> <b><?php echo InformationChecked('PostCode', $informations->Results->Company->Address->PostCode);?> <?php echo InformationChecked('City', $informations->Results->Company->Address->City);?></b><br /> <i>Forme : <?php echo $informations->Results->Company->LegalForm; ?></i> <br /><br /> </li> <?php } ?>