0) { echo "SÚcuritÚ antispam : vous ne pouvez faire appel Ó cette page Ó moins de $time_flood secondes d'intervalle! Veuillez attendre $time_flood secondes puis rafraichir votre page (F5)"; exit; }else{ mysql_query("INSERT INTO flood VALUES ('$_SERVER[REMOTE_ADDR]', '" . time() . "')"); } // require_once('includes/Cache/Lite.php'); //$temps = rand(2419200, 3024000); $options = array( 'cacheDir' => '/home/annuaire-bleu/public_html/tmp/groupement/', 'lifeTime' => 3888000 ); // Create a Cache_Lite object $Cache_Lite = new Cache_Lite($options); $op = preg_replace("([0-9]+[-])", "", $op); $op1 = $op; $op = str_replace("/", ": ", $op); $op = str_replace("_", " ", $op); $cacheliteid = str_replace("'", "", $op); $cacheliteid = str_replace(":", "", $cacheliteid); $cacheliteid = str_replace(" ", "", $cacheliteid); $titre = $op; $keyw = $op; if ($page) { $pagep = "page $page"; } ?> \n"; }else{ echo "\n"; } ?>
DB_MakeConnection(); $core = $MySQLConnection->LoadGlobals(); $ref=getenv("HTTP_REFERER"); $verifgoogle = preg_match("/google/", $ref); $verifmsn = preg_match("/search\.msn/", $ref); if ($verifgoogle == 1 || $verifmsn == 1) { $ref = str_replace("%22", "", $ref); $urlGoogle = $ref; $test = preg_match('/\+/', $urlGoogle); $s = stristr($urlGoogle, "q="); $pos = strpos($s, "&"); $motsCle = substr($s, 2, ($pos-2)); if ($test == 1) { $s2 = stristr($urlGoogle, "q="); $pos2 = strpos($s2, "+"); $motsCle = substr($s2, 2, ($pos2-2)); } if (strlen($motsCle) > 3) { // $couery = $MySQLConnection->DB_Query("INSERT INTO `motscles` (`id`, `motcle`) VALUES ('', '$motsCle')"); } } if ($data = $Cache_Lite->get("".$cacheliteid."1")) { echo($data); } else { $sitestotal = $MySQLConnection->DB_Count("SELECT COUNT(`linkID`) FROM `Link` WHERE parentTopic like '%$op1%'"); srand((double)microtime()*1000000); $id = rand(0, $sitestotal); $resultat = $MySQLConnection->DB_Query("SELECT linkID, page, title FROM Link WHERE parentTopic like '%$op1%' LIMIT $id, 5"); $aleatoires = array (); WHILE (list($Id_lien, $page_url, $titre_url) = $MySQLConnection->DB_FetchArray($resultat, MYSQL_ASSOC)) { if (strlen($titre_url) > 20 ) { $titre_url = substr ( $titre_url,0,20 )." .."; } $data .= "\"$titre_url\"
$titre_url
"; } $Cache_Lite->save($data); echo $data; } ?>
Free thumbnail preview by Thumbshots.org

Liens commerciaux

"; include ("thematiques_group.html"); } ?>

Sites contenus dans l'annuaire:


get("".$cacheliteid."2-".$page."")) { echo($data); } else { if (!$sitestotal) { $sitestotal = $MySQLConnection->DB_Count("SELECT COUNT(`linkID`) FROM `Link` WHERE parentTopic like '%$op1%'"); } $nbre1 = 260; $nbre2 = $nbre1+1; $calcul = $sitestotal / $nbre1; $calcul = ceil($calcul); if ($page > 1) { $limit = $nbre1*($page-1); }else{ $limit = 0; $suite=2; } $data = ""; $compteur=0; $resultat = $MySQLConnection->DB_Query("SELECT linkID, page, title, description, parentTopic FROM Link WHERE parentTopic like '%$op1%' ORDER by parentTopic limit $limit, 500"); WHILE (list($Id_lien, $page_url, $titre_url, $descr, $parent) = $MySQLConnection->DB_FetchArray($resultat, MYSQL_ASSOC)) { $compteur++; $parent = str_replace("Top/Regional/Europe/France/Regions/", "", $parent); $parent = str_replace("Top/World/Francais/Regional/Europe/France/Regions/", "", $parent); $parent = str_replace("Top/World/Francais/", "", $parent); $parent = str_replace("Top/", "", $parent); $parent = str_replace("Regional/", "", $parent); $parent = str_replace("Animauxdecompagnie", "Animaux de compagnie", $parent); $parent = str_replace("/", " - ", $parent); $parent = str_replace("_", " ", $parent); if ($parent != "$parent2") { $data .= ""; } $parent2 = $parent; if ($compteur <= $nbre1) { $data .= ""; } if ($compteur == $nbre2) { $data .= ""; } } $Cache_Lite->save($data); echo $data; } ?>
page1 "; for ($i=2;$i<=$calcul;$i++) { $data .= "page".$i." "; } $data .= "

Categorie:

$parent

$titre_url
$descr
"; } if ($compteur > $nbre1) { $data .= "
$titre_url