2) { $file = "/home/aleta/public_html/files/wall/published/" . $risultato. "/"; $ratto = $file. $posta. ".htm"; } else { $title = file_get_contents('/home/aleta/public_html/files/wall/wall_publish_headline.htm'); $titolo = "

" . $titolo . "

"; $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/" . $risultato. "/"; $ratto = $file. trim($post). ".htm"; } //Intersezione economica globale // // // if (file_exists($rat)) { //non fare nulla } else { echo "

URL non valido

"; exit(); } $miastringa = file_get_contents($ratto); $altro = esplode("",$miastringa); $pollice = $altro['0']; $miastringa = $altro['1']; $titolo = strip_tags($pollice); $titolo = preg_replace( "/\r|\n/", "", $titolo); echo "" . $titolo . "" . "\r\n"; $more = esplodi("

",$miastringa); $pollice1 = $altro['0']; $miastringa = $altro['1']; $altro = esplodi("

",$mystring); $thumb2 = $more['0']; $mystring = $more['1']; $description = $thumb1 . $thumb2; $description = strip_tags($description); $description = preg_replace ( "/\r|\n/", "", $descrizione); 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 = "sì"; include("/home/aleta/public_html/files/wall/published/wall_mobile.php"); } else { $mobile = "no"; include("/home/aleta/public_html/files/wall/published/wall_desktop.php"); } ?>