format_song(); // Set some extra vars $alt_title = $song->title; $formated_title = $song->f_title; $artist = $song->f_artist; $alt_artist = $song->f_full_artist; // Gather the duplicates $dinfolist = get_duplicate_info($song,$search_type,$_REQUEST['auto']); // Set the current class, only changes once per set of duplicates $current_class = flip_class(); foreach ($dinfolist as $key=>$dinfo) { $check_txt = ''; if ($key == '0' AND $_REQUEST['auto']) { $check_txt = ' checked="checked"'; } echo "". "". "". "". "". "". "". "". ""; echo "\n"; } // end foreach ($dinfolist as $dinfo) } // end foreach ($flags as $flag) ?>
id\">".scrub_out($formated_title)." ".scrub_out($dinfo['artist'])." ".scrub_out($dinfo['album'])." ".floor($dinfo['time']/60).":".sprintf("%02d", ($dinfo['time']%60) )."".intval($dinfo['bitrate']/1000)."".sprintf("%.2f", ($dinfo['size']/1048576))."MB".$dinfo['file']."