Code Context
/* Connections -------------------------------------------------------------------------------------------*/
$connectionDiff = $v['Target']['Player']['connections'] - $v['Killer']['Player']['connections'];
$viewFile = '/home/scutifer/httpdocs/xlrstats_new/app/View/Opponents/view.ctp'
$dataForView = array(
'user' => array(),
'analytics' => array(
'worstHistory' => array(
(int) 0 => 'Secth',
(int) 1 => '645',
(int) 2 => (float) 0.36691404990421,
(int) 3 => 'Worst Enemy',
(int) 4 => 'Better avoid this opponent next time',
(int) 5 => 'xlr_pro_killstreak.png'
),
'mostSkillGain' => array(
(int) 0 => 'Secth',
(int) 1 => '645',
(int) 2 => (float) 2.5323438003832,
(int) 3 => 'Skill Booster',
(int) 4 => 'Gain optimal skill by winning next confrontation',
(int) 5 => 'xlr_pro_default.png'
),
'bestChance' => array(
(int) 0 => 'Secth',
(int) 1 => '645',
(int) 2 => (float) 0.36691404990421,
(int) 3 => 'Push Over',
(int) 4 => 'Collect your easy points here',
(int) 5 => 'xlr_shame_loosestreak.png'
),
'bestHistory' => array(
(int) 0 => 'Secth',
(int) 1 => '645',
(int) 2 => (float) 0.36691404990421,
(int) 3 => 'Skill Sponsor',
(int) 4 => 'Paid his dues, better thank this opponent next time around',
(int) 5 => 'xlr_shame_deaths.png'
)
),
'opponents' => array(
(int) 0 => array(
'Opponent' => array(
[maximum depth reached]
),
'Killer' => array(
[maximum depth reached]
),
'Target' => array(
[maximum depth reached]
),
(int) 0 => array(
[maximum depth reached]
)
)
),
'isCaching' => true,
'isAuthorized' => false
)
$user = array()
$analytics = array(
'worstHistory' => array(
(int) 0 => 'Secth',
(int) 1 => '645',
(int) 2 => (float) 0.36691404990421,
(int) 3 => 'Worst Enemy',
(int) 4 => 'Better avoid this opponent next time',
(int) 5 => 'xlr_pro_killstreak.png'
),
'mostSkillGain' => array(
(int) 0 => 'Secth',
(int) 1 => '645',
(int) 2 => (float) 2.5323438003832,
(int) 3 => 'Skill Booster',
(int) 4 => 'Gain optimal skill by winning next confrontation',
(int) 5 => 'xlr_pro_default.png'
),
'bestChance' => array(
(int) 0 => 'Secth',
(int) 1 => '645',
(int) 2 => (float) 0.36691404990421,
(int) 3 => 'Push Over',
(int) 4 => 'Collect your easy points here',
(int) 5 => 'xlr_shame_loosestreak.png'
),
'bestHistory' => array(
(int) 0 => 'Secth',
(int) 1 => '645',
(int) 2 => (float) 0.36691404990421,
(int) 3 => 'Skill Sponsor',
(int) 4 => 'Paid his dues, better thank this opponent next time around',
(int) 5 => 'xlr_shame_deaths.png'
)
)
$opponents = array(
(int) 0 => array(
'Opponent' => array(
'id' => '572',
'target_id' => '645',
'killer_id' => '654',
'kills' => '0',
'retals' => '2'
),
'Killer' => array(
'id' => '654',
'client_id' => '0',
'kills' => '0',
'deaths' => '2',
'teamkills' => '0',
'teamdeaths' => '0',
'suicides' => '0',
'ratio' => '0',
'skill' => '988.001',
'assists' => '0',
'assistskill' => '0',
'curstreak' => '-2',
'winstreak' => '0',
'losestreak' => '-2',
'rounds' => '0',
'hide' => '0',
'fixed_name' => '',
'id_token' => '',
'Player' => array([maximum depth reached])
),
'Target' => array(
'id' => '645',
'client_id' => '299533',
'kills' => '28',
'deaths' => '22',
'teamkills' => '0',
'teamdeaths' => '0',
'suicides' => '0',
'ratio' => '1.27273',
'skill' => '1130.14',
'assists' => '0',
'assistskill' => '0',
'curstreak' => '-1',
'winstreak' => '5',
'losestreak' => '-4',
'rounds' => '1',
'hide' => '0',
'fixed_name' => '',
'id_token' => '',
'Player' => array(
[maximum depth reached]
),
'rank' => (int) 3,
'skilleague' => (int) 3,
'flag' => array(
[maximum depth reached]
),
'level' => array(
[maximum depth reached]
)
),
(int) 0 => array(
'confrontations' => '2',
'winprobability' => (float) 0.36691404990421,
'skillgain' => (float) 2.5323438003832
)
)
)
$isCaching = true
$isAuthorized = false
$v = array(
'Opponent' => array(
'id' => '572',
'target_id' => '645',
'killer_id' => '654',
'kills' => '0',
'retals' => '2'
),
'Killer' => array(
'id' => '654',
'client_id' => '0',
'kills' => '0',
'deaths' => '2',
'teamkills' => '0',
'teamdeaths' => '0',
'suicides' => '0',
'ratio' => '0',
'skill' => '988.001',
'assists' => '0',
'assistskill' => '0',
'curstreak' => '-2',
'winstreak' => '0',
'losestreak' => '-2',
'rounds' => '0',
'hide' => '0',
'fixed_name' => '',
'id_token' => '',
'Player' => array()
),
'Target' => array(
'id' => '645',
'client_id' => '299533',
'kills' => '28',
'deaths' => '22',
'teamkills' => '0',
'teamdeaths' => '0',
'suicides' => '0',
'ratio' => '1.27273',
'skill' => '1130.14',
'assists' => '0',
'assistskill' => '0',
'curstreak' => '-1',
'winstreak' => '5',
'losestreak' => '-4',
'rounds' => '1',
'hide' => '0',
'fixed_name' => '',
'id_token' => '',
'Player' => array(
'password' => '*****',
'login' => '*****',
'id' => '299533',
'ip' => '78.172.202.124',
'connections' => '1',
'guid' => '2310346617326138846',
'pbid' => '',
'name' => 'Secth',
'auto_login' => true,
'mask_level' => false,
'group_bits' => '0',
'greeting' => '',
'time_add' => '1770402231',
'time_edit' => '1770402231',
'show' => true,
'spammer' => '0',
'only_with_client' => true,
'trg_admin' => '0',
'chat_mute' => '0',
'regular' => '0'
),
'rank' => (int) 3,
'skilleague' => (int) 3,
'flag' => array(
(int) 0 => 'tr',
(int) 1 => 'Turkey'
),
'level' => array(
'level' => (int) 0,
'name' => 'Guest'
)
),
(int) 0 => array(
'confrontations' => '2',
'winprobability' => (float) 0.36691404990421,
'skillgain' => (float) 2.5323438003832
)
)
$k = (int) 0
$nameLink = '<a href="/xlrstats_new/4/player_stats/view/645" rel="tooltip" data-original-title="Click to go to the stats of this component.">Secth</a>'
$compareLink = '<a href="/xlrstats_new/4/opponents/compare/654/645" rel="tooltip" data-original-title="Click to see more comparison details"><span class="comparison-icon"><i class="icon-bar-chart icon-large"></i></span></a>'
$flag = '<img src="/xlrstats_new/img/flags/tr.gif" rel="tooltip" data-original-title="Turkey" style="cursor:pointer; margin:2px 5px 0px; 0px;" alt=""/>'
$rank = '<img src="/xlrstats_new/img/ranks/2_stars/2-pvt.png" rel="tooltip" data-original-title="Private First Class 2" style="cursor:pointer; width:20px; height:20px;" alt=""/>'
$level = '<span rel="tooltip" data-original-title="Guest" style="cursor:pointer; position:relative; top:3px; left:5px;"><span class='levelsparkline'>0,100</span></span>'
$league = '<span class="label">Not Qualified</span>'
$ratio = (int) 0
$ratioPercentage = '0%'
$icon = '<p class="text-error"><i class="icon-thumbs-down"></i><strong>'
$performance = '<p class="text-error"><i class="icon-thumbs-down"></i><strong> 0%</strong></p>'
$winProbability = '<p class="text-error"><i class="icon-thumbs-down"></i> <strong>36.69%</strong></p>'
$skillGain = '2.53'
$skillCompareIcon = '<p class="text-error"><i class="icon-hand-up"></i> '
$before = '<small class="muted"> <p class="text-error"><i class="icon-hand-up"></i> '
$after = '</small>'
$skill = '<small class="muted"> <p class="text-error"><i class="icon-hand-up"></i> 1.130</small></p>'
$killDiff = '<i class="icon-hand-up"></i>28 more kills total'
$deathDiff = '<i class="icon-hand-up"></i>20 more deaths total'
include - APP/View/Opponents/view.ctp, line 170
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 968
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 97