/** * Draws the Jinzora Radio Block using the data from the current node * * @author Ross Carlson * @version 01/11/05 * @since 01/11/05 * @param object $node The object to create the radio from */ function radioBlock($node) { global $img_play, $cms_mode; $display = new jzDisplay(); $el = $node->getAncestor("artist"); if ($el === false) { return; } ?> <nobr> <?php if ($cms_mode == "false") { echo '<span class="jz_artistDesc">'; } $display->randomPlayButton($el, 50, $img_play); echo " <strong>" . $el->getName() . "</strong><br>"; $value = $display->radioPlayButton($el, 50); if (!$value) { return; } ?> <strong><?php echo word("Similar Artists"); ?> </strong> <?php if ($cms_mode == "false") { echo '</span>'; } ?> </nobr> <?php }