//$version=(intval(substr($_SERVER['HTTP_USER_AGENT'], strpos($_SERVER['HTTP_USER_AGENT'], "Firefox")+8,strpos($_SERVER['HTTP_USER_AGENT'], "Firefox")+10))); $test=strpos($_SERVER['HTTP_USER_AGENT'], "Firefox"); $numversion=substr($_SERVER['HTTP_USER_AGENT'],$test+8,$test+9); $version=intval($numversion); if ($version <4) { ?> die(""); } else { $admin=$_COOKIE['cciad']; $pays=$_GET['pays']; $numero=$_GET['numero']; if ($numero) {} else { $numero=$_POST['numero']; } $onglet=$_GET['onglet']; $affiche_num=$_GET['affiche_num']; $flagadmin=0; include ("../pub.php"); //si admin if ($admin=='') { $flagadmin=0; require ('tracip.php'); } else { $flagadmin=10; } if ($numero) { include ('connect.inc.php'); $Tableaire=mysql($database,"SELECT departement,Pays FROM aires2 WHERE numid='$numero' " ); $nombre=mysql_NumRows($Tableaire); if ($nombre>0) { $dept = mysql_result($Tableaire, 0, "departement"); $pays = mysql_result($Tableaire, 0, "Pays"); } else { ?> } } ?>