//~ print_r($_SERVER); if($_SERVER['SERVER_NAME'] == "sd-3243.dedibox.fr") { //redirect header('Location: http://www.quatuorchevalier.net'); } header('Content-type: text/html; charset=utf-8'); //gestion des titres de page session_start(); //controle des variables if(IsSet($_GET['url'])) $url = $_GET['url']; else $url=0; if($url == 1) { $_SESSION['page'] = "Ecouter des titres du Quatuor"; include("header.php"); $content = 'musique.php'; } elseif($url==2) { $_SESSION['page'] = "Nous voir"; include("header.php"); $content = 'video.php'; } elseif($url==6) { $_SESSION['page'] = "News"; include("header.php"); $content = 'news.php'; } elseif($url==7) { $_SESSION['page'] = "Photos"; include("header.php"); $content = 'photos.php'; } elseif($url==3) { $_SESSION['page'] = "Biographie"; include("header.php"); $content = 'biographie.php'; } elseif($url==8) { $_SESSION['page'] = "Toutes les news"; include("header.php"); $content = 'all_news.php'; } elseif($url==5) { $_SESSION['page'] = "Nous Contatcer"; include("header.php"); $content = 'contact.php'; } elseif($url==9) { $_SESSION['page'] = "A propos du Quatuor"; include("header.php"); $content = 'apropos.php'; } else { $_SESSION['page'] = "Accueil"; include("header.php"); $content = 'lastnews.php'; } ?>