'.$_SERVER['SERVER_ADDR'].''.$_SERVER['SERVER_NAME'].''.get_ip().'assurance-et-mutuelle.com'; $flux_fraude=str_replace(' ', '%20',$flux_fraude); $getfraude = "ssid=fraudevkmoqdfkglmq&flux_xml=".$flux_fraude; $url_fraude="http://www.santemut.com/webserv/sante/fraude/fraude.php?".$getfraude; $retour_fraude=open_external_url($url_fraude); } /* Video */ if($_POST['voir_video']) $voir_video=$_POST['voir_video']; // Recriture table redir301 $rst301 = mysql_query("SELECT * FROM redir301;"); $tab301=array(); if($rst301) while($row = mysql_fetch_array($rst301)) $tab301[$row['ancienne']]=$row['nouvelle']; if ($tab301[$page]) { header('Status: 301 Moved Permanently', false, 301); header('Location:'.url_page($tab301[$page])); exit(); } if (is_array($tab_pages)) { if (!in_array ($page, $tab_pages)) { //Erreur 404 header("HTTP/1.0 404 Not Found"); include_once(ADRESSE_ABSOLUE.'404.php'); exit(); } } //PROVENANCE BLOGS $TBLOGS=array( 180=>'nouvelle-des-assurances.asonblog.com', 181=>'mutuellesante.blog.capital.fr', 182=>'blog.france2.fr/assurance-et-mutuelle', 183=>'actualite-mutuelle.blog.mongenie.com', 184=>'comparatifmutuellenews.blogvie.com', 185=>'mutuellepourtous.wordpress.com', 186=>'lewebpedagogique.com/lesmutuellesetassurances', 187=>'news-mutuelle.20minutes-blogs.fr', 188=>'sante-mutuelle-assurance.6mablog.com', 189=>'choisir-mutuelle.allmyblog.com', 190=>'blog.apce.com/assurancecomplementaire/index.html', 191=>'mutuellesante.bling.fr', 192=>'www.blog1max.com/mutuellesante', 193=>'news-mutuelle.blog4ever.com', 194=>'complmentaire-sante-et-mutuelle.blogspot.com', 195=>'www.blogouf.com/mutuellesante', 196=>'www.cosmovisions.fr/assurance-complementaire', 197=>'nouvelle-des-assurances.cowblog.fr', 198=>'assurancemutuelle.kazeo.com', 199=>'sante-mutuelle-assurance.m6blog.fr', 200=>'assurancesante.madblog.fr', 201=>'assurancemutuellesante.nipox.com', 202=>'mutuelle-pas-chere.novoblog.com', 203=>'les-mutuelles-et-assurances.over-blog.com', 204=>'assurance-complementaire.space-blogs.com', 205=>'mamutuellesante.stylblog.net', 206=>'actualite-mutuelle-sante.typepad.com', 207=>'assurancemutuelle64.unblog.fr', 208=>'les-mutuelles-de-france.eklablog.com', 209=>'mutuelle-news.sosblog.fr' ); foreach ($TBLOGS as $k=>$v) { if (isset($_SERVER['HTTP_REFERER']) && substr_count($_SERVER['HTTP_REFERER'], $v)>0) { $_SESSION['site_provenance']=$k; break; } } $ip=get_ip(); if ($ip=='88.168.128.47') exit(); if (substr($_SERVER['REQUEST_URI'],0,10)=='/index.php') { $_SESSION['GET']=$_GET; if (!$_SESSION['src']) $_SESSION['src']=$_SESSION['GET']['src']; $_SESSION['site_provenance']=147; if ($_SESSION['GET']['idp']>0) $_SESSION['site_provenance']=$_SESSION['GET']['idp']; if ($_SESSION['GET']['kw']) $_SESSION['req_google']=strip_tags(utf8_decode(urldecode($_SESSION['GET']['kw']))); if($_GET['typ']=='hab' && $_GET['sskey']==MD5(CLE1.$_GET['id'].CLE2)){ $url="http://www.santemut.com/webserv/sante/assurance-et-mutuelle.com/hab.php?ssid=A454dfiKlze-mutuelle.com-564w54gb;sr&id=".intval($_GET['id'])."&ip=".$ip; $hab=open_external_url($url); if($hab==1){ header('Location:http://www.assurance-et-mutuelle.com/assurances-habitation.html'); exit(); } } if($_SESSION['site_provenance']==275){ $_SESSION['adwords_gav']=' '; header('Status: 301 Moved Permanently', false, 301); header('Location:http://www.assurance-et-mutuelle.com/assurance-garantie-des-accidents-de-la-vie-gav.html'.($_GET['gclid']?'?gclid='.$_GET['gclid']:'')); }else{ header('Status: 301 Moved Permanently', false, 301); //echo $page.' '.URL_SITE; if ($page=='accueil') header('Location:'.URL_SITE); else header('Location:'.url_page($page)); } exit(); } if ($_SERVER['PHP_SELF']=='/accueil.html' or $_SERVER['PHP_SELF']=='/.html' or $_SERVER['SCRIPT_URL']=='/index.html') { header('Status: 301 Moved Permanently', false, 301); header('Location:'.URL_SITE); exit(); } // on determine le referer // si domaine, on recupere juste la page, sinon on garde tout. if (isset($_SERVER['HTTP_REFERER'])) { if (substr_count($_SERVER['HTTP_REFERER'],'www.assurance-et-mutuelle.com')==1) { $tab=array('http://www.assurance-et-mutuelle.com/','.html'); $tabR=array('',''); $referer=str_replace($tab,$tabR,$_SERVER['HTTP_REFERER']); // if ($referer!='devis-mutuelle' and $referer!='devis' and substr($referer,0,14)!='devis-mutuelle') $_SESSION['referer']=addslashes(strip_tags($referer)); } else { $referer=$_SERVER['HTTP_REFERER']; //DETECTION DE SITE PROVENANCE // if (substr_count($_SERVER['HTTP_REFERER'],'www.codes-de-reduction.fr')==1) $_SESSION['site_provenance']=137; // if (substr_count($_SERVER['HTTP_REFERER'],'www.blog-mutuelle.com')==1) $_SESSION['site_provenance']=117; } } else $referer=''; if (0 /* $_GET['p']=='accueil' */) { header('Status: 301 Moved Permanently', false, 301); header('Location:'.URL_SITE); } else { //if ($page=='devis-sante-ga') $_SESSION['site_provenance']=217; $CONTENU=$TPAGES['details'][$pageID]; if (TRAIN_LIENS<>'') $liens_retour=utf8_encode(liens_retour($pageID,$TPAGES['details'])); /*(substr($page,0,10) == "garanties-") && */ /* if((get_ip()=='80.13.219.121' || get_ip()=='90.80.38.85')) */ // require_once(ADRESSE_ABSOLUE.'_FCT/fct_nb_clients.php'); // if($_SESSION['GET']['conseiller']) $_SESSION['conseiller']=1; /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////a corriger $_SESSION['GET']['affichConnex'] if ($page=='espace-assurance-mutuelle-sante-perso' && $_GET['affichConnex']=='go') { $_POST['logon']='GO'; $_POST['log']='invite-assurance@assurance-et-mutuelle.com'; // $_POST['pass']='697521g'; $_POST['pass']='722875u'; } if ($_POST['logon']=='GO') { if ($_POST['log'] and $_POST['pass'] and $_POST['log']!="Votre adresse email" and $_POST['pass']!='password') { $log=addslashes(strip_tags(trim(str_replace(' ','',$_POST['log'])))); $pass=addslashes(strip_tags(trim(str_replace(' ','',$_POST['pass'])))); //Ici on appelle le service de tarification avec le log et le pass en parametre //On recupere les infos et la tarification $get = "log=".$log."&pass=".$pass."&ssid=A454dfiKlze-mutuelle.com-564w54gb;sr"; $url="http://www.santemut.com/webserv/sante/assurance-et-mutuelle.com/recup_infos_tarif-test.php?".$get; $retour_infos_tarif=open_external_url($url); // ICI ON TRAITE $retour_tarif_mer //echo ($retour_tarif_mer); eval( "\$tabl = unserialize(\$retour_infos_tarif);" ); //print_r($tabl); if ($tabl['INFOS_PROSPECT']['id']) { $_SESSION['RESULT']=$tabl; $_SESSION['PROSPECT']=$tabl['INFOS_PROSPECT']; } else { $mess_prosp="Désolé mais aucun compte ne correspond à ces identifiants. Veuillez réessayer.

"; } } else $mess_prosp="Le login (votre email) et le mot de passe sont obligatoires.

"; } // $_SESSION['req_google']=strip_tags($_SESSION['req_google']); header('Content-type: text/html; charset=iso-8859-1'); ?> alert("Demande de contact pour la formule '.addslashes(strip_tags($_SESSION['GET']['contact'])).' prise en compte");'; $_SESSION['nbalert']++; if ($_SESSION['nbalert']==2) { $_SESSION['GET']['contact']=null; $_SESSION['nbalert']=0; } } */ // ICI HISTORIQUE SUR JULES $flux_xml=''.$_SESSION['RESULT']['INFOS_PROSPECT']['id'].''.$page.''.get_ip().''; $flux_xml=str_replace(' ', '%20',$flux_xml); $get = "ssid=A454dfiKlzasse-mutuelle.com-564w54gb;sr&flux_xml=".$flux_xml; $url="http://www.santemut.com/webserv/sante/assurance-et-mutuelle.com/histo.php?".$get; $retourHisto=open_external_url($url); } /* $_SESSION['GET']=null; */ } ?>