' . "\n"; echo '' . "\n"; echo 'oorouler.com' . "\n"; echo ''.$url.'' . "\n"; echo '' . ('Agenda des Journées piste auto, moto, quad et karting, dates et organisateurs des roulages et stages pilotage sur circuit, trackdays, jours open, sortie circuit ,l\'apprentissage de la conduite sur circuit, stages de pilotage auto et moto sur les circuits Français et Européens'). '' . "\n"; echo 'fre' . "\n"; echo ''.date("D, j M Y G:i:s T").'' . "\n"; switch($_GET['type']) { case('circuits'): { $sql = 'select libelle, titre, clean_libelle, presentation from circuits'; $lst = $db->select2obj( $sql ); foreach( $lst as $item ) { $libelle = $item->libelle; $titre = $item->titre; $clean_libelle = $item->clean_libelle; $presentation = html_entity_decode(html_entity_decode($item->presentation, ENT_QUOTES), ENT_QUOTES); echo '' . "\n"; echo ' ' . $titre . '' . "\n"; echo ' '.$url.'circuit-' . utf8_encode($clean_libelle) . '.html' . "\n"; echo ' ' . $presentation . '' . "\n"; //echo ' '.date("D, j M Y G:i:s T").'' . "\n"; echo ' '.$url.'circuit-' . utf8_encode($clean_libelle) . '.html' . "\n"; echo '' . "\n"; } break; } case('organisateurs'): { $sql = 'select libelle, clean_libelle, presentation from organisateurs'; $lst = $db->select2obj( $sql ); foreach( $lst as $item ) { $libelle = htmlentities($item->libelle); $clean_libelle = $item->clean_libelle; // $presentation = html_entity_decode(html_entity_decode(tools::nCaracteres(str_replace( "\n", '',$item->presentation),250), ENT_QUOTES), ENT_QUOTES); $presentation = $item->clean_libelle; //tools::nCaracteres(str_replace( "\n", '',$item->presentation),100); echo '' . "\n"; echo ' ' . $item->clean_libelle . '' . "\n"; echo ' '.$url.'organisateur-' . utf8_encode($clean_libelle) . '.html' . "\n"; echo ' ' . $presentation . '' . "\n"; //echo ' '.date("D, j M Y G:i:s T").'' . "\n"; echo ' '.$url.'organisateur-' . utf8_encode($clean_libelle) . '.html' . "\n"; echo '' . "\n"; } break; } default: echo '' . "\n"; echo ' ' . $titre . '' . "\n"; //echo ' http://www.oorouler.com/circuit-' . utf8_encode($clean_libelle) . '.html' . "\n"; //echo ' ' . utf8_encode($presentation) . '' . "\n"; //echo ' '.date("D, j M Y G:i:s T").'' . "\n"; //echo ' http://www.oorouler.com/circuit-' . utf8_encode($clean_libelle) . '.html' . "\n"; echo '' . "\n"; } echo '' . "\n"; echo '' . "\n"; ?>