Code Context 'por' => 'PT',
);
$currentLabel = isset($langList[$currentLang]) ? $langList[$currentLang] : mb_strtoupper(substr($currentLang, 0, 2, 'UTF-8'));
$viewFile = '/var/www/html/app/View/Themed/Design/Elements/layout-slots/header-slot.ctp'
$dataForView = array(
'Event' => array(
'Event' => array(
'id' => '38',
'import_id' => '3148272476',
'name' => 'Hawaii Rainbow Warriors vs UNLV Rebels',
'status' => '1',
'type' => '1',
'duration' => null,
'date' => '2026-09-06 02:00:00',
'last_update' => null,
'result' => '',
'active' => true,
'league_id' => '2220',
'feed_type' => 'theoddsapi',
'fake_target_score' => null,
'firstTeam' => 'Hawaii Rainbow Warriors',
'secondTeam' => 'UNLV Rebels'
),
'League' => array(
'id' => '2220',
'country_id' => '0',
'import_id' => '1009926265',
'name' => 'NCAAF',
'active' => true,
'order' => '999',
'sport_id' => '12',
'min_bet' => '0',
'max_bet' => '0',
'updated' => '1783283686',
'feed_type' => 'theoddsapi'
),
'Bet' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'Sport' => array()
),
'slides' => array(
(int) 0 => array(
'Slide' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'Slide' => array(
[maximum depth reached]
)
)
),
'referer' => '/',
'LeagueId' => null,
'SportId' => null,
'LeaguesLiveMenu' => array(),
'LeaguesMenu' => array(),
'SportsMenu' => array(
(int) 0 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 13 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 14 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 15 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 16 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 17 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 18 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 19 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 20 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 21 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 22 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 23 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 24 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 25 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 26 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 27 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 28 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 29 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 30 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 31 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 32 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 33 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 34 => array(
'Sport' => array(
[maximum depth reached]
)
)
),
'SportsLiveMenu' => array(
(int) 0 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'Sport' => array(
[maximum depth reached]
)
)
),
'League' => null,
'liveSports' => array(),
'getNews' => array(
(int) 0 => array(
'News' => array(
[maximum depth reached]
)
)
),
'bets' => array(),
'content_for_layout' => '<style>
/* ── Match page EpicBet Style ── */
body { background: #0F1014 !important; }
.match-page-wrap {
background: #0F1014;
min-height: 100vh;
padding-bottom: 140px;
font-family: 'Inter', sans-serif;
}
/* ── Match header ── */
.match-header {
background: linear-gradient(rgba(0,0,0,0.5), rgba(15,16,20,0.9)), url('/theme/Design/img/stadium_bg.png') center/cover;
border: 1px solid #2B2D36;
border-bottom: 2px solid #FF8A00;
color: #fff;
padding: 16px 15px 24px;
position: relative;
margin-bottom: 0;
}
.match-header-top {
display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px;
}
.match-header-top a {
color: rgba(255,255,255,0.85); text-decoration: none; font-size: 18px;
width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
}
.match-header-league {
font-size: 12px; opacity: 0.85; text-align: center; flex: 1; margin: 0 8px; font-weight: 500;
}
.match-header-main {
display: flex; align-items: center; justify-content: space-between;
}
.team-col {
flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0;
}
.team-col.right { flex-direction: row-reverse; }
.team-logo {
width: 24px; height: 24px; border-radius: 4px; overflow: hidden; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.team-logo-fallback { font-size: 14px; font-weight: 800; color: #fff; }
.team-name { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.team-col.right .team-name { text-align: right; }
.score-col {
display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 80px; padding: 0 10px;
}
.score-val { font-size: 26px; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 5px; }
.score-time { font-size: 12px; opacity: 0.8; color: #fff; line-height: 1.4; text-align: center; }
/* ── Market section heading ── */
.market-section-heading {
display: flex; justify-content: space-between; align-items: center;
padding: 18px 15px 10px; font-size: 16px; font-weight: 800; color: #fff;
}
.market-section-heading .collapse-all-btn {
font-size: 11px; color: #8A9099; cursor: pointer; font-weight: 500;
}
/* ── Tabs ── */
.match-tabs-scroll {
overflow-x: auto; white-space: nowrap; background: #0F1014; margin-top: 10px; padding: 10px 10px 0;
}
.match-tabs-scroll::-webkit-scrollbar { display: none; }
.match-tabs {
display: flex; gap: 8px; border-bottom: 1px solid #2B2D36; padding-bottom: 10px;
}
.match-tab {
padding: 8px 16px; border-radius: 20px; font-size: 13px; font-weight: 600;
color: #8A9099; cursor: pointer; border: 1px solid transparent; transition: 0.2s; white-space: nowrap;
}
.match-tab.active {
border-color: #FF8A00; color: #FF8A00; background: rgba(255,138,0,0.1);
}
/* ── Markets Container ── */
.match-markets { padding: 0 10px 10px; background: #0F1014; min-height: 50vh; }
/* ── Accordion Card ── */
.market-card {
background: #161820; border: 1px solid #2B2D36; border-radius: 12px; margin-bottom: 8px; overflow: hidden;
}
.market-header {
padding: 13px 15px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; user-select: none;
}
.market-title {
font-size: 13px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 8px;
}
.market-icon { color: #FF8A00; font-size: 13px; }
.toggle-icon { color: #8A9099; font-size: 11px; transition: transform 0.2s; }
.market-card.collapsed .market-body { display: none; }
.market-card.collapsed .toggle-icon { transform: rotate(180deg); }
/* ── Body ── */
.market-body { padding: 0 12px 12px; }
/* ── Standard 1x2 Grid ── */
.odds-grid {
display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 6px;
}
.odds-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.odd-btn {
background: #1A1C22; border: 1px solid #2A2C35; border-radius: 8px; padding: 10px 6px;
display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px;
text-decoration: none; cursor: pointer; transition: 0.15s; -webkit-tap-highlight-color: transparent;
min-height: 52px;
}
.odd-btn:active, .odd-btn.selected { background: rgba(255,138,0,0.12); border-color: #FF8A00; }
.odd-name { font-size: 10px; color: #8A9099; font-weight: 600; text-align: center; line-height: 1.3; }
.odd-val { font-size: 15px; color: #fff; font-weight: 800; text-align: center; }
/* ── Total Over/Under Table ── */
.total-table { width: 100%; border-collapse: collapse; font-size: 12px; margin-bottom: 4px; }
.total-table th {
color: #8A9099; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
padding: 6px 8px; text-align: center;
}
.total-table td { padding: 3px 4px; }
.total-table .line-cell { color: #fff; font-weight: 700; font-size: 13px; padding: 3px 8px; }
.total-pill {
display: flex; align-items: center; justify-content: center;
background: #1A1C22; border: 1px solid #2A2C35; border-radius: 7px;
padding: 9px 6px; cursor: pointer; transition: 0.15s; font-size: 14px; font-weight: 800; color: #fff;
text-align: center; width: 100%;
}
.total-pill:active, .total-pill.selected { background: rgba(255,138,0,0.12); border-color: #FF8A00; }
.total-table-wrap { overflow: hidden; }
.total-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
/* ── Handicap card ── */
.hcap-row {
display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 4px;
}
.hcap-cell {
background: #1A1C22; border: 1px solid #2A2C35; border-radius: 8px;
padding: 10px; cursor: pointer; transition: 0.15s; display: flex;
align-items: center; justify-content: space-between; gap: 6px;
}
.hcap-cell:active, .hcap-cell.selected { background: rgba(255,138,0,0.12); border-color: #FF8A00; }
.hcap-line { font-size: 12px; color: #8A9099; font-weight: 600; }
.hcap-odd { font-size: 15px; font-weight: 800; color: #fff; }
/* ── BTTS rows ── */
.btts-table { display: grid; grid-template-columns: 1fr auto auto; gap: 4px; align-items: center; margin-bottom: 4px; }
.btts-label { font-size: 12px; color: #fff; font-weight: 500; }
.btts-th { font-size: 10px; color: #8A9099; font-weight: 700; text-align: center; letter-spacing: 0.5px; text-transform: uppercase; padding: 3px 0 6px; }
.btts-header { display: grid; grid-template-columns: 1fr auto auto; gap: 4px; }
.btts-btn {
width: 70px; background: #1A1C22; border: 1px solid #2A2C35; border-radius: 7px;
padding: 9px 4px; font-size: 14px; font-weight: 800; color: #fff; text-align: center;
cursor: pointer; transition: 0.15s;
}
.btts-btn:active, .btts-btn.selected { background: rgba(255,138,0,0.12); border-color: #FF8A00; }
/* ── Correct Score ── */
.cs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.cs-group-label { font-size: 11px; color: #8A9099; font-weight: 700; text-align: center; padding: 8px 0 4px; }
.cs-btn {
background: #1A1C22; border: 1px solid #2A2C35; border-radius: 7px;
padding: 8px 6px; display: flex; flex-direction: column; align-items: center; gap: 2px;
cursor: pointer; transition: 0.15s;
}
.cs-btn:active, .cs-btn.selected { background: rgba(255,138,0,0.12); border-color: #FF8A00; }
.cs-score { font-size: 13px; font-weight: 800; color: #fff; }
.cs-odd { font-size: 11px; color: #FF8A00; font-weight: 700; }
/* ── Section separator ── */
.market-section { margin-bottom: 6px; }
@media (min-width: 768px) {
.match-page-wrap { width: 100%; margin: 0 auto; border-left: 1px solid #2B2D36; border-right: 1px solid #2B2D36; }
}
</style>
<div class="match-page-wrap">
<!-- Header -->
<div class="match-header">
<div class="match-header-top">
<a href="javascript:history.back()"><i class="fas fa-chevron-left"></i></a>
<div class="match-header-league">
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a7cc51ca96fa-trace').style.display = (document.getElementById('cakeErr6a7cc51ca96fa-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: name [<b>APP/Plugin/Events/View/Themed/Design/Events/display.ctp</b>, line <b>372</b>]<div id="cakeErr6a7cc51ca96fa-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a7cc51ca96fa-code').style.display = (document.getElementById('cakeErr6a7cc51ca96fa-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a7cc51ca96fa-context').style.display = (document.getElementById('cakeErr6a7cc51ca96fa-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6a7cc51ca96fa-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">a href</span><span style="color: #007700">=</span><span style="color: #DD0000">"javascript:history.back()"</span><span style="color: #007700">><</span><span style="color: #0000BB">i </span><span style="color: #007700">class=</span><span style="color: #DD0000">"fas fa-chevron-left"</span><span style="color: #007700">></</span><span style="color: #0000BB">i</span><span style="color: #007700">></</span><span style="color: #0000BB">a</span><span style="color: #007700">></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div </span><span style="color: #007700">class=</span><span style="color: #DD0000">"match-header-league"</span><span style="color: #007700">></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$Event</span><span style="color: #007700">[</span><span style="color: #DD0000">'Sport'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">]; </span><span style="color: #0000BB">?></span>, <span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$Event</span><span style="color: #007700">[</span><span style="color: #DD0000">'League'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">]; </span><span style="color: #0000BB">?></span></span></code></span></pre><pre id="cakeErr6a7cc51ca96fa-context" class="cake-context" style="display: none;">$viewFile = '/var/www/html/app/Plugin//Events/View/Themed/Design/Events/display.ctp'
$dataForView = array(
'Event' => array(
'Event' => array(
'id' => '38',
'import_id' => '3148272476',
'name' => 'Hawaii Rainbow Warriors vs UNLV Rebels',
'status' => '1',
'type' => '1',
'duration' => null,
'date' => '2026-09-06 02:00:00',
'last_update' => null,
'result' => '',
'active' => true,
'league_id' => '2220',
'feed_type' => 'theoddsapi',
'fake_target_score' => null,
'firstTeam' => 'Hawaii Rainbow Warriors',
'secondTeam' => 'UNLV Rebels'
),
'League' => array(
'id' => '2220',
'country_id' => '0',
'import_id' => '1009926265',
'name' => 'NCAAF',
'active' => true,
'order' => '999',
'sport_id' => '12',
'min_bet' => '0',
'max_bet' => '0',
'updated' => '1783283686',
'feed_type' => 'theoddsapi'
),
'Bet' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'Sport' => array()
),
'slides' => array(
(int) 0 => array(
'Slide' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'Slide' => array(
[maximum depth reached]
)
)
),
'referer' => '/',
'LeagueId' => null,
'SportId' => null,
'LeaguesLiveMenu' => array(),
'LeaguesMenu' => array(),
'SportsMenu' => array(
(int) 0 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 13 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 14 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 15 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 16 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 17 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 18 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 19 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 20 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 21 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 22 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 23 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 24 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 25 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 26 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 27 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 28 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 29 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 30 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 31 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 32 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 33 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 34 => array(
'Sport' => array(
[maximum depth reached]
)
)
),
'SportsLiveMenu' => array(
(int) 0 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'Sport' => array(
[maximum depth reached]
)
)
),
'League' => null,
'liveSports' => array(),
'getNews' => array(
(int) 0 => array(
'News' => array(
[maximum depth reached]
)
)
),
'bets' => array()
)
$Event = array(
'Event' => array(
'id' => '38',
'import_id' => '3148272476',
'name' => 'Hawaii Rainbow Warriors vs UNLV Rebels',
'status' => '1',
'type' => '1',
'duration' => null,
'date' => '2026-09-06 02:00:00',
'last_update' => null,
'result' => '',
'active' => true,
'league_id' => '2220',
'feed_type' => 'theoddsapi',
'fake_target_score' => null,
'firstTeam' => 'Hawaii Rainbow Warriors',
'secondTeam' => 'UNLV Rebels'
),
'League' => array(
'id' => '2220',
'country_id' => '0',
'import_id' => '1009926265',
'name' => 'NCAAF',
'active' => true,
'order' => '999',
'sport_id' => '12',
'min_bet' => '0',
'max_bet' => '0',
'updated' => '1783283686',
'feed_type' => 'theoddsapi'
),
'Bet' => array(
(int) 0 => array(
'id' => '38',
'import_id' => '3148272476',
'event_id' => '38',
'name' => 'Match Result',
'type' => 'Match Result',
'scope' => 'FT',
'pick' => null,
'state' => 'active',
'BetPart' => array(
[maximum depth reached]
)
)
),
'Sport' => array()
)
$slides = array(
(int) 0 => array(
'Slide' => array(
'id' => '10',
'title' => 'Welcome Bonus<br> 100% up to ┬г/$/тВм200',
'description' => '<p>Make your first<br />
deposit today</p>
',
'url' => 'https://google.com',
'image' => 'flipper1.jpg',
'active' => true,
'order' => '1'
)
),
(int) 1 => array(
'Slide' => array(
'id' => '11',
'title' => 'Spring Luck',
'description' => '<p>Dive into 360 Lucky Free Spins &amp;<br />
Up to &pound;/$/&euro;1,500 in Spring Bonuses</p>
',
'url' => '//facebook.com',
'image' => 'flipepr2.jpg',
'active' => true,
'order' => '2'
)
)
)
$referer = '/'
$LeagueId = null
$SportId = null
$LeaguesLiveMenu = array()
$LeaguesMenu = array()
$SportsMenu = array(
(int) 0 => array(
'Sport' => array(
'id' => '1',
'name' => 'Football'
)
),
(int) 1 => array(
'Sport' => array(
'id' => '2',
'name' => 'Tennis'
)
),
(int) 2 => array(
'Sport' => array(
'id' => '3',
'name' => 'Formula 1'
)
),
(int) 3 => array(
'Sport' => array(
'id' => '4',
'name' => 'Basketball'
)
),
(int) 4 => array(
'Sport' => array(
'id' => '5',
'name' => 'Rugby Union'
)
),
(int) 5 => array(
'Sport' => array(
'id' => '6',
'name' => 'Cycling'
)
),
(int) 6 => array(
'Sport' => array(
'id' => '7',
'name' => 'Golf'
)
),
(int) 7 => array(
'Sport' => array(
'id' => '8',
'name' => 'Volleyball'
)
),
(int) 8 => array(
'Sport' => array(
'id' => '9',
'name' => 'Handball'
)
),
(int) 9 => array(
'Sport' => array(
'id' => '10',
'name' => 'Cricket'
)
),
(int) 10 => array(
'Sport' => array(
'id' => '11',
'name' => 'Ice Hockey'
)
),
(int) 11 => array(
'Sport' => array(
'id' => '12',
'name' => 'American Football'
)
),
(int) 12 => array(
'Sport' => array(
'id' => '13',
'name' => 'Motorcycling'
)
),
(int) 13 => array(
'Sport' => array(
'id' => '14',
'name' => 'Boxing'
)
),
(int) 14 => array(
'Sport' => array(
'id' => '15',
'name' => 'Rally'
)
),
(int) 15 => array(
'Sport' => array(
'id' => '16',
'name' => 'Baseball'
)
),
(int) 16 => array(
'Sport' => array(
'id' => '17',
'name' => 'Darts'
)
),
(int) 17 => array(
'Sport' => array(
'id' => '18',
'name' => 'Snooker'
)
),
(int) 18 => array(
'Sport' => array(
'id' => '19',
'name' => 'Speedway'
)
),
(int) 19 => array(
'Sport' => array(
'id' => '20',
'name' => 'Futsal'
)
),
(int) 20 => array(
'Sport' => array(
'id' => '24',
'name' => 'Floorball'
)
),
(int) 21 => array(
'Sport' => array(
'id' => '25',
'name' => 'Table Tennis'
)
),
(int) 22 => array(
'Sport' => array(
'id' => '26',
'name' => 'Rugby League'
)
),
(int) 23 => array(
'Sport' => array(
'id' => '28',
'name' => 'Nascar'
)
),
(int) 24 => array(
'Sport' => array(
'id' => '31',
'name' => 'Rink Hockey'
)
),
(int) 25 => array(
'Sport' => array(
'id' => '41',
'name' => 'Sailing'
)
),
(int) 26 => array(
'Sport' => array(
'id' => '62',
'name' => 'Bandy'
)
),
(int) 27 => array(
'Sport' => array(
'id' => '63',
'name' => 'Alpine Skiing'
)
),
(int) 28 => array(
'Sport' => array(
'id' => '64',
'name' => 'Biathlon'
)
),
(int) 29 => array(
'Sport' => array(
'id' => '65',
'name' => 'Ski Jumping'
)
),
(int) 30 => array(
'Sport' => array(
'id' => '66',
'name' => 'Cross-Country Skiing'
)
),
(int) 31 => array(
'Sport' => array(
'id' => '68',
'name' => 'Cricket'
)
),
(int) 32 => array(
'Sport' => array(
'id' => '69',
'name' => 'Soccer'
)
),
(int) 33 => array(
'Sport' => array(
'id' => '70',
'name' => 'Mma'
)
),
(int) 34 => array(
'Sport' => array(
'id' => '71',
'name' => 'Lacrosse'
)
)
)
$SportsLiveMenu = array(
(int) 0 => array(
'Sport' => array(
'id' => '1',
'name' => 'Football'
)
),
(int) 1 => array(
'Sport' => array(
'id' => '4',
'name' => 'Basketball'
)
),
(int) 2 => array(
'Sport' => array(
'id' => '10',
'name' => 'Cricket'
)
),
(int) 3 => array(
'Sport' => array(
'id' => '14',
'name' => 'Boxing'
)
),
(int) 4 => array(
'Sport' => array(
'id' => '16',
'name' => 'Baseball'
)
)
)
$League = null
$liveSports = array()
$getNews = array(
(int) 0 => array(
'News' => array(
'id' => '1',
'title' => 'Max Verstappen and Carlos Sainz both excellent in 2015 - McNish',
'summary' => 'Twelve months ago, he had just finished his first season in car racing and had just driven a grand prix car for the first time. At 17, he was being put forward as a reason to bring in a minimum age limit for drivers entering F1.',
'content' => '<p><img alt="" src="http://ichef.bbci.co.uk/onesport/cps/624/cpsprodpb/9751/production/_86773783_tro_rosso_verstappen_getty.jpg" style="width: 550px; height: 229px;" /></p>
<p>Max Verstappen has been one of the stars of the Formula 1 season.</p>
<p>Twelve months ago, he had just finished his first season in car racing and had just driven a grand prix car for the first time. At 17, he was being put forward as a reason to bring in a minimum age limit for drivers entering F1.</p>
<p>There were question marks about him, and the morality and wisdom of having such a young driver with such limited experience.</p>
<p>A year on from that, those questions marks are long gone, and Dutchman Verstappen is regarded as the revelation of the season - and his performances have put more focus on youth coming through.</p>
<p>Beyond that, people are talking about him as a future world champion.</p>
',
'created' => '2014-03-27 21:34:38',
'modified' => '2015-11-20 10:32:25',
'locale' => 'eng'
)
)
)
$bets = array()
$team1 = 'Hawaii Rainbow Warriors'
$team2 = 'UNLV Rebels'
$logo1 = 'H'
$logo2 = 'U'
$groups = array(
'result_ft' => array(
(int) 0 => array(
'id' => '38',
'import_id' => '3148272476',
'event_id' => '38',
'name' => 'Match Result',
'type' => 'Match Result',
'scope' => 'FT',
'pick' => null,
'state' => 'active',
'BetPart' => array(
[maximum depth reached]
)
)
),
'result_1h' => array(),
'result_2h' => array(),
'dc_ft' => array(),
'dc_1h' => array(),
'total_ft' => array(),
'total_1h' => array(),
'total_2h' => array(),
'ind_total_ft' => array(),
'ind_total_1h' => array(),
'handicap_ft' => array(),
'handicap_1h' => array(),
'btts_ft' => array(),
'btts_1h' => array(),
'correct_score' => array(
(int) 0 => array(
'id' => 'cs_fake_0',
'Bet' => array(
[maximum depth reached]
),
'name' => 'Correct Score',
'type' => 'correct score',
'BetPart' => array([maximum depth reached])
)
),
'other' => array()
)
$Bet = array(
'id' => '38',
'import_id' => '3148272476',
'event_id' => '38',
'name' => 'Match Result',
'type' => 'Match Result',
'scope' => 'FT',
'pick' => null,
'state' => 'active',
'BetPart' => array(
(int) 0 => array(
'BetPart' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'BetPart' => array(
[maximum depth reached]
)
)
)
)
$name = 'Match Result'
$nameLc = 'match result'
$type = 'match result'
$scope = 'ft'
$hasParticipant = false
$bp = array(
'BetPart' => array(
'id' => '76',
'import_id' => '2584713343',
'bet_id' => '38',
'name' => '2',
'odd' => '1.75',
'line' => null,
'order_id' => '0',
'suspended' => '0'
)
)
$is1h = false
$is2h = false</pre><pre class="stack-trace">include - APP/Plugin/Events/View/Themed/Design/Events/display.ctp, line 372
View::_evaluate() - CORE/Cake/View/View.php, line 935
View::_render() - CORE/Cake/View/View.php, line 897
View::render() - CORE/Cake/View/View.php, line 466
Controller::render() - CORE/Cake/Controller/Controller.php, line 952
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 192
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160
[main] - APP/webroot/index.php, line 124</pre></div></pre>, NCAAF </div>
<a href="#"><i class="far fa-star"></i></a>
</div>
<div class="match-header-main">
<div class="team-col">
<div class="team-logo">
<img src="/theme/Design/img/teams/Hawaii_Rainbow_Warriors.png" style="width: 100%; height: 100%; object-fit: contain;" onerror="this.style.display='none';this.nextElementSibling.style.display='block';">
<div class="team-logo-fallback" style="display: none;">H</div>
</div>
<div class="team-name">Hawaii Rainbow Warriors</div>
</div>
<div class="score-col">
<div class="score-val">
vs
</div>
<div class="score-time">
6 Sep 05:00 </div>
</div>
<div class="team-col right">
<div class="team-logo">
<img src="/theme/Design/img/teams/UNLV_Rebels.png" style="width: 100%; height: 100%; object-fit: contain;" onerror="this.style.display='none';this.nextElementSibling.style.display='block';">
<div class="team-logo-fallback" style="display: none;">U</div>
</div>
<div class="team-name">UNLV Rebels</div>
</div>
</div>
</div>
<!-- Top-level tabs: ПОПУЛЯРНОЕ / МАТЧ / 1-Й ТАЙМ / 2-Й ТАЙМ -->
<div class="match-tabs-scroll">
<div class="match-tabs" id="mainTabs">
<div class="match-tab active" data-tab="popular">????????</div>
<div class="match-tab" data-tab="match">Match</div>
<div class="match-tab" data-tab="half1">1st Half</div>
<div class="match-tab" data-tab="half2">2nd Half</div>
</div>
</div>
<!-- Markets Container -->
<div class="match-markets" id="marketsContainer">
<!-- ══════════════════════════════════════ -->
<!-- ПОПУЛЯРНОЕ TAB -->
<!-- ══════════════════════════════════════ -->
<div class="tab-content" id="tab-popular">
<!-- ИСХОДЫ section heading -->
<div class="market-section-heading">
<span>Outcomes</span>
<span class="collapse-all-btn" onclick="toggleSection(this)">Collapse all</span>
</div>
<div class="market-section">
<!-- Match Result FT -->
<div class="market-card" data-group="result_ft">
<div class="market-header" onclick="this.parentElement.classList.toggle('collapsed')">
<div class="market-title"><i class="far fa-bookmark market-icon"></i> Match Result (Regular Time)</div>
<i class="fas fa-chevron-up toggle-icon"></i>
</div>
<div class="market-body">
<div class="odds-grid cols-2">
<div class="odd-btn click-add addBet" id="75">
<span class="odd-name">Hawaii Rainbow Warriors</span>
<span class="odd-val">2.05</span>
</div>
<div class="odd-btn click-add addBet" id="76">
<span class="odd-name">UNLV Rebels</span>
<span class="odd-val">1.75</span>
</div>
</div>
<!-- Double Chance FT inline -->
</div>
</div>
<!-- Match Result 1H -->
</div><!-- end .market-section -->
<!-- ── ТОТАЛЫ section ── -->
<!-- ── ФОРЫ section ── -->
<!-- ── ЗАБЬЮТ – НЕ ЗАБЬЮТ section ── -->
<!-- ── ТОЧНЫЙ СЧЕТ section ── -->
<div class="market-section-heading">
<span>Correct Score</span>
<span class="collapse-all-btn" onclick="toggleSection(this)">Collapse all</span>
</div>
<div class="market-section">
<div class="market-card" data-group="correct_score">
<div class="market-header" onclick="this.parentElement.classList.toggle('collapsed')">
<div class="market-title"><i class="far fa-bookmark market-icon"></i> Correct Score</div>
<i class="fas fa-chevron-up toggle-icon"></i>
</div>
<div class="market-body">
<div class="cs-interactive-widget" id="cs-widget-cs_fake_0" style="background: #252830; border-radius: 12px; padding: 16px;">
<div class="cs-team-row" style="display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; width: 100%;">
<div style="display: flex; align-items: center; flex: 1; min-width: 0; padding-right: 10px;">
<img src="/theme/Design/img/teams/Hawaii_Rainbow_Warriors.png" style="width: 24px; height: 24px; border-radius:50%; object-fit: contain; margin-right: 12px; flex-shrink: 0;">
<span style="color: #fff; font-size: 15px; font-weight: 500; line-height: 1.2; white-space: normal; word-wrap: break-word;">Hawaii Rainbow Warriors</span>
</div>
<div class="cs-controls" style="display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; width: 124px; min-width: 124px; max-width: 124px;">
<div class="cs-btn-minus" onclick="updateScore('cs-widget-cs_fake_0', 1, -1)" style="width: 30px; height: 30px; min-width: 30px; max-width: 30px; border-radius: 50%; border: 1px solid #3A3D45; color: #8A9099; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; user-select: none; flex-shrink: 0;">-</div>
<input type="number" class="cs-score-val cs-score-1" value="0" min="0" onchange="updateScore('cs-widget-cs_fake_0', 1, 0)" style="color: #fff; background: transparent; border: none; font-size: 18px; font-weight: 700; width: 40px; min-width: 40px; max-width: 40px; text-align: center; outline: none; padding: 0; flex-shrink: 0;">
<div class="cs-btn-plus" onclick="updateScore('cs-widget-cs_fake_0', 1, 1)" style="width: 30px; height: 30px; min-width: 30px; max-width: 30px; border-radius: 50%; border: 1px solid #3A3D45; color: #8A9099; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; user-select: none; flex-shrink: 0;">+</div>
</div>
</div>
<div class="cs-team-row" style="display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; width: 100%;">
<div style="display: flex; align-items: center; flex: 1; min-width: 0; padding-right: 10px;">
<img src="/theme/Design/img/teams/UNLV_Rebels.png" style="width: 24px; height: 24px; border-radius:50%; object-fit: contain; margin-right: 12px; flex-shrink: 0;">
<span style="color: #fff; font-size: 15px; font-weight: 500; line-height: 1.2; white-space: normal; word-wrap: break-word;">UNLV Rebels</span>
</div>
<div class="cs-controls" style="display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; width: 124px; min-width: 124px; max-width: 124px;">
<div class="cs-btn-minus" onclick="updateScore('cs-widget-cs_fake_0', 2, -1)" style="width: 30px; height: 30px; min-width: 30px; max-width: 30px; border-radius: 50%; border: 1px solid #3A3D45; color: #8A9099; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; user-select: none; flex-shrink: 0;">-</div>
<input type="number" class="cs-score-val cs-score-2" value="0" min="0" onchange="updateScore('cs-widget-cs_fake_0', 2, 0)" style="color: #fff; background: transparent; border: none; font-size: 18px; font-weight: 700; width: 40px; min-width: 40px; max-width: 40px; text-align: center; outline: none; padding: 0; flex-shrink: 0;">
<div class="cs-btn-plus" onclick="updateScore('cs-widget-cs_fake_0', 2, 1)" style="width: 30px; height: 30px; min-width: 30px; max-width: 30px; border-radius: 50%; border: 1px solid #3A3D45; color: #8A9099; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; user-select: none; flex-shrink: 0;">+</div>
</div>
</div>
<div class="cs-submit-btn addBet" id="fake_0:0" style="background: #FF8A00; color: #000; text-align: center; padding: 12px; border-radius: 8px; font-size: 16px; font-weight: 700; cursor: pointer; transition: 0.2s;">
5.50
</div>
<input type="hidden" class="cs-data" value='[]'>
</div>
</div>
</div>
</div>
<!-- ── OTHER / misc ── -->
</div><!-- #tab-popular -->
<!-- ══════════════════════════════════════ -->
<!-- МАТЧ TAB — full time markets -->
<!-- ══════════════════════════════════════ -->
<div class="tab-content" id="tab-match" style="display:none;">
<!-- Sub-filter pills for Match tab -->
<div style="display:flex; gap:6px; overflow-x:auto; padding:10px 0 6px; white-space:nowrap;">
<span class="match-tab active" style="flex-shrink:0; padding:6px 12px; font-size:12px;"
onclick="filterMatchTab(this,'result_ft')">Исходы</span>
<span class="match-tab active" style="flex-shrink:0; padding:6px 12px; font-size:12px;"
onclick="filterMatchTab(this,'correct_score')">Точный счет</span>
</div>
<!-- All FT market cards (reuse same rendering) -->
<div class="market-card" data-ftgroup="result_ft" style="margin-bottom:8px;">
<div class="market-header" onclick="this.parentElement.classList.toggle('collapsed')">
<div class="market-title"><i class="far fa-bookmark market-icon"></i>
Match Result </div>
<i class="fas fa-chevron-up toggle-icon"></i>
</div>
<div class="market-body">
<div style="font-size:11px; color:#8A9099; margin:6px 0 3px;">Match Result</div>
<div class="odds-grid cols-2" style="margin-bottom:6px;">
<div class="odd-btn click-add addBet" id="75">
<span class="odd-name">Hawaii Rainbow Warriors</span>
<span class="odd-val">2.05</span>
</div>
<div class="odd-btn click-add addBet" id="76">
<span class="odd-name">UNLV Rebels</span>
<span class="odd-val">1.75</span>
</div>
</div>
</div>
</div>
<div class="market-card" data-ftgroup="correct_score" style="margin-bottom:8px;">
<div class="market-header" onclick="this.parentElement.classList.toggle('collapsed')">
<div class="market-title"><i class="far fa-bookmark market-icon"></i>
Correct Score </div>
<i class="fas fa-chevron-up toggle-icon"></i>
</div>
<div class="market-body">
<div style="font-size:11px; color:#8A9099; margin:6px 0 3px;">Correct Score</div>
<div class="odds-grid cols-3" style="margin-bottom:6px;">
</div>
</div>
</div>
</div><!-- #tab-match -->
<!-- ══════════════════════════════════════ -->
<!-- 1-Й ТАЙМ TAB -->
<!-- ══════════════════════════════════════ -->
<div class="tab-content" id="tab-half1" style="display:none;">
<div style="text-align:center; padding:40px 20px; color:#888;">Нет рынков для 1-го тайма</div>
</div><!-- #tab-half1 -->
<!-- ══════════════════════════════════════ -->
<!-- 2-Й ТАЙМ TAB -->
<!-- ══════════════════════════════════════ -->
<div class="tab-content" id="tab-half2" style="display:none;">
<div style="text-align:center; padding:40px 20px; color:#888;">Нет рынков для 2-го тайма</div>
</div><!-- #tab-half2 -->
</div><!-- .match-markets -->
</div><!-- .match-page-wrap -->
<script>
// ── Main tab switching ──
document.addEventListener('DOMContentLoaded', function() {
const mainTabs = document.querySelectorAll('#mainTabs .match-tab');
const tabPanels = document.querySelectorAll('.tab-content');
mainTabs.forEach(tab => {
tab.addEventListener('click', () => {
mainTabs.forEach(t => t.classList.remove('active'));
tab.classList.add('active');
const target = 'tab-' + tab.getAttribute('data-tab');
tabPanels.forEach(p => p.style.display = (p.id === target) ? '' : 'none');
});
});
});
// ── Collapse section ──
function toggleSection(btn) {
const section = btn.closest('.market-section-heading').nextElementSibling;
const cards = section.querySelectorAll('.market-card');
const isCollapsed = btn.textContent.trim() === __('Expand all');
cards.forEach(c => {
if (isCollapsed) c.classList.remove('collapsed');
else c.classList.add('collapsed');
});
btn.textContent = isCollapsed ? __('Collapse all') : __('Expand all');
}
// ── Filter match tab ──
function filterMatchTab(el, group) {
const allCards = document.querySelectorAll('#tab-match [data-ftgroup]');
const allPills = el.parentElement.querySelectorAll('.match-tab');
allPills.forEach(p => p.classList.remove('active'));
el.classList.add('active');
allCards.forEach(c => {
c.style.display = (c.getAttribute('data-ftgroup') === group) ? 'block' : 'none';
});
}
// ── Correct Score Widget ──
function updateScore(widgetId, teamIndex, delta) {
const widget = document.getElementById(widgetId);
if (!widget) return;
const scoreEl = widget.querySelector('.cs-score-' + teamIndex);
let val = parseInt(scoreEl.value || 0) + delta;
if (val < 0) val = 0;
scoreEl.value = val;
// Evaluate odds
const dataStr = widget.querySelector('.cs-data').value;
const bpMap = JSON.parse(dataStr);
const s1 = widget.querySelector('.cs-score-1').value || '0';
const s2 = widget.querySelector('.cs-score-2').value || '0';
const key = s1 + ':' + s2;
const btn = widget.querySelector('.cs-submit-btn');
if (bpMap[key]) {
let oddVal = parseFloat(bpMap[key].BetPart.odd);
btn.textContent = (Math.round(oddVal * 100) / 100).toFixed(2);
btn.id = bpMap[key].BetPart.id;
btn.style.background = '#FF8A00'; btn.style.color = '#000';
btn.style.pointerEvents = 'auto';
btn.style.opacity = '1';
} else {
let n1 = parseInt(s1);
let n2 = parseInt(s2);
let diff = Math.abs(n1 - n2);
let total = n1 + n2;
// Deterministic fake odd based on score (same score always gets same odd)
let fakeOdd = 5.5 + (total * 3.7) + (diff * 2.5) + ((n1 * 11 + n2 * 17) % 28);
btn.textContent = fakeOdd.toFixed(2);
btn.id = 'fake_' + key;
btn.style.background = '#FF8A00';
btn.style.color = '#000';
btn.style.pointerEvents = 'auto';
btn.style.opacity = '1';
}
}
// Init all widgets
function initCSWidgets() {
document.querySelectorAll('.cs-interactive-widget').forEach(w => {
updateScore(w.id, 1, 0); // Trigger initial update
});
}
document.addEventListener('DOMContentLoaded', initCSWidgets);
// Also run immediately in case DOM is already ready
if (document.readyState === 'complete' || document.readyState === 'interactive') {
setTimeout(initCSWidgets, 50);
}
</script>
',
'scripts_for_layout' => '',
'title_for_layout' => 'Events'
)
$Event = array(
'Event' => array(
'id' => '38',
'import_id' => '3148272476',
'name' => 'Hawaii Rainbow Warriors vs UNLV Rebels',
'status' => '1',
'type' => '1',
'duration' => null,
'date' => '2026-09-06 02:00:00',
'last_update' => null,
'result' => '',
'active' => true,
'league_id' => '2220',
'feed_type' => 'theoddsapi',
'fake_target_score' => null,
'firstTeam' => 'Hawaii Rainbow Warriors',
'secondTeam' => 'UNLV Rebels'
),
'League' => array(
'id' => '2220',
'country_id' => '0',
'import_id' => '1009926265',
'name' => 'NCAAF',
'active' => true,
'order' => '999',
'sport_id' => '12',
'min_bet' => '0',
'max_bet' => '0',
'updated' => '1783283686',
'feed_type' => 'theoddsapi'
),
'Bet' => array(
(int) 0 => array(
'id' => '38',
'import_id' => '3148272476',
'event_id' => '38',
'name' => 'Match Result',
'type' => 'Match Result',
'scope' => 'FT',
'pick' => null,
'state' => 'active',
'BetPart' => array(
[maximum depth reached]
)
)
),
'Sport' => array()
)
$slides = array(
(int) 0 => array(
'Slide' => array(
'id' => '10',
'title' => 'Welcome Bonus<br> 100% up to ┬г/$/тВм200',
'description' => '<p>Make your first<br />
deposit today</p>
',
'url' => 'https://google.com',
'image' => 'flipper1.jpg',
'active' => true,
'order' => '1'
)
),
(int) 1 => array(
'Slide' => array(
'id' => '11',
'title' => 'Spring Luck',
'description' => '<p>Dive into 360 Lucky Free Spins &<br />
Up to £/$/€1,500 in Spring Bonuses</p>
',
'url' => '//facebook.com',
'image' => 'flipepr2.jpg',
'active' => true,
'order' => '2'
)
)
)
$referer = '/'
$LeagueId = null
$SportId = null
$LeaguesLiveMenu = array()
$LeaguesMenu = array()
$SportsMenu = array(
(int) 0 => array(
'Sport' => array(
'id' => '1',
'name' => 'Football'
)
),
(int) 1 => array(
'Sport' => array(
'id' => '2',
'name' => 'Tennis'
)
),
(int) 2 => array(
'Sport' => array(
'id' => '3',
'name' => 'Formula 1'
)
),
(int) 3 => array(
'Sport' => array(
'id' => '4',
'name' => 'Basketball'
)
),
(int) 4 => array(
'Sport' => array(
'id' => '5',
'name' => 'Rugby Union'
)
),
(int) 5 => array(
'Sport' => array(
'id' => '6',
'name' => 'Cycling'
)
),
(int) 6 => array(
'Sport' => array(
'id' => '7',
'name' => 'Golf'
)
),
(int) 7 => array(
'Sport' => array(
'id' => '8',
'name' => 'Volleyball'
)
),
(int) 8 => array(
'Sport' => array(
'id' => '9',
'name' => 'Handball'
)
),
(int) 9 => array(
'Sport' => array(
'id' => '10',
'name' => 'Cricket'
)
),
(int) 10 => array(
'Sport' => array(
'id' => '11',
'name' => 'Ice Hockey'
)
),
(int) 11 => array(
'Sport' => array(
'id' => '12',
'name' => 'American Football'
)
),
(int) 12 => array(
'Sport' => array(
'id' => '13',
'name' => 'Motorcycling'
)
),
(int) 13 => array(
'Sport' => array(
'id' => '14',
'name' => 'Boxing'
)
),
(int) 14 => array(
'Sport' => array(
'id' => '15',
'name' => 'Rally'
)
),
(int) 15 => array(
'Sport' => array(
'id' => '16',
'name' => 'Baseball'
)
),
(int) 16 => array(
'Sport' => array(
'id' => '17',
'name' => 'Darts'
)
),
(int) 17 => array(
'Sport' => array(
'id' => '18',
'name' => 'Snooker'
)
),
(int) 18 => array(
'Sport' => array(
'id' => '19',
'name' => 'Speedway'
)
),
(int) 19 => array(
'Sport' => array(
'id' => '20',
'name' => 'Futsal'
)
),
(int) 20 => array(
'Sport' => array(
'id' => '24',
'name' => 'Floorball'
)
),
(int) 21 => array(
'Sport' => array(
'id' => '25',
'name' => 'Table Tennis'
)
),
(int) 22 => array(
'Sport' => array(
'id' => '26',
'name' => 'Rugby League'
)
),
(int) 23 => array(
'Sport' => array(
'id' => '28',
'name' => 'Nascar'
)
),
(int) 24 => array(
'Sport' => array(
'id' => '31',
'name' => 'Rink Hockey'
)
),
(int) 25 => array(
'Sport' => array(
'id' => '41',
'name' => 'Sailing'
)
),
(int) 26 => array(
'Sport' => array(
'id' => '62',
'name' => 'Bandy'
)
),
(int) 27 => array(
'Sport' => array(
'id' => '63',
'name' => 'Alpine Skiing'
)
),
(int) 28 => array(
'Sport' => array(
'id' => '64',
'name' => 'Biathlon'
)
),
(int) 29 => array(
'Sport' => array(
'id' => '65',
'name' => 'Ski Jumping'
)
),
(int) 30 => array(
'Sport' => array(
'id' => '66',
'name' => 'Cross-Country Skiing'
)
),
(int) 31 => array(
'Sport' => array(
'id' => '68',
'name' => 'Cricket'
)
),
(int) 32 => array(
'Sport' => array(
'id' => '69',
'name' => 'Soccer'
)
),
(int) 33 => array(
'Sport' => array(
'id' => '70',
'name' => 'Mma'
)
),
(int) 34 => array(
'Sport' => array(
'id' => '71',
'name' => 'Lacrosse'
)
)
)
$SportsLiveMenu = array(
(int) 0 => array(
'Sport' => array(
'id' => '1',
'name' => 'Football'
)
),
(int) 1 => array(
'Sport' => array(
'id' => '4',
'name' => 'Basketball'
)
),
(int) 2 => array(
'Sport' => array(
'id' => '10',
'name' => 'Cricket'
)
),
(int) 3 => array(
'Sport' => array(
'id' => '14',
'name' => 'Boxing'
)
),
(int) 4 => array(
'Sport' => array(
'id' => '16',
'name' => 'Baseball'
)
)
)
$League = null
$liveSports = array()
$getNews = array(
(int) 0 => array(
'News' => array(
'id' => '1',
'title' => 'Max Verstappen and Carlos Sainz both excellent in 2015 - McNish',
'summary' => 'Twelve months ago, he had just finished his first season in car racing and had just driven a grand prix car for the first time. At 17, he was being put forward as a reason to bring in a minimum age limit for drivers entering F1.',
'content' => '<p><img alt="" src="http://ichef.bbci.co.uk/onesport/cps/624/cpsprodpb/9751/production/_86773783_tro_rosso_verstappen_getty.jpg" style="width: 550px; height: 229px;" /></p>
<p>Max Verstappen has been one of the stars of the Formula 1 season.</p>
<p>Twelve months ago, he had just finished his first season in car racing and had just driven a grand prix car for the first time. At 17, he was being put forward as a reason to bring in a minimum age limit for drivers entering F1.</p>
<p>There were question marks about him, and the morality and wisdom of having such a young driver with such limited experience.</p>
<p>A year on from that, those questions marks are long gone, and Dutchman Verstappen is regarded as the revelation of the season - and his performances have put more focus on youth coming through.</p>
<p>Beyond that, people are talking about him as a future world champion.</p>
',
'created' => '2014-03-27 21:34:38',
'modified' => '2015-11-20 10:32:25',
'locale' => 'eng'
)
)
)
$bets = array()
$content_for_layout = '<style>
/* ── Match page EpicBet Style ── */
body { background: #0F1014 !important; }
.match-page-wrap {
background: #0F1014;
min-height: 100vh;
padding-bottom: 140px;
font-family: 'Inter', sans-serif;
}
/* ── Match header ── */
.match-header {
background: linear-gradient(rgba(0,0,0,0.5), rgba(15,16,20,0.9)), url('/theme/Design/img/stadium_bg.png') center/cover;
border: 1px solid #2B2D36;
border-bottom: 2px solid #FF8A00;
color: #fff;
padding: 16px 15px 24px;
position: relative;
margin-bottom: 0;
}
.match-header-top {
display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px;
}
.match-header-top a {
color: rgba(255,255,255,0.85); text-decoration: none; font-size: 18px;
width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
}
.match-header-league {
font-size: 12px; opacity: 0.85; text-align: center; flex: 1; margin: 0 8px; font-weight: 500;
}
.match-header-main {
display: flex; align-items: center; justify-content: space-between;
}
.team-col {
flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0;
}
.team-col.right { flex-direction: row-reverse; }
.team-logo {
width: 24px; height: 24px; border-radius: 4px; overflow: hidden; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.team-logo-fallback { font-size: 14px; font-weight: 800; color: #fff; }
.team-name { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.team-col.right .team-name { text-align: right; }
.score-col {
display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 80px; padding: 0 10px;
}
.score-val { font-size: 26px; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 5px; }
.score-time { font-size: 12px; opacity: 0.8; color: #fff; line-height: 1.4; text-align: center; }
/* ── Market section heading ── */
.market-section-heading {
display: flex; justify-content: space-between; align-items: center;
padding: 18px 15px 10px; font-size: 16px; font-weight: 800; color: #fff;
}
.market-section-heading .collapse-all-btn {
font-size: 11px; color: #8A9099; cursor: pointer; font-weight: 500;
}
/* ── Tabs ── */
.match-tabs-scroll {
overflow-x: auto; white-space: nowrap; background: #0F1014; margin-top: 10px; padding: 10px 10px 0;
}
.match-tabs-scroll::-webkit-scrollbar { display: none; }
.match-tabs {
display: flex; gap: 8px; border-bottom: 1px solid #2B2D36; padding-bottom: 10px;
}
.match-tab {
padding: 8px 16px; border-radius: 20px; font-size: 13px; font-weight: 600;
color: #8A9099; cursor: pointer; border: 1px solid transparent; transition: 0.2s; white-space: nowrap;
}
.match-tab.active {
border-color: #FF8A00; color: #FF8A00; background: rgba(255,138,0,0.1);
}
/* ── Markets Container ── */
.match-markets { padding: 0 10px 10px; background: #0F1014; min-height: 50vh; }
/* ── Accordion Card ── */
.market-card {
background: #161820; border: 1px solid #2B2D36; border-radius: 12px; margin-bottom: 8px; overflow: hidden;
}
.market-header {
padding: 13px 15px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; user-select: none;
}
.market-title {
font-size: 13px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 8px;
}
.market-icon { color: #FF8A00; font-size: 13px; }
.toggle-icon { color: #8A9099; font-size: 11px; transition: transform 0.2s; }
.market-card.collapsed .market-body { display: none; }
.market-card.collapsed .toggle-icon { transform: rotate(180deg); }
/* ── Body ── */
.market-body { padding: 0 12px 12px; }
/* ── Standard 1x2 Grid ── */
.odds-grid {
display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 6px;
}
.odds-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.odd-btn {
background: #1A1C22; border: 1px solid #2A2C35; border-radius: 8px; padding: 10px 6px;
display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px;
text-decoration: none; cursor: pointer; transition: 0.15s; -webkit-tap-highlight-color: transparent;
min-height: 52px;
}
.odd-btn:active, .odd-btn.selected { background: rgba(255,138,0,0.12); border-color: #FF8A00; }
.odd-name { font-size: 10px; color: #8A9099; font-weight: 600; text-align: center; line-height: 1.3; }
.odd-val { font-size: 15px; color: #fff; font-weight: 800; text-align: center; }
/* ── Total Over/Under Table ── */
.total-table { width: 100%; border-collapse: collapse; font-size: 12px; margin-bottom: 4px; }
.total-table th {
color: #8A9099; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
padding: 6px 8px; text-align: center;
}
.total-table td { padding: 3px 4px; }
.total-table .line-cell { color: #fff; font-weight: 700; font-size: 13px; padding: 3px 8px; }
.total-pill {
display: flex; align-items: center; justify-content: center;
background: #1A1C22; border: 1px solid #2A2C35; border-radius: 7px;
padding: 9px 6px; cursor: pointer; transition: 0.15s; font-size: 14px; font-weight: 800; color: #fff;
text-align: center; width: 100%;
}
.total-pill:active, .total-pill.selected { background: rgba(255,138,0,0.12); border-color: #FF8A00; }
.total-table-wrap { overflow: hidden; }
.total-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
/* ── Handicap card ── */
.hcap-row {
display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 4px;
}
.hcap-cell {
background: #1A1C22; border: 1px solid #2A2C35; border-radius: 8px;
padding: 10px; cursor: pointer; transition: 0.15s; display: flex;
align-items: center; justify-content: space-between; gap: 6px;
}
.hcap-cell:active, .hcap-cell.selected { background: rgba(255,138,0,0.12); border-color: #FF8A00; }
.hcap-line { font-size: 12px; color: #8A9099; font-weight: 600; }
.hcap-odd { font-size: 15px; font-weight: 800; color: #fff; }
/* ── BTTS rows ── */
.btts-table { display: grid; grid-template-columns: 1fr auto auto; gap: 4px; align-items: center; margin-bottom: 4px; }
.btts-label { font-size: 12px; color: #fff; font-weight: 500; }
.btts-th { font-size: 10px; color: #8A9099; font-weight: 700; text-align: center; letter-spacing: 0.5px; text-transform: uppercase; padding: 3px 0 6px; }
.btts-header { display: grid; grid-template-columns: 1fr auto auto; gap: 4px; }
.btts-btn {
width: 70px; background: #1A1C22; border: 1px solid #2A2C35; border-radius: 7px;
padding: 9px 4px; font-size: 14px; font-weight: 800; color: #fff; text-align: center;
cursor: pointer; transition: 0.15s;
}
.btts-btn:active, .btts-btn.selected { background: rgba(255,138,0,0.12); border-color: #FF8A00; }
/* ── Correct Score ── */
.cs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.cs-group-label { font-size: 11px; color: #8A9099; font-weight: 700; text-align: center; padding: 8px 0 4px; }
.cs-btn {
background: #1A1C22; border: 1px solid #2A2C35; border-radius: 7px;
padding: 8px 6px; display: flex; flex-direction: column; align-items: center; gap: 2px;
cursor: pointer; transition: 0.15s;
}
.cs-btn:active, .cs-btn.selected { background: rgba(255,138,0,0.12); border-color: #FF8A00; }
.cs-score { font-size: 13px; font-weight: 800; color: #fff; }
.cs-odd { font-size: 11px; color: #FF8A00; font-weight: 700; }
/* ── Section separator ── */
.market-section { margin-bottom: 6px; }
@media (min-width: 768px) {
.match-page-wrap { width: 100%; margin: 0 auto; border-left: 1px solid #2B2D36; border-right: 1px solid #2B2D36; }
}
</style>
<div class="match-page-wrap">
<!-- Header -->
<div class="match-header">
<div class="match-header-top">
<a href="javascript:history.back()"><i class="fas fa-chevron-left"></i></a>
<div class="match-header-league">
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a7cc51ca96fa-trace').style.display = (document.getElementById('cakeErr6a7cc51ca96fa-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: name [<b>APP/Plugin/Events/View/Themed/Design/Events/display.ctp</b>, line <b>372</b>]<div id="cakeErr6a7cc51ca96fa-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a7cc51ca96fa-code').style.display = (document.getElementById('cakeErr6a7cc51ca96fa-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a7cc51ca96fa-context').style.display = (document.getElementById('cakeErr6a7cc51ca96fa-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6a7cc51ca96fa-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">a href</span><span style="color: #007700">=</span><span style="color: #DD0000">"javascript:history.back()"</span><span style="color: #007700">><</span><span style="color: #0000BB">i </span><span style="color: #007700">class=</span><span style="color: #DD0000">"fas fa-chevron-left"</span><span style="color: #007700">></</span><span style="color: #0000BB">i</span><span style="color: #007700">></</span><span style="color: #0000BB">a</span><span style="color: #007700">></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div </span><span style="color: #007700">class=</span><span style="color: #DD0000">"match-header-league"</span><span style="color: #007700">></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$Event</span><span style="color: #007700">[</span><span style="color: #DD0000">'Sport'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">]; </span><span style="color: #0000BB">?></span>, <span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$Event</span><span style="color: #007700">[</span><span style="color: #DD0000">'League'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">]; </span><span style="color: #0000BB">?></span></span></code></span></pre><pre id="cakeErr6a7cc51ca96fa-context" class="cake-context" style="display: none;">$viewFile = '/var/www/html/app/Plugin//Events/View/Themed/Design/Events/display.ctp'
$dataForView = array(
'Event' => array(
'Event' => array(
'id' => '38',
'import_id' => '3148272476',
'name' => 'Hawaii Rainbow Warriors vs UNLV Rebels',
'status' => '1',
'type' => '1',
'duration' => null,
'date' => '2026-09-06 02:00:00',
'last_update' => null,
'result' => '',
'active' => true,
'league_id' => '2220',
'feed_type' => 'theoddsapi',
'fake_target_score' => null,
'firstTeam' => 'Hawaii Rainbow Warriors',
'secondTeam' => 'UNLV Rebels'
),
'League' => array(
'id' => '2220',
'country_id' => '0',
'import_id' => '1009926265',
'name' => 'NCAAF',
'active' => true,
'order' => '999',
'sport_id' => '12',
'min_bet' => '0',
'max_bet' => '0',
'updated' => '1783283686',
'feed_type' => 'theoddsapi'
),
'Bet' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'Sport' => array()
),
'slides' => array(
(int) 0 => array(
'Slide' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'Slide' => array(
[maximum depth reached]
)
)
),
'referer' => '/',
'LeagueId' => null,
'SportId' => null,
'LeaguesLiveMenu' => array(),
'LeaguesMenu' => array(),
'SportsMenu' => array(
(int) 0 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 13 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 14 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 15 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 16 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 17 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 18 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 19 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 20 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 21 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 22 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 23 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 24 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 25 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 26 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 27 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 28 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 29 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 30 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 31 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 32 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 33 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 34 => array(
'Sport' => array(
[maximum depth reached]
)
)
),
'SportsLiveMenu' => array(
(int) 0 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'Sport' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'Sport' => array(
[maximum depth reached]
)
)
),
'League' => null,
'liveSports' => array(),
'getNews' => array(
(int) 0 => array(
'News' => array(
[maximum depth reached]
)
)
),
'bets' => array()
)
$Event = array(
'Event' => array(
'id' => '38',
'import_id' => '3148272476',
'name' => 'Hawaii Rainbow Warriors vs UNLV Rebels',
'status' => '1',
'type' => '1',
'duration' => null,
'date' => '2026-09-06 02:00:00',
'last_update' => null,
'result' => '',
'active' => true,
'league_id' => '2220',
'feed_type' => 'theoddsapi',
'fake_target_score' => null,
'firstTeam' => 'Hawaii Rainbow Warriors',
'secondTeam' => 'UNLV Rebels'
),
'League' => array(
'id' => '2220',
'country_id' => '0',
'import_id' => '1009926265',
'name' => 'NCAAF',
'active' => true,
'order' => '999',
'sport_id' => '12',
'min_bet' => '0',
'max_bet' => '0',
'updated' => '1783283686',
'feed_type' => 'theoddsapi'
),
'Bet' => array(
(int) 0 => array(
'id' => '38',
'import_id' => '3148272476',
'event_id' => '38',
'name' => 'Match Result',
'type' => 'Match Result',
'scope' => 'FT',
'pick' => null,
'state' => 'active',
'BetPart' => array(
[maximum depth reached]
)
)
),
'Sport' => array()
)
$slides = array(
(int) 0 => array(
'Slide' => array(
'id' => '10',
'title' => 'Welcome Bonus<br> 100% up to ┬г/$/тВм200',
'description' => '<p>Make your first<br />
deposit today</p>
',
'url' => 'https://google.com',
'image' => 'flipper1.jpg',
'active' => true,
'order' => '1'
)
),
(int) 1 => array(
'Slide' => array(
'id' => '11',
'title' => 'Spring Luck',
'description' => '<p>Dive into 360 Lucky Free Spins &amp;<br />
Up to &pound;/$/&euro;1,500 in Spring Bonuses</p>
',
'url' => '//facebook.com',
'image' => 'flipepr2.jpg',
'active' => true,
'order' => '2'
)
)
)
$referer = '/'
$LeagueId = null
$SportId = null
$LeaguesLiveMenu = array()
$LeaguesMenu = array()
$SportsMenu = array(
(int) 0 => array(
'Sport' => array(
'id' => '1',
'name' => 'Football'
)
),
(int) 1 => array(
'Sport' => array(
'id' => '2',
'name' => 'Tennis'
)
),
(int) 2 => array(
'Sport' => array(
'id' => '3',
'name' => 'Formula 1'
)
),
(int) 3 => array(
'Sport' => array(
'id' => '4',
'name' => 'Basketball'
)
),
(int) 4 => array(
'Sport' => array(
'id' => '5',
'name' => 'Rugby Union'
)
),
(int) 5 => array(
'Sport' => array(
'id' => '6',
'name' => 'Cycling'
)
),
(int) 6 => array(
'Sport' => array(
'id' => '7',
'name' => 'Golf'
)
),
(int) 7 => array(
'Sport' => array(
'id' => '8',
'name' => 'Volleyball'
)
),
(int) 8 => array(
'Sport' => array(
'id' => '9',
'name' => 'Handball'
)
),
(int) 9 => array(
'Sport' => array(
'id' => '10',
'name' => 'Cricket'
)
),
(int) 10 => array(
'Sport' => array(
'id' => '11',
'name' => 'Ice Hockey'
)
),
(int) 11 => array(
'Sport' => array(
'id' => '12',
'name' => 'American Football'
)
),
(int) 12 => array(
'Sport' => array(
'id' => '13',
'name' => 'Motorcycling'
)
),
(int) 13 => array(
'Sport' => array(
'id' => '14',
'name' => 'Boxing'
)
),
(int) 14 => array(
'Sport' => array(
'id' => '15',
'name' => 'Rally'
)
),
(int) 15 => array(
'Sport' => array(
'id' => '16',
'name' => 'Baseball'
)
),
(int) 16 => array(
'Sport' => array(
'id' => '17',
'name' => 'Darts'
)
),
(int) 17 => array(
'Sport' => array(
'id' => '18',
'name' => 'Snooker'
)
),
(int) 18 => array(
'Sport' => array(
'id' => '19',
'name' => 'Speedway'
)
),
(int) 19 => array(
'Sport' => array(
'id' => '20',
'name' => 'Futsal'
)
),
(int) 20 => array(
'Sport' => array(
'id' => '24',
'name' => 'Floorball'
)
),
(int) 21 => array(
'Sport' => array(
'id' => '25',
'name' => 'Table Tennis'
)
),
(int) 22 => array(
'Sport' => array(
'id' => '26',
'name' => 'Rugby League'
)
),
(int) 23 => array(
'Sport' => array(
'id' => '28',
'name' => 'Nascar'
)
),
(int) 24 => array(
'Sport' => array(
'id' => '31',
'name' => 'Rink Hockey'
)
),
(int) 25 => array(
'Sport' => array(
'id' => '41',
'name' => 'Sailing'
)
),
(int) 26 => array(
'Sport' => array(
'id' => '62',
'name' => 'Bandy'
)
),
(int) 27 => array(
'Sport' => array(
'id' => '63',
'name' => 'Alpine Skiing'
)
),
(int) 28 => array(
'Sport' => array(
'id' => '64',
'name' => 'Biathlon'
)
),
(int) 29 => array(
'Sport' => array(
'id' => '65',
'name' => 'Ski Jumping'
)
),
(int) 30 => array(
'Sport' => array(
'id' => '66',
'name' => 'Cross-Country Skiing'
)
),
(int) 31 => array(
'Sport' => array(
'id' => '68',
'name' => 'Cricket'
)
),
(int) 32 => array(
'Sport' => array(
'id' => '69',
'name' => 'Soccer'
)
),
(int) 33 => array(
'Sport' => array(
'id' => '70',
'name' => 'Mma'
)
),
(int) 34 => array(
'Sport' => array(
'id' => '71',
'name' => 'Lacrosse'
)
)
)
$SportsLiveMenu = array(
(int) 0 => array(
'Sport' => array(
'id' => '1',
'name' => 'Football'
)
),
(int) 1 => array(
'Sport' => array(
'id' => '4',
'name' => 'Basketball'
)
),
(int) 2 => array(
'Sport' => array(
'id' => '10',
'name' => 'Cricket'
)
),
(int) 3 => array(
'Sport' => array(
'id' => '14',
'name' => 'Boxing'
)
),
(int) 4 => array(
'Sport' => array(
'id' => '16',
'name' => 'Baseball'
)
)
)
$League = null
$liveSports = array()
$getNews = array(
(int) 0 => array(
'News' => array(
'id' => '1',
'title' => 'Max Verstappen and Carlos Sainz both excellent in 2015 - McNish',
'summary' => 'Twelve months ago, he had just finished his first season in car racing and had just driven a grand prix car for the first time. At 17, he was being put forward as a reason to bring in a minimum age limit for drivers entering F1.',
'content' => '<p><img alt="" src="http://ichef.bbci.co.uk/onesport/cps/624/cpsprodpb/9751/production/_86773783_tro_rosso_verstappen_getty.jpg" style="width: 550px; height: 229px;" /></p>
<p>Max Verstappen has been one of the stars of the Formula 1 season.</p>
<p>Twelve months ago, he had just finished his first season in car racing and had just driven a grand prix car for the first time. At 17, he was being put forward as a reason to bring in a minimum age limit for drivers entering F1.</p>
<p>There were question marks about him, and the morality and wisdom of having such a young driver with such limited experience.</p>
<p>A year on from that, those questions marks are long gone, and Dutchman Verstappen is regarded as the revelation of the season - and his performances have put more focus on youth coming through.</p>
<p>Beyond that, people are talking about him as a future world champion.</p>
',
'created' => '2014-03-27 21:34:38',
'modified' => '2015-11-20 10:32:25',
'locale' => 'eng'
)
)
)
$bets = array()
$team1 = 'Hawaii Rainbow Warriors'
$team2 = 'UNLV Rebels'
$logo1 = 'H'
$logo2 = 'U'
$groups = array(
'result_ft' => array(
(int) 0 => array(
'id' => '38',
'import_id' => '3148272476',
'event_id' => '38',
'name' => 'Match Result',
'type' => 'Match Result',
'scope' => 'FT',
'pick' => null,
'state' => 'active',
'BetPart' => array(
[maximum depth reached]
)
)
),
'result_1h' => array(),
'result_2h' => array(),
'dc_ft' => array(),
'dc_1h' => array(),
'total_ft' => array(),
'total_1h' => array(),
'total_2h' => array(),
'ind_total_ft' => array(),
'ind_total_1h' => array(),
'handicap_ft' => array(),
'handicap_1h' => array(),
'btts_ft' => array(),
'btts_1h' => array(),
'correct_score' => array(
(int) 0 => array(
'id' => 'cs_fake_0',
'Bet' => array(
[maximum depth reached]
),
'name' => 'Correct Score',
'type' => 'correct score',
'BetPart' => array([maximum depth reached])
)
),
'other' => array()
)
$Bet = array(
'id' => '38',
'import_id' => '3148272476',
'event_id' => '38',
'name' => 'Match Result',
'type' => 'Match Result',
'scope' => 'FT',
'pick' => null,
'state' => 'active',
'BetPart' => array(
(int) 0 => array(
'BetPart' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'BetPart' => array(
[maximum depth reached]
)
)
)
)
$name = 'Match Result'
$nameLc = 'match result'
$type = 'match result'
$scope = 'ft'
$hasParticipant = false
$bp = array(
'BetPart' => array(
'id' => '76',
'import_id' => '2584713343',
'bet_id' => '38',
'name' => '2',
'odd' => '1.75',
'line' => null,
'order_id' => '0',
'suspended' => '0'
)
)
$is1h = false
$is2h = false</pre><pre class="stack-trace">include - APP/Plugin/Events/View/Themed/Design/Events/display.ctp, line 372
View::_evaluate() - CORE/Cake/View/View.php, line 935
View::_render() - CORE/Cake/View/View.php, line 897
View::render() - CORE/Cake/View/View.php, line 466
Controller::render() - CORE/Cake/Controller/Controller.php, line 952
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 192
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160
[main] - APP/webroot/index.php, line 124</pre></div></pre>, NCAAF </div>
<a href="#"><i class="far fa-star"></i></a>
</div>
<div class="match-header-main">
<div class="team-col">
<div class="team-logo">
<img src="/theme/Design/img/teams/Hawaii_Rainbow_Warriors.png" style="width: 100%; height: 100%; object-fit: contain;" onerror="this.style.display='none';this.nextElementSibling.style.display='block';">
<div class="team-logo-fallback" style="display: none;">H</div>
</div>
<div class="team-name">Hawaii Rainbow Warriors</div>
</div>
<div class="score-col">
<div class="score-val">
vs
</div>
<div class="score-time">
6 Sep 05:00 </div>
</div>
<div class="team-col right">
<div class="team-logo">
<img src="/theme/Design/img/teams/UNLV_Rebels.png" style="width: 100%; height: 100%; object-fit: contain;" onerror="this.style.display='none';this.nextElementSibling.style.display='block';">
<div class="team-logo-fallback" style="display: none;">U</div>
</div>
<div class="team-name">UNLV Rebels</div>
</div>
</div>
</div>
<!-- Top-level tabs: ПОПУЛЯРНОЕ / МАТЧ / 1-Й ТАЙМ / 2-Й ТАЙМ -->
<div class="match-tabs-scroll">
<div class="match-tabs" id="mainTabs">
<div class="match-tab active" data-tab="popular">????????</div>
<div class="match-tab" data-tab="match">Match</div>
<div class="match-tab" data-tab="half1">1st Half</div>
<div class="match-tab" data-tab="half2">2nd Half</div>
</div>
</div>
<!-- Markets Container -->
<div class="match-markets" id="marketsContainer">
<!-- ══════════════════════════════════════ -->
<!-- ПОПУЛЯРНОЕ TAB -->
<!-- ══════════════════════════════════════ -->
<div class="tab-content" id="tab-popular">
<!-- ИСХОДЫ section heading -->
<div class="market-section-heading">
<span>Outcomes</span>
<span class="collapse-all-btn" onclick="toggleSection(this)">Collapse all</span>
</div>
<div class="market-section">
<!-- Match Result FT -->
<div class="market-card" data-group="result_ft">
<div class="market-header" onclick="this.parentElement.classList.toggle('collapsed')">
<div class="market-title"><i class="far fa-bookmark market-icon"></i> Match Result (Regular Time)</div>
<i class="fas fa-chevron-up toggle-icon"></i>
</div>
<div class="market-body">
<div class="odds-grid cols-2">
<div class="odd-btn click-add addBet" id="75">
<span class="odd-name">Hawaii Rainbow Warriors</span>
<span class="odd-val">2.05</span>
</div>
<div class="odd-btn click-add addBet" id="76">
<span class="odd-name">UNLV Rebels</span>
<span class="odd-val">1.75</span>
</div>
</div>
<!-- Double Chance FT inline -->
</div>
</div>
<!-- Match Result 1H -->
</div><!-- end .market-section -->
<!-- ── ТОТАЛЫ section ── -->
<!-- ── ФОРЫ section ── -->
<!-- ── ЗАБЬЮТ – НЕ ЗАБЬЮТ section ── -->
<!-- ── ТОЧНЫЙ СЧЕТ section ── -->
<div class="market-section-heading">
<span>Correct Score</span>
<span class="collapse-all-btn" onclick="toggleSection(this)">Collapse all</span>
</div>
<div class="market-section">
<div class="market-card" data-group="correct_score">
<div class="market-header" onclick="this.parentElement.classList.toggle('collapsed')">
<div class="market-title"><i class="far fa-bookmark market-icon"></i> Correct Score</div>
<i class="fas fa-chevron-up toggle-icon"></i>
</div>
<div class="market-body">
<div class="cs-interactive-widget" id="cs-widget-cs_fake_0" style="background: #252830; border-radius: 12px; padding: 16px;">
<div class="cs-team-row" style="display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; width: 100%;">
<div style="display: flex; align-items: center; flex: 1; min-width: 0; padding-right: 10px;">
<img src="/theme/Design/img/teams/Hawaii_Rainbow_Warriors.png" style="width: 24px; height: 24px; border-radius:50%; object-fit: contain; margin-right: 12px; flex-shrink: 0;">
<span style="color: #fff; font-size: 15px; font-weight: 500; line-height: 1.2; white-space: normal; word-wrap: break-word;">Hawaii Rainbow Warriors</span>
</div>
<div class="cs-controls" style="display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; width: 124px; min-width: 124px; max-width: 124px;">
<div class="cs-btn-minus" onclick="updateScore('cs-widget-cs_fake_0', 1, -1)" style="width: 30px; height: 30px; min-width: 30px; max-width: 30px; border-radius: 50%; border: 1px solid #3A3D45; color: #8A9099; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; user-select: none; flex-shrink: 0;">-</div>
<input type="number" class="cs-score-val cs-score-1" value="0" min="0" onchange="updateScore('cs-widget-cs_fake_0', 1, 0)" style="color: #fff; background: transparent; border: none; font-size: 18px; font-weight: 700; width: 40px; min-width: 40px; max-width: 40px; text-align: center; outline: none; padding: 0; flex-shrink: 0;">
<div class="cs-btn-plus" onclick="updateScore('cs-widget-cs_fake_0', 1, 1)" style="width: 30px; height: 30px; min-width: 30px; max-width: 30px; border-radius: 50%; border: 1px solid #3A3D45; color: #8A9099; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; user-select: none; flex-shrink: 0;">+</div>
</div>
</div>
<div class="cs-team-row" style="display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; width: 100%;">
<div style="display: flex; align-items: center; flex: 1; min-width: 0; padding-right: 10px;">
<img src="/theme/Design/img/teams/UNLV_Rebels.png" style="width: 24px; height: 24px; border-radius:50%; object-fit: contain; margin-right: 12px; flex-shrink: 0;">
<span style="color: #fff; font-size: 15px; font-weight: 500; line-height: 1.2; white-space: normal; word-wrap: break-word;">UNLV Rebels</span>
</div>
<div class="cs-controls" style="display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; width: 124px; min-width: 124px; max-width: 124px;">
<div class="cs-btn-minus" onclick="updateScore('cs-widget-cs_fake_0', 2, -1)" style="width: 30px; height: 30px; min-width: 30px; max-width: 30px; border-radius: 50%; border: 1px solid #3A3D45; color: #8A9099; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; user-select: none; flex-shrink: 0;">-</div>
<input type="number" class="cs-score-val cs-score-2" value="0" min="0" onchange="updateScore('cs-widget-cs_fake_0', 2, 0)" style="color: #fff; background: transparent; border: none; font-size: 18px; font-weight: 700; width: 40px; min-width: 40px; max-width: 40px; text-align: center; outline: none; padding: 0; flex-shrink: 0;">
<div class="cs-btn-plus" onclick="updateScore('cs-widget-cs_fake_0', 2, 1)" style="width: 30px; height: 30px; min-width: 30px; max-width: 30px; border-radius: 50%; border: 1px solid #3A3D45; color: #8A9099; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; user-select: none; flex-shrink: 0;">+</div>
</div>
</div>
<div class="cs-submit-btn addBet" id="fake_0:0" style="background: #FF8A00; color: #000; text-align: center; padding: 12px; border-radius: 8px; font-size: 16px; font-weight: 700; cursor: pointer; transition: 0.2s;">
5.50
</div>
<input type="hidden" class="cs-data" value='[]'>
</div>
</div>
</div>
</div>
<!-- ── OTHER / misc ── -->
</div><!-- #tab-popular -->
<!-- ══════════════════════════════════════ -->
<!-- МАТЧ TAB — full time markets -->
<!-- ══════════════════════════════════════ -->
<div class="tab-content" id="tab-match" style="display:none;">
<!-- Sub-filter pills for Match tab -->
<div style="display:flex; gap:6px; overflow-x:auto; padding:10px 0 6px; white-space:nowrap;">
<span class="match-tab active" style="flex-shrink:0; padding:6px 12px; font-size:12px;"
onclick="filterMatchTab(this,'result_ft')">Исходы</span>
<span class="match-tab active" style="flex-shrink:0; padding:6px 12px; font-size:12px;"
onclick="filterMatchTab(this,'correct_score')">Точный счет</span>
</div>
<!-- All FT market cards (reuse same rendering) -->
<div class="market-card" data-ftgroup="result_ft" style="margin-bottom:8px;">
<div class="market-header" onclick="this.parentElement.classList.toggle('collapsed')">
<div class="market-title"><i class="far fa-bookmark market-icon"></i>
Match Result </div>
<i class="fas fa-chevron-up toggle-icon"></i>
</div>
<div class="market-body">
<div style="font-size:11px; color:#8A9099; margin:6px 0 3px;">Match Result</div>
<div class="odds-grid cols-2" style="margin-bottom:6px;">
<div class="odd-btn click-add addBet" id="75">
<span class="odd-name">Hawaii Rainbow Warriors</span>
<span class="odd-val">2.05</span>
</div>
<div class="odd-btn click-add addBet" id="76">
<span class="odd-name">UNLV Rebels</span>
<span class="odd-val">1.75</span>
</div>
</div>
</div>
</div>
<div class="market-card" data-ftgroup="correct_score" style="margin-bottom:8px;">
<div class="market-header" onclick="this.parentElement.classList.toggle('collapsed')">
<div class="market-title"><i class="far fa-bookmark market-icon"></i>
Correct Score </div>
<i class="fas fa-chevron-up toggle-icon"></i>
</div>
<div class="market-body">
<div style="font-size:11px; color:#8A9099; margin:6px 0 3px;">Correct Score</div>
<div class="odds-grid cols-3" style="margin-bottom:6px;">
</div>
</div>
</div>
</div><!-- #tab-match -->
<!-- ══════════════════════════════════════ -->
<!-- 1-Й ТАЙМ TAB -->
<!-- ══════════════════════════════════════ -->
<div class="tab-content" id="tab-half1" style="display:none;">
<div style="text-align:center; padding:40px 20px; color:#888;">Нет рынков для 1-го тайма</div>
</div><!-- #tab-half1 -->
<!-- ══════════════════════════════════════ -->
<!-- 2-Й ТАЙМ TAB -->
<!-- ══════════════════════════════════════ -->
<div class="tab-content" id="tab-half2" style="display:none;">
<div style="text-align:center; padding:40px 20px; color:#888;">Нет рынков для 2-го тайма</div>
</div><!-- #tab-half2 -->
</div><!-- .match-markets -->
</div><!-- .match-page-wrap -->
<script>
// ── Main tab switching ──
document.addEventListener('DOMContentLoaded', function() {
const mainTabs = document.querySelectorAll('#mainTabs .match-tab');
const tabPanels = document.querySelectorAll('.tab-content');
mainTabs.forEach(tab => {
tab.addEventListener('click', () => {
mainTabs.forEach(t => t.classList.remove('active'));
tab.classList.add('active');
const target = 'tab-' + tab.getAttribute('data-tab');
tabPanels.forEach(p => p.style.display = (p.id === target) ? '' : 'none');
});
});
});
// ── Collapse section ──
function toggleSection(btn) {
const section = btn.closest('.market-section-heading').nextElementSibling;
const cards = section.querySelectorAll('.market-card');
const isCollapsed = btn.textContent.trim() === __('Expand all');
cards.forEach(c => {
if (isCollapsed) c.classList.remove('collapsed');
else c.classList.add('collapsed');
});
btn.textContent = isCollapsed ? __('Collapse all') : __('Expand all');
}
// ── Filter match tab ──
function filterMatchTab(el, group) {
const allCards = document.querySelectorAll('#tab-match [data-ftgroup]');
const allPills = el.parentElement.querySelectorAll('.match-tab');
allPills.forEach(p => p.classList.remove('active'));
el.classList.add('active');
allCards.forEach(c => {
c.style.display = (c.getAttribute('data-ftgroup') === group) ? 'block' : 'none';
});
}
// ── Correct Score Widget ──
function updateScore(widgetId, teamIndex, delta) {
const widget = document.getElementById(widgetId);
if (!widget) return;
const scoreEl = widget.querySelector('.cs-score-' + teamIndex);
let val = parseInt(scoreEl.value || 0) + delta;
if (val < 0) val = 0;
scoreEl.value = val;
// Evaluate odds
const dataStr = widget.querySelector('.cs-data').value;
const bpMap = JSON.parse(dataStr);
const s1 = widget.querySelector('.cs-score-1').value || '0';
const s2 = widget.querySelector('.cs-score-2').value || '0';
const key = s1 + ':' + s2;
const btn = widget.querySelector('.cs-submit-btn');
if (bpMap[key]) {
let oddVal = parseFloat(bpMap[key].BetPart.odd);
btn.textContent = (Math.round(oddVal * 100) / 100).toFixed(2);
btn.id = bpMap[key].BetPart.id;
btn.style.background = '#FF8A00'; btn.style.color = '#000';
btn.style.pointerEvents = 'auto';
btn.style.opacity = '1';
} else {
let n1 = parseInt(s1);
let n2 = parseInt(s2);
let diff = Math.abs(n1 - n2);
let total = n1 + n2;
// Deterministic fake odd based on score (same score always gets same odd)
let fakeOdd = 5.5 + (total * 3.7) + (diff * 2.5) + ((n1 * 11 + n2 * 17) % 28);
btn.textContent = fakeOdd.toFixed(2);
btn.id = 'fake_' + key;
btn.style.background = '#FF8A00';
btn.style.color = '#000';
btn.style.pointerEvents = 'auto';
btn.style.opacity = '1';
}
}
// Init all widgets
function initCSWidgets() {
document.querySelectorAll('.cs-interactive-widget').forEach(w => {
updateScore(w.id, 1, 0); // Trigger initial update
});
}
document.addEventListener('DOMContentLoaded', initCSWidgets);
// Also run immediately in case DOM is already ready
if (document.readyState === 'complete' || document.readyState === 'interactive') {
setTimeout(initCSWidgets, 50);
}
</script>
'
$scripts_for_layout = ''
$title_for_layout = 'Events'
$currentLang = 'ell'
$mobLangLabels = array(
'eng' => 'EN',
'rus' => 'RU',
'deu' => 'DE',
'fra' => 'FR',
'spa' => 'ES',
'por' => 'PT'
)
$mobCurrentLabel = ''
$ll = 'PT'
$lc = 'por'
$langList = array(
'eng' => 'EN',
'rus' => 'RU',
'deu' => 'DE',
'fra' => 'FR',
'spa' => 'ES',
'por' => 'PT'
)substr - [internal], line ??
include - APP/View/Themed/Design/Elements/layout-slots/header-slot.ctp, line 89
View::_evaluate() - CORE/Cake/View/View.php, line 935
View::_render() - CORE/Cake/View/View.php, line 897
View::_renderElement() - CORE/Cake/View/View.php, line 1195
View::element() - CORE/Cake/View/View.php, line 412
include - APP/View/Themed/Design/Layouts/home.ctp, line 59
View::_evaluate() - CORE/Cake/View/View.php, line 935
View::_render() - CORE/Cake/View/View.php, line 897
View::renderLayout() - CORE/Cake/View/View.php, line 529
View::render() - CORE/Cake/View/View.php, line 474
Controller::render() - CORE/Cake/Controller/Controller.php, line 952
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 192
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160
[main] - APP/webroot/index.php, line 124