Code Context <?php $totalp = 0; ?>
<?php $total = 0; ?>
<?php foreach ($this->Session->read('Panier') as $kPanier => $vPanier):?>
$viewFile = '/home/bernarddwy/www/app/View/Elements/sidebar_pannier.ctp'
$dataForView = array(
'content_for_layout' => '<ul class="breadcrumb">
<li>
<a href="/Pages">Accueil</a>
</li>
<li class="active">
Modifier votre panier
</li>
</ul>
<hr style="margin-left:0px;">
<h1 class="pres" >Modifier votre panier</h1>
<div class="form">
<table class="table table-bordered table-hover">
<thead >
<tr >
<th>Article</th>
<th>Type de développement</th>
<th>Prix unitaire</th>
<th>Quantité</th>
<th>Total</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr656cf3fe25d80-trace').style.display = (document.getElementById('cakeErr656cf3fe25d80-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: Invalid argument supplied for foreach() [<b>APP/View/Paniers/edit.ctp</b>, line <b>35</b>]<div id="cakeErr656cf3fe25d80-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr656cf3fe25d80-code').style.display = (document.getElementById('cakeErr656cf3fe25d80-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr656cf3fe25d80-context').style.display = (document.getElementById('cakeErr656cf3fe25d80-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr656cf3fe25d80-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"> <span style="color: #0000BB"><?php $totalp </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">; </span><span style="color: #0000BB">?>
</span></span></code>
<code><span style="color: #000000"> <span style="color: #0000BB"><?php $total </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">; </span><span style="color: #0000BB">?>
</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <span style="color: #0000BB"><?php </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Session</span><span style="color: #007700">-></span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #DD0000">'Panier'</span><span style="color: #007700">) as </span><span style="color: #0000BB">$kPanier </span><span style="color: #007700">=> </span><span style="color: #0000BB">$vPanier</span><span style="color: #007700">):</span><span style="color: #0000BB">?>
</span></span></code></span></pre><pre id="cakeErr656cf3fe25d80-context" class="cake-context" style="display: none;">$viewFile = '/home/bernarddwy/www/app/View/Paniers/edit.ctp'
$dataForView = array()
$totalp = (int) 0
$total = (int) 0</pre><pre class="stack-trace">include - APP/View/Paniers/edit.ctp, line 35
View::_evaluate() - CORE/Cake/View/View.php, line 947
View::_render() - CORE/Cake/View/View.php, line 909
View::render() - CORE/Cake/View/View.php, line 471
Controller::render() - CORE/Cake/Controller/Controller.php, line 948
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 194
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 109</pre></div></pre> <tr>
<th>Total</th>
<td>0 €</td>
</tr>
</tbody>
</table>
<a href="/paniers/valide" class="btn btn-test"><span class='glyphicon glyphicon-ok-sign'></span> Valider votre panier</a> </div>',
'scripts_for_layout' => '',
'title_for_layout' => 'Paniers'
)
$content_for_layout = '<ul class="breadcrumb">
<li>
<a href="/Pages">Accueil</a>
</li>
<li class="active">
Modifier votre panier
</li>
</ul>
<hr style="margin-left:0px;">
<h1 class="pres" >Modifier votre panier</h1>
<div class="form">
<table class="table table-bordered table-hover">
<thead >
<tr >
<th>Article</th>
<th>Type de développement</th>
<th>Prix unitaire</th>
<th>Quantité</th>
<th>Total</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr656cf3fe25d80-trace').style.display = (document.getElementById('cakeErr656cf3fe25d80-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: Invalid argument supplied for foreach() [<b>APP/View/Paniers/edit.ctp</b>, line <b>35</b>]<div id="cakeErr656cf3fe25d80-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr656cf3fe25d80-code').style.display = (document.getElementById('cakeErr656cf3fe25d80-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr656cf3fe25d80-context').style.display = (document.getElementById('cakeErr656cf3fe25d80-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr656cf3fe25d80-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"> <span style="color: #0000BB"><?php $totalp </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">; </span><span style="color: #0000BB">?>
</span></span></code>
<code><span style="color: #000000"> <span style="color: #0000BB"><?php $total </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">; </span><span style="color: #0000BB">?>
</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <span style="color: #0000BB"><?php </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Session</span><span style="color: #007700">-></span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #DD0000">'Panier'</span><span style="color: #007700">) as </span><span style="color: #0000BB">$kPanier </span><span style="color: #007700">=> </span><span style="color: #0000BB">$vPanier</span><span style="color: #007700">):</span><span style="color: #0000BB">?>
</span></span></code></span></pre><pre id="cakeErr656cf3fe25d80-context" class="cake-context" style="display: none;">$viewFile = '/home/bernarddwy/www/app/View/Paniers/edit.ctp'
$dataForView = array()
$totalp = (int) 0
$total = (int) 0</pre><pre class="stack-trace">include - APP/View/Paniers/edit.ctp, line 35
View::_evaluate() - CORE/Cake/View/View.php, line 947
View::_render() - CORE/Cake/View/View.php, line 909
View::render() - CORE/Cake/View/View.php, line 471
Controller::render() - CORE/Cake/Controller/Controller.php, line 948
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 194
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 109</pre></div></pre> <tr>
<th>Total</th>
<td>0 €</td>
</tr>
</tbody>
</table>
<a href="/paniers/valide" class="btn btn-test"><span class='glyphicon glyphicon-ok-sign'></span> Valider votre panier</a> </div>'
$scripts_for_layout = ''
$title_for_layout = 'Paniers'
$totalp = (int) 0
$total = (int) 0
include - APP/View/Elements/sidebar_pannier.ctp, line 28
View::_evaluate() - CORE/Cake/View/View.php, line 947
View::_render() - CORE/Cake/View/View.php, line 909
View::_renderElement() - CORE/Cake/View/View.php, line 1210
View::element() - CORE/Cake/View/View.php, line 414
include - APP/View/Layouts/default.ctp, line 62
View::_evaluate() - CORE/Cake/View/View.php, line 947
View::_render() - CORE/Cake/View/View.php, line 909
View::renderLayout() - CORE/Cake/View/View.php, line 535
View::render() - CORE/Cake/View/View.php, line 479
Controller::render() - CORE/Cake/Controller/Controller.php, line 948
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 194
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 109