14 if (!defined(
'IN_PEEL')) {
25 $tpl =
$GLOBALS[
'tplEngine']->createTemplate(
'modules/ariane_panier.tpl');
26 $tpl->assign(
'cart_logo_src', get_url(
'/modules/ariane_panier/images/caddie_command.jpg'));
27 $tpl->assign(
'in_caddie', defined(
'IN_CADDIE'));
28 $tpl->assign(
'was_in_caddie',
$_SESSION[
'session_ariane_panier'][
'in_caddie']);
30 $tpl->assign(
'caddie_affichage_href', get_url(
'caddie_affichage'));
31 if (defined(
'IN_CADDIE') ||
$_SESSION[
'session_ariane_panier'][
'in_caddie']) {
32 $_SESSION[
'session_ariane_panier'][
'in_caddie'] =
true;
34 $tpl->assign(
'in_step1', defined(
'IN_STEP1'));
35 $tpl->assign(
'was_in_step1',
$_SESSION[
'session_ariane_panier'][
'in_step1']);
36 $tpl->assign(
'STR_PAYMENT_MEAN',
$GLOBALS[
'STR_PAYMENT_MEAN']);
37 $tpl->assign(
'achat_maintenant_href', get_url(
'achat_maintenant'));
38 if (defined(
'IN_STEP1') ||
$_SESSION[
'session_ariane_panier'][
'in_step1']) {
39 $_SESSION[
'session_ariane_panier'][
'in_step1'] =
true;
41 $tpl->assign(
'in_step2', defined(
'IN_STEP2'));
42 $tpl->assign(
'was_in_step2',
$_SESSION[
'session_ariane_panier'][
'in_step2']);
43 $tpl->assign(
'in_step3', defined(
'IN_STEP3'));
44 if (defined(
'IN_STEP2')) {
45 $_SESSION[
'session_ariane_panier'][
'in_step2'] =
true;
47 $tpl->assign(
'STR_MODULE_ARIANE_PANIER_SOMMARY',
$GLOBALS[
'STR_MODULE_ARIANE_PANIER_SOMMARY']);
48 $tpl->assign(
'STR_CONFIRMATION',
$GLOBALS[
'STR_CONFIRMATION']);
59 $_SESSION[
'session_ariane_panier'] = null;
if(!empty($_GET['id'])) if(isset($_POST['form_name'], $_POST['form_subject'], $_POST['form_text'], $_POST['form_lang'])&&empty($_GET['id'])) if(empty($_GET['id'])) $tpl
if(!defined('IN_PEEL')) $GLOBALS['page_types_array']
close_ariane_panier_session()
close_ariane_panier_session()
if(!defined('IN_PEEL')) ariane_panier()
ariane_panier()
if(defined('IN_PEEL_ADMIN')||IN_INSTALLATION) $_SESSION['session_langue']