$user_agent = $_SERVER['HTTP_USER_AGENT']; if (preg_match('/Firefox/i', $user_agent)) { $br = 'Firefox'; } elseif (preg_match('/Mac/i', $user_agent)) { $br = 'Mac'; } elseif (preg_match('/Edge/i', $user_agent)) { $br = 'Edge'; } elseif (preg_match('/Chrome/i', $user_agent)) { $br = 'Chrome'; } elseif (preg_match('/Opera/i', $user_agent)) { $br = 'Opera'; } elseif (preg_match('/Trident/i', $user_agent)) { $br = 'IE'; } else { $br = 'Unknown'; } $seo = get_field("seo"); // if(is_page('details-location')){ // die(()); if ( 'location' == get_post_type() ){ $seo["titre"] = get_field( "nom_du_bateau",$_GET['id']) . " | Naviloc"; $seo["description"] = get_field( "nom_du_bateau",$_GET['id']) .' '.get_field( "chantier",$_GET['id']) .' de '.get_field( "annee",$_GET['id']).' - Longueur : '.get_field( "longueur",$_GET['id']) . "m | Naviloc"; }elseif ( 'liste-locations.php' == get_page_template_slug() ){ $seo["titre"] = "Nos locations louez, naviguez | Naviloc"; // $seo["description"] = get_field( "nom_du_bateau",$_GET['id']) .' '.get_field( "chantier",$_GET['id']) .' de '.get_field( "annee",$_GET['id']).' - Longueur : '.get_field( "longueur",$_GET['id']) . "m | Naviloc"; } session_start(); ?>
Rouxel Marine
Le Houet-Route de St Cast
22550 Matignon
02 96 41 08 79
rouxelmarine@wanadoo.fr
Dinard Saint-Malo Nautisme
Rue de la ville de biais
35780 La Richardais
02 99 16 47 92
nautisme.dsm@libertysurf.fr
Rouxel Nautic
87, rue Pasteur - Le Ponto
22680 Etables sur mer
02 96 70 39 84
rouxelnautic@wanadoo.fr
Rouxel Mer Diffusion
Port de St Cast
22380 Saint-Cast
02 96 41 90 47
rouxelmerdiffusion@wanadoo.fr
Naviloc
Port des Bas Sablons
35400 Saint Malo
02 99 81 84 55
naviloc@naviloc.com