Sélectionner une page

Semainier

Saison 2018 – 2019

Semainier

1 2 3 4 5 6 7 8 9 10 11
12 13 14 15 16 17 18 19 20 21 22

[insert_php]
$jour=$_GET[« jour »];
[/insert_php]

Journée


[insert_php]

$adresseweb = ‘http://www.vedrinamur.be/dynam/calclub.php?Indice=N103&Journee=’.$jour;

$page_classement = file_get_contents($adresseweb);

$adresseweb = ‘a href= »http://www.ttrhisnes.be/?q=node/57&div=’;

$adresseweb2 = ‘a href= »http://www.ttrhisnes.be/?q=node/58&div=’;

$search = array(« .. – .. », « Nationale », « >WB 0 », « >WB 0 », « Wallonie – Bruxelles », « a href=\ »calequipe », « href=\ »feuillematch.php? », « a href=\ »calserie.php?Serie=NM », « a href=\ »calserie.php?Serie=ND », « a href=\ »calserie.php?Serie=WB », »a href=\ »calserie.php?Serie=Nat » , « width=\ »920\ » », « width=\ »250\ » », « width=\ »80\ » », « width=\ »90\ » », « width=\ »50\ » », »bgcolor=\ »#F3F3F3\ » », »bgcolor=\ »#F3F3F3\ » », »cellpadding=\ »2\ » »);

$replace = array(«  », « Nat », « > », « > », « WB », « h1 », « href=\ »http://www.ttrhisnes.be/?q=node/268& », $adresseweb, $adresseweb2, «  », «  », « width=\ »520\ » », « width=\ »95\ » », « width=\ »50\ » », « width=\ »55\ » », « width=\ »20\ » », »bgcolor=\ »#8CAEBE\ » », »bgcolor=\ »#8CAEBE\ » », »cellpadding=\ »1\ » »);

$new = utf8_encode(str_replace($search, $replace, $page_classement));

$pattern = ‘#Dames(.*)

#Ui’;

preg_match_all($pattern , $new, $n);

echo $n[0][0];

[/insert_php]