class Top10View {
public static function render_linkbox($Selected) { ?>
}
public static function render_artist_links($Selected, $View) { ?>
}
public static function render_artist_controls($Selected, $View) { ?>
}
private static function get_selected_link($String, $Selected) {
if ($Selected) {
return "" . $String . "";
} else {
return $String;
}
}
public static function render_artist_tile($Artist, $Category) {
switch ($Category) {
case 'weekly':
case 'hyped':
self::render_tile("artist.php?artistname=", $Artist['name'], $Artist['image'][3]['#text']);
break;
default:
break;
}
}
private static function render_tile($Url, $Name, $Image) {
if (!empty($Image)) { ?>
}
}
public static function render_artist_list($Artist, $Category) {
switch ($Category) {
case 'weekly':
case 'hyped':
self::render_list("artist.php?artistname=", $Artist['name'], $Artist['image'][3]['#text']);
break;
default:
break;
}
}
private static function render_list($Url, $Name, $Image) {
if (!empty($Image)) {
$UseTooltipster = !isset(G::$LoggedUser['Tooltipster']) || G::$LoggedUser['Tooltipster'];
$Title = "title=\"\"";
?>
href="=$Url?>=$Name?>">
=$Name?>
}
}
}