Acoustic Alternative Top 20 Chart

The Acoustic Alternative Top 20 Chart is powered by the number of times a Artist and song are requested each week. Chart rankings are restarted each week on Sunday morning.


$station_id = 1963;
$request_host = 'http://s4.total-streaming.com/xml.php';
$_error = false;

$_stats = file_get_contents($request_host.'?station='.$station_id.'&get=top_requests');
$_stats = trim(substr($_stats, 246));

$xmlparser = xml_parser_create();
if (!xml_parse_into_struct($xmlparser, $_stats, $_values, $_indexes)) {
echo "Statistics unreadable.

\n\n”;
echo $_stats;
}

xml_parser_free($xmlparser);

echo “Top 20 songs for the week of “.date(“n”).’/’.(date(“d”)-date(“w”)).’/’.date(“Y”).’

‘;

for($i=0;$i {
$id = $_values[$_indexes['SONGID'][$i]]['value'];
$artist = $_values[$_indexes['SONGARTIST'][$i]]['value'];
$title = $_values[$_indexes['SONGTITLE'][$i]]['value'];
echo '#';
echo $i+1;
echo ' - ';
if ($artist) { echo $artist.' - '.$title.'
‘; }
else { echo $title.’
‘; }
}
?>


Parse error: syntax error, unexpected '<' in /home/acoustic/public_html/web/wp-content/themes/zeebusiness/footer.php on line 3