2 ) { $file = "/home/aleta/public_html/files/wall/published/" . $résultat. "/" ; $rat = $fichier . $post. ".htm" ; } else { $title = file_get_contents('/home/aleta/public_html/files/wall/wall_publish_headline.htm'); $titre = "

" . $titre . "

"; $post = file_get_contents('/home4/aleta/public_html/files/wall/wall_publish_thumb_location.php'); $post = substr($post, 60); $result = substr($post, 0, 4); $ file = "/home/aleta/public_html/files/wall/published/" . $result . "/"; $rat = $file . trim($post) . ".htm"; } //Intersection économique mondiale // // // if (file_exists($rat)) { //ne rien faire } else { echo "

mauvaise URL

"; exit(); } $mystring = file_get_contents($rat); $more = exploser("",$mystring); $thumb = $more['0']; $mystring = $more['1']; $title = strip_tags($thumb); $title = preg_replace( "/\r|\n/", "", $title ); echo "" . $titre . "" . "\r\n"; $plus = exploser("

",$mystring); $thumb1 = $more['0']; $mystring = $more['1']; $more = exploser("

",$mystring); $thumb2 = $more['0']; $mystring = $more['1']; $description = $thumb1 . $thumb2; $description = strip_tags($description); $description = preg_replace ( "/\r|\n/", "", $description ); echo ''. "\r\n" ; function isMobile() { return preg_match("/(android|avantgo|blackberry|bolt|boost|cricket|docomo|fone|hiptop|mini|mobi|palm|phone|pie|tablet|up\.browser|up\.link |webos|wos)/i", $_SERVER["HTTP_USER_AGENT"]); } if(isMobile()) { $mobile = "oui" ; include("/home/aleta/public_html/files/wall/published/wall_mobile.php"); } else { $mobile = "non"; include("/home/aleta/public_html/files/wall/published/wall_desktop.php"); } ?>