get_name(); ?>
get_djs(); $djCount = count($djs); $i = 0; foreach ($djs as $dj) { echo "" . $dj->getName() . ""; if ($i < $djCount - 1) { echo ", "; } $i++; } ?>
get_slug(); echo "'>" . $genre->get_name() . ""; if ($i < $genreCount - 1) { echo ", "; } $i++; } ?>
get_slug(); echo "'>" . $mixshow->get_name() . ""; if ($i < $mixshowsCount - 1) { echo ", "; } $i++; } ?>
get_duration(); // Decide the correct singular or plural term $hour_text = $time['h'] == 1 ? $locale['hour'] : $locale['hours']; $minute_text = $time['m'] == 1 ? $locale['minute'] : $locale['minutes']; $second_text = $time['s'] == 1 ? $locale['second'] : $locale['seconds']; // Output the time, skipping hours if it is less than one hour if ($time['h'] > 0) { // If there are hours, always show hours. echo $time['h'] . " " . $hour_text; if ($time['m'] > 0) { // Show minutes only if they are greater than 0. echo ", " . $time['m'] . " " . $minute_text; } // Always show seconds, regardless of minutes. echo ", " . $time['s'] . " " . $second_text; } else { // No hours, check minutes. if ($time['m'] != 0) { echo $time['m'] . " " . $minute_text . ", " . $time['s'] . " " . $second_text; } else { // Only seconds to show. echo $time['s'] . " " . $second_text; } } echo " (" . $time['t'] . ")"; ?>
get_recorded(); ?>
get_created(); ?>
get_downloads(); ?>
get_plays(); ?>
get_updated(); ?>
" . $locale['tracklist'] . "
"; echo "