$baseDir = '/home/alaskaji/public_html';
require_once($baseDir.'/includes/config.php');
$match = array();
$title = 'Album Charts by Decade - Top Albums of the 2000s';
$desc = 'Album Charts by Decade - Top Albums of the 2000s';
$keywords = '2000 Albums, LPs, CDs, Charts, Top, Hits, Decade';
$match['year'] = '2000'; // '1999', '2000', etc.
$match['type1'] = ''; // 'Downloads', 'Industry', 'Label', 'Personal', 'Voting'
$match['type2'] = 'Albums'; // 'Albums', 'Artists', 'Artist Singles', 'Concerts', 'DVDs', 'MP3s', 'Performances', 'Ringtones', 'Singles', 'Videos'
$match['type3'] = 'Decade'; // 'Current', 'Week', 'Year', 'Decade', 'All Time'
$match['type4'] = ''; // 'Undefined', 'Club', 'DJ', 'Downloads', 'Internet Radio', 'Radio'
$match['te5'] = ''; // 'Undefined', 'Drummer', 'Duo', 'Guitarist', 'Keyboardist', 'Lyricist', 'Vocalist'
$match['country'] = ''; // Use 2 letter abbreviation, or full name of continents: Africa, Europe, Scandinavia, World
$match['state'] = ''; // Use 2 letter abbreviation
// genre
$match['genre.name'] = ''; // See values below
// use 'rating DESC' to sort with highest rated first, use 'RAND()' to sort in random order
$orderBy = 'rating DESC'; // 'rating DESC', 'RAND()'
include($baseDir.'/header.php');
?>
|
include($baseDir.'/sidebar.php'); ?>
| |
= $title ?>
| Chart |
Chart Name
Country |
if($match['type3'] != 'Current'){ ?>
#1 |
} ?>
foreach($match as $idx => $val){
if($val == ''){
unset($match[$idx]);
}
}
$charts = ChartEntry::get(0, $match, $orderBy);
if(is_array($charts) && count($charts)) {
foreach($charts as $chart){
$data = $chart->data;
$numberOne = ($data['top_artist'] != '' ? $data['top_artist'].' - ' : '').$data['top_song'];
if($data['album_url']) $numberOne = "{$numberOne}";
echo('');
echo('| '.$data['name']." | \n");
echo(''.$data['title']." | \n");
echo(''.$data['country']." | \n");
if($match['type3'] != 'Current'){
echo(''.$numberOne." | \n");
}
echo(' ');
}
}else{
echo('| Sorry, there were no charts in this category | ');
}
?>
include($baseDir.'/footer.php'); ?>
|