Problème intégration dans code PHP non écrit par mes mains.
Posté : 18 oct. 2016, 06:29
Bonjour a tous,
Alors voilà, mon problème. J'ai repris une page php écrite par un confrére absent, pour y effectuer une intégration.
Mais voilà, rien ne marche, aucune stylisation ne fonctionne.. la div fonctionne pas quoi.
Si quelqu'un a une idée.. car je comprend pas pourquoi
Merci beaucoup.
Matheo
Alors voilà, mon problème. J'ai repris une page php écrite par un confrére absent, pour y effectuer une intégration.
Mais voilà, rien ne marche, aucune stylisation ne fonctionne.. la div fonctionne pas quoi.
Si quelqu'un a une idée.. car je comprend pas pourquoi
Merci beaucoup.
Matheo
<?php
echo '<div style="margin-left:200px;padding:5px;background:#990002;">';
$_SESSION['aller_data']['car_id'] = $_GET['vehicle'] ;
if( isset($_SESSION['aller_data']) ){
$_SESSION['aller_data']['transfert-total'] = $_SESSION['aller_data']['transfert-total'] .' <span style="color:#990000;">'. $currency . "</span>";
$_SESSION['aller_data']['big-total'] = $_SESSION['aller_data']['big-total'] .' <span style="color:#990000;">'. $currency . "</span>";
$_SESSION['aller_data']['options-aller'] = $_SESSION['aller_data']['options-aller'] .' <span style="color:#990000;">'. $currency . "</span>";
$_SESSION['aller_data']['assurance'] = $_SESSION['aller_data']['assurance'] .' <span style="color:#990000;">'. $currency . "</span>";
foreach ($aller_data as $key => $text) {
$message .= "- " . $text . ": <b>" . get_session_value('aller_data', $key) . "</b><br/>";
echo $message;
}
foreach ($car_options as $key => $option_name){
$message .= "- " . $option_name . ": <b>" . get_session_value('aller_data', $key.'-aller') . "</b> <br/>";
echo $message;
}
echo "<br/> <hr> <br/>";
}
if( isset($_SESSION['retour_data']) ){
$_SESSION['retour_data']['options-retour'] = $_SESSION['retour_data']['options-retour'] .' <span style="color:#990000;">'. $currency . "</span>";
foreach ($retour_data as $key => $text) {
$message .= "- " . $text . ': <b>'.get_session_value('retour_data', $key) .'</b> <br/>';
echo $message;
}
foreach ($car_options as $key => $option_name){
$message .= "- " . $option_name . ': <b>'.get_session_value('retour_data', $key.'-retour') .' </b><br/>';
echo $message;
}
}
echo '</div>'; ?>