",$mystring); $thumb = $more['0']; $mystring = $more['1']; $title = strip_tags($thumb); $title = preg_replace( "/\r|\n/", "", $title ); echo "" . $title . "" . "\r\n"; $more = explode("

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

",$mystring); $thumb2 = $more['0']; $mystring = $more['1']; $description = $thumb1 . $thumb2; $description = strip_tags($description); $description = preg_replace( "/\r|\n/", "", $description ); echo '' . "\r\n"; $mystring = file_get_contents($rat); $more = explode('',$mystring); $tags = $more['0']; $tags = preg_replace( "/\r|\n/", "", $tags ); 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 = "yes"; include("/home/aleta/public_html/pages/infographics/infographic_mobile.php"); } else { $mobile = "no"; include("/home/aleta/public_html/pages/infographics/infographic_desktop.php"); } ?>