Code Context $og_meta = array(
'title' => $meta_title,
'description' => $meta_desc,
$is_ajax = false
$params = array(
'plugin' => null,
'controller' => 'teams',
'action' => 'news',
'named' => array(),
'pass' => array(
(int) 0 => 'viborg',
(int) 1 => '2070'
),
'lang' => 'en',
'currency' => 'my',
'slug' => 'viborg',
'id' => '2070',
'isAjax' => false
)
$api_team_id = '2070'
$slug = 'viborg'
$value = array(
'Team' => array(
'id' => '1273',
'league_id' => '97',
'api_league_id' => '120',
'api_team_id' => '2070',
'sportscore_team_id' => null,
'sportscore_content' => null,
'slug' => 'viborg',
'name' => 'Viborg',
'country' => 'Denmark',
'founded' => '1896',
'national' => false,
'logo' => 'https://media.api-sports.io/football/teams/2070.png',
'api_venue_id' => '463',
'venue_name' => 'Energi Viborg Arena',
'venue_city' => 'Viborg',
'venue_capacity' => '9566',
'venue_surface' => 'grass',
'venue_image' => 'https://media.api-sports.io/football/venues/463.png',
'statistics' => null,
'career' => null,
'order' => '0',
'status' => true,
'created' => '2022-07-10 22:50:24',
'modified' => '2024-12-21 22:35:38'
),
'League' => array(
'id' => '97',
'parent_id' => null,
'api_league_id' => '120',
'slug' => 'viasat-divisionen',
'name' => 'Viasat Divisionen',
'alias' => null,
'type' => 'League',
'logo' => 'https://media.api-sports.io/football/leagues/120.png',
'country' => 'Denmark',
'country_code' => 'DK',
'country_flag' => 'https://media.api-sports.io/flags/dk.svg',
'season' => '2024',
'season_start' => '2024-07-19',
'season_end' => '2025-03-15',
'standings' => 'a:1:{i:0;a:12:{i:0;a:12:{s:4:"rank";i:1;s:4:"team";a:3:{s:2:"id";i:405;s:4:"name";s:6:"Odense";s:4:"logo";s:50:"https://media.api-sports.io/football/teams/405.png";}s:6:"points";i:45;s:9:"goalsDiff";i:26;s:5:"group";s:27:"1. Division: Regular Season";s:4:"form";s:5:"DDWWW";s:6:"status";s:4:"same";s:11:"description";s:15:"Promotion Group";s:3:"all";a:5:{s:6:"played";i:18;s:3:"win";i:14;s:4:"draw";i:3;s:4:"lose";i:1;s:5:"goals";a:2:{s:3:"for";i:45;s:7:"against";i:19;}}s:4:"home";a:5:{s:6:"played";i:9;s:3:"win";i:7;s:4:"draw";i:1;s:4:"lose";i:1;s:5:"goals";a:2:{s:3:"for";i:19;s:7:"against";i:11;}}s:4:"away";a:5:{s:6:"played";i:9;s:3:"win";i:7;s:4:"draw";i:2;s:4:"lose";i:0;s:5:"goals";a:2:{s:3:"for";i:26;s:7:"against";i:8;}}s:6:"update";s:25:"2024-12-05T00:00:00 00:00";}i:1;a:12:{s:4:"rank";i:2;s:4:"team";a:3:{s:2:"id";i:2061;s:4:"name";s:13:"FC Fredericia";s:4:"logo";s:51:"https://media.api-sports.io/football/teams/2061.png";}s:6:"points";i:37;s:9:"goalsDiff";i:21;s:5:"group";s:27:"1. Division: Regular Season";s:4:"form";s:5:"WWWLW";s:6:"status";s:4:"same";s:11:"description";s:15:"Promotion Group";s:3:"all";a:5:{s:6:"played";i:18;s:3:"win";i:12;s:4:"draw";i:1;s:4:"lose";i:5;s:5:"goals";a:2:{s:3:"for";i:42;s:7:"against";i:21;}}s:4:"home";a:5:{s:6:"played";i:9;s:3:"win";i:5;s:4:"draw";i:1;s:4:"lose";i:3;s:5:"goals";a:2:{s:3:"for";i:18;s:7:"against";i:12;}}s:4:"away";a:5:{s:6:"played";i:9;s:3:"win";i:7;s:4:"draw";i:0;s:4:"lose";i:2;s:5:"goals";a:2:{s:3:"for";i:24;s:7:"against";i:9;}}s:6:"update";s:25:"2024-12-05T00:00:00 00:00";}i:2;a:12:{s:4:"rank";i:3;s:4:"team";a:3:{s:2:"id";i:403;s:4:"name";s:7:"Esbjerg";s:4:"logo";s:50:"https://media.api-sports.io/football/teams/403.png";}s:6:"points";i:31;s:9:"goalsDiff";i:6;s:5:"group";s:27:"1. Division: Regular Season";s:4:"form";s:5:"LWWWL";s:6:"status";s:4:"same";s:11:"description";s:15:"Promotion Group";s:3:"all";a:5:{s:6:"played";i:18;s:3:"win";i:10;s:4:"draw";i:1;s:4:"lose";i:7;s:5:"goals";a:2:{s:3:"for";i:37;s:7:"against";i:31;}}s:4:"home";a:5:{s:6:"played";i:9;s:3:"win";i:5;s:4:"draw";i:1;s:4:"lose";i:3;s:5:"goals";a:2:{s:3:"for";i:18;s:7:"against";i:14;}}s:4:"away";a:5:{s:6:"played";i:9;s:3:"win";i:5;s:4:"draw";i:0;s:4:"lose";i:4;s:5:"goals";a:2:{s:3:"for";i:19;s:7:"against";i:17;}}s:6:"update";s:25:"2024-12-05T00:00:00 00:00";}i:3;a:12:{s:4:"rank";i:4;s:4:"team";a:3:{s:2:"id";i:404;s:4:"name";s:10:"AC Horsens";s:4:"logo";s:50:"https://media.api-sports.io/football/teams/404.png";}s:6:"points";i:31;s:9:"goalsDiff";i:6;s:5:"group";s:27:"1. Division: Regular Season";s:4:"form";s:5:"WDLWL";s:6:"status";s:4:"same";s:11:"description";s:15:"Promotion Group";s:3:"all";a:5:{s:6:"played";i:18;s:3:"win";i:9;s:4:"draw";i:4;s:4:"lose";i:5;s:5:"goals";a:2:{s:3:"for";i:28;s:7:"against";i:22;}}s:4:"home";a:5:{s:6:"played";i:9;s:3:"win";i:4;s:4:"draw";i:3;s:4:"lose";i:2;s:5:"goals";a:2:{s:3:"for";i:14;s:7:"against";i:10;}}s:4:"away";a:5:{s:6:"played";i:9;s:3:"win";i:5;s:4:"draw";i:1;s:4:"lose";i:3;s:5:"goals";a:2:{s:3:"for";i:14;s:7:"against";i:12;}}s:6:"update";s:25:"2024-12-05T00:00:00 00:00";}i:4;a:12:{s:4:"rank";i:5;s:4:"team";a:3:{s:2:"id";i:2072;s:4:"name";s:8:"Hvidovre";s:4:"logo";s:51:"https://media.api-sports.io/football/teams/2072.png";}s:6:"points";i:29;s:9:"goalsDiff";i:6;s:5:"group";s:27:"1. Division: Regular Season";s:4:"form";s:5:"WWLLW";s:6:"status";s:4:"same";s:11:"description";s:15:"Promotion Group";s:3:"all";a:5:{s:6:"played";i:18;s:3:"win";i:8;s:4:"draw";i:5;s:4:"lose";i:5;s:5:"goals";a:2:{s:3:"for";i:21;s:7:"against";i:15;}}s:4:"home";a:5:{s:6:"played";i:9;s:3:"win";i:6;s:4:"draw";i:3;s:4:"lose";i:0;s:5:"goals";a:2:{s:3:"for";i:17;s:7:"against";i:6;}}s:4:"away";a:5:{s:6:"played";i:9;s:3:"win";i:2;s:4:"draw";i:2;s:4:"lose";i:5;s:5:"goals";a:2:{s:3:"for";i:4;s:7:"against";i:9;}}s:6:"update";s:25:"2024-12-05T00:00:00 00:00";}i:5;a:12:{s:4:"rank";i:6;s:4:"team";a:3:{s:2:"id";i:6026;s:4:"name";s:9:"Hillerød";s:4:"logo";s:51:"https://media.api-sports.io/football/teams/6026.png";}s:6:"points";i:24;s:9:"goalsDiff";i:3;s:5:"group";s:27:"1. Division: Regular Season";s:4:"form";s:5:"WLDWW";s:6:"status";s:2:"up";s:11:"description";s:15:"Promotion Group";s:3:"all";a:5:{s:6:"played";i:18;s:3:"win";i:6;s:4:"draw";i:6;s:4:"lose";i:6;s:5:"goals";a:2:{s:3:"for";i:28;s:7:"against";i:25;}}s:4:"home";a:5:{s:6:"played";i:9;s:3:"win";i:4;s:4:"draw";i:2;s:4:"lose";i:3;s:5:"goals";a:2:{s:3:"for";i:14;s:7:"against";i:14;}}s:4:"away";a:5:{s:6:"played";i:9;s:3:"win";i:2;s:4:"draw";i:4;s:4:"lose";i:3;s:5:"goals";a:2:{s:3:"for";i:14;s:7:"against";i:11;}}s:6:"update";s:25:"2024-12-05T00:00:00 00:00";}i:6;a:12:{s:4:"rank";i:7;s:4:"team";a:3:{s:2:"id";i:4676;s:4:"name";s:10:"Kolding IF";s:4:"logo";s:51:"https://media.api-sports.io/football/teams/4676.png";}s:6:"points";i:24;s:9:"goalsDiff";i:3;s:5:"group";s:27:"1. Division: Regular Season";s:4:"form";s:5:"LLDWW";s:6:"status";s:4:"down";s:11:"description";s:16:"Relegation Round";s:3:"all";a:5:{s:6:"played";i:18;s:3:"win";i:6;s:4:"draw";i:6;s:4:"lose";i:6;s:5:"goals";a:2:{s:3:"for";i:15;s:7:"against";i:12;}}s:4:"home";a:5:{s:6:"played";i:9;s:3:"win";i:2;s:4:"draw";i:4;s:4:"lose";i:3;s:5:"goals";a:2:{s:3:"for";i:8;s:7:"against";i:8;}}s:4:"away";a:5:{s:6:"played";i:9;s:3:"win";i:4;s:4:"draw";i:2;s:4:"lose";i:3;s:5:"goals";a:2:{s:3:"for";i:7;s:7:"against";i:4;}}s:6:"update";s:25:"2024-12-05T00:00:00 00:00";}i:7;a:12:{s:4:"rank";i:8;s:4:"team";a:3:{s:2:"id";i:408;s:4:"name";s:5:"Hobro";s:4:"logo";s:50:"https://media.api-sports.io/football/teams/408.png";}s:6:"points";i:22;s:9:"goalsDiff";i:-6;s:5:"group";s:27:"1. Division: Regular Season";s:4:"form";s:5:"LWDLL";s:6:"status";s:4:"down";s:11:"description";s:16:"Relegation Round";s:3:"all";a:5:{s:6:"played";i:18;s:3:"win";i:6;s:4:"draw";i:4;s:4:"lose";i:8;s:5:"goals";a:2:{s:3:"for";i:27;s:7:"against";i:33;}}s:4:"home";a:5:{s:6:"played";i:9;s:3:"win";i:3;s:4:"draw";i:2;s:4:"lose";i:4;s:5:"goals";a:2:{s:3:"for";i:14;s:7:"against";i:19;}}s:4:"away";a:5:{s:6:"played";i:9;s:3:"win";i:3;s:4:"draw";i:2;s:4:"lose";i:4;s:5:"goals";a:2:{s:3:"for";i:13;s:7:"against";i:14;}}s:6:"update";s:25:"2024-12-05T00:00:00 00:00";}i:8;a:12:{s:4:"rank";i:9;s:4:"team";a:3:{s:2:"id";i:399;s:4:"name";s:13:"Vendsyssel FF";s:4:"logo";s:50:"https://media.api-sports.io/football/teams/399.png";}s:6:"points";i:20;s:9:"goalsDiff";i:-7;s:5:"group";s:27:"1. Division: Regular Season";s:4:"form";s:5:"WDDDL";s:6:"status";s:4:"same";s:11:"description";s:16:"Relegation Round";s:3:"all";a:5:{s:6:"played";i:18;s:3:"win";i:5;s:4:"draw";i:5;s:4:"lose";i:8;s:5:"goals";a:2:{s:3:"for";i:21;s:7:"against";i:28;}}s:4:"home";a:5:{s:6:"played";i:9;s:3:"win";i:3;s:4:"draw";i:2;s:4:"lose";i:4;s:5:"goals";a:2:{s:3:"for";i:10;s:7:"against";i:12;}}s:4:"away";a:5:{s:6:"played";i:9;s:3:"win";i:2;s:4:"draw";i:3;s:4:"lose";i:4;s:5:"goals";a:2:{s:3:"for";i:11;s:7:"against";i:16;}}s:6:"update";s:25:"2024-12-05T00:00:00 00:00";}i:9;a:12:{s:4:"rank";i:10;s:4:"team";a:3:{s:2:"id";i:6009;s:4:"name";s:4:"B 93";s:4:"logo";s:51:"https://media.api-sports.io/football/teams/6009.png";}s:6:"points";i:18;s:9:"goalsDiff";i:-17;s:5:"group";s:27:"1. Division: Regular Season";s:4:"form";s:5:"DLLLL";s:6:"status";s:4:"same";s:11:"description";s:16:"Relegation Round";s:3:"all";a:5:{s:6:"played";i:18;s:3:"win";i:5;s:4:"draw";i:3;s:4:"lose";i:10;s:5:"goals";a:2:{s:3:"for";i:19;s:7:"against";i:36;}}s:4:"home";a:5:{s:6:"played";i:9;s:3:"win";i:1;s:4:"draw";i:2;s:4:"lose";i:6;s:5:"goals";a:2:{s:3:"for";i:4;s:7:"against";i:17;}}s:4:"away";a:5:{s:6:"played";i:9;s:3:"win";i:4;s:4:"draw";i:1;s:4:"lose";i:4;s:5:"goals";a:2:{s:3:"for";i:15;s:7:"against";i:19;}}s:6:"update";s:25:"2024-12-05T00:00:00 00:00";}i:10;a:12:{s:4:"rank";i:11;s:4:"team";a:3:{s:2:"id";i:2063;s:4:"name";s:7:"HB Koge";s:4:"logo";s:51:"https://media.api-sports.io/football/teams/2063.png";}s:6:"points";i:15;s:9:"goalsDiff";i:-16;s:5:"group";s:27:"1. Division: Regular Season";s:4:"form";s:5:"LDWDL";s:6:"status";s:4:"same";s:11:"description";s:16:"Relegation Round";s:3:"all";a:5:{s:6:"played";i:18;s:3:"win";i:4;s:4:"draw";i:3;s:4:"lose";i:11;s:5:"goals";a:2:{s:3:"for";i:20;s:7:"against";i:36;}}s:4:"home";a:5:{s:6:"played";i:9;s:3:"win";i:2;s:4:"draw";i:0;s:4:"lose";i:7;s:5:"goals";a:2:{s:3:"for";i:9;s:7:"against";i:23;}}s:4:"away";a:5:{s:6:"played";i:9;s:3:"win";i:2;s:4:"draw";i:3;s:4:"lose";i:4;s:5:"goals";a:2:{s:3:"for";i:11;s:7:"against";i:13;}}s:6:"update";s:25:"2024-12-05T00:00:00 00:00";}i:11;a:12:{s:4:"rank";i:12;s:4:"team";a:3:{s:2:"id";i:2067;s:4:"name";s:8:"Roskilde";s:4:"logo";s:51:"https://media.api-sports.io/football/teams/2067.png";}s:6:"points";i:7;s:9:"goalsDiff";i:-25;s:5:"group";s:27:"1. Division: Regular Season";s:4:"form";s:5:"LLLLW";s:6:"status";s:4:"same";s:11:"description";s:16:"Relegation Round";s:3:"all";a:5:{s:6:"played";i:18;s:3:"win";i:2;s:4:"draw";i:1;s:4:"lose";i:15;s:5:"goals";a:2:{s:3:"for";i:12;s:7:"against";i:37;}}s:4:"home";a:5:{s:6:"played";i:9;s:3:"win";i:1;s:4:"draw";i:0;s:4:"lose";i:8;s:5:"goals";a:2:{s:3:"for";i:6;s:7:"against";i:18;}}s:4:"away";a:5:{s:6:"played";i:9;s:3:"win";i:1;s:4:"draw";i:1;s:4:"lose";i:7;s:5:"goals";a:2:{s:3:"for";i:6;s:7:"against";i:19;}}s:6:"update";s:25:"2024-12-05T00:00:00 00:00";}}}',
'show_match' => false,
'show_standings' => false,
'show_priority' => false,
'show_footer' => false,
'order' => '97',
'primary_order' => '0',
'footer_order' => '0',
'show_home' => '0',
'active' => true,
'status' => true,
'created' => '2021-06-11 12:52:04',
'modified' => '2024-12-22 14:08:32',
'sort_order' => '1'
)
)
$team_logo = 'https://media.api-sports.io/football/teams/2070.png'
$team_name = 'Viborg'
$country_slug = 'denmark'
$country_team = array(
'Team' => array(
'id' => '277',
'league_id' => '1',
'api_league_id' => '4',
'api_team_id' => '21',
'sportscore_team_id' => '9405',
'sportscore_content' => null,
'slug' => 'denmark',
'name' => 'Denmark',
'country' => 'Denmark',
'founded' => '1889',
'national' => true,
'logo' => 'https://media.api-sports.io/football/teams/21.png',
'api_venue_id' => '11600',
'venue_name' => 'Parken',
'venue_city' => 'København',
'venue_capacity' => '38065',
'venue_surface' => 'grass',
'venue_image' => 'https://media.api-sports.io/football/venues/11600.png',
'statistics' => null,
'career' => null,
'order' => '0',
'status' => true,
'created' => '2022-06-24 00:27:48',
'modified' => '2024-12-20 14:52:02'
)
)
$meta_title = 'Viborg News - MB5 Casino'
TeamsController::news() - APP/Controller/TeamsController.php, line 650
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - APP/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 117