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 => 'halmstad',
(int) 1 => '766'
),
'lang' => 'en',
'currency' => 'my',
'slug' => 'halmstad',
'id' => '766',
'isAjax' => false
)
$api_team_id = '766'
$slug = 'halmstad'
$value = array(
'Team' => array(
'id' => '1363',
'league_id' => '249',
'api_league_id' => '114',
'api_team_id' => '766',
'sportscore_team_id' => '0',
'sportscore_content' => null,
'slug' => 'halmstad',
'name' => 'Halmstad',
'country' => 'Sweden',
'founded' => '1914',
'national' => false,
'logo' => 'https://media-3.api-sports.io/football/teams/766.png',
'api_venue_id' => '1512',
'venue_name' => 'Örjans Vall',
'venue_city' => 'Halmstad',
'venue_capacity' => '15500',
'venue_surface' => 'grass',
'venue_image' => 'https://media-3.api-sports.io/football/venues/1512.png',
'statistics' => null,
'career' => null,
'order' => '0',
'status' => true,
'created' => '2022-07-12 00:56:47',
'modified' => '2024-12-22 03:42:46'
),
'League' => array(
'id' => '249',
'parent_id' => null,
'api_league_id' => '114',
'slug' => 'superettan',
'name' => 'Superettan',
'alias' => null,
'type' => 'League',
'logo' => 'https://media.api-sports.io/football/leagues/114.png',
'country' => 'Sweden',
'country_code' => 'SE',
'country_flag' => 'https://media.api-sports.io/flags/se.svg',
'season' => '2024',
'season_start' => '2024-03-30',
'season_end' => '2024-11-24',
'standings' => 'a:1:{i:0;a:16:{i:0;a:12:{s:4:"rank";i:1;s:4:"team";a:3:{s:2:"id";i:2172;s:4:"name";s:12:"Degerfors IF";s:4:"logo";s:51:"https://media.api-sports.io/football/teams/2172.png";}s:6:"points";i:55;s:9:"goalsDiff";i:22;s:5:"group";s:10:"Superettan";s:4:"form";s:5:"LDDLW";s:6:"status";s:4:"same";s:11:"description";s:23:"Promotion - Allsvenskan";s:3:"all";a:5:{s:6:"played";i:30;s:3:"win";i:15;s:4:"draw";i:10;s:4:"lose";i:5;s:5:"goals";a:2:{s:3:"for";i:50;s:7:"against";i:28;}}s:4:"home";a:5:{s:6:"played";i:15;s:3:"win";i:9;s:4:"draw";i:3;s:4:"lose";i:3;s:5:"goals";a:2:{s:3:"for";i:29;s:7:"against";i:15;}}s:4:"away";a:5:{s:6:"played";i:15;s:3:"win";i:6;s:4:"draw";i:7;s:4:"lose";i:2;s:5:"goals";a:2:{s:3:"for";i:21;s:7:"against";i:13;}}s:6:"update";s:25:"2024-11-27T00:00:00 00:00";}i:1;a:12:{s:4:"rank";i:2;s:4:"team";a:3:{s:2:"id";i:2174;s:4:"name";s:9:"Osters IF";s:4:"logo";s:51:"https://media.api-sports.io/football/teams/2174.png";}s:6:"points";i:54;s:9:"goalsDiff";i:24;s:5:"group";s:10:"Superettan";s:4:"form";s:5:"WWWLD";s:6:"status";s:4:"same";s:11:"description";s:23:"Promotion - Allsvenskan";s:3:"all";a:5:{s:6:"played";i:30;s:3:"win";i:15;s:4:"draw";i:9;s:4:"lose";i:6;s:5:"goals";a:2:{s:3:"for";i:55;s:7:"against";i:31;}}s:4:"home";a:5:{s:6:"played";i:15;s:3:"win";i:9;s:4:"draw";i:4;s:4:"lose";i:2;s:5:"goals";a:2:{s:3:"for";i:35;s:7:"against";i:16;}}s:4:"away";a:5:{s:6:"played";i:15;s:3:"win";i:6;s:4:"draw";i:5;s:4:"lose";i:4;s:5:"goals";a:2:{s:3:"for";i:20;s:7:"against";i:15;}}s:6:"update";s:25:"2024-11-27T00:00:00 00:00";}i:2;a:12:{s:4:"rank";i:3;s:4:"team";a:3:{s:2:"id";i:2176;s:4:"name";s:15:"Landskrona BoIS";s:4:"logo";s:51:"https://media.api-sports.io/football/teams/2176.png";}s:6:"points";i:49;s:9:"goalsDiff";i:12;s:5:"group";s:10:"Superettan";s:4:"form";s:5:"LDWLW";s:6:"status";s:4:"same";s:11:"description";s:37:"Promotion - Allsvenskan (Promotion: )";s:3:"all";a:5:{s:6:"played";i:30;s:3:"win";i:14;s:4:"draw";i:7;s:4:"lose";i:9;s:5:"goals";a:2:{s:3:"for";i:46;s:7:"against";i:34;}}s:4:"home";a:5:{s:6:"played";i:15;s:3:"win";i:8;s:4:"draw";i:4;s:4:"lose";i:3;s:5:"goals";a:2:{s:3:"for";i:26;s:7:"against";i:16;}}s:4:"away";a:5:{s:6:"played";i:15;s:3:"win";i:6;s:4:"draw";i:3;s:4:"lose";i:6;s:5:"goals";a:2:{s:3:"for";i:20;s:7:"against";i:18;}}s:6:"update";s:25:"2024-11-27T00:00:00 00:00";}i:3;a:12:{s:4:"rank";i:4;s:4:"team";a:3:{s:2:"id";i:811;s:4:"name";s:11:"Helsingborg";s:4:"logo";s:50:"https://media.api-sports.io/football/teams/811.png";}s:6:"points";i:47;s:9:"goalsDiff";i:7;s:5:"group";s:10:"Superettan";s:4:"form";s:5:"LLDWL";s:6:"status";s:4:"same";s:11:"description";N;s:3:"all";a:5:{s:6:"played";i:30;s:3:"win";i:13;s:4:"draw";i:8;s:4:"lose";i:9;s:5:"goals";a:2:{s:3:"for";i:41;s:7:"against";i:34;}}s:4:"home";a:5:{s:6:"played";i:15;s:3:"win";i:5;s:4:"draw";i:6;s:4:"lose";i:4;s:5:"goals";a:2:{s:3:"for";i:17;s:7:"against";i:15;}}s:4:"away";a:5:{s:6:"played";i:15;s:3:"win";i:8;s:4:"draw";i:2;s:4:"lose";i:5;s:5:"goals";a:2:{s:3:"for";i:24;s:7:"against";i:19;}}s:6:"update";s:25:"2024-11-27T00:00:00 00:00";}i:4;a:12:{s:4:"rank";i:5;s:4:"team";a:3:{s:2:"id";i:2166;s:4:"name";s:10:"Orgryte IS";s:4:"logo";s:51:"https://media.api-sports.io/football/teams/2166.png";}s:6:"points";i:44;s:9:"goalsDiff";i:7;s:5:"group";s:10:"Superettan";s:4:"form";s:5:"WWDWL";s:6:"status";s:4:"same";s:11:"description";N;s:3:"all";a:5:{s:6:"played";i:30;s:3:"win";i:12;s:4:"draw";i:8;s:4:"lose";i:10;s:5:"goals";a:2:{s:3:"for";i:50;s:7:"against";i:43;}}s:4:"home";a:5:{s:6:"played";i:15;s:3:"win";i:7;s:4:"draw";i:3;s:4:"lose";i:5;s:5:"goals";a:2:{s:3:"for";i:30;s:7:"against";i:23;}}s:4:"away";a:5:{s:6:"played";i:15;s:3:"win";i:5;s:4:"draw";i:5;s:4:"lose";i:5;s:5:"goals";a:2:{s:3:"for";i:20;s:7:"against";i:20;}}s:6:"update";s:25:"2024-11-27T00:00:00 00:00";}i:5;a:12:{s:4:"rank";i:6;s:4:"team";a:3:{s:2:"id";i:6697;s:4:"name";s:9:"Sandviken";s:4:"logo";s:51:"https://media.api-sports.io/football/teams/6697.png";}s:6:"points";i:43;s:9:"goalsDiff";i:8;s:5:"group";s:10:"Superettan";s:4:"form";s:5:"LLDLW";s:6:"status";s:4:"same";s:11:"description";N;s:3:"all";a:5:{s:6:"played";i:30;s:3:"win";i:12;s:4:"draw";i:7;s:4:"lose";i:11;s:5:"goals";a:2:{s:3:"for";i:49;s:7:"against";i:41;}}s:4:"home";a:5:{s:6:"played";i:15;s:3:"win";i:9;s:4:"draw";i:2;s:4:"lose";i:4;s:5:"goals";a:2:{s:3:"for";i:30;s:7:"against";i:14;}}s:4:"away";a:5:{s:6:"played";i:15;s:3:"win";i:3;s:4:"draw";i:5;s:4:"lose";i:7;s:5:"goals";a:2:{s:3:"for";i:19;s:7:"against";i:27;}}s:6:"update";s:25:"2024-11-27T00:00:00 00:00";}i:6;a:12:{s:4:"rank";i:7;s:4:"team";a:3:{s:2:"id";i:369;s:4:"name";s:14:"trelleborgs FF";s:4:"logo";s:50:"https://media.api-sports.io/football/teams/369.png";}s:6:"points";i:42;s:9:"goalsDiff";i:-5;s:5:"group";s:10:"Superettan";s:4:"form";s:5:"WLWLW";s:6:"status";s:4:"same";s:11:"description";N;s:3:"all";a:5:{s:6:"played";i:30;s:3:"win";i:12;s:4:"draw";i:6;s:4:"lose";i:12;s:5:"goals";a:2:{s:3:"for";i:33;s:7:"against";i:38;}}s:4:"home";a:5:{s:6:"played";i:15;s:3:"win";i:7;s:4:"draw";i:4;s:4:"lose";i:4;s:5:"goals";a:2:{s:3:"for";i:17;s:7:"against";i:17;}}s:4:"away";a:5:{s:6:"played";i:15;s:3:"win";i:5;s:4:"draw";i:2;s:4:"lose";i:8;s:5:"goals";a:2:{s:3:"for";i:16;s:7:"against";i:21;}}s:6:"update";s:25:"2024-11-27T00:00:00 00:00";}i:7;a:12:{s:4:"rank";i:8;s:4:"team";a:3:{s:2:"id";i:2175;s:4:"name";s:8:"IK brage";s:4:"logo";s:51:"https://media.api-sports.io/football/teams/2175.png";}s:6:"points";i:41;s:9:"goalsDiff";i:2;s:5:"group";s:10:"Superettan";s:4:"form";s:5:"DLLWL";s:6:"status";s:4:"same";s:11:"description";N;s:3:"all";a:5:{s:6:"played";i:30;s:3:"win";i:11;s:4:"draw";i:8;s:4:"lose";i:11;s:5:"goals";a:2:{s:3:"for";i:31;s:7:"against";i:29;}}s:4:"home";a:5:{s:6:"played";i:15;s:3:"win";i:7;s:4:"draw";i:3;s:4:"lose";i:5;s:5:"goals";a:2:{s:3:"for";i:19;s:7:"against";i:14;}}s:4:"away";a:5:{s:6:"played";i:15;s:3:"win";i:4;s:4:"draw";i:5;s:4:"lose";i:6;s:5:"goals";a:2:{s:3:"for";i:12;s:7:"against";i:15;}}s:6:"update";s:25:"2024-11-27T00:00:00 00:00";}i:8;a:12:{s:4:"rank";i:9;s:4:"team";a:3:{s:2:"id";i:6706;s:4:"name";s:8:"Utsikten";s:4:"logo";s:51:"https://media.api-sports.io/football/teams/6706.png";}s:6:"points";i:41;s:9:"goalsDiff";i:1;s:5:"group";s:10:"Superettan";s:4:"form";s:5:"WLWDW";s:6:"status";s:4:"same";s:11:"description";N;s:3:"all";a:5:{s:6:"played";i:30;s:3:"win";i:11;s:4:"draw";i:8;s:4:"lose";i:11;s:5:"goals";a:2:{s:3:"for";i:39;s:7:"against";i:38;}}s:4:"home";a:5:{s:6:"played";i:15;s:3:"win";i:8;s:4:"draw";i:3;s:4:"lose";i:4;s:5:"goals";a:2:{s:3:"for";i:25;s:7:"against";i:16;}}s:4:"away";a:5:{s:6:"played";i:15;s:3:"win";i:3;s:4:"draw";i:5;s:4:"lose";i:7;s:5:"goals";a:2:{s:3:"for";i:14;s:7:"against";i:22;}}s:6:"update";s:25:"2024-11-27T00:00:00 00:00";}i:9;a:12:{s:4:"rank";i:10;s:4:"team";a:3:{s:2:"id";i:2171;s:4:"name";s:16:"Varbergs BoIS FC";s:4:"logo";s:51:"https://media.api-sports.io/football/teams/2171.png";}s:6:"points";i:39;s:9:"goalsDiff";i:2;s:5:"group";s:10:"Superettan";s:4:"form";s:5:"WWDWD";s:6:"status";s:4:"same";s:11:"description";N;s:3:"all";a:5:{s:6:"played";i:30;s:3:"win";i:10;s:4:"draw";i:9;s:4:"lose";i:11;s:5:"goals";a:2:{s:3:"for";i:46;s:7:"against";i:44;}}s:4:"home";a:5:{s:6:"played";i:15;s:3:"win";i:5;s:4:"draw";i:5;s:4:"lose";i:5;s:5:"goals";a:2:{s:3:"for";i:20;s:7:"against";i:20;}}s:4:"away";a:5:{s:6:"played";i:15;s:3:"win";i:5;s:4:"draw";i:4;s:4:"lose";i:6;s:5:"goals";a:2:{s:3:"for";i:26;s:7:"against";i:24;}}s:6:"update";s:25:"2024-11-27T00:00:00 00:00";}i:10;a:12:{s:4:"rank";i:11;s:4:"team";a:3:{s:2:"id";i:365;s:4:"name";s:9:"Orebro SK";s:4:"logo";s:50:"https://media.api-sports.io/football/teams/365.png";}s:6:"points";i:39;s:9:"goalsDiff";i:1;s:5:"group";s:10:"Superettan";s:4:"form";s:5:"DWLWD";s:6:"status";s:4:"same";s:11:"description";N;s:3:"all";a:5:{s:6:"played";i:30;s:3:"win";i:10;s:4:"draw";i:9;s:4:"lose";i:11;s:5:"goals";a:2:{s:3:"for";i:37;s:7:"against";i:36;}}s:4:"home";a:5:{s:6:"played";i:15;s:3:"win";i:8;s:4:"draw";i:4;s:4:"lose";i:3;s:5:"goals";a:2:{s:3:"for";i:22;s:7:"against";i:12;}}s:4:"away";a:5:{s:6:"played";i:15;s:3:"win";i:2;s:4:"draw";i:5;s:4:"lose";i:8;s:5:"goals";a:2:{s:3:"for";i:15;s:7:"against";i:24;}}s:6:"update";s:25:"2024-11-27T00:00:00 00:00";}i:11;a:12:{s:4:"rank";i:12;s:4:"team";a:3:{s:2:"id";i:11674;s:4:"name";s:8:"Oddevold";s:4:"logo";s:52:"https://media.api-sports.io/football/teams/11674.png";}s:6:"points";i:36;s:9:"goalsDiff";i:-13;s:5:"group";s:10:"Superettan";s:4:"form";s:5:"LWDDD";s:6:"status";s:4:"same";s:11:"description";N;s:3:"all";a:5:{s:6:"played";i:30;s:3:"win";i:8;s:4:"draw";i:12;s:4:"lose";i:10;s:5:"goals";a:2:{s:3:"for";i:34;s:7:"against";i:47;}}s:4:"home";a:5:{s:6:"played";i:15;s:3:"win";i:4;s:4:"draw";i:7;s:4:"lose";i:4;s:5:"goals";a:2:{s:3:"for";i:16;s:7:"against";i:22;}}s:4:"away";a:5:{s:6:"played";i:15;s:3:"win";i:4;s:4:"draw";i:5;s:4:"lose";i:6;s:5:"goals";a:2:{s:3:"for";i:18;s:7:"against";i:25;}}s:6:"update";s:25:"2024-11-27T00:00:00 00:00";}i:12;a:12:{s:4:"rank";i:13;s:4:"team";a:3:{s:2:"id";i:373;s:4:"name";s:13:"GIF Sundsvall";s:4:"logo";s:50:"https://media.api-sports.io/football/teams/373.png";}s:6:"points";i:34;s:9:"goalsDiff";i:-11;s:5:"group";s:10:"Superettan";s:4:"form";s:5:"WWDLL";s:6:"status";s:4:"same";s:11:"description";s:23:"Superettan (Relegation)";s:3:"all";a:5:{s:6:"played";i:30;s:3:"win";i:9;s:4:"draw";i:7;s:4:"lose";i:14;s:5:"goals";a:2:{s:3:"for";i:29;s:7:"against";i:40;}}s:4:"home";a:5:{s:6:"played";i:15;s:3:"win";i:6;s:4:"draw";i:4;s:4:"lose";i:5;s:5:"goals";a:2:{s:3:"for";i:19;s:7:"against";i:17;}}s:4:"away";a:5:{s:6:"played";i:15;s:3:"win";i:3;s:4:"draw";i:3;s:4:"lose";i:9;s:5:"goals";a:2:{s:3:"for";i:10;s:7:"against";i:23;}}s:6:"update";s:25:"2024-11-27T00:00:00 00:00";}i:13;a:12:{s:4:"rank";i:14;s:4:"team";a:3:{s:2:"id";i:376;s:4:"name";s:13:"Ostersunds FK";s:4:"logo";s:50:"https://media.api-sports.io/football/teams/376.png";}s:6:"points";i:32;s:9:"goalsDiff";i:-14;s:5:"group";s:10:"Superettan";s:4:"form";s:5:"DLLWL";s:6:"status";s:4:"same";s:11:"description";s:23:"Superettan (Relegation)";s:3:"all";a:5:{s:6:"played";i:30;s:3:"win";i:8;s:4:"draw";i:8;s:4:"lose";i:14;s:5:"goals";a:2:{s:3:"for";i:30;s:7:"against";i:44;}}s:4:"home";a:5:{s:6:"played";i:15;s:3:"win";i:7;s:4:"draw";i:5;s:4:"lose";i:3;s:5:"goals";a:2:{s:3:"for";i:19;s:7:"against";i:17;}}s:4:"away";a:5:{s:6:"played";i:15;s:3:"win";i:1;s:4:"draw";i:3;s:4:"lose";i:11;s:5:"goals";a:2:{s:3:"for";i:11;s:7:"against";i:27;}}s:6:"update";s:25:"2024-11-27T00:00:00 00:00";}i:14;a:12:{s:4:"rank";i:15;s:4:"team";a:3:{s:2:"id";i:813;s:4:"name";s:8:"gefle IF";s:4:"logo";s:50:"https://media.api-sports.io/football/teams/813.png";}s:6:"points";i:32;s:9:"goalsDiff";i:-17;s:5:"group";s:10:"Superettan";s:4:"form";s:5:"LWLDW";s:6:"status";s:4:"same";s:11:"description";s:10:"Relegation";s:3:"all";a:5:{s:6:"played";i:30;s:3:"win";i:8;s:4:"draw";i:8;s:4:"lose";i:14;s:5:"goals";a:2:{s:3:"for";i:37;s:7:"against";i:54;}}s:4:"home";a:5:{s:6:"played";i:15;s:3:"win";i:6;s:4:"draw";i:5;s:4:"lose";i:4;s:5:"goals";a:2:{s:3:"for";i:24;s:7:"against";i:22;}}s:4:"away";a:5:{s:6:"played";i:15;s:3:"win";i:2;s:4:"draw";i:3;s:4:"lose";i:10;s:5:"goals";a:2:{s:3:"for";i:13;s:7:"against";i:32;}}s:6:"update";s:25:"2024-11-27T00:00:00 00:00";}i:15;a:12:{s:4:"rank";i:16;s:4:"team";a:3:{s:2:"id";i:6698;s:4:"name";s:11:"Skövde AIK";s:4:"logo";s:51:"https://media.api-sports.io/football/teams/6698.png";}s:6:"points";i:25;s:9:"goalsDiff";i:-26;s:5:"group";s:10:"Superettan";s:4:"form";s:5:"DLDDL";s:6:"status";s:4:"same";s:11:"description";s:10:"Relegation";s:3:"all";a:5:{s:6:"played";i:30;s:3:"win";i:5;s:4:"draw";i:10;s:4:"lose";i:15;s:5:"goals";a:2:{s:3:"for";i:26;s:7:"against";i:52;}}s:4:"home";a:5:{s:6:"played";i:15;s:3:"win";i:3;s:4:"draw";i:5;s:4:"lose";i:7;s:5:"goals";a:2:{s:3:"for";i:10;s:7:"against";i:19;}}s:4:"away";a:5:{s:6:"played";i:15;s:3:"win";i:2;s:4:"draw";i:5;s:4:"lose";i:8;s:5:"goals";a:2:{s:3:"for";i:16;s:7:"against";i:33;}}s:6:"update";s:25:"2024-11-27T00:00:00 00:00";}}}',
'show_match' => false,
'show_standings' => false,
'show_priority' => false,
'show_footer' => false,
'order' => '291',
'primary_order' => '0',
'footer_order' => '0',
'show_home' => '0',
'active' => true,
'status' => true,
'created' => '2021-06-11 12:52:04',
'modified' => '2024-12-23 07:30:39',
'sort_order' => '1'
)
)
$team_logo = 'https://media-3.api-sports.io/football/teams/766.png'
$team_name = 'Halmstad'
$country_slug = 'sweden'
$country_team = array(
'Team' => array(
'id' => '339',
'league_id' => '329',
'api_league_id' => '10',
'api_team_id' => '5',
'sportscore_team_id' => '9415',
'sportscore_content' => null,
'slug' => 'sweden',
'name' => 'Sweden',
'country' => 'Sweden',
'founded' => '1904',
'national' => true,
'logo' => 'https://media.api-sports.io/football/teams/5.png',
'api_venue_id' => '21411',
'venue_name' => 'Strawberry Arena',
'venue_city' => 'Solna',
'venue_capacity' => '54329',
'venue_surface' => 'grass',
'venue_image' => 'https://media.api-sports.io/football/venues/1501.png',
'statistics' => null,
'career' => null,
'order' => '0',
'status' => true,
'created' => '2022-06-24 00:28:42',
'modified' => '2024-12-23 02:13:54'
)
)
$meta_title = 'Halmstad 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