par
Invité » 12 août 2008, 09:45
Il y a peut etre des choses ( generalite ) qui peuve etre dites sans avoir besoin de code
<h2>panier</h2>
<?php if (isset($message)): ?>
<p class="vmargin"><?php echo $message; ?></p>
<?php endif; ?>
<?php if ((isset($table_tag)) && (isset($table_options))): ?>
<?php echo form_tag(panier/index', array('style' => 'width:inherit')); ?>
<?php // Affichage de la table décrivant le contenu du panier ?>
<?php include_partial('createTable', $vars = array('table_tag' => $table_tag, 'table_options' => $table_options)); ?>
<?php // Affichage de la table donnant le total du panier ?>
<?php $table_total = content_tag('td', ' Total de la commande', array('width' => '70%', 'class' => 'important_label')) ?>
<?php $table_total .= content_tag('td', $total_panier ." €", array('width' => '30%', 'class' => 'important_content')) ?>
<?php $table_total = content_tag('tr', $table_total) ?>
<?php $table_total = content_tag('table', $table_total, array('class' => 'basket_tb')) ?>
<?php echo $table_total ?>
<p class="vmargin">
Rafraîchir
<?php echo submit_image_tag( 'icons/refresh.gif', array('name' => 'update', 'value' => 'all', 'title' => 'Rafraîchir le panier')); ?>
Supprimer le panier
<?php echo submit_image_tag( 'icons/delete', array('name' => 'delete', 'value' => 'all', 'title' => 'Vider le panier')); ?>
</p>
</form>
<?php echo form_tag(panier/delivery') ?>
<?php echo submit_image_tag('basket_valid.jpg', array('class' => 'submit')); ?>
</form>
<?php endif; ?>
voila le code si ca peut aider
les bouton rafraichir et supprimer marche sous firefox mais ne font rien sous IE
Il y a peut etre des choses ( generalite ) qui peuve etre dites sans avoir besoin de code
[php]<h2>panier</h2>
<?php if (isset($message)): ?>
<p class="vmargin"><?php echo $message; ?></p>
<?php endif; ?>
<?php if ((isset($table_tag)) && (isset($table_options))): ?>
<?php echo form_tag(panier/index', array('style' => 'width:inherit')); ?>
<?php // Affichage de la table décrivant le contenu du panier ?>
<?php include_partial('createTable', $vars = array('table_tag' => $table_tag, 'table_options' => $table_options)); ?>
<?php // Affichage de la table donnant le total du panier ?>
<?php $table_total = content_tag('td', ' Total de la commande', array('width' => '70%', 'class' => 'important_label')) ?>
<?php $table_total .= content_tag('td', $total_panier ." €", array('width' => '30%', 'class' => 'important_content')) ?>
<?php $table_total = content_tag('tr', $table_total) ?>
<?php $table_total = content_tag('table', $table_total, array('class' => 'basket_tb')) ?>
<?php echo $table_total ?>
<p class="vmargin">
Rafraîchir
<?php echo submit_image_tag( 'icons/refresh.gif', array('name' => 'update', 'value' => 'all', 'title' => 'Rafraîchir le panier')); ?>
Supprimer le panier
<?php echo submit_image_tag( 'icons/delete', array('name' => 'delete', 'value' => 'all', 'title' => 'Vider le panier')); ?>
</p>
</form>
<?php echo form_tag(panier/delivery') ?>
<?php echo submit_image_tag('basket_valid.jpg', array('class' => 'submit')); ?>
</form>
<?php endif; ?>
[/php]
voila le code si ca peut aider
les bouton rafraichir et supprimer marche sous firefox mais ne font rien sous IE