find("#band-name-location .title")->text();
?>
find("#band-name-location .title")->length)
echo "
";
echo "
";
$releases = $document->find("#music-grid li");
foreach ($releases as $release) {
$title = preg_split("/\n[\n\s]+/", trim($release->find(".title")->text()));
unset($text);
if (array_key_exists(1, $title)) $text = "by " . htmlspecialchars($title[1]);
$image = $release->find("img");
$image = $image->hasAttr("data-original") ? $image->attr("data-original") : $image->attr("src");
$image = resize_link($image, 3);
$image = convert_link($image);
$link = $release->find("a")->attr("href");
$link = prefix_link($link, "name");
$link = convert_link($link);
echo_item($link, $image, htmlspecialchars($title[0]), $text ?? null);
};
if (!$releases->length)
echo "No results.";
echo "
";
$image = $document->find(".bio-pic a")->attr("href");
$image = resize_link($image, 4);
$description = $document->find("meta[property=\"og:description\"]")->attr("content");
$links = $document->find("#band-links li a");
echo_sidebar($image, $description, $links);
echo "
";
?>