h2 class="pane-title"> Agenda /h2>

Consulter nos petites annonces

'LC'); $temp = $client->PA_CoupsDeCoeur($param); $resultat = $temp->PA_CoupsDeCoeurResult; //$resultat = preg_replace('/&/','&',$resultat); libxml_use_internal_errors(true); if($xml = simplexml_load_string($resultat)) { $result = $xml->xpath('//CoupDeCoeur/annonce'); } else { $result = ''; } ?>

Les coups de cœur de Lausanne Cités

    xpath('@id'); $url = current($node->xpath('url')); $img_urlHD = current($node->xpath('img_urlHD')); $categorie = current($node->xpath('categorie')); $titre = current($node->xpath('titre')); $contenu = $contenu = current($node->xpath('contenu')); $attr1 = current($node->xpath('attribut1')); $attr2 = current($node->xpath('attribut2')); $attr3 = current($node->xpath('attribut3')); $attr4 = current($node->xpath('attribut4')); $attr5 = (int) current($node->xpath('attribut5')); if($categorie == 'AUTO') { $attr6 = (string) current($node->xpath('attribut6')); $full_text = utf8_decode($titre).' - '.number_format($attr6,2,'.',"'").' Frs - '.number_format($attr5,0,'.',"'").' KM'; } if($categorie == 'IMMO') { $attr6 = (string) current($node->xpath('attribut6')); $full_text = utf8_decode($titre).' - '.number_format($attr5,2,'.',"'").' '.utf8_decode($attr6); } if(!empty($attr5)) $attr5 = ' - '.number_format($attr5,2,'.',"'").' Frs'; else $attr5 = ''; if(empty($full_text)) $full_text = utf8_decode($titre).$attr5; $img = $img_urlHD; echo '
  • '; echo '
    '; echo '
    '; echo ''; echo '

    '.$full_text.'

    '; echo ''; echo '
    '; echo '
  • '; } ?>
h2 class="pane-title"> Offres Loisirs /h2>

Publicité