Code Context if (array_key_exists($country_id, $last_vabcs)) {
$last_vabc = $last_vabcs[$country_id];
$last_pct = sprintf("%5.1f", 100.0 * $last_vabc['num_topten'] / $last_vabc['max_topten']);
$viewFile = '/home/newbnrmetal/public_html/v5/app/View/Elements/topten_countries.ctp'
$dataForView = array(
'title_for_layout' => '1970',
'cache' => object(CacheComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
[private] _bands_map => null
[private] _labels_map => null
[private] _genres_map => null
[private] _webzines_map => null
[private] _controller => object(ToptenController) {}
},
'vdbms' => array(),
'voting_enabled' => false,
'countries_map' => array(
'ad' => 'Andorra',
'ar' => 'Argentina',
'at' => 'Austria',
'au' => 'Australia',
'az' => 'Azerbaijan',
'by' => 'Belarus',
'be' => 'Belgium',
'br' => 'Brazil',
'ca' => 'Canada',
'cl' => 'Chile',
'cn' => 'China',
'co' => 'Colombia',
'hr' => 'Croatia',
'cz' => 'Czech Republic',
'dk' => 'Denmark',
'eg' => 'Egypt',
'uk' => 'England',
'ee' => 'Estonia',
'fo' => 'Faroe Islands',
'fi' => 'Finland',
'fr' => 'France',
'de' => 'Germany',
'gr' => 'Greece',
'hk' => 'Hong Kong',
'hu' => 'Hungary',
'is' => 'Iceland',
'in' => 'India',
'id' => 'Indonesia',
'ir' => 'Iran',
'ie' => 'Ireland',
'il' => 'Israel',
'it' => 'Italy',
'jp' => 'Japan',
'jo' => 'Jordan',
'lv' => 'Latvia',
'li' => 'Liechtenstein',
'lt' => 'Lithuania',
'mt' => 'Malta',
'mx' => 'Mexico',
'nl' => 'Netherlands',
'ni' => 'Northern Ireland',
'no' => 'Norway',
'nz' => 'New Zealand',
'pe' => 'Peru',
'pl' => 'Poland',
'pt' => 'Portugal',
'pr' => 'Puerto Rico',
'ro' => 'Romania',
'ru' => 'Russia',
'sc' => 'Scotland',
'yu' => 'Serbia',
'sg' => 'Singapore',
'sk' => 'Slovakia',
'si' => 'Slovenia',
'za' => 'South Africa',
'ko' => 'South Korea',
'es' => 'Spain',
'se' => 'Sweden',
'sw' => 'Switzerland',
'tw' => 'Taiwan',
'tn' => 'Tunisia',
'tr' => 'Turkey',
'ua' => 'Ukraine',
'us' => 'USA',
'wa' => 'Wales',
'zz' => 'International'
),
'last_vabcs' => array(
'us' => array(
'year' => '1969',
'country_id' => 'us',
'num_topten' => ' 0',
'max_topten' => ' 0',
'num_total' => ' 3'
),
'uk' => array(
'year' => '1969',
'country_id' => 'uk',
'num_topten' => ' 0',
'max_topten' => ' 0',
'num_total' => ' 4'
)
),
'vabcs' => array(
(int) 0 => array(
'year' => '1970',
'country_id' => 'us',
'num_topten' => ' 0',
'max_topten' => ' 3',
'num_total' => ' 3'
),
(int) 1 => array(
'year' => '1970',
'country_id' => 'uk',
'num_topten' => ' 3',
'max_topten' => ' 3',
'num_total' => ' 8'
),
(int) 2 => array(
'year' => '1970',
'country_id' => 'ca',
'num_topten' => ' 0',
'max_topten' => ' 3',
'num_total' => ' 1'
)
),
'view_toptens_readers' => array(
(int) 0 => array(
'year' => '1970',
'type' => 'Readers',
'rank' => '1',
'band_id' => 'BlSa',
'album_code' => '1',
'band_name' => 'Black Sabbath',
'album_title' => 'Black Sabbath'
),
(int) 1 => array(
'year' => '1970',
'type' => 'Readers',
'rank' => '2',
'band_id' => 'LeZe',
'album_code' => '3',
'band_name' => 'Led Zeppelin',
'album_title' => 'Led Zeppelin III'
),
(int) 2 => array(
'year' => '1970',
'type' => 'Readers',
'rank' => '3',
'band_id' => 'DePu',
'album_code' => '4',
'band_name' => 'Deep Purple',
'album_title' => 'In Rock'
)
),
'view_toptens_bnr' => array(
(int) 0 => array(
'year' => '1970',
'type' => 'BNR',
'rank' => '1',
'band_id' => 'BlSa',
'album_code' => '1',
'band_name' => 'Black Sabbath',
'album_title' => 'Black Sabbath'
),
(int) 1 => array(
'year' => '1970',
'type' => 'BNR',
'rank' => '1',
'band_id' => '',
'album_code' => '',
'band_name' => '',
'album_title' => ''
),
(int) 2 => array(
'year' => '1970',
'type' => 'BNR',
'rank' => '1',
'band_id' => '',
'album_code' => '',
'band_name' => '',
'album_title' => ''
),
(int) 3 => array(
'year' => '1970',
'type' => 'BNR',
'rank' => '1',
'band_id' => '',
'album_code' => '',
'band_name' => '',
'album_title' => ''
),
(int) 4 => array(
'year' => '1970',
'type' => 'BNR',
'rank' => '1',
'band_id' => '',
'album_code' => '',
'band_name' => '',
'album_title' => ''
),
(int) 5 => array(
'year' => '1970',
'type' => 'BNR',
'rank' => '1',
'band_id' => '',
'album_code' => '',
'band_name' => '',
'album_title' => ''
),
(int) 6 => array(
'year' => '1970',
'type' => 'BNR',
'rank' => '1',
'band_id' => '',
'album_code' => '',
'band_name' => '',
'album_title' => ''
),
(int) 7 => array(
'year' => '1970',
'type' => 'BNR',
'rank' => '1',
'band_id' => '',
'album_code' => '',
'band_name' => '',
'album_title' => ''
),
(int) 8 => array(
'year' => '1970',
'type' => 'BNR',
'rank' => '1',
'band_id' => '',
'album_code' => '',
'band_name' => '',
'album_title' => ''
),
(int) 9 => array(
'year' => '1970',
'type' => 'BNR',
'rank' => '1',
'band_id' => '',
'album_code' => '',
'band_name' => '',
'album_title' => ''
)
),
'year' => '1970',
'countries' => array(
'ad' => 'Andorra',
'ar' => 'Argentina',
'at' => 'Austria',
'au' => 'Australia',
'az' => 'Azerbaijan',
'by' => 'Belarus',
'be' => 'Belgium',
'br' => 'Brazil',
'ca' => 'Canada',
'cl' => 'Chile',
'cn' => 'China',
'co' => 'Colombia',
'hr' => 'Croatia',
'cz' => 'Czech Republic',
'dk' => 'Denmark',
'eg' => 'Egypt',
'uk' => 'England',
'ee' => 'Estonia',
'fo' => 'Faroe Islands',
'fi' => 'Finland',
'fr' => 'France',
'de' => 'Germany',
'gr' => 'Greece',
'hk' => 'Hong Kong',
'hu' => 'Hungary',
'is' => 'Iceland',
'in' => 'India',
'id' => 'Indonesia',
'ir' => 'Iran',
'ie' => 'Ireland',
'il' => 'Israel',
'it' => 'Italy',
'jp' => 'Japan',
'jo' => 'Jordan',
'lv' => 'Latvia',
'li' => 'Liechtenstein',
'lt' => 'Lithuania',
'mt' => 'Malta',
'mx' => 'Mexico',
'nl' => 'Netherlands',
'ni' => 'Northern Ireland',
'no' => 'Norway',
'nz' => 'New Zealand',
'pe' => 'Peru',
'pl' => 'Poland',
'pt' => 'Portugal',
'pr' => 'Puerto Rico',
'ro' => 'Romania',
'ru' => 'Russia',
'sc' => 'Scotland',
'yu' => 'Serbia',
'sg' => 'Singapore',
'sk' => 'Slovakia',
'si' => 'Slovenia',
'za' => 'South Africa',
'ko' => 'South Korea',
'es' => 'Spain',
'se' => 'Sweden',
'sw' => 'Switzerland',
'tw' => 'Taiwan',
'tn' => 'Tunisia',
'tr' => 'Turkey',
'ua' => 'Ukraine',
'us' => 'USA',
'wa' => 'Wales',
'zz' => 'International'
)
)
$title_for_layout = '1970'
$cache = object(CacheComponent) {
settings => array()
components => array()
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array()
[private] _bands_map => null
[private] _labels_map => null
[private] _genres_map => null
[private] _webzines_map => null
[private] _controller => object(ToptenController) {}
}
$vdbms = array()
$voting_enabled = false
$countries_map = array(
'ad' => 'Andorra',
'ar' => 'Argentina',
'at' => 'Austria',
'au' => 'Australia',
'az' => 'Azerbaijan',
'by' => 'Belarus',
'be' => 'Belgium',
'br' => 'Brazil',
'ca' => 'Canada',
'cl' => 'Chile',
'cn' => 'China',
'co' => 'Colombia',
'hr' => 'Croatia',
'cz' => 'Czech Republic',
'dk' => 'Denmark',
'eg' => 'Egypt',
'uk' => 'England',
'ee' => 'Estonia',
'fo' => 'Faroe Islands',
'fi' => 'Finland',
'fr' => 'France',
'de' => 'Germany',
'gr' => 'Greece',
'hk' => 'Hong Kong',
'hu' => 'Hungary',
'is' => 'Iceland',
'in' => 'India',
'id' => 'Indonesia',
'ir' => 'Iran',
'ie' => 'Ireland',
'il' => 'Israel',
'it' => 'Italy',
'jp' => 'Japan',
'jo' => 'Jordan',
'lv' => 'Latvia',
'li' => 'Liechtenstein',
'lt' => 'Lithuania',
'mt' => 'Malta',
'mx' => 'Mexico',
'nl' => 'Netherlands',
'ni' => 'Northern Ireland',
'no' => 'Norway',
'nz' => 'New Zealand',
'pe' => 'Peru',
'pl' => 'Poland',
'pt' => 'Portugal',
'pr' => 'Puerto Rico',
'ro' => 'Romania',
'ru' => 'Russia',
'sc' => 'Scotland',
'yu' => 'Serbia',
'sg' => 'Singapore',
'sk' => 'Slovakia',
'si' => 'Slovenia',
'za' => 'South Africa',
'ko' => 'South Korea',
'es' => 'Spain',
'se' => 'Sweden',
'sw' => 'Switzerland',
'tw' => 'Taiwan',
'tn' => 'Tunisia',
'tr' => 'Turkey',
'ua' => 'Ukraine',
'us' => 'USA',
'wa' => 'Wales',
'zz' => 'International'
)
$last_vabcs = array(
'us' => array(
'year' => '1969',
'country_id' => 'us',
'num_topten' => ' 0',
'max_topten' => ' 0',
'num_total' => ' 3'
),
'uk' => array(
'year' => '1969',
'country_id' => 'uk',
'num_topten' => ' 0',
'max_topten' => ' 0',
'num_total' => ' 4'
)
)
$vabcs = array(
(int) 0 => array(
'year' => '1970',
'country_id' => 'us',
'num_topten' => ' 0',
'max_topten' => ' 3',
'num_total' => ' 3'
),
(int) 1 => array(
'year' => '1970',
'country_id' => 'uk',
'num_topten' => ' 3',
'max_topten' => ' 3',
'num_total' => ' 8'
),
(int) 2 => array(
'year' => '1970',
'country_id' => 'ca',
'num_topten' => ' 0',
'max_topten' => ' 3',
'num_total' => ' 1'
)
)
$view_toptens_readers = array(
(int) 0 => array(
'year' => '1970',
'type' => 'Readers',
'rank' => '1',
'band_id' => 'BlSa',
'album_code' => '1',
'band_name' => 'Black Sabbath',
'album_title' => 'Black Sabbath'
),
(int) 1 => array(
'year' => '1970',
'type' => 'Readers',
'rank' => '2',
'band_id' => 'LeZe',
'album_code' => '3',
'band_name' => 'Led Zeppelin',
'album_title' => 'Led Zeppelin III'
),
(int) 2 => array(
'year' => '1970',
'type' => 'Readers',
'rank' => '3',
'band_id' => 'DePu',
'album_code' => '4',
'band_name' => 'Deep Purple',
'album_title' => 'In Rock'
)
)
$view_toptens_bnr = array(
(int) 0 => array(
'year' => '1970',
'type' => 'BNR',
'rank' => '1',
'band_id' => 'BlSa',
'album_code' => '1',
'band_name' => 'Black Sabbath',
'album_title' => 'Black Sabbath'
),
(int) 1 => array(
'year' => '1970',
'type' => 'BNR',
'rank' => '1',
'band_id' => '',
'album_code' => '',
'band_name' => '',
'album_title' => ''
),
(int) 2 => array(
'year' => '1970',
'type' => 'BNR',
'rank' => '1',
'band_id' => '',
'album_code' => '',
'band_name' => '',
'album_title' => ''
),
(int) 3 => array(
'year' => '1970',
'type' => 'BNR',
'rank' => '1',
'band_id' => '',
'album_code' => '',
'band_name' => '',
'album_title' => ''
),
(int) 4 => array(
'year' => '1970',
'type' => 'BNR',
'rank' => '1',
'band_id' => '',
'album_code' => '',
'band_name' => '',
'album_title' => ''
),
(int) 5 => array(
'year' => '1970',
'type' => 'BNR',
'rank' => '1',
'band_id' => '',
'album_code' => '',
'band_name' => '',
'album_title' => ''
),
(int) 6 => array(
'year' => '1970',
'type' => 'BNR',
'rank' => '1',
'band_id' => '',
'album_code' => '',
'band_name' => '',
'album_title' => ''
),
(int) 7 => array(
'year' => '1970',
'type' => 'BNR',
'rank' => '1',
'band_id' => '',
'album_code' => '',
'band_name' => '',
'album_title' => ''
),
(int) 8 => array(
'year' => '1970',
'type' => 'BNR',
'rank' => '1',
'band_id' => '',
'album_code' => '',
'band_name' => '',
'album_title' => ''
),
(int) 9 => array(
'year' => '1970',
'type' => 'BNR',
'rank' => '1',
'band_id' => '',
'album_code' => '',
'band_name' => '',
'album_title' => ''
)
)
$year = '1970'
$countries = array(
'ad' => 'Andorra',
'ar' => 'Argentina',
'at' => 'Austria',
'au' => 'Australia',
'az' => 'Azerbaijan',
'by' => 'Belarus',
'be' => 'Belgium',
'br' => 'Brazil',
'ca' => 'Canada',
'cl' => 'Chile',
'cn' => 'China',
'co' => 'Colombia',
'hr' => 'Croatia',
'cz' => 'Czech Republic',
'dk' => 'Denmark',
'eg' => 'Egypt',
'uk' => 'England',
'ee' => 'Estonia',
'fo' => 'Faroe Islands',
'fi' => 'Finland',
'fr' => 'France',
'de' => 'Germany',
'gr' => 'Greece',
'hk' => 'Hong Kong',
'hu' => 'Hungary',
'is' => 'Iceland',
'in' => 'India',
'id' => 'Indonesia',
'ir' => 'Iran',
'ie' => 'Ireland',
'il' => 'Israel',
'it' => 'Italy',
'jp' => 'Japan',
'jo' => 'Jordan',
'lv' => 'Latvia',
'li' => 'Liechtenstein',
'lt' => 'Lithuania',
'mt' => 'Malta',
'mx' => 'Mexico',
'nl' => 'Netherlands',
'ni' => 'Northern Ireland',
'no' => 'Norway',
'nz' => 'New Zealand',
'pe' => 'Peru',
'pl' => 'Poland',
'pt' => 'Portugal',
'pr' => 'Puerto Rico',
'ro' => 'Romania',
'ru' => 'Russia',
'sc' => 'Scotland',
'yu' => 'Serbia',
'sg' => 'Singapore',
'sk' => 'Slovakia',
'si' => 'Slovenia',
'za' => 'South Africa',
'ko' => 'South Korea',
'es' => 'Spain',
'se' => 'Sweden',
'sw' => 'Switzerland',
'tw' => 'Taiwan',
'tn' => 'Tunisia',
'tr' => 'Turkey',
'ua' => 'Ukraine',
'us' => 'USA',
'wa' => 'Wales',
'zz' => 'International'
)
$year_str = ''70'
$last_year_str = ''69'
$vabc = array(
'year' => '1970',
'country_id' => 'uk',
'num_topten' => ' 3',
'max_topten' => ' 3',
'num_total' => ' 8'
)
$country_id = 'uk'
$flag_pic = '<img src="/v5/img/flags/uk.gif" height="15" width="24" alt=""/>'
$name = 'England'
$pct = '100.0'
$last_vabc = array(
'year' => '1969',
'country_id' => 'uk',
'num_topten' => ' 0',
'max_topten' => ' 0',
'num_total' => ' 4'
)
include - APP/View/Elements/topten_countries.ctp, line 46
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::_renderElement() - CORE/Cake/View/View.php, line 1227
View::element() - CORE/Cake/View/View.php, line 418
include - APP/View/Topten/year.ctp, line 58
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 960
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118