/** * get_thumbnails function. * * @access private * @param string $thumbnails. (default: "") * @return void */ private function get_thumbnails($thumbnails = "", $link = "") { $thumbs = unserialize($thumbnails); //debug::print_d($thumbs); $img_html = ""; if (is_array($thumbs)) { foreach ($thumbs as $key => $value) { if (!stristr($value, "thumbnail")) { $im1 = explode("scrape", $value); //debug::print_d($im1); //$im1['1']=str_ireplace(".jpg",".jpg",$im1['1']); $scraper_url = SCRAPER_URL; $img_html .= '<li class="span3"><a class="thumbnail" href="' . SCRAPER_URL . class_divers::make_ausgabe($link) . '"> <img src="' . $scraper_url . $im1['1'] . '" /></a></li>'; } } } return $img_html; }