Code Context <div class="col-lg-12">
<div class="form-group">
<textarea id="websend_msg" class="form-control" placeholder="Treść"><?php echo $_SERVER['SCRIPT_URI']; ?></textarea>
$viewFile = '/var/www/vhost/raportroczny2015/app/View/Layouts/default.ctp'
$dataForView = array(
'element' => array(
'common' => array(),
'helper' => array(
'wykres' => '1'
)
),
'app_element' => array(
'controller' => 'strona',
'action' => 'wykresy_interaktywne',
'lang' => 'PL'
),
'content_for_layout' => '<div class="container">
<div class="container-fluid">
<div class="row m-t-20">
<div class="col-md-12">
<div class="row">
<div class="col-md-12">
<div class="green_rectangle_top"></div>
<h2 class="section_title_top">Skonsolidowane dane finansowe Grupy Energa</h2>
</div>
</div>
<div class="row">
<div class="col-md-10">
<h3 class="site_headline purple">Skonsolidowane dane finansowe Grupy Energa za lata 2012-2015 w mln zł</h3>
</div>
<div class="col-md-2">
<a href="/strona/wykresy_interaktywne" target="_self">
<div class="knefel_interactive">
Powrót do spisu
</div>
</a>
</div>
</div>
<table class="table">
<thead>
<tr>
<th>w mln zł</th>
<th>2015</th>
<th>2014</th>
<th>2013</th>
<th>2012</th>
</tr>
</thead>
<tbody>
<tr class="badabumik interactive"g1" data-check="0" data-class="g1"
data-val0="Przychody ze sprzedaży"
data-val1="10804" data-val1b="10 804"
data-val2="10590" data-val2b="10 590"
data-val3="11429" data-val3b="11 429"
data-val4="11177" data-val4b="11 177"
>
<td >Przychody ze sprzedaży</td>
<td class="center">10 804</td>
<td class="center">10 590</td>
<td class="center">11 429</td>
<td class="center">11 177</td>
</tr>
<tr class="badabumik interactive"g1" data-check="0" data-class="g1"
data-val0="EBITDA"
data-val1="2196" data-val1b="2 196"
data-val2="2307" data-val2b="2 307"
data-val3="1965" data-val3b="1 965"
data-val4="1629" data-val4b="1 629"
>
<td >EBITDA</td>
<td class="center">2 196</td>
<td class="center">2 307</td>
<td class="center">1 965</td>
<td class="center">1 629</td>
</tr>
<tr class="badabumik interactive"g1" data-check="0" data-class="g1"
data-val0="EBIT"
data-val1="1280" data-val1b="1 280"
data-val2="1446" data-val2b="1 446"
data-val3="1195" data-val3b="1 195"
data-val4="906" data-val4b="906"
>
<td >EBIT</td>
<td class="center">1 280</td>
<td class="center">1 446</td>
<td class="center">1 195</td>
<td class="center">906</td>
</tr>
<tr class="badabumik interactive"g1" data-check="0" data-class="g1"
data-val0="Zysk netto"
data-val1="840" data-val1b="840"
data-val2="1006" data-val2b="1 006"
data-val3="743" data-val3b="743"
data-val4="456" data-val4b="456"
>
<td >Zysk netto</td>
<td class="center">840</td>
<td class="center">1 006</td>
<td class="center">743</td>
<td class="center">456</td>
</tr>
<tr class="badabumik interactive"g1" data-check="0" data-class="g1"
data-val0="Nakłady inwestycyjne"
data-val1="1583" data-val1b="1 583"
data-val2="1477" data-val2b="1 477"
data-val3="2802" data-val3b="2 802"
data-val4="1849" data-val4b="1 849"
>
<td >Nakłady inwestycyjne</td>
<td class="center">1 583</td>
<td class="center">1 477</td>
<td class="center">2 802</td>
<td class="center">1 849</td>
</tr>
<tr class="badabumik interactive"g1" data-check="0" data-class="g1"
data-val0="Aktywa ogółem"
data-val1="18456" data-val1b="18 456"
data-val2="18118" data-val2b="18 118"
data-val3="17085" data-val3b="17 085"
data-val4="14913" data-val4b="14 913"
>
<td >Aktywa ogółem</td>
<td class="center">18 456</td>
<td class="center">18 118</td>
<td class="center">17 085</td>
<td class="center">14 913</td>
</tr>
<tr class="badabumik interactive"g1" data-check="0" data-class="g1"
data-val0="Aktywa trwałe"
data-val1="13873" data-val1b="13 873"
data-val2="13242" data-val2b="13 242"
data-val3="12650" data-val3b="12 650"
data-val4="10697" data-val4b="10 697"
>
<td >Aktywa trwałe</td>
<td class="center">13 873</td>
<td class="center">13 242</td>
<td class="center">12 650</td>
<td class="center">10 697</td>
</tr>
<tr class="badabumik interactive"g1" data-check="0" data-class="g1"
data-val0="Aktywa obrotowe"
data-val1="4583" data-val1b="4 583"
data-val2="4876" data-val2b="4 876"
data-val3="4435" data-val3b="4 435"
data-val4="4215" data-val4b="4 215"
>
<td >Aktywa obrotowe</td>
<td class="center">4 583</td>
<td class="center">4 876</td>
<td class="center">4 435</td>
<td class="center">4 215</td>
</tr>
<tr class="badabumik interactive"g2" data-check="0" data-class="g2"
data-val0="Kapitał własny"
data-val1="8553" data-val1b="8 553"
data-val2="8814" data-val2b="8 814"
data-val3="8048" data-val3b="8 048"
data-val4="7719" data-val4b="7 719"
>
<td >Kapitał własny</td>
<td class="center">8 553</td>
<td class="center">8 814</td>
<td class="center">8 048</td>
<td class="center">7 719</td>
</tr>
<tr class="badabumik interactive"g2" data-check="0" data-class="g2"
data-val0="Zobowiązania długoterminowe"
data-val1="7402" data-val1b="7 402"
data-val2="7250" data-val2b="7 250"
data-val3="6520" data-val3b="6 520"
data-val4="4801" data-val4b="4 801"
>
<td >Zobowiązania długoterminowe</td>
<td class="center">7 402</td>
<td class="center">7 250</td>
<td class="center">6 520</td>
<td class="center">4 801</td>
</tr>
<tr class="badabumik interactive"g2" data-check="0" data-class="g2"
data-val0="Zobowiązania krótkoterminowe"
data-val1="2315" data-val1b="2 315"
data-val2="2240" data-val2b="2 240"
data-val3="2516" data-val3b="2 516"
data-val4="2393" data-val4b="2 393"
>
<td >Zobowiązania krótkoterminowe</td>
<td class="center">2 315</td>
<td class="center">2 240</td>
<td class="center">2 516</td>
<td class="center">2 393</td>
</tr>
<tr class="badabumik interactive"g3" data-check="0" data-class="g3"
data-val0="Przepływy pieniężne z działalności operacyjnej"
data-val1="1604" data-val1b="1 604"
data-val2="1952" data-val2b="1 952"
data-val3="2007" data-val3b="2 007"
data-val4="1335" data-val4b="1 335"
>
<td >Przepływy pieniężne z działalności operacyjnej</td>
<td class="center">1 604</td>
<td class="center">1 952</td>
<td class="center">2 007</td>
<td class="center">1 335</td>
</tr>
<tr class="badabumik interactive"g3" data-check="0" data-class="g3"
data-val0="Przepływy pieniężne netto z działalności inwestycyjej"
data-val1="-1139" data-val1b="-1 139"
data-val2="-1580" data-val2b="-1 580"
data-val3="-2648" data-val3b="-2 648"
data-val4="-1315" data-val4b="-1 315"
>
<td >Przepływy pieniężne netto z działalności inwestycyjej</td>
<td class="center">-1 139</td>
<td class="center">-1 580</td>
<td class="center">-2 648</td>
<td class="center">-1 315</td>
</tr>
<tr class="badabumik interactive"g3" data-check="0" data-class="g3"
data-val0="Przepływy pieniężne netto z działalności finansowej"
data-val1="-718" data-val1b="-718"
data-val2="-244" data-val2b="-244"
data-val3="1101" data-val3b="1 101"
data-val4="742" data-val4b="742"
>
<td >Przepływy pieniężne netto z działalności finansowej</td>
<td class="center">-718</td>
<td class="center">-244</td>
<td class="center">1 101</td>
<td class="center">742</td>
</tr> </tbody>
</table>
<p>* Dane 2012-2014 przekształcone</p>
</div>
<div class="col-md-12">
<div id="chart_div_1"></div>
</div>
</div>
</div>
<script>
google.charts.load('current', {packages: ['corechart', 'bar']});
google.charts.setOnLoadCallback(chart_div_1);
active_group = 'g0';
$(document).ready(function(){
$('.badabumik').on('click', function(){
check = $(this).data('check');
clask = $(this).data('class');
if(active_group != clask){
$('.badabumik').data('check',0);
$('.badabumik').removeClass('success');
}
active_group = clask;
if($(this).data('check')=='0'){
$(this).data('check','1');
$(this).addClass('success');
}else{
$(this).data('check','0');
$(this).removeClass('success');
}
chart_div_1();
});
});
function chart_div_1(){
zz=0;
desc = [''];
ar_2012 = ['2015'];
ar_2013 = ['2014'];
ar_2014 = ['2013'];
ar_2015 = ['2012'];
min = 0;
max = 0;
$('.badabumik').each(function(){
th=$(this);
if(th.data('check')==1){
zz++;
desc.push(th.data('val0')); desc.push({ role: 'tooltip'});
if(min>parseFloat(th.data('val1'))){ min = parseFloat(th.data('val1'))};
if(max<parseFloat(th.data('val1'))){ max = parseFloat(th.data('val1'))};
ar_2012.push(parseFloat(th.data('val1')));
ar_2012.push(th.data('val0')+': '+th.data('val1b'));
if(min>parseFloat(th.data('val2'))){ min = parseFloat(th.data('val2'))};
if(max<parseFloat(th.data('val2'))){ max = parseFloat(th.data('val2'))};
ar_2013.push(parseFloat(th.data('val2')));
ar_2013.push(th.data('val0')+': '+th.data('val2b'));
if(min>parseFloat(th.data('val3'))){ min = parseFloat(th.data('val3'))};
if(max<parseFloat(th.data('val3'))){ max = parseFloat(th.data('val3'))};
ar_2014.push(parseFloat(th.data('val3')));
ar_2014.push(th.data('val0')+': '+th.data('val3b'));
if(min>parseFloat(th.data('val4'))){ min = parseFloat(th.data('val4'))};
if(max<parseFloat(th.data('val4'))){ max = parseFloat(th.data('val4'))};
ar_2015.push(parseFloat(th.data('val4')));
ar_2015.push(th.data('val0')+': '+th.data('val4b'));
}
});
if(zz==0){
$('#chart_div_1').html('<p style="margin-top: 40px; font-family: EnergaBold, sans-serif; font-size: 18px; ">Proszę wybrać dane</p>');
}else{
ar = [desc];
ar.push(ar_2012);
ar.push(ar_2013);
ar.push(ar_2014);
ar.push(ar_2015);
var data = google.visualization.arrayToDataTable(ar);
var options = {
width: '100%',
height: 700,
legend: 'none',
colors: ['#6FB43F', '#C1D72D', '#d8d8d8', '#640036'],
annotations: {
alwaysInside: true,
textStyle: {
fontSize: 12,
color: '#000'
}
},
tooltip:{
format: 'percent'
},
vAxis: {
viewWindow: {
min: min,
max: max
},
baseline: 0,
// baselineColor: '#7c7c7c',
gridlines: {count: 0}
},
hAxis: {
textStyle:{color: '#666'},
gridlines: {count: 0}
},
};
var chart = new google.visualization.ColumnChart(document.getElementById('chart_div_1'));
chart.draw(data, options);
}
}
</script>
</div>
',
'scripts_for_layout' => '',
'title_for_layout' => 'Strona'
)
$element = array(
'common' => array(),
'helper' => array(
'wykres' => '1'
)
)
$app_element = array(
'controller' => 'strona',
'action' => 'wykresy_interaktywne',
'lang' => 'PL'
)
$content_for_layout = '<div class="container">
<div class="container-fluid">
<div class="row m-t-20">
<div class="col-md-12">
<div class="row">
<div class="col-md-12">
<div class="green_rectangle_top"></div>
<h2 class="section_title_top">Skonsolidowane dane finansowe Grupy Energa</h2>
</div>
</div>
<div class="row">
<div class="col-md-10">
<h3 class="site_headline purple">Skonsolidowane dane finansowe Grupy Energa za lata 2012-2015 w mln zł</h3>
</div>
<div class="col-md-2">
<a href="/strona/wykresy_interaktywne" target="_self">
<div class="knefel_interactive">
Powrót do spisu
</div>
</a>
</div>
</div>
<table class="table">
<thead>
<tr>
<th>w mln zł</th>
<th>2015</th>
<th>2014</th>
<th>2013</th>
<th>2012</th>
</tr>
</thead>
<tbody>
<tr class="badabumik interactive"g1" data-check="0" data-class="g1"
data-val0="Przychody ze sprzedaży"
data-val1="10804" data-val1b="10 804"
data-val2="10590" data-val2b="10 590"
data-val3="11429" data-val3b="11 429"
data-val4="11177" data-val4b="11 177"
>
<td >Przychody ze sprzedaży</td>
<td class="center">10 804</td>
<td class="center">10 590</td>
<td class="center">11 429</td>
<td class="center">11 177</td>
</tr>
<tr class="badabumik interactive"g1" data-check="0" data-class="g1"
data-val0="EBITDA"
data-val1="2196" data-val1b="2 196"
data-val2="2307" data-val2b="2 307"
data-val3="1965" data-val3b="1 965"
data-val4="1629" data-val4b="1 629"
>
<td >EBITDA</td>
<td class="center">2 196</td>
<td class="center">2 307</td>
<td class="center">1 965</td>
<td class="center">1 629</td>
</tr>
<tr class="badabumik interactive"g1" data-check="0" data-class="g1"
data-val0="EBIT"
data-val1="1280" data-val1b="1 280"
data-val2="1446" data-val2b="1 446"
data-val3="1195" data-val3b="1 195"
data-val4="906" data-val4b="906"
>
<td >EBIT</td>
<td class="center">1 280</td>
<td class="center">1 446</td>
<td class="center">1 195</td>
<td class="center">906</td>
</tr>
<tr class="badabumik interactive"g1" data-check="0" data-class="g1"
data-val0="Zysk netto"
data-val1="840" data-val1b="840"
data-val2="1006" data-val2b="1 006"
data-val3="743" data-val3b="743"
data-val4="456" data-val4b="456"
>
<td >Zysk netto</td>
<td class="center">840</td>
<td class="center">1 006</td>
<td class="center">743</td>
<td class="center">456</td>
</tr>
<tr class="badabumik interactive"g1" data-check="0" data-class="g1"
data-val0="Nakłady inwestycyjne"
data-val1="1583" data-val1b="1 583"
data-val2="1477" data-val2b="1 477"
data-val3="2802" data-val3b="2 802"
data-val4="1849" data-val4b="1 849"
>
<td >Nakłady inwestycyjne</td>
<td class="center">1 583</td>
<td class="center">1 477</td>
<td class="center">2 802</td>
<td class="center">1 849</td>
</tr>
<tr class="badabumik interactive"g1" data-check="0" data-class="g1"
data-val0="Aktywa ogółem"
data-val1="18456" data-val1b="18 456"
data-val2="18118" data-val2b="18 118"
data-val3="17085" data-val3b="17 085"
data-val4="14913" data-val4b="14 913"
>
<td >Aktywa ogółem</td>
<td class="center">18 456</td>
<td class="center">18 118</td>
<td class="center">17 085</td>
<td class="center">14 913</td>
</tr>
<tr class="badabumik interactive"g1" data-check="0" data-class="g1"
data-val0="Aktywa trwałe"
data-val1="13873" data-val1b="13 873"
data-val2="13242" data-val2b="13 242"
data-val3="12650" data-val3b="12 650"
data-val4="10697" data-val4b="10 697"
>
<td >Aktywa trwałe</td>
<td class="center">13 873</td>
<td class="center">13 242</td>
<td class="center">12 650</td>
<td class="center">10 697</td>
</tr>
<tr class="badabumik interactive"g1" data-check="0" data-class="g1"
data-val0="Aktywa obrotowe"
data-val1="4583" data-val1b="4 583"
data-val2="4876" data-val2b="4 876"
data-val3="4435" data-val3b="4 435"
data-val4="4215" data-val4b="4 215"
>
<td >Aktywa obrotowe</td>
<td class="center">4 583</td>
<td class="center">4 876</td>
<td class="center">4 435</td>
<td class="center">4 215</td>
</tr>
<tr class="badabumik interactive"g2" data-check="0" data-class="g2"
data-val0="Kapitał własny"
data-val1="8553" data-val1b="8 553"
data-val2="8814" data-val2b="8 814"
data-val3="8048" data-val3b="8 048"
data-val4="7719" data-val4b="7 719"
>
<td >Kapitał własny</td>
<td class="center">8 553</td>
<td class="center">8 814</td>
<td class="center">8 048</td>
<td class="center">7 719</td>
</tr>
<tr class="badabumik interactive"g2" data-check="0" data-class="g2"
data-val0="Zobowiązania długoterminowe"
data-val1="7402" data-val1b="7 402"
data-val2="7250" data-val2b="7 250"
data-val3="6520" data-val3b="6 520"
data-val4="4801" data-val4b="4 801"
>
<td >Zobowiązania długoterminowe</td>
<td class="center">7 402</td>
<td class="center">7 250</td>
<td class="center">6 520</td>
<td class="center">4 801</td>
</tr>
<tr class="badabumik interactive"g2" data-check="0" data-class="g2"
data-val0="Zobowiązania krótkoterminowe"
data-val1="2315" data-val1b="2 315"
data-val2="2240" data-val2b="2 240"
data-val3="2516" data-val3b="2 516"
data-val4="2393" data-val4b="2 393"
>
<td >Zobowiązania krótkoterminowe</td>
<td class="center">2 315</td>
<td class="center">2 240</td>
<td class="center">2 516</td>
<td class="center">2 393</td>
</tr>
<tr class="badabumik interactive"g3" data-check="0" data-class="g3"
data-val0="Przepływy pieniężne z działalności operacyjnej"
data-val1="1604" data-val1b="1 604"
data-val2="1952" data-val2b="1 952"
data-val3="2007" data-val3b="2 007"
data-val4="1335" data-val4b="1 335"
>
<td >Przepływy pieniężne z działalności operacyjnej</td>
<td class="center">1 604</td>
<td class="center">1 952</td>
<td class="center">2 007</td>
<td class="center">1 335</td>
</tr>
<tr class="badabumik interactive"g3" data-check="0" data-class="g3"
data-val0="Przepływy pieniężne netto z działalności inwestycyjej"
data-val1="-1139" data-val1b="-1 139"
data-val2="-1580" data-val2b="-1 580"
data-val3="-2648" data-val3b="-2 648"
data-val4="-1315" data-val4b="-1 315"
>
<td >Przepływy pieniężne netto z działalności inwestycyjej</td>
<td class="center">-1 139</td>
<td class="center">-1 580</td>
<td class="center">-2 648</td>
<td class="center">-1 315</td>
</tr>
<tr class="badabumik interactive"g3" data-check="0" data-class="g3"
data-val0="Przepływy pieniężne netto z działalności finansowej"
data-val1="-718" data-val1b="-718"
data-val2="-244" data-val2b="-244"
data-val3="1101" data-val3b="1 101"
data-val4="742" data-val4b="742"
>
<td >Przepływy pieniężne netto z działalności finansowej</td>
<td class="center">-718</td>
<td class="center">-244</td>
<td class="center">1 101</td>
<td class="center">742</td>
</tr> </tbody>
</table>
<p>* Dane 2012-2014 przekształcone</p>
</div>
<div class="col-md-12">
<div id="chart_div_1"></div>
</div>
</div>
</div>
<script>
google.charts.load('current', {packages: ['corechart', 'bar']});
google.charts.setOnLoadCallback(chart_div_1);
active_group = 'g0';
$(document).ready(function(){
$('.badabumik').on('click', function(){
check = $(this).data('check');
clask = $(this).data('class');
if(active_group != clask){
$('.badabumik').data('check',0);
$('.badabumik').removeClass('success');
}
active_group = clask;
if($(this).data('check')=='0'){
$(this).data('check','1');
$(this).addClass('success');
}else{
$(this).data('check','0');
$(this).removeClass('success');
}
chart_div_1();
});
});
function chart_div_1(){
zz=0;
desc = [''];
ar_2012 = ['2015'];
ar_2013 = ['2014'];
ar_2014 = ['2013'];
ar_2015 = ['2012'];
min = 0;
max = 0;
$('.badabumik').each(function(){
th=$(this);
if(th.data('check')==1){
zz++;
desc.push(th.data('val0')); desc.push({ role: 'tooltip'});
if(min>parseFloat(th.data('val1'))){ min = parseFloat(th.data('val1'))};
if(max<parseFloat(th.data('val1'))){ max = parseFloat(th.data('val1'))};
ar_2012.push(parseFloat(th.data('val1')));
ar_2012.push(th.data('val0')+': '+th.data('val1b'));
if(min>parseFloat(th.data('val2'))){ min = parseFloat(th.data('val2'))};
if(max<parseFloat(th.data('val2'))){ max = parseFloat(th.data('val2'))};
ar_2013.push(parseFloat(th.data('val2')));
ar_2013.push(th.data('val0')+': '+th.data('val2b'));
if(min>parseFloat(th.data('val3'))){ min = parseFloat(th.data('val3'))};
if(max<parseFloat(th.data('val3'))){ max = parseFloat(th.data('val3'))};
ar_2014.push(parseFloat(th.data('val3')));
ar_2014.push(th.data('val0')+': '+th.data('val3b'));
if(min>parseFloat(th.data('val4'))){ min = parseFloat(th.data('val4'))};
if(max<parseFloat(th.data('val4'))){ max = parseFloat(th.data('val4'))};
ar_2015.push(parseFloat(th.data('val4')));
ar_2015.push(th.data('val0')+': '+th.data('val4b'));
}
});
if(zz==0){
$('#chart_div_1').html('<p style="margin-top: 40px; font-family: EnergaBold, sans-serif; font-size: 18px; ">Proszę wybrać dane</p>');
}else{
ar = [desc];
ar.push(ar_2012);
ar.push(ar_2013);
ar.push(ar_2014);
ar.push(ar_2015);
var data = google.visualization.arrayToDataTable(ar);
var options = {
width: '100%',
height: 700,
legend: 'none',
colors: ['#6FB43F', '#C1D72D', '#d8d8d8', '#640036'],
annotations: {
alwaysInside: true,
textStyle: {
fontSize: 12,
color: '#000'
}
},
tooltip:{
format: 'percent'
},
vAxis: {
viewWindow: {
min: min,
max: max
},
baseline: 0,
// baselineColor: '#7c7c7c',
gridlines: {count: 0}
},
hAxis: {
textStyle:{color: '#666'},
gridlines: {count: 0}
},
};
var chart = new google.visualization.ColumnChart(document.getElementById('chart_div_1'));
chart.draw(data, options);
}
}
</script>
</div>
'
$scripts_for_layout = ''
$title_for_layout = 'Strona'
include - APP/View/Layouts/default.ctp, line 91
View::_evaluate() - CORE/Cake/View/View.php, line 961
View::_render() - CORE/Cake/View/View.php, line 923
View::renderLayout() - CORE/Cake/View/View.php, line 546
View::render() - CORE/Cake/View/View.php, line 481
Controller::render() - CORE/Cake/Controller/Controller.php, line 960
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118