\n". "\t
\n". "\t\t\n". "
\n\t\t". "

$artist

\n\t\t

ARTIST FOR YAKITORI

". "
". "
\n\t". "\n\t
".highlightLinks($artists[$artist])."
\n"; } } return $html; } function highlightLinks($text) { $lines = explode("
", $text); $started = false; $html = ""; foreach($lines as $line) { if(containsLink($line)) { if(strpos($line, "http")===false) $line = "http://$line"; $beautyLink = $line.""; $beautyLink = substr($beautyLink, strpos($beautyLink, "//")+2); if(strpos($beautyLink, "www.")!==false) $beautyLink = substr($beautyLink, 4); $line = "
  • $beautyLink
  • "; if(!$started) { $line = ""; } function containsLink($text) { return (strpos($text, "www")!==false or strpos($text, "http")!==false); } ?>